increase 0.539.0 → 0.541.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/bin/cli +5 -12
- package/client.d.mts +6 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -3
- package/client.d.ts.map +1 -1
- package/client.js +6 -3
- package/client.js.map +1 -1
- package/client.mjs +6 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/card-push-transfers.d.mts +2 -1
- package/resources/card-push-transfers.d.mts.map +1 -1
- package/resources/card-push-transfers.d.ts +2 -1
- package/resources/card-push-transfers.d.ts.map +1 -1
- package/resources/card-tokens.d.mts +2 -1
- package/resources/card-tokens.d.mts.map +1 -1
- package/resources/card-tokens.d.ts +2 -1
- package/resources/card-tokens.d.ts.map +1 -1
- package/resources/card-validations.d.mts +2 -1
- package/resources/card-validations.d.mts.map +1 -1
- package/resources/card-validations.d.ts +2 -1
- package/resources/card-validations.d.ts.map +1 -1
- package/resources/check-deposits.d.mts +4 -3
- package/resources/check-deposits.d.mts.map +1 -1
- package/resources/check-deposits.d.ts +4 -3
- package/resources/check-deposits.d.ts.map +1 -1
- package/resources/inbound-mail-items.d.mts +19 -7
- package/resources/inbound-mail-items.d.mts.map +1 -1
- package/resources/inbound-mail-items.d.ts +19 -7
- package/resources/inbound-mail-items.d.ts.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +6 -4
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/lockbox-addresses.d.mts +184 -0
- package/resources/lockbox-addresses.d.mts.map +1 -0
- package/resources/lockbox-addresses.d.ts +184 -0
- package/resources/lockbox-addresses.d.ts.map +1 -0
- package/resources/lockbox-addresses.js +64 -0
- package/resources/lockbox-addresses.js.map +1 -0
- package/resources/lockbox-addresses.mjs +60 -0
- package/resources/lockbox-addresses.mjs.map +1 -0
- package/resources/lockbox-recipients.d.mts +202 -0
- package/resources/lockbox-recipients.d.mts.map +1 -0
- package/resources/lockbox-recipients.d.ts +202 -0
- package/resources/lockbox-recipients.d.ts.map +1 -0
- package/resources/lockbox-recipients.js +69 -0
- package/resources/lockbox-recipients.js.map +1 -0
- package/resources/lockbox-recipients.mjs +65 -0
- package/resources/lockbox-recipients.mjs.map +1 -0
- package/resources/simulations/card-tokens.d.mts +2 -1
- package/resources/simulations/card-tokens.d.mts.map +1 -1
- package/resources/simulations/card-tokens.d.ts +2 -1
- package/resources/simulations/card-tokens.d.ts.map +1 -1
- package/resources/simulations/inbound-mail-items.d.mts +9 -5
- package/resources/simulations/inbound-mail-items.d.mts.map +1 -1
- package/resources/simulations/inbound-mail-items.d.ts +9 -5
- package/resources/simulations/inbound-mail-items.d.ts.map +1 -1
- package/resources/simulations/inbound-mail-items.js +0 -1
- package/resources/simulations/inbound-mail-items.js.map +1 -1
- package/resources/simulations/inbound-mail-items.mjs +0 -1
- package/resources/simulations/inbound-mail-items.mjs.map +1 -1
- package/src/client.ts +34 -15
- package/src/resources/card-push-transfers.ts +2 -1
- package/src/resources/card-tokens.ts +2 -1
- package/src/resources/card-validations.ts +2 -1
- package/src/resources/check-deposits.ts +4 -3
- package/src/resources/inbound-mail-items.ts +27 -7
- package/src/resources/index.ts +15 -7
- package/src/resources/lockbox-addresses.ts +235 -0
- package/src/resources/lockbox-recipients.ts +257 -0
- package/src/resources/simulations/card-tokens.ts +2 -1
- package/src/resources/simulations/inbound-mail-items.ts +12 -6
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/lockboxes.d.mts +0 -217
- package/resources/lockboxes.d.mts.map +0 -1
- package/resources/lockboxes.d.ts +0 -217
- package/resources/lockboxes.d.ts.map +0 -1
- package/resources/lockboxes.js +0 -64
- package/resources/lockboxes.js.map +0 -1
- package/resources/lockboxes.mjs +0 -60
- package/resources/lockboxes.mjs.map +0 -1
- package/src/resources/lockboxes.ts +0 -273
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { Page, type PageParams, PagePromise } from '../core/pagination';
|
|
6
|
+
import { RequestOptions } from '../internal/request-options';
|
|
7
|
+
import { path } from '../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
export class LockboxRecipients extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Create a Lockbox Recipient
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const lockboxRecipient =
|
|
16
|
+
* await client.lockboxRecipients.create({
|
|
17
|
+
* account_id: 'account_in71c4amph0vgo2qllky',
|
|
18
|
+
* lockbox_address_id:
|
|
19
|
+
* 'lockbox_address_lw6sbzl9ol5dfd8hdml6',
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
create(body: LockboxRecipientCreateParams, options?: RequestOptions): APIPromise<LockboxRecipient> {
|
|
24
|
+
return this._client.post('/lockbox_recipients', { body, ...options });
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Retrieve a Lockbox Recipient
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const lockboxRecipient =
|
|
33
|
+
* await client.lockboxRecipients.retrieve(
|
|
34
|
+
* 'lockbox_3xt21ok13q19advds4t5',
|
|
35
|
+
* );
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
retrieve(lockboxRecipientID: string, options?: RequestOptions): APIPromise<LockboxRecipient> {
|
|
39
|
+
return this._client.get(path`/lockbox_recipients/${lockboxRecipientID}`, options);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Update a Lockbox Recipient
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* const lockboxRecipient =
|
|
48
|
+
* await client.lockboxRecipients.update(
|
|
49
|
+
* 'lockbox_3xt21ok13q19advds4t5',
|
|
50
|
+
* );
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
update(
|
|
54
|
+
lockboxRecipientID: string,
|
|
55
|
+
body: LockboxRecipientUpdateParams,
|
|
56
|
+
options?: RequestOptions,
|
|
57
|
+
): APIPromise<LockboxRecipient> {
|
|
58
|
+
return this._client.patch(path`/lockbox_recipients/${lockboxRecipientID}`, { body, ...options });
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* List Lockbox Recipients
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ```ts
|
|
66
|
+
* // Automatically fetches more pages as needed.
|
|
67
|
+
* for await (const lockboxRecipient of client.lockboxRecipients.list()) {
|
|
68
|
+
* // ...
|
|
69
|
+
* }
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
list(
|
|
73
|
+
query: LockboxRecipientListParams | null | undefined = {},
|
|
74
|
+
options?: RequestOptions,
|
|
75
|
+
): PagePromise<LockboxRecipientsPage, LockboxRecipient> {
|
|
76
|
+
return this._client.getAPIList('/lockbox_recipients', Page<LockboxRecipient>, { query, ...options });
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export type LockboxRecipientsPage = Page<LockboxRecipient>;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Lockbox Recipients represent an inbox at a Lockbox Address. Checks received for
|
|
84
|
+
* a Lockbox Recipient are deposited into its associated Account.
|
|
85
|
+
*/
|
|
86
|
+
export interface LockboxRecipient {
|
|
87
|
+
/**
|
|
88
|
+
* The Lockbox Recipient identifier.
|
|
89
|
+
*/
|
|
90
|
+
id: string;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* The identifier for the Account that checks sent to this Lockbox Recipient will
|
|
94
|
+
* be deposited into.
|
|
95
|
+
*/
|
|
96
|
+
account_id: string;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Lockbox
|
|
100
|
+
* Recipient was created.
|
|
101
|
+
*/
|
|
102
|
+
created_at: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* The description of the Lockbox Recipient.
|
|
106
|
+
*/
|
|
107
|
+
description: string | null;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* The idempotency key you chose for this object. This value is unique across
|
|
111
|
+
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
112
|
+
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
113
|
+
*/
|
|
114
|
+
idempotency_key: string | null;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* The identifier for the Lockbox Address where this Lockbox Recipient may receive
|
|
118
|
+
* physical mail.
|
|
119
|
+
*/
|
|
120
|
+
lockbox_address_id: string;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* The mail stop code uniquely identifying this Lockbox Recipient at its Lockbox
|
|
124
|
+
* Address. It should be included in the mailing address intended for this Lockbox
|
|
125
|
+
* Recipient.
|
|
126
|
+
*/
|
|
127
|
+
mail_stop_code: string;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* The name of the Lockbox Recipient.
|
|
131
|
+
*/
|
|
132
|
+
recipient_name: string | null;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* The status of the Lockbox Recipient.
|
|
136
|
+
*
|
|
137
|
+
* - `active` - This Lockbox Recipient is active.
|
|
138
|
+
* - `disabled` - This Lockbox Recipient is disabled. Checks mailed to this Lockbox
|
|
139
|
+
* Recipient will be rejected.
|
|
140
|
+
* - `canceled` - This Lockbox Recipient is canceled and cannot be modified. Checks
|
|
141
|
+
* mailed to this Lockbox Recipient will be rejected.
|
|
142
|
+
*/
|
|
143
|
+
status: 'active' | 'disabled' | 'canceled' | null;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* A constant representing the object's type. For this resource it will always be
|
|
147
|
+
* `lockbox_recipient`.
|
|
148
|
+
*/
|
|
149
|
+
type: 'lockbox_recipient';
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export interface LockboxRecipientCreateParams {
|
|
153
|
+
/**
|
|
154
|
+
* The Account that checks sent to this Lockbox Recipient should be deposited into.
|
|
155
|
+
*/
|
|
156
|
+
account_id: string;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* The Lockbox Address where this Lockbox Recipient may receive mail.
|
|
160
|
+
*/
|
|
161
|
+
lockbox_address_id: string;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* The description you choose for the Lockbox Recipient.
|
|
165
|
+
*/
|
|
166
|
+
description?: string;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* The name of the Lockbox Recipient
|
|
170
|
+
*/
|
|
171
|
+
recipient_name?: string;
|
|
172
|
+
|
|
173
|
+
[k: string]: unknown;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface LockboxRecipientUpdateParams {
|
|
177
|
+
/**
|
|
178
|
+
* The description you choose for the Lockbox Recipient.
|
|
179
|
+
*/
|
|
180
|
+
description?: string;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* The name of the Lockbox Recipient.
|
|
184
|
+
*/
|
|
185
|
+
recipient_name?: string;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* The status of the Lockbox Recipient.
|
|
189
|
+
*
|
|
190
|
+
* - `active` - This Lockbox Recipient is active.
|
|
191
|
+
* - `disabled` - This Lockbox Recipient is disabled. Checks mailed to this Lockbox
|
|
192
|
+
* Recipient will be rejected.
|
|
193
|
+
* - `canceled` - This Lockbox Recipient is canceled and cannot be modified. Checks
|
|
194
|
+
* mailed to this Lockbox Recipient will be rejected.
|
|
195
|
+
*/
|
|
196
|
+
status?: 'active' | 'disabled' | 'canceled';
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export interface LockboxRecipientListParams extends PageParams {
|
|
200
|
+
/**
|
|
201
|
+
* Filter Lockbox Recipients to those associated with the provided Account.
|
|
202
|
+
*/
|
|
203
|
+
account_id?: string;
|
|
204
|
+
|
|
205
|
+
created_at?: LockboxRecipientListParams.CreatedAt;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
209
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
210
|
+
* request is only processed once. Learn more about
|
|
211
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
212
|
+
*/
|
|
213
|
+
idempotency_key?: string;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Filter Lockbox Recipients to those associated with the provided Lockbox Address.
|
|
217
|
+
*/
|
|
218
|
+
lockbox_address_id?: string;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export namespace LockboxRecipientListParams {
|
|
222
|
+
export interface CreatedAt {
|
|
223
|
+
/**
|
|
224
|
+
* Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
225
|
+
* timestamp.
|
|
226
|
+
*/
|
|
227
|
+
after?: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
231
|
+
* timestamp.
|
|
232
|
+
*/
|
|
233
|
+
before?: string;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Return results on or after this
|
|
237
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
238
|
+
*/
|
|
239
|
+
on_or_after?: string;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Return results on or before this
|
|
243
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
244
|
+
*/
|
|
245
|
+
on_or_before?: string;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export declare namespace LockboxRecipients {
|
|
250
|
+
export {
|
|
251
|
+
type LockboxRecipient as LockboxRecipient,
|
|
252
|
+
type LockboxRecipientsPage as LockboxRecipientsPage,
|
|
253
|
+
type LockboxRecipientCreateParams as LockboxRecipientCreateParams,
|
|
254
|
+
type LockboxRecipientUpdateParams as LockboxRecipientUpdateParams,
|
|
255
|
+
type LockboxRecipientListParams as LockboxRecipientListParams,
|
|
256
|
+
};
|
|
257
|
+
}
|
|
@@ -15,7 +15,6 @@ export class InboundMailItems extends APIResource {
|
|
|
15
15
|
* const inboundMailItem =
|
|
16
16
|
* await client.simulations.inboundMailItems.create({
|
|
17
17
|
* amount: 1000,
|
|
18
|
-
* lockbox_id: 'lockbox_3xt21ok13q19advds4t5',
|
|
19
18
|
* });
|
|
20
19
|
* ```
|
|
21
20
|
*/
|
|
@@ -33,16 +32,23 @@ export interface InboundMailItemCreateParams {
|
|
|
33
32
|
*/
|
|
34
33
|
amount: number;
|
|
35
34
|
|
|
36
|
-
/**
|
|
37
|
-
* The identifier of the Lockbox to simulate inbound mail to.
|
|
38
|
-
*/
|
|
39
|
-
lockbox_id: string;
|
|
40
|
-
|
|
41
35
|
/**
|
|
42
36
|
* The file containing the PDF contents. If not present, a default check image file
|
|
43
37
|
* will be used.
|
|
44
38
|
*/
|
|
45
39
|
contents_file_id?: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* The identifier of the Lockbox Address to simulate inbound mail to.
|
|
43
|
+
*/
|
|
44
|
+
lockbox_address_id?: string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* The identifier of the Lockbox Recipient to simulate inbound mail to.
|
|
48
|
+
*/
|
|
49
|
+
lockbox_recipient_id?: string;
|
|
50
|
+
|
|
51
|
+
[k: string]: unknown;
|
|
46
52
|
}
|
|
47
53
|
|
|
48
54
|
export declare namespace InboundMailItems {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.541.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.541.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.541.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.541.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
-
import { Page, type PageParams, PagePromise } from "../core/pagination.mjs";
|
|
4
|
-
import { RequestOptions } from "../internal/request-options.mjs";
|
|
5
|
-
export declare class Lockboxes extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* Create a Lockbox
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* const lockbox = await client.lockboxes.create({
|
|
12
|
-
* account_id: 'account_in71c4amph0vgo2qllky',
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
create(body: LockboxCreateParams, options?: RequestOptions): APIPromise<Lockbox>;
|
|
17
|
-
/**
|
|
18
|
-
* Retrieve a Lockbox
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```ts
|
|
22
|
-
* const lockbox = await client.lockboxes.retrieve(
|
|
23
|
-
* 'lockbox_3xt21ok13q19advds4t5',
|
|
24
|
-
* );
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
retrieve(lockboxID: string, options?: RequestOptions): APIPromise<Lockbox>;
|
|
28
|
-
/**
|
|
29
|
-
* Update a Lockbox
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```ts
|
|
33
|
-
* const lockbox = await client.lockboxes.update(
|
|
34
|
-
* 'lockbox_3xt21ok13q19advds4t5',
|
|
35
|
-
* );
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
update(lockboxID: string, body: LockboxUpdateParams, options?: RequestOptions): APIPromise<Lockbox>;
|
|
39
|
-
/**
|
|
40
|
-
* List Lockboxes
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* ```ts
|
|
44
|
-
* // Automatically fetches more pages as needed.
|
|
45
|
-
* for await (const lockbox of client.lockboxes.list()) {
|
|
46
|
-
* // ...
|
|
47
|
-
* }
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
list(query?: LockboxListParams | null | undefined, options?: RequestOptions): PagePromise<LockboxesPage, Lockbox>;
|
|
51
|
-
}
|
|
52
|
-
export type LockboxesPage = Page<Lockbox>;
|
|
53
|
-
/**
|
|
54
|
-
* Lockboxes are physical locations that can receive mail containing paper checks.
|
|
55
|
-
* Increase will automatically create a Check Deposit for checks received this way.
|
|
56
|
-
*/
|
|
57
|
-
export interface Lockbox {
|
|
58
|
-
/**
|
|
59
|
-
* The Lockbox identifier.
|
|
60
|
-
*/
|
|
61
|
-
id: string;
|
|
62
|
-
/**
|
|
63
|
-
* The identifier for the Account checks sent to this lockbox will be deposited
|
|
64
|
-
* into.
|
|
65
|
-
*/
|
|
66
|
-
account_id: string;
|
|
67
|
-
/**
|
|
68
|
-
* The mailing address for the Lockbox.
|
|
69
|
-
*/
|
|
70
|
-
address: Lockbox.Address;
|
|
71
|
-
/**
|
|
72
|
-
* Indicates if checks mailed to this lockbox will be deposited.
|
|
73
|
-
*
|
|
74
|
-
* - `enabled` - Checks mailed to this Lockbox will be deposited.
|
|
75
|
-
* - `disabled` - Checks mailed to this Lockbox will not be deposited.
|
|
76
|
-
* - `pend_for_processing` - Checks mailed to this Lockbox will be pending until
|
|
77
|
-
* actioned.
|
|
78
|
-
*/
|
|
79
|
-
check_deposit_behavior: 'enabled' | 'disabled' | 'pend_for_processing';
|
|
80
|
-
/**
|
|
81
|
-
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Lockbox
|
|
82
|
-
* was created.
|
|
83
|
-
*/
|
|
84
|
-
created_at: string;
|
|
85
|
-
/**
|
|
86
|
-
* The description you choose for the Lockbox.
|
|
87
|
-
*/
|
|
88
|
-
description: string | null;
|
|
89
|
-
/**
|
|
90
|
-
* The idempotency key you chose for this object. This value is unique across
|
|
91
|
-
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
92
|
-
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
93
|
-
*/
|
|
94
|
-
idempotency_key: string | null;
|
|
95
|
-
/**
|
|
96
|
-
* The recipient name you choose for the Lockbox.
|
|
97
|
-
*/
|
|
98
|
-
recipient_name: string | null;
|
|
99
|
-
/**
|
|
100
|
-
* A constant representing the object's type. For this resource it will always be
|
|
101
|
-
* `lockbox`.
|
|
102
|
-
*/
|
|
103
|
-
type: 'lockbox';
|
|
104
|
-
[k: string]: unknown;
|
|
105
|
-
}
|
|
106
|
-
export declare namespace Lockbox {
|
|
107
|
-
/**
|
|
108
|
-
* The mailing address for the Lockbox.
|
|
109
|
-
*/
|
|
110
|
-
interface Address {
|
|
111
|
-
/**
|
|
112
|
-
* The city of the address.
|
|
113
|
-
*/
|
|
114
|
-
city: string;
|
|
115
|
-
/**
|
|
116
|
-
* The first line of the address.
|
|
117
|
-
*/
|
|
118
|
-
line1: string;
|
|
119
|
-
/**
|
|
120
|
-
* The second line of the address.
|
|
121
|
-
*/
|
|
122
|
-
line2: string;
|
|
123
|
-
/**
|
|
124
|
-
* The postal code of the address.
|
|
125
|
-
*/
|
|
126
|
-
postal_code: string;
|
|
127
|
-
/**
|
|
128
|
-
* The recipient line of the address. This will include the recipient name you
|
|
129
|
-
* provide when creating the address, as well as an ATTN suffix to help route the
|
|
130
|
-
* mail to your lockbox. Mail senders must include this ATTN line to receive mail
|
|
131
|
-
* at this Lockbox.
|
|
132
|
-
*/
|
|
133
|
-
recipient: string | null;
|
|
134
|
-
/**
|
|
135
|
-
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
136
|
-
* the address.
|
|
137
|
-
*/
|
|
138
|
-
state: string;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
export interface LockboxCreateParams {
|
|
142
|
-
/**
|
|
143
|
-
* The Account checks sent to this Lockbox should be deposited into.
|
|
144
|
-
*/
|
|
145
|
-
account_id: string;
|
|
146
|
-
/**
|
|
147
|
-
* The description you choose for the Lockbox, for display purposes.
|
|
148
|
-
*/
|
|
149
|
-
description?: string;
|
|
150
|
-
/**
|
|
151
|
-
* The name of the recipient that will receive mail at this location.
|
|
152
|
-
*/
|
|
153
|
-
recipient_name?: string;
|
|
154
|
-
[k: string]: unknown;
|
|
155
|
-
}
|
|
156
|
-
export interface LockboxUpdateParams {
|
|
157
|
-
/**
|
|
158
|
-
* This indicates if checks mailed to this lockbox will be deposited.
|
|
159
|
-
*
|
|
160
|
-
* - `enabled` - Checks mailed to this Lockbox will be deposited.
|
|
161
|
-
* - `disabled` - Checks mailed to this Lockbox will not be deposited.
|
|
162
|
-
* - `pend_for_processing` - Checks mailed to this Lockbox will be pending until
|
|
163
|
-
* actioned.
|
|
164
|
-
*/
|
|
165
|
-
check_deposit_behavior?: 'enabled' | 'disabled' | 'pend_for_processing';
|
|
166
|
-
/**
|
|
167
|
-
* The description you choose for the Lockbox.
|
|
168
|
-
*/
|
|
169
|
-
description?: string;
|
|
170
|
-
/**
|
|
171
|
-
* The recipient name you choose for the Lockbox.
|
|
172
|
-
*/
|
|
173
|
-
recipient_name?: string;
|
|
174
|
-
[k: string]: unknown;
|
|
175
|
-
}
|
|
176
|
-
export interface LockboxListParams extends PageParams {
|
|
177
|
-
/**
|
|
178
|
-
* Filter Lockboxes to those associated with the provided Account.
|
|
179
|
-
*/
|
|
180
|
-
account_id?: string;
|
|
181
|
-
created_at?: LockboxListParams.CreatedAt;
|
|
182
|
-
/**
|
|
183
|
-
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
184
|
-
* that object. This value is unique across Increase and is used to ensure that a
|
|
185
|
-
* request is only processed once. Learn more about
|
|
186
|
-
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
187
|
-
*/
|
|
188
|
-
idempotency_key?: string;
|
|
189
|
-
}
|
|
190
|
-
export declare namespace LockboxListParams {
|
|
191
|
-
interface CreatedAt {
|
|
192
|
-
/**
|
|
193
|
-
* Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
194
|
-
* timestamp.
|
|
195
|
-
*/
|
|
196
|
-
after?: string;
|
|
197
|
-
/**
|
|
198
|
-
* Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
199
|
-
* timestamp.
|
|
200
|
-
*/
|
|
201
|
-
before?: string;
|
|
202
|
-
/**
|
|
203
|
-
* Return results on or after this
|
|
204
|
-
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
205
|
-
*/
|
|
206
|
-
on_or_after?: string;
|
|
207
|
-
/**
|
|
208
|
-
* Return results on or before this
|
|
209
|
-
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
210
|
-
*/
|
|
211
|
-
on_or_before?: string;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
export declare namespace Lockboxes {
|
|
215
|
-
export { type Lockbox as Lockbox, type LockboxesPage as LockboxesPage, type LockboxCreateParams as LockboxCreateParams, type LockboxUpdateParams as LockboxUpdateParams, type LockboxListParams as LockboxListParams, };
|
|
216
|
-
}
|
|
217
|
-
//# sourceMappingURL=lockboxes.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lockboxes.d.mts","sourceRoot":"","sources":["../src/resources/lockboxes.ts"],"names":[],"mappings":"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"}
|