Skip to content

Commit 18c9424

Browse files
release: 1.34.0 (#72)
* fix(client): add types for path params, and update structure of unions nested in params * chore(test): do not count install time for mock server timeout * chore(ci): skip uploading artifacts on stainless-internal branches * codegen metadata * feat(api): api update * feat(api): api update * codegen metadata * codegen metadata * feat(api): api update * feat(api): api update * feat(api): api update * chore(internal): tweak CI branches * release: 1.34.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 969d867 commit 18c9424

212 files changed

Lines changed: 2270 additions & 323 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: CI
22
on:
33
push:
4-
branches-ignore:
5-
- 'generated'
6-
- 'codegen/**'
7-
- 'integrated/**'
8-
- 'stl-preview-head/**'
9-
- 'stl-preview-base/**'
4+
branches:
5+
- '**'
6+
- '!integrated/**'
7+
- '!stl-preview-head/**'
8+
- '!stl-preview-base/**'
9+
- '!generated'
10+
- '!codegen/**'
11+
- 'codegen/stl/**'
1012
pull_request:
1113
branches-ignore:
1214
- 'stl-preview-head/**'
@@ -33,14 +35,18 @@ jobs:
3335
bundle install
3436
3537
- name: Get GitHub OIDC Token
36-
if: github.repository == 'stainless-sdks/knock-ruby'
38+
if: |-
39+
github.repository == 'stainless-sdks/knock-ruby' &&
40+
!startsWith(github.ref, 'refs/heads/stl/')
3741
id: github-oidc
3842
uses: actions/github-script@v8
3943
with:
4044
script: core.setOutput('github_token', await core.getIDToken());
4145

4246
- name: Build and upload gem artifacts
43-
if: github.repository == 'stainless-sdks/knock-ruby'
47+
if: |-
48+
github.repository == 'stainless-sdks/knock-ruby' &&
49+
!startsWith(github.ref, 'refs/heads/stl/')
4450
env:
4551
URL: https://pkg.stainless.com/s
4652
AUTH: ${{ steps.github-oidc.outputs.github_token }}

.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.33.0"
2+
".": "1.34.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-eaaacf2abf99e5ee2fd681d70e02e9d0bbc7a0216d25cf4f10bae75c5fb59df5.yml
3-
openapi_spec_hash: 51a8f39a76a1bcd85d29a0949d6c353a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-8453f7087b0207e02d485220151fc4eb2348689b4c281de0184cdc80f9a15c01.yml
3+
openapi_spec_hash: deda6ffd2fc6c4d79a556cb216811cc8
44
config_hash: 32503026a45db991d0d102f25af40a77

CHANGELOG.md

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

3+
## 1.34.0 (2026-03-16)
4+
5+
Full Changelog: [v1.33.0...v1.34.0](https://github.com/knocklabs/knock-ruby/compare/v1.33.0...v1.34.0)
6+
7+
### Features
8+
9+
* **api:** api update ([8f572c6](https://github.com/knocklabs/knock-ruby/commit/8f572c6bb0d7deb1d20a1abe3924f1e95f21ca2d))
10+
* **api:** api update ([5232e1e](https://github.com/knocklabs/knock-ruby/commit/5232e1edcd1da902db9b04aff3fbb0cfae0bed90))
11+
* **api:** api update ([765390c](https://github.com/knocklabs/knock-ruby/commit/765390cceb4a9137a3faaa4604c9f8ab5ce78a20))
12+
* **api:** api update ([e83aaa6](https://github.com/knocklabs/knock-ruby/commit/e83aaa66f6fdee79b306af01052869185625d468))
13+
* **api:** api update ([8cfb413](https://github.com/knocklabs/knock-ruby/commit/8cfb4139f35be6b9c98e9544deda42736253c40f))
14+
15+
16+
### Bug Fixes
17+
18+
* **client:** add types for path params, and update structure of unions nested in params ([dafc84b](https://github.com/knocklabs/knock-ruby/commit/dafc84b3aa4176307137891ac55f41d025e32ffc))
19+
20+
21+
### Chores
22+
23+
* **ci:** skip uploading artifacts on stainless-internal branches ([62439f6](https://github.com/knocklabs/knock-ruby/commit/62439f62236289d132c653ee23fc832a1a78b13b))
24+
* **internal:** tweak CI branches ([319abd4](https://github.com/knocklabs/knock-ruby/commit/319abd497feab9f1a4a12be7ef58e6f9ea513b8c))
25+
* **test:** do not count install time for mock server timeout ([f6dd487](https://github.com/knocklabs/knock-ruby/commit/f6dd487a2952bf560de7373eed043173debc2529))
26+
327
## 1.33.0 (2026-03-03)
428

529
Full Changelog: [v1.32.1...v1.33.0](https://github.com/knocklabs/knock-ruby/compare/v1.32.1...v1.33.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.33.0)
14+
knockapi (1.34.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.33.0"
20+
gem "knockapi", "~> 1.34.0"
2121
```
2222

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

lib/knockapi/models/audience_add_members_params.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ class AudienceAddMembersParams < Knockapi::Internal::Type::BaseModel
77
extend Knockapi::Internal::Type::RequestParameters::Converter
88
include Knockapi::Internal::Type::RequestParameters
99

10+
# @!attribute key
11+
#
12+
# @return [String]
13+
required :key, String
14+
1015
# @!attribute members
1116
# A list of audience members to add. You can add up to 1,000 members per request.
1217
#
@@ -19,7 +24,9 @@ class AudienceAddMembersParams < Knockapi::Internal::Type::BaseModel
1924
# @return [Boolean, nil]
2025
optional :create_audience, Knockapi::Internal::Type::Boolean
2126

22-
# @!method initialize(members:, create_audience: nil, request_options: {})
27+
# @!method initialize(key:, members:, create_audience: nil, request_options: {})
28+
# @param key [String]
29+
#
2330
# @param members [Array<Knockapi::Models::AudienceAddMembersParams::Member>] A list of audience members to add. You can add up to 1,000 members per request.
2431
#
2532
# @param create_audience [Boolean] Create the audience if it does not exist.

lib/knockapi/models/audience_list_members_params.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ class AudienceListMembersParams < Knockapi::Internal::Type::BaseModel
77
extend Knockapi::Internal::Type::RequestParameters::Converter
88
include Knockapi::Internal::Type::RequestParameters
99

10-
# @!method initialize(request_options: {})
10+
# @!attribute key
11+
#
12+
# @return [String]
13+
required :key, String
14+
15+
# @!method initialize(key:, request_options: {})
16+
# @param key [String]
1117
# @param request_options [Knockapi::RequestOptions, Hash{Symbol=>Object}]
1218
end
1319
end

lib/knockapi/models/audience_remove_members_params.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,24 @@ class AudienceRemoveMembersParams < Knockapi::Internal::Type::BaseModel
77
extend Knockapi::Internal::Type::RequestParameters::Converter
88
include Knockapi::Internal::Type::RequestParameters
99

10+
# @!attribute key
11+
#
12+
# @return [String]
13+
required :key, String
14+
1015
# @!attribute members
1116
# A list of audience members to remove. You can remove up to 1,000 members per
1217
# request.
1318
#
1419
# @return [Array<Knockapi::Models::AudienceRemoveMembersParams::Member>]
1520
required :members, -> { Knockapi::Internal::Type::ArrayOf[Knockapi::AudienceRemoveMembersParams::Member] }
1621

17-
# @!method initialize(members:, request_options: {})
22+
# @!method initialize(key:, members:, request_options: {})
1823
# Some parameter documentations has been truncated, see
1924
# {Knockapi::Models::AudienceRemoveMembersParams} for more details.
2025
#
26+
# @param key [String]
27+
#
2128
# @param members [Array<Knockapi::Models::AudienceRemoveMembersParams::Member>] A list of audience members to remove. You can remove up to 1,000 members per req
2229
#
2330
# @param request_options [Knockapi::RequestOptions, Hash{Symbol=>Object}]

lib/knockapi/models/bulk_operation_get_params.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ class BulkOperationGetParams < Knockapi::Internal::Type::BaseModel
77
extend Knockapi::Internal::Type::RequestParameters::Converter
88
include Knockapi::Internal::Type::RequestParameters
99

10-
# @!method initialize(request_options: {})
10+
# @!attribute id
11+
#
12+
# @return [String]
13+
required :id, String
14+
15+
# @!method initialize(id:, request_options: {})
16+
# @param id [String]
1117
# @param request_options [Knockapi::RequestOptions, Hash{Symbol=>Object}]
1218
end
1319
end

0 commit comments

Comments
 (0)