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 @@
{
".": "7.20.0"
".": "7.21.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 139
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier/courier-b03f5346718dcd7b22f15893445ea593ab87535c90c540fc5a796c6ecd54d779.yml
openapi_spec_hash: 15677d3be4ecd33eab154080b4bc437f
config_hash: dcd58abf1e56b114bdce22336ca3d570
configured_endpoints: 134
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier/courier-b053468fefe6d757f86f3233ebbc52d80329ed2a6e7a6740fee01e4028a4c3b9.yml
openapi_spec_hash: 416835e693de0fe19945be90a787d3f3
config_hash: 8d28dbeabe9d4dcc7d5b8c021a4cbbd7
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 7.21.0 (2026-07-23)

Full Changelog: [v7.20.0...v7.21.0](https://github.com/trycourier/courier-node/compare/v7.20.0...v7.21.0)

### Features

* Remove /bulk endpoints from api-spec (C-19507) ([#171](https://github.com/trycourier/courier-node/issues/171)) ([aa3b3b2](https://github.com/trycourier/courier-node/commit/aa3b3b20653b8a12bdf2c7dc9727c8157201a7f0))

## 7.20.0 (2026-07-20)

Full Changelog: [v7.19.2...v7.20.0](https://github.com/trycourier/courier-node/compare/v7.19.2...v7.20.0)
Expand Down
18 changes: 0 additions & 18 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,24 +271,6 @@ Methods:
- <code title="get /brands">client.brands.<a href="./src/resources/brands.ts">list</a>({ ...params }) -> BrandListResponse</code>
- <code title="delete /brands/{brand_id}">client.brands.<a href="./src/resources/brands.ts">delete</a>(brandID) -> void</code>

# Bulk

Types:

- <code><a href="./src/resources/bulk.ts">InboundBulkMessage</a></code>
- <code><a href="./src/resources/bulk.ts">InboundBulkMessageUser</a></code>
- <code><a href="./src/resources/bulk.ts">BulkCreateJobResponse</a></code>
- <code><a href="./src/resources/bulk.ts">BulkListUsersResponse</a></code>
- <code><a href="./src/resources/bulk.ts">BulkRetrieveJobResponse</a></code>

Methods:

- <code title="post /bulk/{job_id}">client.bulk.<a href="./src/resources/bulk.ts">addUsers</a>(jobID, { ...params }) -> void</code>
- <code title="post /bulk">client.bulk.<a href="./src/resources/bulk.ts">createJob</a>({ ...params }) -> BulkCreateJobResponse</code>
- <code title="get /bulk/{job_id}/users">client.bulk.<a href="./src/resources/bulk.ts">listUsers</a>(jobID, { ...params }) -> BulkListUsersResponse</code>
- <code title="get /bulk/{job_id}">client.bulk.<a href="./src/resources/bulk.ts">retrieveJob</a>(jobID) -> BulkRetrieveJobResponse</code>
- <code title="post /bulk/{job_id}/run">client.bulk.<a href="./src/resources/bulk.ts">runJob</a>(jobID) -> void</code>

# Digests

Types:
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": "@trycourier/courier",
"version": "7.20.0",
"version": "7.21.0",
"description": "The official TypeScript library for the Courier API",
"author": "Courier <support@courier.com>",
"types": "dist/index.d.ts",
Expand Down
25 changes: 0 additions & 25 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,6 @@ import {
Logo,
WidgetBackground,
} from './resources/brands';
import {
Bulk,
BulkAddUsersParams,
BulkCreateJobParams,
BulkCreateJobResponse,
BulkListUsersParams,
BulkListUsersResponse,
BulkRetrieveJobResponse,
InboundBulkMessage,
InboundBulkMessageUser,
} from './resources/bulk';
import { Inbound, InboundTrackEventParams, InboundTrackEventResponse } from './resources/inbound';
import {
MessageContentResponse,
Expand Down Expand Up @@ -980,7 +969,6 @@ export class Courier {
automations: API.Automations = new API.Automations(this);
journeys: API.Journeys = new API.Journeys(this);
brands: API.Brands = new API.Brands(this);
bulk: API.Bulk = new API.Bulk(this);
digests: API.Digests = new API.Digests(this);
inbound: API.Inbound = new API.Inbound(this);
lists: API.Lists = new API.Lists(this);
Expand All @@ -1003,7 +991,6 @@ Courier.Auth = Auth;
Courier.Automations = Automations;
Courier.Journeys = Journeys;
Courier.Brands = Brands;
Courier.Bulk = Bulk;
Courier.Digests = Digests;
Courier.Inbound = Inbound;
Courier.Lists = Lists;
Expand Down Expand Up @@ -1138,18 +1125,6 @@ export declare namespace Courier {
type BrandListParams as BrandListParams,
};

export {
Bulk as Bulk,
type InboundBulkMessage as InboundBulkMessage,
type InboundBulkMessageUser as InboundBulkMessageUser,
type BulkCreateJobResponse as BulkCreateJobResponse,
type BulkListUsersResponse as BulkListUsersResponse,
type BulkRetrieveJobResponse as BulkRetrieveJobResponse,
type BulkAddUsersParams as BulkAddUsersParams,
type BulkCreateJobParams as BulkCreateJobParams,
type BulkListUsersParams as BulkListUsersParams,
};

export {
Digests as Digests,
type DigestCategory as DigestCategory,
Expand Down
210 changes: 0 additions & 210 deletions src/resources/bulk.ts

This file was deleted.

11 changes: 0 additions & 11 deletions src/resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,6 @@ export {
type BrandUpdateParams,
type BrandListParams,
} from './brands';
export {
Bulk,
type InboundBulkMessage,
type InboundBulkMessageUser,
type BulkCreateJobResponse,
type BulkListUsersResponse,
type BulkRetrieveJobResponse,
type BulkAddUsersParams,
type BulkCreateJobParams,
type BulkListUsersParams,
} from './bulk';
export {
Digests,
type DigestCategory,
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 = '7.20.0'; // x-release-please-version
export const VERSION = '7.21.0'; // x-release-please-version
Loading
Loading