Skip to content

Commit b30d5ec

Browse files
release: 1.28.0 (#65)
* feat(api): api update * feat(api): api update * feat(api): api update * release: 1.28.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 7f078d8 commit b30d5ec

File tree

9 files changed

+37
-11
lines changed

9 files changed

+37
-11
lines changed

.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.27.0"
2+
".": "1.28.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-138601849c510c1e1c96af745bc2a4c4099a6e69054b454ba69e61082fb60f31.yml
3-
openapi_spec_hash: 4858bf3005cfe4a73eaa5cdc8a4ac939
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-5d586855fa3ef8505e3cf0c86ea7903a7f5609853c3697c6a110c88e1c3344c1.yml
3+
openapi_spec_hash: 1afe31150fa4b2ed126b0d809513fc0a
44
config_hash: 2b42d138d85c524e65fa7e205d36cc4a

CHANGELOG.md

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

3+
## 1.28.0 (2026-01-23)
4+
5+
Full Changelog: [v1.27.0...v1.28.0](https://github.com/knocklabs/knock-ruby/compare/v1.27.0...v1.28.0)
6+
7+
### Features
8+
9+
* **api:** api update ([8fd8c5d](https://github.com/knocklabs/knock-ruby/commit/8fd8c5dd92d04a9ec371653b62128bd0eeb3e21a))
10+
* **api:** api update ([fd20e56](https://github.com/knocklabs/knock-ruby/commit/fd20e5651bacf9e0c647276ebf0f6e5f06b87597))
11+
* **api:** api update ([16b0064](https://github.com/knocklabs/knock-ruby/commit/16b0064ad29264698aea070dc5efc45b8345bc08))
12+
313
## 1.27.0 (2026-01-20)
414

515
Full Changelog: [v1.26.0...v1.27.0](https://github.com/knocklabs/knock-ruby/compare/v1.26.0...v1.27.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.27.0)
14+
knockapi (1.28.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.27.0"
20+
gem "knockapi", "~> 1.28.0"
2121
```
2222

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

lib/knockapi/models/condition.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ module Operator
4949
CONTAINS_ALL = :contains_all
5050
IS_TIMESTAMP = :is_timestamp
5151
IS_NOT_TIMESTAMP = :is_not_timestamp
52-
IS_TIMESTAMP_AFTER = :is_timestamp_after
52+
IS_TIMESTAMP_ON_OR_AFTER = :is_timestamp_on_or_after
5353
IS_TIMESTAMP_BEFORE = :is_timestamp_before
54+
IS_TIMESTAMP_ON_OR_AFTER_DATE = :is_timestamp_on_or_after_date
55+
IS_TIMESTAMP_BEFORE_DATE = :is_timestamp_before_date
5456
IS_TIMESTAMP_BETWEEN = :is_timestamp_between
5557
IS_AUDIENCE_MEMBER = :is_audience_member
5658
IS_NOT_AUDIENCE_MEMBER = :is_not_audience_member

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.27.0"
4+
VERSION = "1.28.0"
55
end

rbi/knockapi/models/condition.rbi

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,26 @@ module Knockapi
8585
T.let(:is_timestamp, Knockapi::Condition::Operator::TaggedSymbol)
8686
IS_NOT_TIMESTAMP =
8787
T.let(:is_not_timestamp, Knockapi::Condition::Operator::TaggedSymbol)
88-
IS_TIMESTAMP_AFTER =
88+
IS_TIMESTAMP_ON_OR_AFTER =
8989
T.let(
90-
:is_timestamp_after,
90+
:is_timestamp_on_or_after,
9191
Knockapi::Condition::Operator::TaggedSymbol
9292
)
9393
IS_TIMESTAMP_BEFORE =
9494
T.let(
9595
:is_timestamp_before,
9696
Knockapi::Condition::Operator::TaggedSymbol
9797
)
98+
IS_TIMESTAMP_ON_OR_AFTER_DATE =
99+
T.let(
100+
:is_timestamp_on_or_after_date,
101+
Knockapi::Condition::Operator::TaggedSymbol
102+
)
103+
IS_TIMESTAMP_BEFORE_DATE =
104+
T.let(
105+
:is_timestamp_before_date,
106+
Knockapi::Condition::Operator::TaggedSymbol
107+
)
98108
IS_TIMESTAMP_BETWEEN =
99109
T.let(
100110
:is_timestamp_between,

sig/knockapi/models/condition.rbs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ module Knockapi
4040
| :contains_all
4141
| :is_timestamp
4242
| :is_not_timestamp
43-
| :is_timestamp_after
43+
| :is_timestamp_on_or_after
4444
| :is_timestamp_before
45+
| :is_timestamp_on_or_after_date
46+
| :is_timestamp_before_date
4547
| :is_timestamp_between
4648
| :is_audience_member
4749
| :is_not_audience_member
@@ -62,8 +64,10 @@ module Knockapi
6264
CONTAINS_ALL: :contains_all
6365
IS_TIMESTAMP: :is_timestamp
6466
IS_NOT_TIMESTAMP: :is_not_timestamp
65-
IS_TIMESTAMP_AFTER: :is_timestamp_after
67+
IS_TIMESTAMP_ON_OR_AFTER: :is_timestamp_on_or_after
6668
IS_TIMESTAMP_BEFORE: :is_timestamp_before
69+
IS_TIMESTAMP_ON_OR_AFTER_DATE: :is_timestamp_on_or_after_date
70+
IS_TIMESTAMP_BEFORE_DATE: :is_timestamp_before_date
6771
IS_TIMESTAMP_BETWEEN: :is_timestamp_between
6872
IS_AUDIENCE_MEMBER: :is_audience_member
6973
IS_NOT_AUDIENCE_MEMBER: :is_not_audience_member

0 commit comments

Comments
 (0)