Skip to content

Commit 884f557

Browse files
feat(api): api update
1 parent 944b3c6 commit 884f557

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 201
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-8fa8b313edec69eb17149f293bc69616490adb3ccb07376b22f1f1b555b800c7.yml
3-
openapi_spec_hash: 0c078eeca22e12fa282d4aa4f638a843
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-3b0c9217a75af2d86d38e83c81301c1e3997b9827ab88600152dfc6359605798.yml
3+
openapi_spec_hash: 9ae9741413c5b6d5cbca0e6935a76b57
44
config_hash: 97774f946585cecb19181a1817870d0b

src/resources/inbound-mail-items.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ export interface InboundMailItem {
5959
*/
6060
id: string;
6161

62+
/**
63+
* The checks in the mail item.
64+
*/
65+
checks: Array<InboundMailItem.Check>;
66+
6267
/**
6368
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Inbound
6469
* Mail Item was created.
@@ -106,6 +111,28 @@ export interface InboundMailItem {
106111
type: 'inbound_mail_item';
107112
}
108113

114+
export namespace InboundMailItem {
115+
/**
116+
* Inbound Mail Item Checks represent the checks in an Inbound Mail Item.
117+
*/
118+
export interface Check {
119+
/**
120+
* The amount of the check.
121+
*/
122+
amount: number;
123+
124+
/**
125+
* The identifier for the File containing the back of the check.
126+
*/
127+
back_file_id: string | null;
128+
129+
/**
130+
* The identifier for the File containing the front of the check.
131+
*/
132+
front_file_id: string | null;
133+
}
134+
}
135+
109136
export interface InboundMailItemListParams extends PageParams {
110137
created_at?: InboundMailItemListParams.CreatedAt;
111138

0 commit comments

Comments
 (0)