Skip to content

Commit 5579d6a

Browse files
release: 7.6.2 (#224)
* chore(internal): regenerate SDK with no functional changes * chore: fix typo in descriptions * chore: remove custom code * chore(internal): regenerate SDK with no functional changes * release: 7.6.2 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 74a5a04 commit 5579d6a

18 files changed

Lines changed: 85 additions & 95 deletions

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "7.6.1"
2+
".": "7.6.2"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 78
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-b79e0eb1ab06f4076c48fa519e2b2ad792a0c483a5d017e43c938ca4c4be6988.yml
3-
openapi_spec_hash: cb3cc2c1145503e5737a880326857aa4
4-
config_hash: ff903e824043dc81aca51a0ce21896d6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-e3e54d99e2a73fd87519270f2685131050d342e86a4e96130247b854deae5c20.yml
3+
openapi_spec_hash: 897a3fbee24f24d021d6af0df480220c
4+
config_hash: 66a5c28bb74d78454456d9ce7d1c0a0c

CHANGELOG.md

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

3+
## 7.6.2 (2026-01-14)
4+
5+
Full Changelog: [v7.6.1...v7.6.2](https://github.com/trycourier/courier-node/compare/v7.6.1...v7.6.2)
6+
7+
### Chores
8+
9+
* fix typo in descriptions ([3e9304a](https://github.com/trycourier/courier-node/commit/3e9304abd0cb3ee2905a1c8ef2ca6add6de40d76))
10+
* **internal:** regenerate SDK with no functional changes ([1eabb0d](https://github.com/trycourier/courier-node/commit/1eabb0d4747af6eb1077c56d0c701de3dfc4720d))
11+
* **internal:** regenerate SDK with no functional changes ([fdf454c](https://github.com/trycourier/courier-node/commit/fdf454c4f56a9562eb4821d067a0dda22e8af4df))
12+
* remove custom code ([68b45da](https://github.com/trycourier/courier-node/commit/68b45da055191f5b0a86995791dc5880dbed29e4))
13+
314
## 7.6.1 (2026-01-12)
415

516
Full Changelog: [v7.6.0...v7.6.1](https://github.com/trycourier/courier-node/compare/v7.6.0...v7.6.1)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2025 Courier
189+
Copyright 2026 Courier
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

api.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Types:
66
- <code><a href="./src/resources/shared.ts">AirshipProfileAudience</a></code>
77
- <code><a href="./src/resources/shared.ts">Alignment</a></code>
88
- <code><a href="./src/resources/shared.ts">AudienceFilter</a></code>
9+
- <code><a href="./src/resources/shared.ts">AudienceFilterConfig</a></code>
910
- <code><a href="./src/resources/shared.ts">AudienceRecipient</a></code>
1011
- <code><a href="./src/resources/shared.ts">ChannelClassification</a></code>
1112
- <code><a href="./src/resources/shared.ts">ChannelPreference</a></code>
@@ -24,6 +25,7 @@ Types:
2425
- <code><a href="./src/resources/shared.ts">ElementalQuoteNodeWithType</a></code>
2526
- <code><a href="./src/resources/shared.ts">ElementalTextNodeWithType</a></code>
2627
- <code><a href="./src/resources/shared.ts">Expo</a></code>
28+
- <code><a href="./src/resources/shared.ts">FilterConfig</a></code>
2729
- <code><a href="./src/resources/shared.ts">Intercom</a></code>
2830
- <code><a href="./src/resources/shared.ts">IntercomRecipient</a></code>
2931
- <code><a href="./src/resources/shared.ts">ListFilter</a></code>
@@ -85,9 +87,6 @@ Methods:
8587
Types:
8688

8789
- <code><a href="./src/resources/audiences.ts">Audience</a></code>
88-
- <code><a href="./src/resources/audiences.ts">Filter</a></code>
89-
- <code><a href="./src/resources/audiences.ts">NestedFilterConfig</a></code>
90-
- <code><a href="./src/resources/audiences.ts">SingleFilterConfig</a></code>
9190
- <code><a href="./src/resources/audiences.ts">AudienceUpdateResponse</a></code>
9291
- <code><a href="./src/resources/audiences.ts">AudienceListResponse</a></code>
9392
- <code><a href="./src/resources/audiences.ts">AudienceListMembersResponse</a></code>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@trycourier/courier",
3-
"version": "7.6.1",
3+
"version": "7.6.2",
44
"description": "The official TypeScript library for the Courier API",
55
"author": "Courier <support@courier.com>",
66
"types": "dist/index.d.ts",

src/client.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ import {
2626
AudienceUpdateParams,
2727
AudienceUpdateResponse,
2828
Audiences,
29-
Filter,
30-
NestedFilterConfig,
31-
SingleFilterConfig,
3229
} from './resources/audiences';
3330
import {
3431
AuditEvent,
@@ -864,9 +861,6 @@ export declare namespace Courier {
864861
export {
865862
Audiences as Audiences,
866863
type Audience as Audience,
867-
type Filter as Filter,
868-
type NestedFilterConfig as NestedFilterConfig,
869-
type SingleFilterConfig as SingleFilterConfig,
870864
type AudienceUpdateResponse as AudienceUpdateResponse,
871865
type AudienceListResponse as AudienceListResponse,
872866
type AudienceListMembersResponse as AudienceListMembersResponse,
@@ -1006,6 +1000,7 @@ export declare namespace Courier {
10061000
export type AirshipProfileAudience = API.AirshipProfileAudience;
10071001
export type Alignment = API.Alignment;
10081002
export type AudienceFilter = API.AudienceFilter;
1003+
export type AudienceFilterConfig = API.AudienceFilterConfig;
10091004
export type AudienceRecipient = API.AudienceRecipient;
10101005
export type ChannelClassification = API.ChannelClassification;
10111006
export type ChannelPreference = API.ChannelPreference;
@@ -1024,6 +1019,7 @@ export declare namespace Courier {
10241019
export type ElementalQuoteNodeWithType = API.ElementalQuoteNodeWithType;
10251020
export type ElementalTextNodeWithType = API.ElementalTextNodeWithType;
10261021
export type Expo = API.Expo;
1022+
export type FilterConfig = API.FilterConfig;
10271023
export type Intercom = API.Intercom;
10281024
export type IntercomRecipient = API.IntercomRecipient;
10291025
export type ListFilter = API.ListFilter;

src/resources/audiences.ts

Lines changed: 11 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -71,79 +71,22 @@ export interface Audience {
7171
*/
7272
description: string;
7373

74-
/**
75-
* A single filter to use for filtering
76-
*/
77-
filter: Filter;
78-
7974
/**
8075
* The name of the audience
8176
*/
8277
name: string;
8378

8479
updated_at: string;
85-
}
86-
87-
/**
88-
* A single filter to use for filtering
89-
*/
90-
export type Filter = SingleFilterConfig | NestedFilterConfig;
91-
92-
export interface NestedFilterConfig {
93-
/**
94-
* The operator to use for filtering
95-
*/
96-
operator:
97-
| 'ENDS_WITH'
98-
| 'EQ'
99-
| 'EXISTS'
100-
| 'GT'
101-
| 'GTE'
102-
| 'INCLUDES'
103-
| 'IS_AFTER'
104-
| 'IS_BEFORE'
105-
| 'LT'
106-
| 'LTE'
107-
| 'NEQ'
108-
| 'OMIT'
109-
| 'STARTS_WITH'
110-
| 'AND'
111-
| 'OR';
112-
113-
rules: Array<Filter>;
114-
}
11580

116-
export interface SingleFilterConfig {
11781
/**
118-
* The operator to use for filtering
82+
* Filter configuration for audience membership containing an array of filter rules
11983
*/
120-
operator:
121-
| 'ENDS_WITH'
122-
| 'EQ'
123-
| 'EXISTS'
124-
| 'GT'
125-
| 'GTE'
126-
| 'INCLUDES'
127-
| 'IS_AFTER'
128-
| 'IS_BEFORE'
129-
| 'LT'
130-
| 'LTE'
131-
| 'NEQ'
132-
| 'OMIT'
133-
| 'STARTS_WITH'
134-
| 'AND'
135-
| 'OR';
84+
filter?: Shared.AudienceFilterConfig | null;
13685

13786
/**
138-
* The attribute name from profile whose value will be operated against the filter
139-
* value
87+
* The logical operator (AND/OR) for the top-level filter
14088
*/
141-
path: string;
142-
143-
/**
144-
* The value to use for filtering
145-
*/
146-
value: string;
89+
operator?: 'AND' | 'OR';
14790
}
14891

14992
export interface AudienceUpdateResponse {
@@ -183,14 +126,19 @@ export interface AudienceUpdateParams {
183126
description?: string | null;
184127

185128
/**
186-
* A single filter to use for filtering
129+
* Filter configuration for audience membership containing an array of filter rules
187130
*/
188-
filter?: Filter | null;
131+
filter?: Shared.AudienceFilterConfig | null;
189132

190133
/**
191134
* The name of the audience
192135
*/
193136
name?: string | null;
137+
138+
/**
139+
* The logical operator (AND/OR) for the top-level filter
140+
*/
141+
operator?: 'AND' | 'OR' | null;
194142
}
195143

196144
export interface AudienceListParams {
@@ -210,9 +158,6 @@ export interface AudienceListMembersParams {
210158
export declare namespace Audiences {
211159
export {
212160
type Audience as Audience,
213-
type Filter as Filter,
214-
type NestedFilterConfig as NestedFilterConfig,
215-
type SingleFilterConfig as SingleFilterConfig,
216161
type AudienceUpdateResponse as AudienceUpdateResponse,
217162
type AudienceListResponse as AudienceListResponse,
218163
type AudienceListMembersResponse as AudienceListMembersResponse,

src/resources/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ export * from './shared';
44
export {
55
Audiences,
66
type Audience,
7-
type Filter,
8-
type NestedFilterConfig,
9-
type SingleFilterConfig,
107
type AudienceUpdateResponse,
118
type AudienceListResponse,
129
type AudienceListMembersResponse,

src/resources/lists/subscriptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export interface SubscriptionSubscribeUserParams {
115115
list_id: string;
116116

117117
/**
118-
* Body param:
118+
* Body param
119119
*/
120120
preferences?: Shared.RecipientPreferences | null;
121121
}

0 commit comments

Comments
 (0)