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 @@
{
".": "0.435.0"
".": "0.436.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: 232
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b27417de2b11e1ed32ccf399f6b52acd599a75ba910d7709028972960e12ba67.yml
openapi_spec_hash: 82ef00d2d4f3a796ba181d2546c424bb
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-7da80155087dd9d883acaa10229e34ed5a3097f884c77b5f28c4c76a62b82432.yml
openapi_spec_hash: c5050ba45eb587316583060c1efef8a8
config_hash: 4b562e97b3d8b4cba758a87d4927a76d
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.436.0 (2026-02-18)

Full Changelog: [v0.435.0...v0.436.0](https://github.com/Increase/increase-typescript/compare/v0.435.0...v0.436.0)

### Features

* **api:** api update ([0df43c8](https://github.com/Increase/increase-typescript/commit/0df43c8e00a3fb3fabdf1c18d24f5f52c17decef))

## 0.435.0 (2026-02-17)

Full Changelog: [v0.434.0...v0.435.0](https://github.com/Increase/increase-typescript/compare/v0.434.0...v0.435.0)
Expand Down
2 changes: 1 addition & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ Methods:

- <code title="post /simulations/check_deposits/{check_deposit_id}/reject">client.simulations.checkDeposits.<a href="./src/resources/simulations/check-deposits.ts">reject</a>(checkDepositID) -> CheckDeposit</code>
- <code title="post /simulations/check_deposits/{check_deposit_id}/return">client.simulations.checkDeposits.<a href="./src/resources/simulations/check-deposits.ts">return</a>(checkDepositID) -> CheckDeposit</code>
- <code title="post /simulations/check_deposits/{check_deposit_id}/submit">client.simulations.checkDeposits.<a href="./src/resources/simulations/check-deposits.ts">submit</a>(checkDepositID) -> CheckDeposit</code>
- <code title="post /simulations/check_deposits/{check_deposit_id}/submit">client.simulations.checkDeposits.<a href="./src/resources/simulations/check-deposits.ts">submit</a>(checkDepositID, { ...params }) -> CheckDeposit</code>

## InboundMailItems

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": "increase",
"version": "0.435.0",
"version": "0.436.0",
"description": "The official TypeScript library for the Increase API",
"author": "Increase <dev-feedback@increase.com>",
"types": "dist/index.d.ts",
Expand Down
44 changes: 42 additions & 2 deletions src/resources/simulations/check-deposits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,47 @@ export class CheckDeposits extends APIResource {
* );
* ```
*/
submit(checkDepositID: string, options?: RequestOptions): APIPromise<CheckDepositsAPI.CheckDeposit> {
return this._client.post(path`/simulations/check_deposits/${checkDepositID}/submit`, options);
submit(
checkDepositID: string,
body: CheckDepositSubmitParams,
options?: RequestOptions,
): APIPromise<CheckDepositsAPI.CheckDeposit> {
return this._client.post(path`/simulations/check_deposits/${checkDepositID}/submit`, {
body,
...options,
});
}
}

export interface CheckDepositSubmitParams {
/**
* If set, the simulation will use these values for the check's scanned MICR data.
*/
scan?: CheckDepositSubmitParams.Scan;
}

export namespace CheckDepositSubmitParams {
/**
* If set, the simulation will use these values for the check's scanned MICR data.
*/
export interface Scan {
/**
* The account number to be returned in the check deposit's scan data.
*/
account_number: string;

/**
* The routing number to be returned in the check deposit's scan data.
*/
routing_number: string;

/**
* The auxiliary on-us data to be returned in the check deposit's scan data.
*/
auxiliary_on_us?: string;
}
}

export declare namespace CheckDeposits {
export { type CheckDepositSubmitParams as CheckDepositSubmitParams };
}
2 changes: 1 addition & 1 deletion src/resources/simulations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export { CardRefunds, type CardRefundCreateParams } from './card-refunds';
export { CardReversals, type CardReversalCreateParams } from './card-reversals';
export { CardSettlements, type CardSettlementCreateParams } from './card-settlements';
export { CardTokens, type CardTokenCreateParams } from './card-tokens';
export { CheckDeposits } from './check-deposits';
export { CheckDeposits, type CheckDepositSubmitParams } from './check-deposits';
export { CheckTransfers } from './check-transfers';
export {
DigitalWalletTokenRequests,
Expand Down
4 changes: 2 additions & 2 deletions src/resources/simulations/simulations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { CardSettlementCreateParams, CardSettlements } from './card-settlements'
import * as CardTokensAPI from './card-tokens';
import { CardTokenCreateParams, CardTokens } from './card-tokens';
import * as CheckDepositsAPI from './check-deposits';
import { CheckDeposits } from './check-deposits';
import { CheckDepositSubmitParams, CheckDeposits } from './check-deposits';
import * as CheckTransfersAPI from './check-transfers';
import { CheckTransfers } from './check-transfers';
import * as DigitalWalletTokenRequestsAPI from './digital-wallet-token-requests';
Expand Down Expand Up @@ -282,7 +282,7 @@ export declare namespace Simulations {
type InboundFednowTransferCreateParams as InboundFednowTransferCreateParams,
};

export { CheckDeposits as CheckDeposits };
export { CheckDeposits as CheckDeposits, type CheckDepositSubmitParams as CheckDepositSubmitParams };

export {
InboundMailItems as InboundMailItems,
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.435.0'; // x-release-please-version
export const VERSION = '0.436.0'; // x-release-please-version
2 changes: 1 addition & 1 deletion tests/api-resources/simulations/check-deposits.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('resource checkDeposits', () => {
});

test('submit', async () => {
const responsePromise = client.simulations.checkDeposits.submit('check_deposit_f06n9gpg7sxn8t19lfc1');
const responsePromise = client.simulations.checkDeposits.submit('check_deposit_f06n9gpg7sxn8t19lfc1', {});
const rawResponse = await responsePromise.asResponse();
expect(rawResponse).toBeInstanceOf(Response);
const response = await responsePromise;
Expand Down