postgrid-node 0.3.0 → 0.4.1

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.
Files changed (239) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +31 -0
  3. package/client.d.mts +8 -2
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +8 -2
  6. package/client.d.ts.map +1 -1
  7. package/client.js +8 -0
  8. package/client.js.map +1 -1
  9. package/client.mjs +9 -1
  10. package/client.mjs.map +1 -1
  11. package/core/pagination.d.mts +60 -0
  12. package/core/pagination.d.mts.map +1 -0
  13. package/core/pagination.d.ts +60 -0
  14. package/core/pagination.d.ts.map +1 -0
  15. package/core/pagination.js +107 -0
  16. package/core/pagination.js.map +1 -0
  17. package/core/pagination.mjs +101 -0
  18. package/core/pagination.mjs.map +1 -0
  19. package/index.d.mts +1 -0
  20. package/index.d.mts.map +1 -1
  21. package/index.d.ts +1 -0
  22. package/index.d.ts.map +1 -1
  23. package/index.js +3 -1
  24. package/index.js.map +1 -1
  25. package/index.mjs +1 -0
  26. package/index.mjs.map +1 -1
  27. package/internal/tslib.js +17 -17
  28. package/package.json +11 -1
  29. package/pagination.d.mts +2 -0
  30. package/pagination.d.mts.map +1 -0
  31. package/pagination.d.ts +2 -0
  32. package/pagination.d.ts.map +1 -0
  33. package/pagination.js +6 -0
  34. package/pagination.js.map +1 -0
  35. package/pagination.mjs +2 -0
  36. package/pagination.mjs.map +1 -0
  37. package/resources/index.d.mts +1 -1
  38. package/resources/index.d.mts.map +1 -1
  39. package/resources/index.d.ts +1 -1
  40. package/resources/index.d.ts.map +1 -1
  41. package/resources/index.js.map +1 -1
  42. package/resources/index.mjs +1 -1
  43. package/resources/index.mjs.map +1 -1
  44. package/resources/print-mail/bank-accounts.d.mts +9 -14
  45. package/resources/print-mail/bank-accounts.d.mts.map +1 -1
  46. package/resources/print-mail/bank-accounts.d.ts +9 -14
  47. package/resources/print-mail/bank-accounts.d.ts.map +1 -1
  48. package/resources/print-mail/bank-accounts.js +9 -3
  49. package/resources/print-mail/bank-accounts.js.map +1 -1
  50. package/resources/print-mail/bank-accounts.mjs +9 -3
  51. package/resources/print-mail/bank-accounts.mjs.map +1 -1
  52. package/resources/print-mail/boxes.d.mts +14 -566
  53. package/resources/print-mail/boxes.d.mts.map +1 -1
  54. package/resources/print-mail/boxes.d.ts +14 -566
  55. package/resources/print-mail/boxes.d.ts.map +1 -1
  56. package/resources/print-mail/boxes.js +6 -2
  57. package/resources/print-mail/boxes.js.map +1 -1
  58. package/resources/print-mail/boxes.mjs +6 -2
  59. package/resources/print-mail/boxes.mjs.map +1 -1
  60. package/resources/print-mail/campaigns.d.mts +9 -16
  61. package/resources/print-mail/campaigns.d.mts.map +1 -1
  62. package/resources/print-mail/campaigns.d.ts +9 -16
  63. package/resources/print-mail/campaigns.d.ts.map +1 -1
  64. package/resources/print-mail/campaigns.js +6 -2
  65. package/resources/print-mail/campaigns.js.map +1 -1
  66. package/resources/print-mail/campaigns.mjs +6 -2
  67. package/resources/print-mail/campaigns.mjs.map +1 -1
  68. package/resources/print-mail/cheques.d.mts +13 -426
  69. package/resources/print-mail/cheques.d.mts.map +1 -1
  70. package/resources/print-mail/cheques.d.ts +13 -426
  71. package/resources/print-mail/cheques.d.ts.map +1 -1
  72. package/resources/print-mail/cheques.js +6 -2
  73. package/resources/print-mail/cheques.js.map +1 -1
  74. package/resources/print-mail/cheques.mjs +6 -2
  75. package/resources/print-mail/cheques.mjs.map +1 -1
  76. package/resources/print-mail/contacts.d.mts +11 -152
  77. package/resources/print-mail/contacts.d.mts.map +1 -1
  78. package/resources/print-mail/contacts.d.ts +11 -152
  79. package/resources/print-mail/contacts.d.ts.map +1 -1
  80. package/resources/print-mail/contacts.js +6 -2
  81. package/resources/print-mail/contacts.js.map +1 -1
  82. package/resources/print-mail/contacts.mjs +6 -2
  83. package/resources/print-mail/contacts.mjs.map +1 -1
  84. package/resources/print-mail/index.d.mts +14 -14
  85. package/resources/print-mail/index.d.mts.map +1 -1
  86. package/resources/print-mail/index.d.ts +14 -14
  87. package/resources/print-mail/index.d.ts.map +1 -1
  88. package/resources/print-mail/index.js.map +1 -1
  89. package/resources/print-mail/index.mjs.map +1 -1
  90. package/resources/print-mail/letters.d.mts +14 -565
  91. package/resources/print-mail/letters.d.mts.map +1 -1
  92. package/resources/print-mail/letters.d.ts +14 -565
  93. package/resources/print-mail/letters.d.ts.map +1 -1
  94. package/resources/print-mail/letters.js +6 -2
  95. package/resources/print-mail/letters.js.map +1 -1
  96. package/resources/print-mail/letters.mjs +6 -2
  97. package/resources/print-mail/letters.mjs.map +1 -1
  98. package/resources/print-mail/mailing-list-imports.d.mts +9 -17
  99. package/resources/print-mail/mailing-list-imports.d.mts.map +1 -1
  100. package/resources/print-mail/mailing-list-imports.d.ts +9 -17
  101. package/resources/print-mail/mailing-list-imports.d.ts.map +1 -1
  102. package/resources/print-mail/mailing-list-imports.js +6 -3
  103. package/resources/print-mail/mailing-list-imports.js.map +1 -1
  104. package/resources/print-mail/mailing-list-imports.mjs +6 -3
  105. package/resources/print-mail/mailing-list-imports.mjs.map +1 -1
  106. package/resources/print-mail/mailing-lists.d.mts +9 -17
  107. package/resources/print-mail/mailing-lists.d.mts.map +1 -1
  108. package/resources/print-mail/mailing-lists.d.ts +9 -17
  109. package/resources/print-mail/mailing-lists.d.ts.map +1 -1
  110. package/resources/print-mail/mailing-lists.js +9 -3
  111. package/resources/print-mail/mailing-lists.js.map +1 -1
  112. package/resources/print-mail/mailing-lists.mjs +9 -3
  113. package/resources/print-mail/mailing-lists.mjs.map +1 -1
  114. package/resources/print-mail/order-profiles/cheques.d.mts +80 -90
  115. package/resources/print-mail/order-profiles/cheques.d.mts.map +1 -1
  116. package/resources/print-mail/order-profiles/cheques.d.ts +80 -90
  117. package/resources/print-mail/order-profiles/cheques.d.ts.map +1 -1
  118. package/resources/print-mail/order-profiles/cheques.js +9 -3
  119. package/resources/print-mail/order-profiles/cheques.js.map +1 -1
  120. package/resources/print-mail/order-profiles/cheques.mjs +9 -3
  121. package/resources/print-mail/order-profiles/cheques.mjs.map +1 -1
  122. package/resources/print-mail/order-profiles/index.d.mts +4 -4
  123. package/resources/print-mail/order-profiles/index.d.mts.map +1 -1
  124. package/resources/print-mail/order-profiles/index.d.ts +4 -4
  125. package/resources/print-mail/order-profiles/index.d.ts.map +1 -1
  126. package/resources/print-mail/order-profiles/index.js.map +1 -1
  127. package/resources/print-mail/order-profiles/index.mjs.map +1 -1
  128. package/resources/print-mail/order-profiles/letters.d.mts +9 -17
  129. package/resources/print-mail/order-profiles/letters.d.mts.map +1 -1
  130. package/resources/print-mail/order-profiles/letters.d.ts +9 -17
  131. package/resources/print-mail/order-profiles/letters.d.ts.map +1 -1
  132. package/resources/print-mail/order-profiles/letters.js +9 -3
  133. package/resources/print-mail/order-profiles/letters.js.map +1 -1
  134. package/resources/print-mail/order-profiles/letters.mjs +9 -3
  135. package/resources/print-mail/order-profiles/letters.mjs.map +1 -1
  136. package/resources/print-mail/order-profiles/order-profiles.d.mts +8 -8
  137. package/resources/print-mail/order-profiles/order-profiles.d.mts.map +1 -1
  138. package/resources/print-mail/order-profiles/order-profiles.d.ts +8 -8
  139. package/resources/print-mail/order-profiles/order-profiles.d.ts.map +1 -1
  140. package/resources/print-mail/order-profiles/order-profiles.js.map +1 -1
  141. package/resources/print-mail/order-profiles/order-profiles.mjs.map +1 -1
  142. package/resources/print-mail/order-profiles/postcards.d.mts +9 -17
  143. package/resources/print-mail/order-profiles/postcards.d.mts.map +1 -1
  144. package/resources/print-mail/order-profiles/postcards.d.ts +9 -17
  145. package/resources/print-mail/order-profiles/postcards.d.ts.map +1 -1
  146. package/resources/print-mail/order-profiles/postcards.js +9 -3
  147. package/resources/print-mail/order-profiles/postcards.js.map +1 -1
  148. package/resources/print-mail/order-profiles/postcards.mjs +9 -3
  149. package/resources/print-mail/order-profiles/postcards.mjs.map +1 -1
  150. package/resources/print-mail/order-profiles/self-mailers.d.mts +9 -17
  151. package/resources/print-mail/order-profiles/self-mailers.d.mts.map +1 -1
  152. package/resources/print-mail/order-profiles/self-mailers.d.ts +9 -17
  153. package/resources/print-mail/order-profiles/self-mailers.d.ts.map +1 -1
  154. package/resources/print-mail/order-profiles/self-mailers.js +6 -3
  155. package/resources/print-mail/order-profiles/self-mailers.js.map +1 -1
  156. package/resources/print-mail/order-profiles/self-mailers.mjs +6 -3
  157. package/resources/print-mail/order-profiles/self-mailers.mjs.map +1 -1
  158. package/resources/print-mail/postcards.d.mts +16 -841
  159. package/resources/print-mail/postcards.d.mts.map +1 -1
  160. package/resources/print-mail/postcards.d.ts +16 -841
  161. package/resources/print-mail/postcards.d.ts.map +1 -1
  162. package/resources/print-mail/postcards.js +6 -2
  163. package/resources/print-mail/postcards.js.map +1 -1
  164. package/resources/print-mail/postcards.mjs +6 -2
  165. package/resources/print-mail/postcards.mjs.map +1 -1
  166. package/resources/print-mail/print-mail.d.mts +163 -26
  167. package/resources/print-mail/print-mail.d.mts.map +1 -1
  168. package/resources/print-mail/print-mail.d.ts +163 -26
  169. package/resources/print-mail/print-mail.d.ts.map +1 -1
  170. package/resources/print-mail/print-mail.js.map +1 -1
  171. package/resources/print-mail/print-mail.mjs.map +1 -1
  172. package/resources/print-mail/reports/index.d.mts +1 -1
  173. package/resources/print-mail/reports/index.d.mts.map +1 -1
  174. package/resources/print-mail/reports/index.d.ts +1 -1
  175. package/resources/print-mail/reports/index.d.ts.map +1 -1
  176. package/resources/print-mail/reports/reports.d.mts +9 -16
  177. package/resources/print-mail/reports/reports.d.mts.map +1 -1
  178. package/resources/print-mail/reports/reports.d.ts +9 -16
  179. package/resources/print-mail/reports/reports.d.ts.map +1 -1
  180. package/resources/print-mail/reports/reports.js +6 -2
  181. package/resources/print-mail/reports/reports.js.map +1 -1
  182. package/resources/print-mail/reports/reports.mjs +6 -2
  183. package/resources/print-mail/reports/reports.mjs.map +1 -1
  184. package/resources/print-mail/self-mailers.d.mts +16 -842
  185. package/resources/print-mail/self-mailers.d.mts.map +1 -1
  186. package/resources/print-mail/self-mailers.d.ts +16 -842
  187. package/resources/print-mail/self-mailers.d.ts.map +1 -1
  188. package/resources/print-mail/self-mailers.js +9 -3
  189. package/resources/print-mail/self-mailers.js.map +1 -1
  190. package/resources/print-mail/self-mailers.mjs +9 -3
  191. package/resources/print-mail/self-mailers.mjs.map +1 -1
  192. package/resources/print-mail/sub-organizations.d.mts +9 -14
  193. package/resources/print-mail/sub-organizations.d.mts.map +1 -1
  194. package/resources/print-mail/sub-organizations.d.ts +9 -14
  195. package/resources/print-mail/sub-organizations.d.ts.map +1 -1
  196. package/resources/print-mail/sub-organizations.js +9 -3
  197. package/resources/print-mail/sub-organizations.js.map +1 -1
  198. package/resources/print-mail/sub-organizations.mjs +9 -3
  199. package/resources/print-mail/sub-organizations.mjs.map +1 -1
  200. package/resources/print-mail/templates.d.mts +9 -13
  201. package/resources/print-mail/templates.d.mts.map +1 -1
  202. package/resources/print-mail/templates.d.ts +9 -13
  203. package/resources/print-mail/templates.d.ts.map +1 -1
  204. package/resources/print-mail/templates.js +6 -2
  205. package/resources/print-mail/templates.js.map +1 -1
  206. package/resources/print-mail/templates.mjs +6 -2
  207. package/resources/print-mail/templates.mjs.map +1 -1
  208. package/src/client.ts +34 -2
  209. package/src/core/pagination.ts +171 -0
  210. package/src/index.ts +1 -0
  211. package/src/pagination.ts +2 -0
  212. package/src/resources/index.ts +5 -1
  213. package/src/resources/print-mail/bank-accounts.ts +14 -22
  214. package/src/resources/print-mail/boxes.ts +19 -686
  215. package/src/resources/print-mail/campaigns.ts +11 -24
  216. package/src/resources/print-mail/cheques.ts +15 -527
  217. package/src/resources/print-mail/contacts.ts +14 -189
  218. package/src/resources/print-mail/index.ts +14 -14
  219. package/src/resources/print-mail/letters.ts +16 -697
  220. package/src/resources/print-mail/mailing-list-imports.ts +15 -25
  221. package/src/resources/print-mail/mailing-lists.ts +14 -25
  222. package/src/resources/print-mail/order-profiles/cheques.ts +91 -103
  223. package/src/resources/print-mail/order-profiles/index.ts +4 -3
  224. package/src/resources/print-mail/order-profiles/letters.ts +14 -25
  225. package/src/resources/print-mail/order-profiles/order-profiles.ts +8 -6
  226. package/src/resources/print-mail/order-profiles/postcards.ts +14 -25
  227. package/src/resources/print-mail/order-profiles/self-mailers.ts +15 -25
  228. package/src/resources/print-mail/postcards.ts +18 -1035
  229. package/src/resources/print-mail/print-mail.ts +195 -26
  230. package/src/resources/print-mail/reports/index.ts +1 -1
  231. package/src/resources/print-mail/reports/reports.ts +11 -24
  232. package/src/resources/print-mail/self-mailers.ts +21 -1036
  233. package/src/resources/print-mail/sub-organizations.ts +14 -22
  234. package/src/resources/print-mail/templates.ts +11 -21
  235. package/src/version.ts +1 -1
  236. package/version.d.mts +1 -1
  237. package/version.d.ts +1 -1
  238. package/version.js +1 -1
  239. 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
- * const contacts = await client.printMail.contacts.list();
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
- ): APIPromise<ContactListResponse> {
64
- return this._client.get('/print-mail/v1/contacts', { query, ...options });
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
- | ContactCreate.ContactCreateWithFirstName
206
- | ContactCreate.ContactCreateWithCompanyName;
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';