postgrid-node 0.2.0 → 0.4.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 +21 -0
- package/README.md +18 -26
- package/client.d.mts +8 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -2
- package/client.d.ts.map +1 -1
- package/client.js +8 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -1
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +60 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +60 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +107 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +101 -0
- package/core/pagination.mjs.map +1 -0
- package/index.d.mts +1 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/internal/tslib.js +17 -17
- package/package.json +11 -1
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/print-mail/bank-accounts.d.mts +9 -14
- package/resources/print-mail/bank-accounts.d.mts.map +1 -1
- package/resources/print-mail/bank-accounts.d.ts +9 -14
- package/resources/print-mail/bank-accounts.d.ts.map +1 -1
- package/resources/print-mail/bank-accounts.js +9 -3
- package/resources/print-mail/bank-accounts.js.map +1 -1
- package/resources/print-mail/bank-accounts.mjs +9 -3
- package/resources/print-mail/bank-accounts.mjs.map +1 -1
- package/resources/print-mail/boxes.d.mts +14 -566
- package/resources/print-mail/boxes.d.mts.map +1 -1
- package/resources/print-mail/boxes.d.ts +14 -566
- package/resources/print-mail/boxes.d.ts.map +1 -1
- package/resources/print-mail/boxes.js +6 -2
- package/resources/print-mail/boxes.js.map +1 -1
- package/resources/print-mail/boxes.mjs +6 -2
- package/resources/print-mail/boxes.mjs.map +1 -1
- package/resources/print-mail/campaigns.d.mts +9 -16
- package/resources/print-mail/campaigns.d.mts.map +1 -1
- package/resources/print-mail/campaigns.d.ts +9 -16
- package/resources/print-mail/campaigns.d.ts.map +1 -1
- package/resources/print-mail/campaigns.js +6 -2
- package/resources/print-mail/campaigns.js.map +1 -1
- package/resources/print-mail/campaigns.mjs +6 -2
- package/resources/print-mail/campaigns.mjs.map +1 -1
- package/resources/print-mail/cheques.d.mts +13 -426
- package/resources/print-mail/cheques.d.mts.map +1 -1
- package/resources/print-mail/cheques.d.ts +13 -426
- package/resources/print-mail/cheques.d.ts.map +1 -1
- package/resources/print-mail/cheques.js +6 -2
- package/resources/print-mail/cheques.js.map +1 -1
- package/resources/print-mail/cheques.mjs +6 -2
- package/resources/print-mail/cheques.mjs.map +1 -1
- package/resources/print-mail/contacts.d.mts +11 -152
- package/resources/print-mail/contacts.d.mts.map +1 -1
- package/resources/print-mail/contacts.d.ts +11 -152
- package/resources/print-mail/contacts.d.ts.map +1 -1
- package/resources/print-mail/contacts.js +6 -2
- package/resources/print-mail/contacts.js.map +1 -1
- package/resources/print-mail/contacts.mjs +6 -2
- package/resources/print-mail/contacts.mjs.map +1 -1
- package/resources/print-mail/index.d.mts +14 -14
- package/resources/print-mail/index.d.mts.map +1 -1
- package/resources/print-mail/index.d.ts +14 -14
- package/resources/print-mail/index.d.ts.map +1 -1
- package/resources/print-mail/index.js.map +1 -1
- package/resources/print-mail/index.mjs.map +1 -1
- package/resources/print-mail/letters.d.mts +14 -565
- package/resources/print-mail/letters.d.mts.map +1 -1
- package/resources/print-mail/letters.d.ts +14 -565
- package/resources/print-mail/letters.d.ts.map +1 -1
- package/resources/print-mail/letters.js +6 -2
- package/resources/print-mail/letters.js.map +1 -1
- package/resources/print-mail/letters.mjs +6 -2
- package/resources/print-mail/letters.mjs.map +1 -1
- package/resources/print-mail/mailing-list-imports.d.mts +9 -17
- package/resources/print-mail/mailing-list-imports.d.mts.map +1 -1
- package/resources/print-mail/mailing-list-imports.d.ts +9 -17
- package/resources/print-mail/mailing-list-imports.d.ts.map +1 -1
- package/resources/print-mail/mailing-list-imports.js +6 -3
- package/resources/print-mail/mailing-list-imports.js.map +1 -1
- package/resources/print-mail/mailing-list-imports.mjs +6 -3
- package/resources/print-mail/mailing-list-imports.mjs.map +1 -1
- package/resources/print-mail/mailing-lists.d.mts +9 -17
- package/resources/print-mail/mailing-lists.d.mts.map +1 -1
- package/resources/print-mail/mailing-lists.d.ts +9 -17
- package/resources/print-mail/mailing-lists.d.ts.map +1 -1
- package/resources/print-mail/mailing-lists.js +9 -3
- package/resources/print-mail/mailing-lists.js.map +1 -1
- package/resources/print-mail/mailing-lists.mjs +9 -3
- package/resources/print-mail/mailing-lists.mjs.map +1 -1
- package/resources/print-mail/order-profiles/cheques.d.mts +80 -90
- package/resources/print-mail/order-profiles/cheques.d.mts.map +1 -1
- package/resources/print-mail/order-profiles/cheques.d.ts +80 -90
- package/resources/print-mail/order-profiles/cheques.d.ts.map +1 -1
- package/resources/print-mail/order-profiles/cheques.js +9 -3
- package/resources/print-mail/order-profiles/cheques.js.map +1 -1
- package/resources/print-mail/order-profiles/cheques.mjs +9 -3
- package/resources/print-mail/order-profiles/cheques.mjs.map +1 -1
- package/resources/print-mail/order-profiles/index.d.mts +4 -4
- package/resources/print-mail/order-profiles/index.d.mts.map +1 -1
- package/resources/print-mail/order-profiles/index.d.ts +4 -4
- package/resources/print-mail/order-profiles/index.d.ts.map +1 -1
- package/resources/print-mail/order-profiles/index.js.map +1 -1
- package/resources/print-mail/order-profiles/index.mjs.map +1 -1
- package/resources/print-mail/order-profiles/letters.d.mts +9 -17
- package/resources/print-mail/order-profiles/letters.d.mts.map +1 -1
- package/resources/print-mail/order-profiles/letters.d.ts +9 -17
- package/resources/print-mail/order-profiles/letters.d.ts.map +1 -1
- package/resources/print-mail/order-profiles/letters.js +9 -3
- package/resources/print-mail/order-profiles/letters.js.map +1 -1
- package/resources/print-mail/order-profiles/letters.mjs +9 -3
- package/resources/print-mail/order-profiles/letters.mjs.map +1 -1
- package/resources/print-mail/order-profiles/order-profiles.d.mts +8 -8
- package/resources/print-mail/order-profiles/order-profiles.d.mts.map +1 -1
- package/resources/print-mail/order-profiles/order-profiles.d.ts +8 -8
- package/resources/print-mail/order-profiles/order-profiles.d.ts.map +1 -1
- package/resources/print-mail/order-profiles/order-profiles.js.map +1 -1
- package/resources/print-mail/order-profiles/order-profiles.mjs.map +1 -1
- package/resources/print-mail/order-profiles/postcards.d.mts +9 -17
- package/resources/print-mail/order-profiles/postcards.d.mts.map +1 -1
- package/resources/print-mail/order-profiles/postcards.d.ts +9 -17
- package/resources/print-mail/order-profiles/postcards.d.ts.map +1 -1
- package/resources/print-mail/order-profiles/postcards.js +9 -3
- package/resources/print-mail/order-profiles/postcards.js.map +1 -1
- package/resources/print-mail/order-profiles/postcards.mjs +9 -3
- package/resources/print-mail/order-profiles/postcards.mjs.map +1 -1
- package/resources/print-mail/order-profiles/self-mailers.d.mts +9 -17
- package/resources/print-mail/order-profiles/self-mailers.d.mts.map +1 -1
- package/resources/print-mail/order-profiles/self-mailers.d.ts +9 -17
- package/resources/print-mail/order-profiles/self-mailers.d.ts.map +1 -1
- package/resources/print-mail/order-profiles/self-mailers.js +6 -3
- package/resources/print-mail/order-profiles/self-mailers.js.map +1 -1
- package/resources/print-mail/order-profiles/self-mailers.mjs +6 -3
- package/resources/print-mail/order-profiles/self-mailers.mjs.map +1 -1
- package/resources/print-mail/postcards.d.mts +16 -841
- package/resources/print-mail/postcards.d.mts.map +1 -1
- package/resources/print-mail/postcards.d.ts +16 -841
- package/resources/print-mail/postcards.d.ts.map +1 -1
- package/resources/print-mail/postcards.js +6 -2
- package/resources/print-mail/postcards.js.map +1 -1
- package/resources/print-mail/postcards.mjs +6 -2
- package/resources/print-mail/postcards.mjs.map +1 -1
- package/resources/print-mail/print-mail.d.mts +163 -26
- package/resources/print-mail/print-mail.d.mts.map +1 -1
- package/resources/print-mail/print-mail.d.ts +163 -26
- package/resources/print-mail/print-mail.d.ts.map +1 -1
- package/resources/print-mail/print-mail.js.map +1 -1
- package/resources/print-mail/print-mail.mjs.map +1 -1
- package/resources/print-mail/reports/index.d.mts +1 -1
- package/resources/print-mail/reports/index.d.mts.map +1 -1
- package/resources/print-mail/reports/index.d.ts +1 -1
- package/resources/print-mail/reports/index.d.ts.map +1 -1
- package/resources/print-mail/reports/reports.d.mts +9 -16
- package/resources/print-mail/reports/reports.d.mts.map +1 -1
- package/resources/print-mail/reports/reports.d.ts +9 -16
- package/resources/print-mail/reports/reports.d.ts.map +1 -1
- package/resources/print-mail/reports/reports.js +6 -2
- package/resources/print-mail/reports/reports.js.map +1 -1
- package/resources/print-mail/reports/reports.mjs +6 -2
- package/resources/print-mail/reports/reports.mjs.map +1 -1
- package/resources/print-mail/self-mailers.d.mts +16 -842
- package/resources/print-mail/self-mailers.d.mts.map +1 -1
- package/resources/print-mail/self-mailers.d.ts +16 -842
- package/resources/print-mail/self-mailers.d.ts.map +1 -1
- package/resources/print-mail/self-mailers.js +9 -3
- package/resources/print-mail/self-mailers.js.map +1 -1
- package/resources/print-mail/self-mailers.mjs +9 -3
- package/resources/print-mail/self-mailers.mjs.map +1 -1
- package/resources/print-mail/sub-organizations.d.mts +9 -14
- package/resources/print-mail/sub-organizations.d.mts.map +1 -1
- package/resources/print-mail/sub-organizations.d.ts +9 -14
- package/resources/print-mail/sub-organizations.d.ts.map +1 -1
- package/resources/print-mail/sub-organizations.js +9 -3
- package/resources/print-mail/sub-organizations.js.map +1 -1
- package/resources/print-mail/sub-organizations.mjs +9 -3
- package/resources/print-mail/sub-organizations.mjs.map +1 -1
- package/resources/print-mail/templates.d.mts +9 -13
- package/resources/print-mail/templates.d.mts.map +1 -1
- package/resources/print-mail/templates.d.ts +9 -13
- package/resources/print-mail/templates.d.ts.map +1 -1
- package/resources/print-mail/templates.js +6 -2
- package/resources/print-mail/templates.js.map +1 -1
- package/resources/print-mail/templates.mjs +6 -2
- package/resources/print-mail/templates.mjs.map +1 -1
- package/src/client.ts +34 -2
- package/src/core/pagination.ts +171 -0
- package/src/index.ts +1 -0
- package/src/pagination.ts +2 -0
- package/src/resources/index.ts +5 -1
- package/src/resources/print-mail/bank-accounts.ts +14 -22
- package/src/resources/print-mail/boxes.ts +19 -686
- package/src/resources/print-mail/campaigns.ts +11 -24
- package/src/resources/print-mail/cheques.ts +15 -527
- package/src/resources/print-mail/contacts.ts +14 -189
- package/src/resources/print-mail/index.ts +14 -14
- package/src/resources/print-mail/letters.ts +16 -697
- package/src/resources/print-mail/mailing-list-imports.ts +15 -25
- package/src/resources/print-mail/mailing-lists.ts +14 -25
- package/src/resources/print-mail/order-profiles/cheques.ts +91 -103
- package/src/resources/print-mail/order-profiles/index.ts +4 -3
- package/src/resources/print-mail/order-profiles/letters.ts +14 -25
- package/src/resources/print-mail/order-profiles/order-profiles.ts +8 -6
- package/src/resources/print-mail/order-profiles/postcards.ts +14 -25
- package/src/resources/print-mail/order-profiles/self-mailers.ts +15 -25
- package/src/resources/print-mail/postcards.ts +18 -1035
- package/src/resources/print-mail/print-mail.ts +195 -26
- package/src/resources/print-mail/reports/index.ts +1 -1
- package/src/resources/print-mail/reports/reports.ts +11 -24
- package/src/resources/print-mail/self-mailers.ts +21 -1036
- package/src/resources/print-mail/sub-organizations.ts +14 -22
- package/src/resources/print-mail/templates.ts +11 -21
- 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
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as PrintMailAPI from './print-mail';
|
|
4
5
|
import { APIPromise } from '../../core/api-promise';
|
|
6
|
+
import { PagePromise, SkipLimit, type SkipLimitParams } from '../../core/pagination';
|
|
5
7
|
import { RequestOptions } from '../../internal/request-options';
|
|
6
8
|
import { path } from '../../internal/utils/path';
|
|
7
9
|
|
|
@@ -54,14 +56,17 @@ export class Contacts extends APIResource {
|
|
|
54
56
|
*
|
|
55
57
|
* @example
|
|
56
58
|
* ```ts
|
|
57
|
-
*
|
|
59
|
+
* // Automatically fetches more pages as needed.
|
|
60
|
+
* for await (const contact of client.printMail.contacts.list()) {
|
|
61
|
+
* // ...
|
|
62
|
+
* }
|
|
58
63
|
* ```
|
|
59
64
|
*/
|
|
60
65
|
list(
|
|
61
66
|
query: ContactListParams | null | undefined = {},
|
|
62
67
|
options?: RequestOptions,
|
|
63
|
-
):
|
|
64
|
-
return this._client.
|
|
68
|
+
): PagePromise<ContactsSkipLimit, Contact> {
|
|
69
|
+
return this._client.getAPIList('/print-mail/v1/contacts', SkipLimit<Contact>, { query, ...options });
|
|
65
70
|
}
|
|
66
71
|
|
|
67
72
|
/**
|
|
@@ -80,6 +85,8 @@ export class Contacts extends APIResource {
|
|
|
80
85
|
}
|
|
81
86
|
}
|
|
82
87
|
|
|
88
|
+
export type ContactsSkipLimit = SkipLimit<Contact>;
|
|
89
|
+
|
|
83
90
|
export interface Contact {
|
|
84
91
|
/**
|
|
85
92
|
* A unique ID prefixed with contact\_
|
|
@@ -202,186 +209,8 @@ export interface Contact {
|
|
|
202
209
|
}
|
|
203
210
|
|
|
204
211
|
export type ContactCreate =
|
|
205
|
-
|
|
|
206
|
-
|
|
|
207
|
-
|
|
208
|
-
export namespace ContactCreate {
|
|
209
|
-
export interface ContactCreateWithFirstName {
|
|
210
|
-
/**
|
|
211
|
-
* The first line of the contact's address.
|
|
212
|
-
*/
|
|
213
|
-
addressLine1: string;
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* The ISO 3611-1 country code of the contact's address.
|
|
217
|
-
*/
|
|
218
|
-
countryCode: string;
|
|
219
|
-
|
|
220
|
-
firstName: string;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Second line of the contact's address, if applicable.
|
|
224
|
-
*/
|
|
225
|
-
addressLine2?: string;
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* The city of the contact's address.
|
|
229
|
-
*/
|
|
230
|
-
city?: string;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Company name of the contact.
|
|
234
|
-
*/
|
|
235
|
-
companyName?: string;
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* An optional string describing this resource. Will be visible in the API and the
|
|
239
|
-
* dashboard.
|
|
240
|
-
*/
|
|
241
|
-
description?: string;
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* Email of the contact.
|
|
245
|
-
*/
|
|
246
|
-
email?: string;
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* If `true`, PostGrid will force this contact to have an `addressStatus` of
|
|
250
|
-
* `verified` even if our address verification system says otherwise.
|
|
251
|
-
*/
|
|
252
|
-
forceVerifiedStatus?: boolean;
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* Job title of the contact.
|
|
256
|
-
*/
|
|
257
|
-
jobTitle?: string;
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Last name of the contact.
|
|
261
|
-
*/
|
|
262
|
-
lastName?: string;
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* See the section on Metadata.
|
|
266
|
-
*/
|
|
267
|
-
metadata?: { [key: string]: unknown };
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Phone number of the contact.
|
|
271
|
-
*/
|
|
272
|
-
phoneNumber?: string;
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* The postal or ZIP code of the contact's address.
|
|
276
|
-
*/
|
|
277
|
-
postalOrZip?: string;
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* Province or state of the contact's address.
|
|
281
|
-
*/
|
|
282
|
-
provinceOrState?: string;
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* If `true`, PostGrid will skip running this contact's address through our address
|
|
286
|
-
* verification system.
|
|
287
|
-
*/
|
|
288
|
-
skipVerification?: boolean;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
export interface ContactCreateWithCompanyName {
|
|
292
|
-
/**
|
|
293
|
-
* The first line of the contact's address.
|
|
294
|
-
*/
|
|
295
|
-
addressLine1: string;
|
|
296
|
-
|
|
297
|
-
companyName: string;
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* The ISO 3611-1 country code of the contact's address.
|
|
301
|
-
*/
|
|
302
|
-
countryCode: string;
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* Second line of the contact's address, if applicable.
|
|
306
|
-
*/
|
|
307
|
-
addressLine2?: string;
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* The city of the contact's address.
|
|
311
|
-
*/
|
|
312
|
-
city?: string;
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* An optional string describing this resource. Will be visible in the API and the
|
|
316
|
-
* dashboard.
|
|
317
|
-
*/
|
|
318
|
-
description?: string;
|
|
319
|
-
|
|
320
|
-
/**
|
|
321
|
-
* Email of the contact.
|
|
322
|
-
*/
|
|
323
|
-
email?: string;
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* First name of the contact.
|
|
327
|
-
*/
|
|
328
|
-
firstName?: string;
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* If `true`, PostGrid will force this contact to have an `addressStatus` of
|
|
332
|
-
* `verified` even if our address verification system says otherwise.
|
|
333
|
-
*/
|
|
334
|
-
forceVerifiedStatus?: boolean;
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* Job title of the contact.
|
|
338
|
-
*/
|
|
339
|
-
jobTitle?: string;
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* Last name of the contact.
|
|
343
|
-
*/
|
|
344
|
-
lastName?: string;
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* See the section on Metadata.
|
|
348
|
-
*/
|
|
349
|
-
metadata?: { [key: string]: unknown };
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* Phone number of the contact.
|
|
353
|
-
*/
|
|
354
|
-
phoneNumber?: string;
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* The postal or ZIP code of the contact's address.
|
|
358
|
-
*/
|
|
359
|
-
postalOrZip?: string;
|
|
360
|
-
|
|
361
|
-
/**
|
|
362
|
-
* Province or state of the contact's address.
|
|
363
|
-
*/
|
|
364
|
-
provinceOrState?: string;
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* If `true`, PostGrid will skip running this contact's address through our address
|
|
368
|
-
* verification system.
|
|
369
|
-
*/
|
|
370
|
-
skipVerification?: boolean;
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
export interface ContactListResponse {
|
|
375
|
-
data: Array<Contact>;
|
|
376
|
-
|
|
377
|
-
limit: number;
|
|
378
|
-
|
|
379
|
-
object: 'list';
|
|
380
|
-
|
|
381
|
-
skip: number;
|
|
382
|
-
|
|
383
|
-
totalCount: number;
|
|
384
|
-
}
|
|
212
|
+
| PrintMailAPI.ContactCreateWithFirstName
|
|
213
|
+
| PrintMailAPI.ContactCreateWithCompanyName;
|
|
385
214
|
|
|
386
215
|
export interface ContactDeleteResponse {
|
|
387
216
|
/**
|
|
@@ -567,9 +396,7 @@ export declare namespace ContactCreateParams {
|
|
|
567
396
|
}
|
|
568
397
|
}
|
|
569
398
|
|
|
570
|
-
export interface ContactListParams {
|
|
571
|
-
limit?: number;
|
|
572
|
-
|
|
399
|
+
export interface ContactListParams extends SkipLimitParams {
|
|
573
400
|
/**
|
|
574
401
|
* You can supply any string to help narrow down the list of resources. For
|
|
575
402
|
* example, if you pass `"New York"` (quoted), it will return resources that have
|
|
@@ -578,16 +405,14 @@ export interface ContactListParams {
|
|
|
578
405
|
* more details.
|
|
579
406
|
*/
|
|
580
407
|
search?: string;
|
|
581
|
-
|
|
582
|
-
skip?: number;
|
|
583
408
|
}
|
|
584
409
|
|
|
585
410
|
export declare namespace Contacts {
|
|
586
411
|
export {
|
|
587
412
|
type Contact as Contact,
|
|
588
413
|
type ContactCreate as ContactCreate,
|
|
589
|
-
type ContactListResponse as ContactListResponse,
|
|
590
414
|
type ContactDeleteResponse as ContactDeleteResponse,
|
|
415
|
+
type ContactsSkipLimit as ContactsSkipLimit,
|
|
591
416
|
type ContactCreateParams as ContactCreateParams,
|
|
592
417
|
type ContactListParams as ContactListParams,
|
|
593
418
|
};
|
|
@@ -4,10 +4,10 @@ export {
|
|
|
4
4
|
BankAccounts,
|
|
5
5
|
type BankAccount,
|
|
6
6
|
type BankAccountCountryCode,
|
|
7
|
-
type BankAccountListResponse,
|
|
8
7
|
type BankAccountDeleteResponse,
|
|
9
8
|
type BankAccountCreateParams,
|
|
10
9
|
type BankAccountListParams,
|
|
10
|
+
type BankAccountsSkipLimit,
|
|
11
11
|
} from './bank-accounts';
|
|
12
12
|
export {
|
|
13
13
|
Boxes,
|
|
@@ -17,38 +17,38 @@ export {
|
|
|
17
17
|
type OrderImbStatus,
|
|
18
18
|
type OrderMailingClass,
|
|
19
19
|
type OrderStatus,
|
|
20
|
-
type BoxListResponse,
|
|
21
20
|
type BoxCreateParams,
|
|
22
21
|
type BoxListParams,
|
|
22
|
+
type BoxesSkipLimit,
|
|
23
23
|
} from './boxes';
|
|
24
24
|
export {
|
|
25
25
|
Campaigns,
|
|
26
26
|
type Campaign,
|
|
27
|
-
type CampaignListResponse,
|
|
28
27
|
type CampaignDeleteResponse,
|
|
29
28
|
type CampaignCreateParams,
|
|
30
29
|
type CampaignUpdateParams,
|
|
31
30
|
type CampaignListParams,
|
|
32
31
|
type CampaignSendParams,
|
|
32
|
+
type CampaignsSkipLimit,
|
|
33
33
|
} from './campaigns';
|
|
34
34
|
export {
|
|
35
35
|
Cheques,
|
|
36
36
|
type Cheque,
|
|
37
37
|
type ChequeSize,
|
|
38
38
|
type DigitalOnly,
|
|
39
|
-
type ChequeListResponse,
|
|
40
39
|
type ChequeRetrieveURLResponse,
|
|
41
40
|
type ChequeCreateParams,
|
|
42
41
|
type ChequeListParams,
|
|
42
|
+
type ChequesSkipLimit,
|
|
43
43
|
} from './cheques';
|
|
44
44
|
export {
|
|
45
45
|
Contacts,
|
|
46
46
|
type Contact,
|
|
47
47
|
type ContactCreate,
|
|
48
|
-
type ContactListResponse,
|
|
49
48
|
type ContactDeleteResponse,
|
|
50
49
|
type ContactCreateParams,
|
|
51
50
|
type ContactListParams,
|
|
51
|
+
type ContactsSkipLimit,
|
|
52
52
|
} from './contacts';
|
|
53
53
|
export {
|
|
54
54
|
Letters,
|
|
@@ -57,78 +57,78 @@ export {
|
|
|
57
57
|
type Letter,
|
|
58
58
|
type LetterSize,
|
|
59
59
|
type PlasticCard,
|
|
60
|
-
type LetterListResponse,
|
|
61
60
|
type LetterRetrieveURLResponse,
|
|
62
61
|
type LetterCreateParams,
|
|
63
62
|
type LetterListParams,
|
|
63
|
+
type LettersSkipLimit,
|
|
64
64
|
} from './letters';
|
|
65
65
|
export {
|
|
66
66
|
MailingListImports,
|
|
67
67
|
type FileType,
|
|
68
68
|
type MailingListImportResponse,
|
|
69
69
|
type VerificationStatusCount,
|
|
70
|
-
type MailingListImportListResponse,
|
|
71
70
|
type MailingListImportDeleteResponse,
|
|
72
71
|
type MailingListImportCreateParams,
|
|
73
72
|
type MailingListImportUpdateParams,
|
|
74
73
|
type MailingListImportListParams,
|
|
74
|
+
type MailingListImportResponsesSkipLimit,
|
|
75
75
|
} from './mailing-list-imports';
|
|
76
76
|
export {
|
|
77
77
|
MailingLists,
|
|
78
78
|
type MailingList,
|
|
79
79
|
type MailingListUpdate,
|
|
80
|
-
type MailingListListResponse,
|
|
81
80
|
type MailingListDeleteResponse,
|
|
82
81
|
type MailingListCreateParams,
|
|
83
82
|
type MailingListUpdateParams,
|
|
84
83
|
type MailingListListParams,
|
|
85
84
|
type MailingListJobsParams,
|
|
85
|
+
type MailingListsSkipLimit,
|
|
86
86
|
} from './mailing-lists';
|
|
87
87
|
export { OrderProfiles } from './order-profiles/index';
|
|
88
88
|
export {
|
|
89
89
|
Postcards,
|
|
90
90
|
type Postcard,
|
|
91
|
-
type PostcardListResponse,
|
|
92
91
|
type PostcardRetrieveURLResponse,
|
|
93
92
|
type PostcardCreateParams,
|
|
94
93
|
type PostcardListParams,
|
|
94
|
+
type PostcardsSkipLimit,
|
|
95
95
|
} from './postcards';
|
|
96
|
-
export { PrintMail } from './print-mail';
|
|
96
|
+
export { PrintMail, type ContactCreateWithCompanyName, type ContactCreateWithFirstName } from './print-mail';
|
|
97
97
|
export {
|
|
98
98
|
Reports,
|
|
99
99
|
type DeletedResponse,
|
|
100
100
|
type Report,
|
|
101
|
-
type ReportListResponse,
|
|
102
101
|
type ReportCreateParams,
|
|
103
102
|
type ReportUpdateParams,
|
|
104
103
|
type ReportListParams,
|
|
105
104
|
type ReportSampleParams,
|
|
105
|
+
type ReportsSkipLimit,
|
|
106
106
|
} from './reports/index';
|
|
107
107
|
export {
|
|
108
108
|
SelfMailers,
|
|
109
109
|
type SelfMailer,
|
|
110
|
-
type SelfMailerListResponse,
|
|
111
110
|
type SelfMailerRetrieveURLResponse,
|
|
112
111
|
type SelfMailerCreateParams,
|
|
113
112
|
type SelfMailerListParams,
|
|
113
|
+
type SelfMailersSkipLimit,
|
|
114
114
|
} from './self-mailers';
|
|
115
115
|
export {
|
|
116
116
|
SubOrganizations,
|
|
117
117
|
type EmailPreferences,
|
|
118
118
|
type SubOrganization,
|
|
119
119
|
type SubOrganizationUpdateResponse,
|
|
120
|
-
type SubOrganizationListResponse,
|
|
121
120
|
type SubOrganizationRetrieveUsersResponse,
|
|
122
121
|
type SubOrganizationUpdateParams,
|
|
123
122
|
type SubOrganizationListParams,
|
|
124
123
|
type SubOrganizationRetrieveUsersParams,
|
|
124
|
+
type SubOrganizationsSkipLimit,
|
|
125
125
|
} from './sub-organizations';
|
|
126
126
|
export {
|
|
127
127
|
Templates,
|
|
128
128
|
type Template,
|
|
129
|
-
type TemplateListResponse,
|
|
130
129
|
type TemplateDeleteResponse,
|
|
131
130
|
type TemplateCreateParams,
|
|
132
131
|
type TemplateUpdateParams,
|
|
133
132
|
type TemplateListParams,
|
|
133
|
+
type TemplatesSkipLimit,
|
|
134
134
|
} from './templates';
|