Skip to content
Open
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 @@
{
".": "0.29.0"
".": "0.30.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: 73
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock/knock-mapi-4f64275f958b7bba6b607448b36e31b574c3622fd40f2f709bd72b386013eeb1.yml
openapi_spec_hash: 98f4fd790ad559acbb19548c42d1398d
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock/knock-mapi-404737ff5cad76b6b331d1c763e8bd178acbb4964880ce82390b25af537cb03b.yml
openapi_spec_hash: 4401eb340e49904f555113fe72fd7285
config_hash: 1543050ac0815a90f8fc8158f853af03
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.30.0 (2026-06-04)

Full Changelog: [v0.29.0...v0.30.0](https://github.com/knocklabs/knock-mgmt-node/compare/v0.29.0...v0.30.0)

### Features

* **api:** api update ([0e360f7](https://github.com/knocklabs/knock-mgmt-node/commit/0e360f73785b32776857651577b7e10784e021c3))
* **api:** api update ([c8e5b8d](https://github.com/knocklabs/knock-mgmt-node/commit/c8e5b8da56ab488fade174b0c0830e1234e67d07))

## 0.29.0 (2026-06-03)

Full Changelog: [v0.28.0...v0.29.0](https://github.com/knocklabs/knock-mgmt-node/compare/v0.28.0...v0.29.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@knocklabs/mgmt",
"version": "0.29.0",
"version": "0.30.0",
"description": "The official TypeScript library for the Knock Mgmt API",
"author": "Knock Mgmt <support@knock.app>",
"types": "dist/index.d.ts",
Expand Down
15 changes: 14 additions & 1 deletion src/resources/channel-groups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ export interface ChannelGroup {
* The timestamp of when the channel group was archived (soft deleted).
*/
archived_at?: string | null;

/**
* The resources where this channel group is visible as a step destination (e.g.
* workflow, broadcast).
*/
visible_in?: Array<'workflow' | 'broadcast'>;
}

/**
Expand Down Expand Up @@ -246,9 +252,16 @@ export namespace ChannelGroupUpsertParams {

/**
* Determines how the channel rules are applied ('any' means any rule can match,
* 'all' means all rules must match).
* 'all' means all rules must match). Defaults to 'any'.
*/
operator?: 'any' | 'all';

/**
* Optional. Where the channel group is visible as a step destination. Defaults to
* both workflow and broadcast when creating; omitted on update preserves the
* existing value.
*/
visible_in?: Array<'workflow' | 'broadcast'>;
}

export namespace ChannelGroup {
Expand Down
6 changes: 6 additions & 0 deletions src/resources/channels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ export interface Channel {
* parameter or when retrieving a single channel.
*/
environment_settings?: { [key: string]: ChannelEnvironmentSettings } | null;

/**
* The resources where this channel is visible as a step destination (e.g.
* workflow, broadcast).
*/
visible_in?: Array<'workflow' | 'broadcast'>;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/resources/message-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ export interface MessageTypeVariant {
| Shared.MessageTypeSelectField
| Shared.MessageTypeBooleanField
| Shared.MessageTypeJsonField
| MessageTypeTextField
| MessageTypeVariant.MessageTypeNumberField
| MessageTypeTextField
| Shared.MessageTypeImageField
| MessageTypeVariant.MessageTypeColorField
| Shared.MessageTypeURLField
Expand Down
6 changes: 3 additions & 3 deletions src/resources/partials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ export interface Partial {
| Shared.MessageTypeSelectField
| Shared.MessageTypeBooleanField
| Shared.MessageTypeJsonField
| MessageTypesAPI.MessageTypeTextField
| Partial.MessageTypeNumberField
| MessageTypesAPI.MessageTypeTextField
| Shared.MessageTypeImageField
| Partial.MessageTypeColorField
| Shared.MessageTypeURLField
Expand Down Expand Up @@ -506,8 +506,8 @@ export namespace PartialUpsertParams {
| Shared.MessageTypeSelectField
| Shared.MessageTypeBooleanField
| Shared.MessageTypeJsonField
| MessageTypesAPI.MessageTypeTextField
| Partial.MessageTypeNumberField
| MessageTypesAPI.MessageTypeTextField
| Shared.MessageTypeImageField
| Partial.MessageTypeColorField
| Shared.MessageTypeURLField
Expand Down Expand Up @@ -745,8 +745,8 @@ export namespace PartialValidateParams {
| Shared.MessageTypeSelectField
| Shared.MessageTypeBooleanField
| Shared.MessageTypeJsonField
| MessageTypesAPI.MessageTypeTextField
| Partial.MessageTypeNumberField
| MessageTypesAPI.MessageTypeTextField
| Shared.MessageTypeImageField
| Partial.MessageTypeColorField
| Shared.MessageTypeURLField
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.29.0'; // x-release-please-version
export const VERSION = '0.30.0'; // x-release-please-version
1 change: 1 addition & 0 deletions tests/api-resources/channel-groups.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ describe('resource channelGroups', () => {
},
],
operator: 'any',
visible_in: ['workflow'],
},
});
});
Expand Down
Loading