包详细信息

increase

Increase11kApache-2.00.290.0

The official TypeScript library for the Increase API

自述文件

Increase Node API Library

NPM version npm bundle size

This library provides convenient access to the Increase REST API from server-side TypeScript or JavaScript.

The REST API documentation can be found on increase.com. The full API of this library can be found in api.md.

Installation

npm install increase

Usage

The full API of this library can be found in api.md.

import Increase from 'increase';

const client = new Increase({
  apiKey: process.env['INCREASE_API_KEY'], // This is the default and can be omitted
  environment: 'sandbox', // defaults to 'production'
});

const account = await client.accounts.create({
  name: 'New Account!',
  entity_id: 'entity_n8y8tnk2p9339ti393yi',
  program_id: 'program_i2v2os4mwza1oetokh9i',
});

console.log(account.id);

Request & Response types

This library includes TypeScript definitions for all request params and response fields. You may import and use them like so:

import Increase from 'increase';

const client = new Increase({
  apiKey: process.env['INCREASE_API_KEY'], // This is the default and can be omitted
  environment: 'sandbox', // defaults to 'production'
});

const params: Increase.AccountCreateParams = {
  name: 'New Account!',
  entity_id: 'entity_n8y8tnk2p9339ti393yi',
  program_id: 'program_i2v2os4mwza1oetokh9i',
};
const account: Increase.Account = await client.accounts.create(params);

Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.

File uploads

Request parameters that correspond to file uploads can be passed in many different forms:

  • File (or an object with the same structure)
  • a fetch Response (or an object with the same structure)
  • an fs.ReadStream
  • the return value of our toFile helper
import fs from 'fs';
import fetch from 'node-fetch';
import Increase, { toFile } from 'increase';

const client = new Increase();

// If you have access to Node `fs` we recommend using `fs.createReadStream()`:
await client.files.create({ file: fs.createReadStream('my/file.txt'), purpose: 'check_image_front' });

// Or if you have the web `File` API you can pass a `File` instance:
await client.files.create({ file: new File(['my bytes'], 'file.txt'), purpose: 'check_image_front' });

// You can also pass a `fetch` `Response`:
await client.files.create({ file: await fetch('https://somesite/file.txt'), purpose: 'check_image_front' });

// Finally, if none of the above are convenient, you can use our `toFile` helper:
await client.files.create({
  file: await toFile(Buffer.from('my bytes'), 'file.txt'),
  purpose: 'check_image_front',
});
await client.files.create({
  file: await toFile(new Uint8Array([0, 1, 2]), 'file.txt'),
  purpose: 'check_image_front',
});

Handling errors

When the library is unable to connect to the API, or if the API returns a non-success status code (i.e., 4xx or 5xx response), a subclass of APIError will be thrown:

const account = await client.accounts.create({ name: 'New Account!' }).catch(async (err) => {
  if (err instanceof Increase.APIError) {
    console.log(err.status); // 400
    console.log(err.name); // BadRequestError
    console.log(err.headers); // {server: 'nginx', ...}
  } else {
    throw err;
  }
});

Error codes are as follows:

Status Code Error Type
400 BadRequestError
401 AuthenticationError
403 PermissionDeniedError
404 NotFoundError
422 UnprocessableEntityError
429 RateLimitError
>=500 InternalServerError
N/A APIConnectionError

Retries

Certain errors will be automatically retried 2 times by default, with a short exponential backoff. Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, and >=500 Internal errors will all be retried by default.

You can use the maxRetries option to configure or disable this:

// Configure the default for all requests:
const client = new Increase({
  maxRetries: 0, // default is 2
});

// Or, configure per-request:
await client.accounts.create({ name: 'New Account!', entity_id: 'entity_n8y8tnk2p9339ti393yi', program_id: 'program_i2v2os4mwza1oetokh9i' }, {
  maxRetries: 5,
});

Timeouts

Requests time out after 1 minute by default. You can configure this with a timeout option:

// Configure the default for all requests:
const client = new Increase({
  timeout: 20 * 1000, // 20 seconds (default is 1 minute)
});

// Override per-request:
await client.accounts.create({ name: 'New Account!', entity_id: 'entity_n8y8tnk2p9339ti393yi', program_id: 'program_i2v2os4mwza1oetokh9i' }, {
  timeout: 5 * 1000,
});

On timeout, an APIConnectionTimeoutError is thrown.

Note that requests which time out will be retried twice by default.

Auto-pagination

List methods in the Increase API are paginated. You can use the for await … of syntax to iterate through items across all pages:

async function fetchAllAccounts(params) {
  const allAccounts = [];
  // Automatically fetches more pages as needed.
  for await (const account of client.accounts.list()) {
    allAccounts.push(account);
  }
  return allAccounts;
}

Alternatively, you can request a single page at a time:

let page = await client.accounts.list();
for (const account of page.data) {
  console.log(account);
}

// Convenience methods are provided for manually paginating:
while (page.hasNextPage()) {
  page = await page.getNextPage();
  // ...
}

Advanced Usage

Accessing raw Response data (e.g., headers)

The "raw" Response returned by fetch() can be accessed through the .asResponse() method on the APIPromise type that all methods return.

You can also use the .withResponse() method to get the raw Response along with the parsed data.

const client = new Increase();

const response = await client.accounts
  .create({
    name: 'New Account!',
    entity_id: 'entity_n8y8tnk2p9339ti393yi',
    program_id: 'program_i2v2os4mwza1oetokh9i',
  })
  .asResponse();
console.log(response.headers.get('X-My-Header'));
console.log(response.statusText); // access the underlying Response object

const { data: account, response: raw } = await client.accounts
  .create({
    name: 'New Account!',
    entity_id: 'entity_n8y8tnk2p9339ti393yi',
    program_id: 'program_i2v2os4mwza1oetokh9i',
  })
  .withResponse();
console.log(raw.headers.get('X-My-Header'));
console.log(account.id);

Making custom/undocumented requests

This library is typed for convenient access to the documented API. If you need to access undocumented endpoints, params, or response properties, the library can still be used.

Undocumented endpoints

To make requests to undocumented endpoints, you can use client.get, client.post, and other HTTP verbs. Options on the client, such as retries, will be respected when making these requests.

await client.post('/some/path', {
  body: { some_prop: 'foo' },
  query: { some_query_arg: 'bar' },
});

Undocumented params

To make requests using undocumented parameters, you may use // @ts-expect-error on the undocumented parameter. This library doesn't validate at runtime that the request matches the type, so any extra values you send will be sent as-is.

client.foo.create({
  foo: 'my_param',
  bar: 12,
  // @ts-expect-error baz is not yet public
  baz: 'undocumented option',
});

For requests with the GET verb, any extra params will be in the query, all other requests will send the extra param in the body.

If you want to explicitly send an extra argument, you can do so with the query, body, and headers request options.

Undocumented properties

To access undocumented response properties, you may access the response object with // @ts-expect-error on the response object, or cast the response object to the requisite type. Like the request params, we do not validate or strip extra properties from the response from the API.

Customizing the fetch client

By default, this library uses node-fetch in Node, and expects a global fetch function in other environments.

If you would prefer to use a global, web-standards-compliant fetch function even in a Node environment, (for example, if you are running Node with --experimental-fetch or using NextJS which polyfills with undici), add the following import before your first import from "Increase":

// Tell TypeScript and the package to use the global web fetch instead of node-fetch.
// Note, despite the name, this does not add any polyfills, but expects them to be provided if needed.
import 'increase/shims/web';
import Increase from 'increase';

To do the inverse, add import "increase/shims/node" (which does import polyfills). This can also be useful if you are getting the wrong TypeScript types for Response (more details).

Logging and middleware

You may also provide a custom fetch function when instantiating the client, which can be used to inspect or alter the Request or Response before/after each request:

import { fetch } from 'undici'; // as one example
import Increase from 'increase';

const client = new Increase({
  fetch: async (url: RequestInfo, init?: RequestInit): Promise<Response> => {
    console.log('About to make a request', url, init);
    const response = await fetch(url, init);
    console.log('Got response', response);
    return response;
  },
});

Note that if given a DEBUG=true environment variable, this library will log all requests and responses automatically. This is intended for debugging purposes only and may change in the future without notice.

Configuring an HTTP(S) Agent (e.g., for proxies)

By default, this library uses a stable agent for all http/https requests to reuse TCP connections, eliminating many TCP & TLS handshakes and shaving around 100ms off most requests.

If you would like to disable or customize this behavior, for example to use the API behind a proxy, you can pass an httpAgent which is used for all requests (be they http or https), for example:

import http from 'http';
import { HttpsProxyAgent } from 'https-proxy-agent';

// Configure the default for all requests:
const client = new Increase({
  httpAgent: new HttpsProxyAgent(process.env.PROXY_URL),
});

// Override per-request:
await client.accounts.create(
  {
    name: 'New Account!',
    entity_id: 'entity_n8y8tnk2p9339ti393yi',
    program_id: 'program_i2v2os4mwza1oetokh9i',
  },
  {
    httpAgent: new http.Agent({ keepAlive: false }),
  },
);

Semantic versioning

This package generally follows SemVer conventions, though certain backwards-incompatible changes may be released as minor versions:

  1. Changes that only affect static types, without breaking runtime behavior.
  2. Changes to library internals which are technically public but not intended or documented for external use. (Please open a GitHub issue to let us know if you are relying on such internals.)
  3. Changes that we do not expect to impact the vast majority of users in practice.

We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.

We are keen for your feedback; please open an issue with questions, bugs, or suggestions.

Requirements

TypeScript >= 4.5 is supported.

The following runtimes are supported:

  • Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)
  • Node.js 18 LTS or later (non-EOL) versions.
  • Deno v1.28.0 or higher.
  • Bun 1.0 or later.
  • Cloudflare Workers.
  • Vercel Edge Runtime.
  • Jest 28 or greater with the "node" environment ("jsdom" is not supported at this time).
  • Nitro v2.6 or greater.

Note that React Native is not supported at this time.

If you are interested in other runtime environments, please open or upvote an issue on GitHub.

Contributing

See the contributing documentation.

更新日志

Changelog

0.290.0 (2025-08-29)

Full Changelog: v0.289.0...v0.290.0

Features

0.289.0 (2025-08-29)

Full Changelog: v0.288.0...v0.289.0

Features

0.288.0 (2025-08-29)

Full Changelog: v0.287.0...v0.288.0

Features

0.287.0 (2025-08-28)

Full Changelog: v0.286.0...v0.287.0

Features

0.286.0 (2025-08-28)

Full Changelog: v0.285.0...v0.286.0

Features

0.285.0 (2025-08-28)

Full Changelog: v0.284.0...v0.285.0

Features

0.284.0 (2025-08-28)

Full Changelog: v0.283.0...v0.284.0

Features

0.283.0 (2025-08-27)

Full Changelog: v0.282.0...v0.283.0

Features

0.282.0 (2025-08-27)

Full Changelog: v0.281.0...v0.282.0

Features

0.281.0 (2025-08-26)

Full Changelog: v0.280.0...v0.281.0

Features

0.280.0 (2025-08-26)

Full Changelog: v0.279.0...v0.280.0

Features

0.279.0 (2025-08-26)

Full Changelog: v0.278.0...v0.279.0

Features

0.278.0 (2025-08-26)

Full Changelog: v0.277.0...v0.278.0

Features

0.277.0 (2025-08-25)

Full Changelog: v0.276.0...v0.277.0

Features

0.276.0 (2025-08-25)

Full Changelog: v0.275.0...v0.276.0

Features

Chores

0.275.0 (2025-08-22)

Full Changelog: v0.274.0...v0.275.0

Features

0.274.0 (2025-08-22)

Full Changelog: v0.273.0...v0.274.0

Features

0.273.0 (2025-08-21)

Full Changelog: v0.272.0...v0.273.0

Features

0.272.0 (2025-08-21)

Full Changelog: v0.271.0...v0.272.0

Features

0.271.0 (2025-08-20)

Full Changelog: v0.270.0...v0.271.0

Features

0.270.0 (2025-08-20)

Full Changelog: v0.269.0...v0.270.0

Features

0.269.0 (2025-08-20)

Full Changelog: v0.268.0...v0.269.0

Features

0.268.0 (2025-08-20)

Full Changelog: v0.267.0...v0.268.0

Features

0.267.0 (2025-08-20)

Full Changelog: v0.266.0...v0.267.0

Features

0.266.0 (2025-08-19)

Full Changelog: v0.265.0...v0.266.0

Features

0.265.0 (2025-08-18)

Full Changelog: v0.264.0...v0.265.0

Features

0.264.0 (2025-08-18)

Full Changelog: v0.263.0...v0.264.0

Features

Chores

  • internal: formatting change (cafeadd)

0.263.0 (2025-08-15)

Full Changelog: v0.262.0...v0.263.0

Features

Chores

  • deps: update dependency node-fetch to v2.6.13 (d5c6887)

0.262.0 (2025-08-14)

Full Changelog: v0.261.0...v0.262.0

Features

0.261.0 (2025-08-14)

Full Changelog: v0.260.0...v0.261.0

Features

0.260.0 (2025-08-13)

Full Changelog: v0.259.0...v0.260.0

Features

0.259.0 (2025-08-12)

Full Changelog: v0.258.0...v0.259.0

Features

0.258.0 (2025-08-11)

Full Changelog: v0.257.0...v0.258.0

Features

0.257.0 (2025-08-11)

Full Changelog: v0.256.0...v0.257.0

Features

Chores

  • internal: update comment in script (9a666a3)
  • update @stainless-api/prism-cli to v5.15.0 (7f6a620)

0.256.0 (2025-08-07)

Full Changelog: v0.255.0...v0.256.0

Features

0.255.0 (2025-08-07)

Full Changelog: v0.254.0...v0.255.0

Features

0.254.0 (2025-08-06)

Full Changelog: v0.253.0...v0.254.0

Features

0.253.0 (2025-08-06)

Full Changelog: v0.252.0...v0.253.0

Features

Chores

  • internal: move publish config (30183f4)

0.252.0 (2025-08-04)

Full Changelog: v0.251.0...v0.252.0

Features

0.251.0 (2025-08-01)

Full Changelog: v0.250.0...v0.251.0

Features

0.250.0 (2025-07-29)

Full Changelog: v0.249.0...v0.250.0

Features

0.249.0 (2025-07-29)

Full Changelog: v0.248.0...v0.249.0

Features

0.248.0 (2025-07-29)

Full Changelog: v0.247.0...v0.248.0

Features

Chores

  • internal: remove redundant imports config (9aaee9d)

0.247.0 (2025-07-23)

Full Changelog: v0.246.0...v0.247.0

Features

0.246.0 (2025-07-22)

Full Changelog: v0.245.0...v0.246.0

Features

0.245.0 (2025-07-22)

Full Changelog: v0.244.0...v0.245.0

Features

0.244.0 (2025-07-21)

Full Changelog: v0.243.0...v0.244.0

Features

0.243.0 (2025-07-18)

Full Changelog: v0.242.0...v0.243.0

Features

0.242.0 (2025-07-11)

Full Changelog: v0.241.0...v0.242.0

Features

0.241.0 (2025-07-10)

Full Changelog: v0.240.0...v0.241.0

Features

0.240.0 (2025-07-09)

Full Changelog: v0.239.0...v0.240.0

Features

Chores

  • make some internal functions async (6b15bdc)

0.239.0 (2025-07-08)

Full Changelog: v0.238.0...v0.239.0

Features

0.238.0 (2025-07-07)

Full Changelog: v0.237.0...v0.238.0

Features

0.237.0 (2025-07-04)

Full Changelog: v0.236.0...v0.237.0

Features

0.236.0 (2025-07-04)

Full Changelog: v0.235.0...v0.236.0

Features

0.235.0 (2025-07-02)

Full Changelog: v0.234.1...v0.235.0

Features

0.234.1 (2025-07-02)

Full Changelog: v0.234.0...v0.234.1

Bug Fixes

  • client: don't send Content-Type for bodyless methods (d04a9cc)

Chores

  • mention unit type in timeout docs (40c5ff1)

0.234.0 (2025-07-01)

Full Changelog: v0.233.2...v0.234.0

Features

0.233.2 (2025-06-27)

Full Changelog: v0.233.1...v0.233.2

Chores

  • ci: only run for pushes and fork pull requests (93f0520)

0.233.1 (2025-06-26)

Full Changelog: v0.233.0...v0.233.1

Bug Fixes

  • ci: release-doctor — report correct token name (8ac8f8c)

0.233.0 (2025-06-26)

Full Changelog: v0.232.0...v0.233.0

Features

0.232.0 (2025-06-25)

Full Changelog: v0.231.0...v0.232.0

Features

0.231.0 (2025-06-24)

Full Changelog: v0.230.0...v0.231.0

Features

0.230.0 (2025-06-24)

Full Changelog: v0.229.0...v0.230.0

Features

0.229.0 (2025-06-23)

Full Changelog: v0.228.2...v0.229.0

Features

Chores

  • ci: enable for pull requests (3086fd7)

0.228.2 (2025-06-13)

Full Changelog: v0.228.1...v0.228.2

Chores

  • internal: make base APIResource abstract (8d31027)

0.228.1 (2025-06-13)

Full Changelog: v0.228.0...v0.228.1

Bug Fixes

  • publish script — handle NPM errors correctly (23ba69e)

0.228.0 (2025-06-13)

Full Changelog: v0.227.0...v0.228.0

Features

0.227.0 (2025-06-12)

Full Changelog: v0.226.0...v0.227.0

Features

0.226.0 (2025-06-11)

Full Changelog: v0.225.0...v0.226.0

Features

0.225.0 (2025-06-08)

Full Changelog: v0.224.0...v0.225.0

Features

0.224.0 (2025-06-05)

Full Changelog: v0.223.0...v0.224.0

Features

Chores

0.223.0 (2025-06-03)

Full Changelog: v0.222.0...v0.223.0

Features

Chores

  • docs: use top-level-await in example snippets (2f8a48f)

0.222.0 (2025-06-02)

Full Changelog: v0.221.0...v0.222.0

Features

0.221.0 (2025-05-28)

Full Changelog: v0.220.0...v0.221.0

Features

0.220.0 (2025-05-27)

Full Changelog: v0.219.0...v0.220.0

Features

Chores

  • improve publish-npm script --latest tag logic (99a4b2d)

0.219.0 (2025-05-22)

Full Changelog: v0.218.0...v0.219.0

Features

Chores

  • docs: grammar improvements (2f1f40e)

0.218.0 (2025-05-20)

Full Changelog: v0.217.0...v0.218.0

Features

0.217.0 (2025-05-15)

Full Changelog: v0.216.0...v0.217.0

Features

0.216.0 (2025-05-14)

Full Changelog: v0.215.0...v0.216.0

Features

0.215.0 (2025-05-12)

Full Changelog: v0.214.0...v0.215.0

Features

0.214.0 (2025-05-09)

Full Changelog: v0.213.0...v0.214.0

Features

0.213.0 (2025-05-07)

Full Changelog: v0.212.0...v0.213.0

Features

0.212.0 (2025-05-06)

Full Changelog: v0.211.0...v0.212.0

Features

Chores

  • ci: bump node version for release workflows (f609333)

Documentation

0.211.0 (2025-05-05)

Full Changelog: v0.210.0...v0.211.0

Features

0.210.0 (2025-05-04)

Full Changelog: v0.209.0...v0.210.0

Features

0.209.0 (2025-05-01)

Full Changelog: v0.208.0...v0.209.0

Features

0.208.0 (2025-04-30)

Full Changelog: v0.207.0...v0.208.0

Features

Chores

  • ci: add timeout thresholds for CI jobs (8f023e0)
  • ci: only use depot for staging repos (1dc450d)
  • ci: run on more branches and use depot runners (a832844)
  • fix formatting (d12c3c4)

Documentation

0.207.0 (2025-04-18)

Full Changelog: v0.206.0...v0.207.0

Features

0.206.0 (2025-04-17)

Full Changelog: v0.205.0...v0.206.0

Features

0.205.0 (2025-04-14)

Full Changelog: v0.204.0...v0.205.0

Features

Bug Fixes

  • client: correctly reuse idempotency key (caba8d4)

0.204.0 (2025-04-11)

Full Changelog: v0.203.0...v0.204.0

Features

Chores

  • internal: reduce CI branch coverage (cadaddb)
  • internal: upload builds and expand CI branch coverage (#980) (f08fc55)

0.203.0 (2025-04-08)

Full Changelog: v0.202.0...v0.203.0

Features

0.202.0 (2025-04-08)

Full Changelog: v0.201.1...v0.202.0

Features

Chores

0.201.1 (2025-04-05)

Full Changelog: v0.201.0...v0.201.1

Bug Fixes

0.201.0 (2025-04-04)

Full Changelog: v0.200.1...v0.201.0

Features

0.200.1 (2025-04-03)

Full Changelog: v0.200.0...v0.200.1

Bug Fixes

  • api: improve type resolution when importing as a package (#966) (7f22167)

0.200.0 (2025-04-02)

Full Changelog: v0.199.1...v0.200.0

Features

0.199.1 (2025-04-02)

Full Changelog: v0.199.0...v0.199.1

Bug Fixes

  • client: send X-Stainless-Timeout in seconds (#959) (a0cc5e0)

Chores

  • internal: add aliases for Record and Array (#961) (3e5d336)

0.199.0 (2025-04-01)

Full Changelog: v0.198.0...v0.199.0

Features

0.198.0 (2025-04-01)

Full Changelog: v0.197.0...v0.198.0

Features

0.197.0 (2025-03-31)

Full Changelog: v0.196.0...v0.197.0

Features

0.196.0 (2025-03-28)

Full Changelog: v0.195.0...v0.196.0

Features

0.195.0 (2025-03-28)

Full Changelog: v0.194.1...v0.195.0

Features

0.194.1 (2025-03-27)

Full Changelog: v0.194.0...v0.194.1

Bug Fixes

0.194.0 (2025-03-26)

Full Changelog: v0.193.0...v0.194.0

Features

0.193.0 (2025-03-22)

Full Changelog: v0.192.0...v0.193.0

Features

0.192.0 (2025-03-22)

Full Changelog: v0.191.1...v0.192.0

Features

0.191.1 (2025-03-21)

Full Changelog: v0.191.0...v0.191.1

Bug Fixes

  • avoid type error in certain environments (#930) (5ac5cf5)

Chores

  • exports: cleaner resource index imports (#927) (59efc34)
  • exports: stop using path fallbacks (#929) (d335d61)

0.191.0 (2025-03-18)

Full Changelog: v0.190.0...v0.191.0

Features

0.190.0 (2025-03-15)

Full Changelog: v0.189.0...v0.190.0

Features

0.189.0 (2025-03-14)

Full Changelog: v0.188.1...v0.189.0

Features

0.188.1 (2025-03-13)

Full Changelog: v0.188.0...v0.188.1

Bug Fixes

  • exports: ensure resource imports don't require /index (#914) (8989eb9)

0.188.0 (2025-03-13)

Full Changelog: v0.187.0...v0.188.0

Features

Chores

  • internal: remove extra empty newlines (#910) (d2b1d26)

0.187.0 (2025-03-12)

Full Changelog: v0.186.0...v0.187.0

Features

0.186.0 (2025-03-11)

Full Changelog: v0.185.0...v0.186.0

Features

Chores

0.185.0 (2025-03-07)

Full Changelog: v0.184.0...v0.185.0

Features

0.184.0 (2025-03-04)

Full Changelog: v0.183.0...v0.184.0

Features

0.183.0 (2025-03-04)

Full Changelog: v0.182.0...v0.183.0

Features

0.182.0 (2025-03-03)

Full Changelog: v0.181.0...v0.182.0

Features

0.181.0 (2025-03-01)

Full Changelog: v0.180.0...v0.181.0

Features

0.180.0 (2025-03-01)

Full Changelog: v0.179.0...v0.180.0

Features

0.179.0 (2025-03-01)

Full Changelog: v0.178.0...v0.179.0

Features

0.178.0 (2025-02-28)

Full Changelog: v0.177.0...v0.178.0

Features

Documentation

  • update URLs from stainlessapi.com to stainless.com (#875) (381288b)

0.177.0 (2025-02-26)

Full Changelog: v0.176.0...v0.177.0

Features

0.176.0 (2025-02-24)

Full Changelog: v0.175.0...v0.176.0

Features

0.175.0 (2025-02-22)

Full Changelog: v0.174.1...v0.175.0

Features

Chores

0.174.1 (2025-02-19)

Full Changelog: v0.174.0...v0.174.1

Bug Fixes

  • client: fix export map for index exports (#862) (b37e781)

0.174.0 (2025-02-19)

Full Changelog: v0.173.0...v0.174.0

Features

0.173.0 (2025-02-12)

Full Changelog: v0.172.0...v0.173.0

Features

0.172.0 (2025-02-11)

Full Changelog: v0.171.0...v0.172.0

Features

0.171.0 (2025-02-10)

Full Changelog: v0.170.0...v0.171.0

Features

0.170.0 (2025-02-07)

Full Changelog: v0.169.0...v0.170.0

Features

0.169.0 (2025-02-04)

Full Changelog: v0.168.0...v0.169.0

Features

0.168.0 (2025-02-03)

Full Changelog: v0.167.0...v0.168.0

Features

0.167.0 (2025-01-31)

Full Changelog: v0.166.0...v0.167.0

Features

0.166.0 (2025-01-31)

Full Changelog: v0.165.0...v0.166.0

Features

0.165.0 (2025-01-30)

Full Changelog: v0.164.0...v0.165.0

Features

0.164.0 (2025-01-30)

Full Changelog: v0.163.0...v0.164.0

Features

0.163.0 (2025-01-30)

Full Changelog: v0.162.0...v0.163.0

Features

0.162.0 (2025-01-27)

Full Changelog: v0.161.0...v0.162.0

Features

0.161.0 (2025-01-27)

Full Changelog: v0.160.0...v0.161.0

Features

0.160.0 (2025-01-21)

Full Changelog: v0.159.0...v0.160.0

Features

0.159.0 (2025-01-21)

Full Changelog: v0.158.0...v0.159.0

Features

Chores

0.158.0 (2025-01-14)

Full Changelog: v0.157.0...v0.158.0

Features

Chores

0.157.0 (2025-01-02)

Full Changelog: v0.156.0...v0.157.0

Features

Bug Fixes

Chores

Documentation

0.156.0 (2024-11-22)

Full Changelog: v0.155.0...v0.156.0

Features

Chores

Documentation

  • remove suggestion to use npm call out (#779) (fceb6bd)

0.155.0 (2024-11-14)

Full Changelog: v0.154.0...v0.155.0

Features

0.154.0 (2024-11-14)

Full Changelog: v0.153.0...v0.154.0

Features

0.153.0 (2024-11-14)

Full Changelog: v0.152.0...v0.153.0

Features

0.152.0 (2024-11-14)

Full Changelog: v0.151.0...v0.152.0

Features

0.151.0 (2024-11-13)

Full Changelog: v0.150.0...v0.151.0

Features

0.150.0 (2024-11-13)

Full Changelog: v0.149.0...v0.150.0

Features

0.149.0 (2024-11-13)

Full Changelog: v0.148.0...v0.149.0

Features

0.148.0 (2024-11-13)

Full Changelog: v0.147.0...v0.148.0

Features

0.147.0 (2024-11-13)

Full Changelog: v0.146.0...v0.147.0

Features

0.146.0 (2024-11-13)

Full Changelog: v0.145.0...v0.146.0

Features

0.145.0 (2024-11-13)

Full Changelog: v0.144.0...v0.145.0

Features

Chores

0.144.0 (2024-11-11)

Full Changelog: v0.143.0...v0.144.0

Features

0.143.0 (2024-11-11)

Full Changelog: v0.142.0...v0.143.0

Features

0.142.0 (2024-11-09)

Full Changelog: v0.141.0...v0.142.0

Features

0.141.0 (2024-11-08)

Full Changelog: v0.140.0...v0.141.0

Features

0.140.0 (2024-11-06)

Full Changelog: v0.139.0...v0.140.0

Features

0.139.0 (2024-11-05)

Full Changelog: v0.138.0...v0.139.0

Features

0.138.0 (2024-11-04)

Full Changelog: v0.137.0...v0.138.0

Features

0.137.0 (2024-10-31)

Full Changelog: v0.136.0...v0.137.0

Features

0.136.0 (2024-10-31)

Full Changelog: v0.135.0...v0.136.0

Features

0.135.0 (2024-10-22)

Full Changelog: v0.134.0...v0.135.0

Features

0.134.0 (2024-10-22)

Full Changelog: v0.133.0...v0.134.0

Features

0.133.0 (2024-10-21)

Full Changelog: v0.132.0...v0.133.0

Features

0.132.0 (2024-10-17)

Full Changelog: v0.131.0...v0.132.0

Features

0.131.0 (2024-10-17)

Full Changelog: v0.130.0...v0.131.0

Features

0.130.0 (2024-10-17)

Full Changelog: v0.129.0...v0.130.0

Features

0.129.0 (2024-10-16)

Full Changelog: v0.128.0...v0.129.0

Features

0.128.0 (2024-10-16)

Full Changelog: v0.127.0...v0.128.0

Features

0.127.0 (2024-10-16)

Full Changelog: v0.126.0...v0.127.0

Features

0.126.0 (2024-10-16)

Full Changelog: v0.125.0...v0.126.0

Features

0.125.0 (2024-10-15)

Full Changelog: v0.124.0...v0.125.0

Features

0.124.0 (2024-10-14)

Full Changelog: v0.123.0...v0.124.0

Features

0.123.0 (2024-10-11)

Full Changelog: v0.122.0...v0.123.0

Features

0.122.0 (2024-10-11)

Full Changelog: v0.121.0...v0.122.0

Features

0.121.0 (2024-10-10)

Full Changelog: v0.120.0...v0.121.0

Features

0.120.0 (2024-10-10)

Full Changelog: v0.119.0...v0.120.0

Features

0.119.0 (2024-10-07)

Full Changelog: v0.118.0...v0.119.0

Features

  • api: OpenAPI spec update via Stainless API (#661) (ae95ea5)

0.118.0 (2024-10-07)

Full Changelog: v0.117.0...v0.118.0

Features

  • api: OpenAPI spec update via Stainless API (#658) (5f97a52)

0.117.0 (2024-10-07)

Full Changelog: v0.116.0...v0.117.0

Features

  • api: OpenAPI spec update via Stainless API (#654) (3112028)
  • api: OpenAPI spec update via Stainless API (#656) (55eb9c8)

0.116.0 (2024-10-03)

Full Changelog: v0.115.0...v0.116.0

Features

  • api: OpenAPI spec update via Stainless API (#651) (21daf39)

0.115.0 (2024-10-02)

Full Changelog: v0.114.0...v0.115.0

Features

  • api: OpenAPI spec update via Stainless API (#648) (b58112d)

0.114.0 (2024-10-02)

Full Changelog: v0.113.0...v0.114.0

Features

  • api: OpenAPI spec update via Stainless API (#646) (0ab560e)

Chores

0.113.0 (2024-10-02)

Full Changelog: v0.112.0...v0.113.0

Features

  • api: OpenAPI spec update via Stainless API (#641) (21c1198)

Chores

0.112.0 (2024-09-26)

Full Changelog: v0.111.0...v0.112.0

Features

  • api: OpenAPI spec update via Stainless API (#636) (6f83c0d)

0.111.0 (2024-09-25)

Full Changelog: v0.110.0...v0.111.0

Features

  • api: OpenAPI spec update via Stainless API (#633) (382fce3)
  • api: OpenAPI spec update via Stainless API (#634) (52eab0d)

Chores

0.110.0 (2024-09-23)

Full Changelog: v0.109.0...v0.110.0

Features

  • api: OpenAPI spec update via Stainless API (#628) (cc7f662)

0.109.0 (2024-09-23)

Full Changelog: v0.108.0...v0.109.0

Features

  • api: OpenAPI spec update via Stainless API (#626) (111e904)
  • client: send retry count header (#624) (2f7f6ae)

0.108.0 (2024-09-19)

Full Changelog: v0.107.1...v0.108.0

Features

  • api: OpenAPI spec update via Stainless API (#621) (e247192)

0.107.1 (2024-09-19)

Full Changelog: v0.107.0...v0.107.1

Bug Fixes

  • types: remove leftover polyfill usage (#619) (e2909b0)

Chores

0.107.0 (2024-09-18)

Full Changelog: v0.106.0...v0.107.0

Features

  • api: OpenAPI spec update via Stainless API (#615) (678979d)

Documentation

0.106.0 (2024-09-17)

Full Changelog: v0.105.0...v0.106.0

Features

  • api: OpenAPI spec update via Stainless API (#610) (41d3ef6)

0.105.0 (2024-09-09)

Full Changelog: v0.104.0...v0.105.0

Features

  • api: OpenAPI spec update via Stainless API (#608) (8a7f66b)

0.104.0 (2024-09-09)

Full Changelog: v0.103.0...v0.104.0

Features

  • api: OpenAPI spec update via Stainless API (#605) (e4e6ce7)

0.103.0 (2024-09-09)

Full Changelog: v0.102.0...v0.103.0

Features

  • api: OpenAPI spec update via Stainless API (#602) (fcb9645)

0.102.0 (2024-09-09)

Full Changelog: v0.101.0...v0.102.0

Features

  • api: OpenAPI spec update via Stainless API (#600) (b4c9ae6)

Chores

  • better object fallback behaviour for casting errors (#598) (b44cb2d)

0.101.0 (2024-09-09)

Full Changelog: v0.100.1...v0.101.0

Features

  • api: OpenAPI spec update via Stainless API (#594) (199f8ac)

0.100.1 (2024-09-09)

Full Changelog: v0.100.0...v0.100.1

Bug Fixes

  • errors: pass message through to APIConnectionError (#592) (165d31c)

Chores

0.100.0 (2024-09-09)

Full Changelog: v0.99.0...v0.100.0

Features

  • api: OpenAPI spec update via Stainless API (#585) (d7a4d72)

0.99.0 (2024-09-06)

Full Changelog: v0.98.1...v0.99.0

Features

  • api: OpenAPI spec update via Stainless API (#582) (6a14340)

0.98.1 (2024-09-06)

Full Changelog: v0.98.0...v0.98.1

Bug Fixes

  • uploads: avoid making redundant memory copies (#579) (cd2255c)

0.98.0 (2024-09-06)

Full Changelog: v0.97.0...v0.98.0

Features

  • api: OpenAPI spec update via Stainless API (#576) (0eac90c)

0.97.0 (2024-09-06)

Full Changelog: v0.96.0...v0.97.0

Features

  • api: OpenAPI spec update via Stainless API (#571) (e37335a)
  • api: OpenAPI spec update via Stainless API (#572) (44465fd)
  • api: OpenAPI spec update via Stainless API (#573) (941797a)
  • api: OpenAPI spec update via Stainless API (#574) (aef9bb6)

Chores

0.96.0 (2024-09-04)

Full Changelog: v0.95.0...v0.96.0

Features

  • api: OpenAPI spec update via Stainless API (#565) (a83792a)

0.95.0 (2024-09-03)

Full Changelog: v0.94.1...v0.95.0

Features

  • api: OpenAPI spec update via Stainless API (#562) (1b1c9e0)

0.94.1 (2024-09-03)

Full Changelog: v0.94.0...v0.94.1

Bug Fixes

  • client: correct File construction from node-fetch Responses (#560) (437bdb7)

Chores

0.94.0 (2024-08-30)

Full Changelog: v0.93.0...v0.94.0

Features

  • api: OpenAPI spec update via Stainless API (#551) (b2b60da)

0.93.0 (2024-08-27)

Full Changelog: v0.92.0...v0.93.0

Features

  • api: OpenAPI spec update via Stainless API (#548) (6c79b55)

0.92.0 (2024-08-26)

Full Changelog: v0.91.0...v0.92.0

Features

  • api: OpenAPI spec update via Stainless API (#545) (f042cfc)

0.91.0 (2024-08-26)

Full Changelog: v0.90.0...v0.91.0

Features

  • api: OpenAPI spec update via Stainless API (#542) (94db4d1)

0.90.0 (2024-08-21)

Full Changelog: v0.89.0...v0.90.0

Features

  • api: OpenAPI spec update via Stainless API (#539) (39d64a3)

0.89.0 (2024-08-21)

Full Changelog: v0.88.0...v0.89.0

Features

  • api: OpenAPI spec update via Stainless API (#536) (927d5c3)

0.88.0 (2024-08-20)

Full Changelog: v0.87.0...v0.88.0

Features

  • api: OpenAPI spec update via Stainless API (#533) (13a91ad)

0.87.0 (2024-08-20)

Full Changelog: v0.86.0...v0.87.0

Features

  • api: OpenAPI spec update via Stainless API (#530) (9abd909)

0.86.0 (2024-08-20)

Full Changelog: v0.85.0...v0.86.0

Features

  • api: OpenAPI spec update via Stainless API (#527) (4939009)

0.85.0 (2024-08-20)

Full Changelog: v0.84.0...v0.85.0

Features

  • api: OpenAPI spec update via Stainless API (#524) (d930b67)

0.84.0 (2024-08-19)

Full Changelog: v0.83.0...v0.84.0

Features

  • api: OpenAPI spec update via Stainless API (#521) (a0825d9)

0.83.0 (2024-08-19)

Full Changelog: v0.82.0...v0.83.0

Features

  • api: OpenAPI spec update via Stainless API (#518) (143b5cc)

0.82.0 (2024-08-19)

Full Changelog: v0.81.0...v0.82.0

Features

  • api: OpenAPI spec update via Stainless API (#515) (b74e0b8)

0.81.0 (2024-08-16)

Full Changelog: v0.80.0...v0.81.0

Features

  • api: OpenAPI spec update via Stainless API (#512) (fc1b5c0)

0.80.0 (2024-08-16)

Full Changelog: v0.79.0...v0.80.0

Features

  • api: OpenAPI spec update via Stainless API (#509) (365af01)

0.79.0 (2024-08-15)

Full Changelog: v0.78.0...v0.79.0

Features

  • api: OpenAPI spec update via Stainless API (#506) (2dc602f)

0.78.0 (2024-08-15)

Full Changelog: v0.77.0...v0.78.0

Features

  • api: OpenAPI spec update via Stainless API (#503) (4d7253b)

0.77.0 (2024-08-14)

Full Changelog: v0.76.0...v0.77.0

Features

  • api: OpenAPI spec update via Stainless API (#500) (19c756a)

0.76.0 (2024-08-13)

Full Changelog: v0.75.0...v0.76.0

Features

  • api: OpenAPI spec update via Stainless API (#497) (1df6eb5)

0.75.0 (2024-08-13)

Full Changelog: v0.74.0...v0.75.0

Features

  • api: OpenAPI spec update via Stainless API (#495) (8b7e3b6)

Chores

0.74.0 (2024-08-13)

Full Changelog: v0.73.0...v0.74.0

Features

  • api: OpenAPI spec update via Stainless API (#491) (df17137)

Chores

0.73.0 (2024-08-09)

Full Changelog: v0.72.0...v0.73.0

Features

  • api: OpenAPI spec update via Stainless API (#484) (46b2f44)
  • api: OpenAPI spec update via Stainless API (#485) (acc60c0)
  • api: OpenAPI spec update via Stainless API (#486) (daa6483)

Chores

0.72.0 (2024-08-08)

Full Changelog: v0.71.0...v0.72.0

Features

Chores

0.71.0 (2024-08-01)

Full Changelog: v0.70.0...v0.71.0

Features

  • api: OpenAPI spec update via Stainless API (#471) (33ec7f5)

0.70.0 (2024-07-26)

Full Changelog: v0.69.0...v0.70.0

Features

  • api: OpenAPI spec update via Stainless API (#468) (906e00a)

0.69.0 (2024-07-25)

Full Changelog: v0.68.0...v0.69.0

Features

  • api: OpenAPI spec update via Stainless API (#465) (692b943)

0.68.0 (2024-07-25)

Full Changelog: v0.67.0...v0.68.0

Features

  • api: OpenAPI spec update via Stainless API (#462) (78de98a)

0.67.0 (2024-07-25)

Full Changelog: v0.66.1...v0.67.0

Features

  • api: OpenAPI spec update via Stainless API (#459) (8e6d947)

0.66.1 (2024-07-25)

Full Changelog: v0.66.0...v0.66.1

Bug Fixes

  • compat: remove ReadableStream polyfill redundant since node v16 (#456) (7fa7ae5)

0.66.0 (2024-07-25)

Full Changelog: v0.65.0...v0.66.0

Features

  • api: OpenAPI spec update via Stainless API (#453) (b65c499)

0.65.0 (2024-07-23)

Full Changelog: v0.64.0...v0.65.0

Features

  • api: OpenAPI spec update via Stainless API (#450) (b74aff6)

0.64.0 (2024-07-23)

Full Changelog: v0.63.0...v0.64.0

Features

  • api: OpenAPI spec update via Stainless API (#446) (f470557)

Chores

0.63.0 (2024-07-18)

Full Changelog: v0.62.0...v0.63.0

Features

  • api: OpenAPI spec update via Stainless API (#443) (3d00d54)

0.62.0 (2024-07-17)

Full Changelog: v0.61.0...v0.62.0

Features

  • api: OpenAPI spec update via Stainless API (#440) (43e4cfd)

0.61.0 (2024-07-15)

Full Changelog: v0.60.0...v0.61.0

Features

  • api: OpenAPI spec update via Stainless API (#438) (707a9c1)

Chores

0.60.0 (2024-07-14)

Full Changelog: v0.59.1...v0.60.0

Features

  • api: OpenAPI spec update via Stainless API (#426) (47ccc98)
  • api: OpenAPI spec update via Stainless API (#428) (4119e7f)
  • api: OpenAPI spec update via Stainless API (#429) (c2e8f5c)
  • api: OpenAPI spec update via Stainless API (#430) (d044c25)
  • api: OpenAPI spec update via Stainless API (#431) (e235818)
  • api: OpenAPI spec update via Stainless API (#432) (e15fd49)

Chores

0.59.1 (2024-07-11)

Full Changelog: v0.59.0...v0.59.1

Chores

  • ci: also run workflows for PRs targeting next (#423) (f0427df)

Documentation

0.59.0 (2024-07-04)

Full Changelog: v0.58.0...v0.59.0

Features

  • api: add property 'receiver identification number' to 'originator company entry description' (#421) (7deee84)

0.58.0 (2024-07-02)

Full Changelog: v0.57.0...v0.58.0

Features

  • api: add deposit return property to inbound check deposit model (#419) (336df2f)

0.57.0 (2024-07-01)

Full Changelog: v0.56.0...v0.57.0

Features

  • api: add method to simulate international ACH transfers (#417) (a9a1220)

0.56.0 (2024-06-28)

Full Changelog: v0.55.0...v0.56.0

Features

Chores

0.55.0 (2024-06-17)

Full Changelog: v0.54.0...v0.55.0

Features

  • api: add default_digital_card_profile_id property (#409) (664e20a)
  • api: add trace number to ach transfer returns (#406) (3c51d32)
  • api: enhance API with extended transaction details and new entity types (#398) (101a46d)
  • api: realtime decision updates (#404) (36772d0)
  • api: updates (#403) (6d1d404)
  • api: updates (#408) (1997776)
  • support application/octet-stream request bodies (#410) (0f87fc2)

Bug Fixes

Chores

  • docs: add SECURITY.md (#399) (9ea713e)
  • internal: add slightly better logging to scripts (#402) (4878594)
  • internal: fix generated version numbers (#397) (65dbf3d)
  • internal: move client class to separate file (#395) (d96cc38)

Documentation

Refactors

0.54.0 (2024-05-01)

Full Changelog: v0.53.0...v0.54.0

Features

Chores

  • internal: add link to openapi spec (#391) (32ea381)
  • internal: add scripts/test and scripts/mock (#388) (da57efb)
  • internal: add scripts/test, scripts/mock and add ci job (#392) (7e895b5)
  • internal: forward arguments in scripts/test (#393) (99378df)
  • internal: refactor scripts (#390) (f74c2b9)

0.53.0 (2024-04-25)

Full Changelog: v0.52.0...v0.53.0

⚠ BREAKING CHANGES

  • require account ID for creating an ACH prenotification (#387)

Bug Fixes

  • require account ID for creating an ACH prenotification (#387) (3f3633e)

Chores

  • internal: use actions/checkout@v4 for codeflow (#385) (442d578)

0.52.0 (2024-04-23)

Full Changelog: v0.51.0...v0.52.0

Features

  • api: remove inbound_wire_drawdown_payment_reversal (#384) (396a2f0)

Chores

  • internal: use @swc/jest for running tests (#381) (919d14d)

0.51.0 (2024-04-19)

Full Changelog: v0.50.0...v0.51.0

Features

  • api: add account_id param to ach_prenotification and third_party to check_transfer (#379) (dc4addf)

0.50.0 (2024-04-18)

Full Changelog: v0.49.0...v0.50.0

Features

  • api: add inbound_check_deposits decline endpoint (#377) (0c88faa)

0.49.0 (2024-04-17)

Full Changelog: v0.48.0...v0.49.0

Features

  • api: add altered_or_fictitious check decline reason (#375) (78770e5)

0.48.0 (2024-04-16)

Full Changelog: v0.47.0...v0.48.0

Features

  • api: remove deposit field from check transfer (#374) (8316f48)

Build System

  • configure UTF-8 locale in devcontainer (#372) (b692ad8)

0.47.0 (2024-04-16)

Full Changelog: v0.46.1...v0.47.0

Features

  • api: add /inbound_check_deposits endpoints (#371) (12032a4)

Chores

0.46.1 (2024-04-11)

Full Changelog: v0.46.0...v0.46.1

Bug Fixes

  • types: mark physical card cardholder as required (#366) (e84890a)

0.46.0 (2024-04-10)

Full Changelog: v0.45.0...v0.46.0

Features

Documentation

  • api: update links to NAICS classification codes (#363) (975632f)

0.45.0 (2024-04-05)

Full Changelog: v0.44.0...v0.45.0

Features

  • api: add inbound check deposit return intention (#361) (82b351a)

0.44.0 (2024-04-04)

Full Changelog: v0.43.0...v0.44.0

Features

  • api: remove inbound_check category, rename check_deposit_mail_item, add inbound_mail_item (#360) (408444e)

Chores

0.43.0 (2024-04-02)

Full Changelog: v0.42.0...v0.43.0

Features

  • api: filter OAuth connections by their status (#356) (0316140)

Chores

  • deps: remove unused dependency digest-fetch (#354) (415325a)

0.42.0 (2024-03-29)

Full Changelog: v0.41.0...v0.42.0

Features

  • api: remove check transfer intention (#351) (387c27e)

0.41.0 (2024-03-29)

Full Changelog: v0.40.0...v0.41.0

Features

Chores

0.40.0 (2024-03-27)

Full Changelog: v0.39.0...v0.40.0

Features

  • api: add funding parameter to external account update (#345) (401da90)

0.39.0 (2024-03-25)

Full Changelog: v0.38.1...v0.39.0

Features

0.38.1 (2024-03-25)

Full Changelog: v0.38.0...v0.38.1

Bug Fixes

  • client: correctly send deno version header (#342) (fdb2a46)
  • handle process.env being undefined in debug func (#340) (376a162)

0.38.0 (2024-03-21)

Full Changelog: v0.37.1...v0.38.0

Features

  • api: adding pending_reviewing wire transfer state (ba88eba)
  • api: introduce network_risk_score (#339) (ba88eba)
  • api: remove Card Profile ID properties (ba88eba)

Chores

  • errors: fallback to empty array for errors (#338) (fbeeb26)

Documentation

  • readme: consistent use of sentence case in headings (#335) (13776d1)
  • readme: document how to make undocumented requests (#337) (79e55a8)

0.37.1 (2024-03-19)

Full Changelog: v0.37.0...v0.37.1

Bug Fixes

  • internal: make toFile use input file's options (#334) (11bca30)

Chores

  • internal: update generated pragma comment (#333) (90096f6)

Documentation

0.37.0 (2024-03-13)

Full Changelog: v0.36.0...v0.37.0

Features

Chores

Documentation

  • readme: fix https proxy example (#327) (deaa721)
  • remove extraneous --save and yarn install instructions (#329) (efb6ddc)
  • update docs for digital wallet phone/email (#328) (56804ba)

0.36.0 (2024-03-04)

Full Changelog: v0.35.0...v0.36.0

⚠ BREAKING CHANGES

  • rename card_profile_id -> digital_card_profile_id (#323)

Bug Fixes

  • rename card_profile_id -> digital_card_profile_id (#323) (44b2285)

0.35.0 (2024-03-01)

Full Changelog: v0.34.0...v0.35.0

Features

Chores

Documentation

0.34.0 (2024-02-29)

Full Changelog: v0.33.0...v0.34.0

Features

  • api: add post /entities/{entity_id}/industry_code endpoint (#317) (20404be)

Documentation

  • contributing: improve wording (#315) (e1a6af8)
  • readme: fix typo in custom fetch implementation (#318) (90aa82e)

0.33.0 (2024-02-27)

Full Changelog: v0.32.0...v0.33.0

Features

  • api: add industry_code property to methods (#313) (78fcc3e)

0.32.0 (2024-02-26)

Full Changelog: v0.31.0...v0.32.0

Features

  • api: add unusual_activity_report_attachment enum member (#311) (c416e7e)

0.31.0 (2024-02-23)

Full Changelog: v0.30.0...v0.31.0

Features

Chores

0.30.0 (2024-02-19)

Full Changelog: v0.29.0...v0.30.0

Features

Chores

  • internal: refactor release environment script (#304) (b144603)

0.29.0 (2024-02-14)

Full Changelog: v0.28.0...v0.29.0

⚠ BREAKING CHANGES

  • api: split card profile resource into digital and physical card profile resources (#303)

Features

  • api: split card profile resource into digital and physical card profile resources (#303) (e94fd3b)

Chores

  • ci: uses Stainless GitHub App for releases (#302) (ca42ccd)
  • interal: make link to api.md relative (#297) (5e926c1)
  • internal: enable building when git installed (#299) (43c4bbe)
  • internal: re-order pagination import (#298) (c15d905)
  • internal: support pre-release versioning (#295) (f5a596a)
  • respect application/vnd.api+json content-type header (#301) (c45a065)

Documentation

0.28.0 (2024-01-26)

Full Changelog: v0.27.0...v0.28.0

Features

0.27.0 (2024-01-24)

Full Changelog: v0.26.0...v0.27.0

Features

  • api: list Inbound Wire Transfers, change transfer simulation return types (#292) (7277e79)

Chores

  • internal: add internal helpers & improve build scripts (#290) (ed13602)

0.26.0 (2024-01-22)

Full Changelog: v0.25.0...v0.26.0

Features

  • api: simplify WireDecline and InboundWireTransfer (#288) (ac8f91d)

0.25.0 (2024-01-19)

Full Changelog: v0.24.3...v0.25.0

⚠ BREAKING CHANGES

  • fix oauth casing (#286)

Features

  • add webhook support for node and python SDKs (#284) (0d6c1de)
  • api: add oauth token and inbound wire transfer methods (#287) (0c814d8)

Refactors

0.24.3 (2024-01-18)

Full Changelog: v0.24.2...v0.24.3

Bug Fixes

  • allow body type in RequestOptions to be null (#282) (8f848bf)

0.24.2 (2024-01-18)

Full Changelog: v0.24.1...v0.24.2

Bug Fixes

  • ci: ignore stainless-app edits to release PR title (#280) (99d6035)

0.24.1 (2024-01-17)

Full Changelog: v0.24.0...v0.24.1

Bug Fixes

  • types: accept undefined for optional client options (#279) (73ad36c)

Chores

  • internal: debug logging for retries; speculative retry-after-ms support (#278) (8c34478)
  • remove Alex Rattray from reviewers (#277) (73a27cc)

Documentation

0.24.0 (2024-01-12)

Full Changelog: v0.23.1...v0.24.0

Features

  • api: add merchant data to simulation api (#273) (856b155)

Chores

  • internal: narrow type into stringifyQuery (#270) (b7b5615)

Documentation

0.23.1 (2024-01-10)

Full Changelog: v0.23.0...v0.23.1

Bug Fixes

  • use default base url if BASE_URL env var is blank (#269) (03365e2)

Chores

  • add .keep files for examples and custom code directories (#266) (0e828fb)
  • api: update for other platforms (#268) (c6e35d7)

0.23.0 (2024-01-08)

Full Changelog: v0.22.1...v0.23.0

Features

Chores

0.22.1 (2024-01-04)

Full Changelog: v0.22.0...v0.22.1

Bug Fixes

  • headers: always send lowercase headers and strip undefined (BREAKING in rare cases) (#261) (55226ec)

0.22.0 (2024-01-02)

Full Changelog: v0.21.0...v0.22.0

Features

  • api: add real-time payments request for payment endpoints (#260) (66afdeb)

Chores

Documentation

Refactors

0.21.0 (2023-12-18)

Full Changelog: v0.20.0...v0.21.0

Features

  • api: add deposit_submission property to check deposit (#253) (bc6c3eb)

Chores

0.20.0 (2023-12-14)

Full Changelog: v0.19.0...v0.20.0

Features

  • api: add suspected_fraud rejection reason (#247) (845dbb9)

Build System

0.19.0 (2023-12-08)

Full Changelog: v0.18.0...v0.19.0

Features

0.18.0 (2023-12-04)

Full Changelog: v0.17.0...v0.18.0

Features

  • allow installing package directly from github (#235) (4239d30)
  • client: support reading the base url from an env variable (#240) (3edcfbd)

Chores

  • internal: don't call prepare in dist (#236) (67e6f5a)
  • internal: remove file import and conditionally run prepare (#237) (1432101)
  • internal: update APIResource structure (#234) (c0885ff)
  • internal: update jest config (#232) (6072553)

Documentation

0.17.0 (2023-11-08)

Full Changelog: v0.16.0...v0.17.0

Features

Chores

Documentation

0.16.0 (2023-11-01)

Full Changelog: v0.15.0...v0.16.0

Features

  • api: add failed to export status enum (#224) (4fa60c0)
  • github: include a devcontainer setup (#223) (d1b23c3)

Chores

0.15.0 (2023-10-27)

Full Changelog: v0.14.0...v0.15.0

Features

  • api: add network identifiers and effective date (#219) (de92338)

0.14.0 (2023-10-26)

Full Changelog: v0.13.1...v0.14.0

Features

0.13.1 (2023-10-25)

Full Changelog: v0.13.0...v0.13.1

Bug Fixes

0.13.0 (2023-10-24)

Full Changelog: v0.12.0...v0.13.0

Features

0.12.0 (2023-10-19)

Full Changelog: v0.11.8...v0.12.0

Features

Bug Fixes

  • fix namespace exports regression (#192) (dbb2850)
  • import web-streams-polyfill without overriding globals (#203) (7ef92ce)
  • improve status code in error messages (#200) (488dc57)

Chores

Documentation

  • organisation -> organization (UK to US English) (#201) (8148392)

Refactors

0.11.8 (2023-10-11)

Full Changelog: v0.11.7...v0.11.8

Bug Fixes

  • client: eliminate circular imports, which cause runtime errors in webpack dev bundles (#189) (717b395)

0.11.8 (2023-10-11)

Full Changelog: v0.11.7...v0.11.8

Bug Fixes

  • client: eliminate circular imports, which cause runtime errors in webpack dev bundles (#189) (c8ae4b8)

0.11.7 (2023-10-06)

Full Changelog: v0.11.6...v0.11.7

Bug Fixes

  • prevent ReferenceError, update compatibility to ES2020 and Node 18+ (#187) (ed733e6)

0.11.6 (2023-10-06)

Full Changelog: v0.11.5...v0.11.6

Features

  • api: add direction property to CardAuthorization (#185) (1656128)

0.11.5 (2023-10-03)

Full Changelog: v0.11.4...v0.11.5

Features

  • api: expand event categories and Entity status options (#183) (21f2aa7)

Chores

0.11.4 (2023-09-29)

Full Changelog: v0.11.3...v0.11.4

Features

0.11.3 (2023-09-25)

Full Changelog: v0.11.2...v0.11.3

Features

  • api: add inbound checks, originating routing number and new event types (#173) (d212a98)
  • client: handle retry-after with a date (#175) (b3a7192)
  • package: export a root error type (#174) (d2af282)

Documentation

0.11.2 (2023-09-20)

Full Changelog: v0.11.1...v0.11.2

Features

  • api: add entity_id to Card and make relationship nullable (#165) (2c72176)
  • api: export account statements in OFX format (#169) (88678b7)
  • client: support importing node or web shims manually (#168) (986b86c)

Documentation

  • readme: remove incorrect wording in opening (#167) (70734aa)

0.11.1 (2023-09-15)

Full Changelog: v0.11.0...v0.11.1

Features

  • api: add card payment ID reference to transaction models (#158) (1c92078)
  • client: retry on 408 Request Timeout (#160) (1792836)
  • errors: add status code to error message (#164) (c5493ce)

Documentation

  • declare Bun 1.0 officially supported (#163) (a5611aa)

0.11.0 (2023-09-12)

Full Changelog: v0.10.4...v0.11.0

⚠ BREAKING CHANGES

  • api: remove Limits API, add ACH controls to Account Numbers (#156)

Features

  • api: remove Limits API, add ACH controls to Account Numbers (#156) (4e4d1b2)

0.10.4 (2023-09-08)

Full Changelog: v0.10.3...v0.10.4

Features

  • api: add bank_of_first_deposit_routing_number and transfer_id properties (#142) (dbedd6e)
  • api: add Update Address and Create Notification Change endpoints (#149) (0fb3db0)
  • fixes tests where an array has to have unique enum values (#150) (ef1a132)
  • package: add Bun export map (#144) (a4f0dab)

Bug Fixes

  • client: fix TS errors that appear when users Go to Source in VSCode (#147) (c198d77)
  • client: handle case where the client is instantiated with a undefined baseURL (#148) (6e63ef2)
  • client: use explicit file extensions in _shims imports (#146) (3645236)
  • fix module not found errors in Vercel edge (#155) (5fa86f3)
  • readme: update link to api.md to use the correct branch (#152) (b9db511)

Chores

Documentation

0.10.3 (2023-08-29)

Full Changelog: v0.10.2...v0.10.3

Features

  • api: remove unused /inbound_ach_transfer_returns endpoints (#141) (8b5d210)

Bug Fixes

  • api: move ACH Return endpoint and add digital wallet properties (#139) (ad69548)
  • types: improve getNextPage() return type (#140) (d45397c)

Chores

  • ci: setup workflows to create releases and release PRs (#136) (71167b0)

0.10.2 (2023-08-27)

Features

  • api: move inbound ACH transfer returns (⚠️ breaking); add ACH transfer declines (#134) (6640d70)
  • api: updates (#131) (b837631)

Chores

0.10.1 (2023-08-24)

Features

Bug Fixes

  • core: fix navigator check for strange environments (#126) (3d295e5)

Chores

  • internal: add missing eslint-plugin-prettier (#125) (44a4416)
  • internal: export HeadersInit type shim (#129) (6120e36)
  • internal: minor reformatting of code (#123) (39f4300)

0.10.0 (2023-08-17)

⚠ BREAKING CHANGES

  • api: change physical_cards.status value, remove event_subscription field, add fields (#120)

Features

  • api: change physical_cards.status value, remove event_subscription field, add fields (#120) (8d390d1)
  • client: improve compatibility with Bun (#121) (f969ef3)
  • docs: add documentation to the client constructor (#118) (874970c)

0.9.1 (2023-08-16)

Features

  • allow a default timeout to be set for clients (#111) (3c477d6)

Bug Fixes

  • client: fix TypeError when a request gets retried (#116) (dbdc423)

Chores

  • assign default reviewers to release PRs (#113) (3411dd3)
  • internal: fix error happening in CloudFlare pages (#114) (c191d46)
  • internal: improve error message when option is missing (#115) (6a24a7e)

0.9.0 (2023-08-11)

⚠ BREAKING CHANGES

  • client: support accessing raw response + remove deprecated features (#104)

Features

  • api: updates (#106) (3ba4626)
  • client: support accessing raw response + remove deprecated features (#104) (b4f3164)

Documentation

Chores

  • internal: conditionally include bin during build output (#109) (ae76bb5)

0.8.1 (2023-08-08)

Features

Bug Fixes

Refactors

  • create build for deno.land (#89) (895fa10)
  • use destructuring arguments in client constructor and respect false values (#87) (381b58f)

Documentation

  • readme: remove beta status + document versioning policy (#96) (dd0bdb9)

Chores

0.8.0 (2023-07-22)

⚠ BREAKING CHANGES

  • api: reorganize check_transfer and network fields; addrequest_details; addunknown` (#77)

Features

  • api: add fee_period_start and return_of_erroneous_or_reversing_debit (#81) (0355030)
  • api: reorganize check_transfer and network fields; addrequest_details; addunknown` (#77) (477ba8c)
  • client: export ClientOptions interface (#76) (757d3e3)
  • streaming: make requests immediately throw an error if an aborted signal is passed in (#80) (d9e16a4)

Bug Fixes

  • client: fix errors with file uploads in the browser (#78) (7ebdd66)
  • fix error in environments without TextEncoder (#72) (699c8e1)
  • fix export map order (#75) (5826191)

Chores

  • internal: restructure code to stringify query (#74) (71586e2)

Documentation

  • api: update model_id documentation (#79) (aee0086)

0.7.1 (2023-07-17)

Features

Bug Fixes

  • fix errors with "named" client export in CJS (#70) (2000849)

Documentation

  • readme: improvements to formatting code snippets (#64) (f7b65e9)

Chores

  • internal: add helper function for b64 (#68) (9ac500a)
  • internal: let toFile helper accept promises to objects with name/type properties (#69) (b167997)
  • internal: remove unused streaming implementation (#66) (264a739)

0.7.0 (2023-07-12)

⚠ BREAKING CHANGES

  • api: add unique_identifier, driver's license backs, inbound funds holds, and more (#62)

Features

  • api: add unique_identifier, driver's license backs, inbound funds holds, and more (#62) (e253f9c)
  • client: add support for passing a signal request option (#61) (a6f79cf)
  • client: improve timeout handling to reuse agent (#53) (06559f9)
  • client: support passing a custom fetch function (#57) (7d974fe)

Bug Fixes

  • client: properly handle multi-byte characters in Content-Length (#58) (d75d738)
  • examples: avoid swallowing errors in example scripts (#55) (c21fb83)
  • fix errors in package source files when users go to definition in VSCode (#52) (1eeacd4)
  • include README.md, LICENSE and CHANGELOG.md in published package (#49) (e0e3baa)
  • streaming: do not abort successfully completed streams (#60) (1505b16)
  • streaming: fix response body streaming in non-Chrome environments (#54) (f45d825)
  • streaming: polyfill ReadableStream async iterator and text decoding (#48) (fd21d9a)
  • support PromiseLike input to toFile (#51) (af64015)

Chores

  • internal: fix release please version config (#46) (12ed2c6)

Refactors

  • improve streaming implementation (#50) (1b19296)
  • streaming: make response body streaming polyfill more spec-compliant (#56) (d98e28e)

Documentation

0.6.0 (2023-07-07)

⚠ BREAKING CHANGES

  • api: add card profiles simulation method (#42)
  • import issue with ESM (#37)

Features

  • api: add card profiles simulation method (#42) (a756866)
  • client: add support for defaultQuery option (#35) (eae9716)

Bug Fixes

Refactors

  • mark .responseHeaders and .response as deprecated (#41) (54ca3fa)
  • move to src directory, improve ecosystem compatibility (#33) (7961453)

Chores

  • internal: fix tsc usage (#40) (5411f7e)
  • set noEmit: true in tsconfig.json, since it's for typechecking only (#43) (2d40060)

Documentation

  • api.md: add context to types exported in a different resource (#44) (7204785)
  • api.md: fix links not referencing src directory (#36) (35cccbe)
  • client: improve documentation for client options (#38) (2133c8e)
  • types: add documentation for enum members (#39) (aeca9c3)

0.5.0 (2023-06-29)

⚠ BREAKING CHANGES

  • api: remove many enum members from document category (#27)
  • types: singularize array item types (#25)

Features

  • api/types: mark more check transfer intention properties as nullable (#26) (324580e)
  • support ESM and web platform runtimes; easier file uploads (#28) (1d53a8d)
  • types: export nested types through the root client export (#23) (c68b1ae)

Bug Fixes

  • form-data: strip out undefined properties (#21) (dd73783)

Refactors

  • api: remove other from reason enum (#24) (5d7206a)
  • api: remove many enum members from document category (#27) (ddcd780)
  • types: singularize array item types (#25) (bb00a48)

Styles

  • minor reordering of types and properties (#29) (0e6dbc5)

Chores

Documentation

0.4.0 (2023-06-19)

⚠ BREAKING CHANGES

  • drop official support for EOL Node versions (Node 12, 13, 14, 15) (#18)
  • api: rename return reason enum member (#12)
  • change nested query parameters to be objects (#8)

Features

  • client: add support for specifying client-level default headers (#5) (609c71a)
  • api: add new endpoints + properties + enums (#9) (8fd90c4)

Bug Fixes

  • internal: improve stream cancellation handling of abort controllers (#17) (e8f15dd)

Chores

  • internal: improve SSE decoding of lines (#14) (74b9bdc)
  • internal: restructure core streaming implementation (#7) (b97964b)

Refactors

  • api: remove unused properties and enum members (#16) (51c8ab5)
  • change nested query parameters to be objects (#8) (fdcd3a4)
  • api: rename return reason enum member (#12) (51ba5d4)
  • docs: cleanup api.md response types (539848e)
  • move error type definitions to error.ts (#15) (e50a9a1)

Documentation

  • drop official support for EOL Node versions (Node 12, 13, 14, 15) (#18) (f3be71b)
  • point to github repo instead of email contact (#13) (72d7fef)
  • slight improvement to file uploads example (#10) (b134725)

Build System

  • add .github folder to .npmignore (#19) (a263289)

0.3.0 (2023-05-31)

⚠ BREAKING CHANGES

  • api: notification_of_change has been removed in favor of the new notifications_of_change list field

Features

  • add additional coercion functions (5f106bf)
  • add internal support for streaming responses (a1c321e)
  • add internal support for streaming responses (a1c321e)
  • add webhook HMAC verification helper methods (7a00853)
  • api: add at_time property for balance lookups (0b6c0de)
  • api: add collection_receivable to transaction source category enum (e743cc9)
  • api: add expires_at property (c257707)
  • api: add simulations.checkTransfers.return() method (e7d330a)
  • api: add simulations.checkTransfers.return() method (e7d330a)
  • api: add bookkeeping accounts, entries, and entry sets, and several other changes (d63d4e7)
  • api: add new endpoints (7d4ebe6)
  • api: add new endpoints, several params, fields, enum members, and documentation updates (8ffb013)
  • api: add new enum members (0785f7a)
  • api: add new fields (3d9c69b)
  • api: add new methods (ca41987)
  • api: add optional pending_transaction_id field to pending transaction (fa011e7)
  • api: add wire decline object (2d2e77e)
  • api: enum updates (f09e25a)
  • api: make routeType an enum & add ACHTransfer.effectiveDate (77fd8ea)
  • api: make routeType an enum & add ACHTransfer.effectiveDate (77fd8ea)
  • api: replace notification_of_change with a list, and add merchant_acceptor_id (831e49e)
  • api: updates (ad907d5)
  • api: updates (ca80997)
  • api: updates (ca80997)
  • api: updates (651bf76)
  • api: updates (e58e324)
  • client: handle trailing slash in base url properly (a03d867)
  • docs: add more doc comments (b8bc790)
  • docs: updates (6cea39c)
  • improve docs and add new property (418fe83)
  • improve error types (db09c19)
  • improve error types (db09c19)
  • internal: add support for positional params (9cafda3)
  • internal: add support for positional params (9cafda3)
  • internal: improve example generation (e0fa5b3)
  • internal: improve example generation (e0fa5b3)
  • internal: internal fixes (4848450)
  • internal: internal fixes (4848450)
  • internal: re-export fileFromPath helper util from the root (09c0c79)
  • internal: re-export fileFromPath helper util from the root (09c0c79)
  • send Idempotency-Key by default for POST requests (4c15f76)
  • send Idempotency-Key by default for POST requests (4c15f76)
  • tsconfig: set declarationMap: true (50c755f)
  • tsconfig: set declarationMap: true (50c755f)
  • update docs (facb322)

Bug Fixes

  • allow importing in typescript without manually installing @types/web (d802d9e)
  • bump @types/node version (7915638)
  • change unknown type generation to interface{} (532c5ec)
  • change unknown type generation to interface{} (532c5ec)
  • client: properly expose maxRetries option (dfdce20)
  • internal: fix TS error when setting global AbortController polyfill (00c0df8)
  • internal: fix TS error when setting global AbortController polyfill (00c0df8)
  • polyfill AbortController more safely (71e0db3)
  • polyfill AbortController more safely (71e0db3)
  • sse: handle server-sent events more robustly (8dddf91)

Reverts

  • remove crypto module import (b82e4b7)
  • remove crypto module import (b82e4b7)

Refactors

  • docs: cleanup api.md response types (539848e)
  • remove ability to read the api key from the environment (3051874)
  • reorganize pagination class definitions (972a30e)
  • reorganize pagination class definitions (972a30e)