Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.7.0"
".": "1.8.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 89
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-ba629bb393f43737dec9702d5610ac4b5696e58f58177d1d98f4f832c9553b76.yml
openapi_spec_hash: abeac01a8a235ea114e466d4f06e70ad
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-c15e6924891ae19a301d5e878d353bda7cf6aa486c13be9525fe9d4d06eb140f.yml
openapi_spec_hash: 397a88d71e81d4339d41c151a61e12b9
config_hash: b4c547c1d4c8cd0834bc793ddf5388ee
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.8.0 (2025-06-13)

Full Changelog: [v1.7.0...v1.8.0](https://github.com/knocklabs/knock-ruby/compare/v1.7.0...v1.8.0)

### Features

* **api:** api update ([c69a4d1](https://github.com/knocklabs/knock-ruby/commit/c69a4d1cb01e0e8e7fb930b862ebeb06ae217bfc))

## 1.7.0 (2025-06-12)

Full Changelog: [v1.6.0...v1.7.0](https://github.com/knocklabs/knock-ruby/compare/v1.6.0...v1.7.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
knockapi (1.7.0)
knockapi (1.8.0)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "knockapi", "~> 1.7.0"
gem "knockapi", "~> 1.8.0"
```

<!-- x-release-please-end -->
Expand Down
12 changes: 7 additions & 5 deletions lib/knockapi/models/providers/slack_list_channels_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ class QueryOptions < Knockapi::Internal::Type::BaseModel
optional :cursor, String

# @!attribute exclude_archived
# Set to true to exclude archived channels from the list.
# Set to true to exclude archived channels from the list. Defaults to `true` when
# not explicitly provided.
#
# @return [Boolean, nil]
optional :exclude_archived, Knockapi::Internal::Type::Boolean

# @!attribute limit
# The maximum number of channels to return.
# The maximum number of channels to return. Defaults to 200.
#
# @return [Integer, nil]
optional :limit, Integer
Expand All @@ -55,7 +56,8 @@ class QueryOptions < Knockapi::Internal::Type::BaseModel

# @!attribute types
# Mix and match channel types by providing a comma-separated list of any
# combination of public_channel, private_channel, mpim, im.
# combination of public_channel, private_channel, mpim, im. Defaults to
# `"public_channel,private_channel"`.
#
# @return [String, nil]
optional :types, String
Expand All @@ -67,9 +69,9 @@ class QueryOptions < Knockapi::Internal::Type::BaseModel
#
# @param cursor [String] Paginate through collections of data by setting the cursor parameter to a next_c
#
# @param exclude_archived [Boolean] Set to true to exclude archived channels from the list.
# @param exclude_archived [Boolean] Set to true to exclude archived channels from the list. Defaults to `true` when
#
# @param limit [Integer] The maximum number of channels to return.
# @param limit [Integer] The maximum number of channels to return. Defaults to 200.
#
# @param team_id [String] Encoded team ID (T1234) to list channels in, required if org token is used.
#
Expand Down
2 changes: 1 addition & 1 deletion lib/knockapi/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Knockapi
VERSION = "1.7.0"
VERSION = "1.8.0"
end
16 changes: 10 additions & 6 deletions rbi/knockapi/models/providers/slack_list_channels_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,15 @@ module Knockapi
sig { params(cursor: String).void }
attr_writer :cursor

# Set to true to exclude archived channels from the list.
# Set to true to exclude archived channels from the list. Defaults to `true` when
# not explicitly provided.
sig { returns(T.nilable(T::Boolean)) }
attr_reader :exclude_archived

sig { params(exclude_archived: T::Boolean).void }
attr_writer :exclude_archived

# The maximum number of channels to return.
# The maximum number of channels to return. Defaults to 200.
sig { returns(T.nilable(Integer)) }
attr_reader :limit

Expand All @@ -105,7 +106,8 @@ module Knockapi
attr_writer :team_id

# Mix and match channel types by providing a comma-separated list of any
# combination of public_channel, private_channel, mpim, im.
# combination of public_channel, private_channel, mpim, im. Defaults to
# `"public_channel,private_channel"`.
sig { returns(T.nilable(String)) }
attr_reader :types

Expand All @@ -126,14 +128,16 @@ module Knockapi
# next_cursor attribute returned by a previous request's response_metadata.
# Default value fetches the first "page" of the collection.
cursor: nil,
# Set to true to exclude archived channels from the list.
# Set to true to exclude archived channels from the list. Defaults to `true` when
# not explicitly provided.
exclude_archived: nil,
# The maximum number of channels to return.
# The maximum number of channels to return. Defaults to 200.
limit: nil,
# Encoded team ID (T1234) to list channels in, required if org token is used.
team_id: nil,
# Mix and match channel types by providing a comma-separated list of any
# combination of public_channel, private_channel, mpim, im.
# combination of public_channel, private_channel, mpim, im. Defaults to
# `"public_channel,private_channel"`.
types: nil
)
end
Expand Down