postgrid-node 0.5.0 → 0.6.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 (422) hide show
  1. package/CHANGELOG.md +84 -0
  2. package/LICENSE +1 -1
  3. package/README.md +13 -10
  4. package/client.d.mts +30 -10
  5. package/client.d.mts.map +1 -1
  6. package/client.d.ts +30 -10
  7. package/client.d.ts.map +1 -1
  8. package/client.js +56 -10
  9. package/client.js.map +1 -1
  10. package/client.mjs +57 -11
  11. package/client.mjs.map +1 -1
  12. package/internal/parse.d.mts.map +1 -1
  13. package/internal/parse.d.ts.map +1 -1
  14. package/internal/parse.js +5 -0
  15. package/internal/parse.js.map +1 -1
  16. package/internal/parse.mjs +5 -0
  17. package/internal/parse.mjs.map +1 -1
  18. package/internal/types.d.mts +6 -6
  19. package/internal/types.d.mts.map +1 -1
  20. package/internal/types.d.ts +6 -6
  21. package/internal/types.d.ts.map +1 -1
  22. package/internal/utils/env.js +2 -2
  23. package/internal/utils/env.js.map +1 -1
  24. package/internal/utils/env.mjs +2 -2
  25. package/internal/utils/env.mjs.map +1 -1
  26. package/internal/utils/log.d.mts.map +1 -1
  27. package/internal/utils/log.d.ts.map +1 -1
  28. package/internal/utils/log.js +3 -2
  29. package/internal/utils/log.js.map +1 -1
  30. package/internal/utils/log.mjs +3 -2
  31. package/internal/utils/log.mjs.map +1 -1
  32. package/internal/utils/query.d.mts +5 -0
  33. package/internal/utils/query.d.mts.map +1 -0
  34. package/internal/utils/query.d.ts +5 -0
  35. package/internal/utils/query.d.ts.map +1 -0
  36. package/internal/utils/query.js +23 -0
  37. package/internal/utils/query.js.map +1 -0
  38. package/internal/utils/query.mjs +20 -0
  39. package/internal/utils/query.mjs.map +1 -0
  40. package/internal/utils.d.mts +1 -0
  41. package/internal/utils.d.ts +1 -0
  42. package/internal/utils.js +1 -0
  43. package/internal/utils.js.map +1 -1
  44. package/internal/utils.mjs +1 -0
  45. package/package.json +7 -1
  46. package/resources/address-verification.d.mts +1689 -15
  47. package/resources/address-verification.d.mts.map +1 -1
  48. package/resources/address-verification.d.ts +1689 -15
  49. package/resources/address-verification.d.ts.map +1 -1
  50. package/resources/address-verification.js +200 -0
  51. package/resources/address-verification.js.map +1 -1
  52. package/resources/address-verification.mjs +200 -0
  53. package/resources/address-verification.mjs.map +1 -1
  54. package/resources/index.d.mts +3 -3
  55. package/resources/index.d.mts.map +1 -1
  56. package/resources/index.d.ts +3 -3
  57. package/resources/index.d.ts.map +1 -1
  58. package/resources/index.js.map +1 -1
  59. package/resources/index.mjs +1 -1
  60. package/resources/index.mjs.map +1 -1
  61. package/resources/intl-address-verification.d.mts +956 -35
  62. package/resources/intl-address-verification.d.mts.map +1 -1
  63. package/resources/intl-address-verification.d.ts +956 -35
  64. package/resources/intl-address-verification.d.ts.map +1 -1
  65. package/resources/intl-address-verification.js +121 -27
  66. package/resources/intl-address-verification.js.map +1 -1
  67. package/resources/intl-address-verification.mjs +121 -27
  68. package/resources/intl-address-verification.mjs.map +1 -1
  69. package/resources/print-mail/boxes.d.mts +995 -0
  70. package/resources/print-mail/boxes.d.mts.map +1 -0
  71. package/resources/print-mail/boxes.d.ts +995 -0
  72. package/resources/print-mail/boxes.d.ts.map +1 -0
  73. package/resources/print-mail/boxes.js +103 -0
  74. package/resources/print-mail/boxes.js.map +1 -0
  75. package/resources/print-mail/boxes.mjs +99 -0
  76. package/resources/print-mail/boxes.mjs.map +1 -0
  77. package/resources/print-mail/campaigns.d.mts +923 -34
  78. package/resources/print-mail/campaigns.d.mts.map +1 -1
  79. package/resources/print-mail/campaigns.d.ts +923 -34
  80. package/resources/print-mail/campaigns.d.ts.map +1 -1
  81. package/resources/print-mail/campaigns.js +10 -3
  82. package/resources/print-mail/campaigns.js.map +1 -1
  83. package/resources/print-mail/campaigns.mjs +10 -3
  84. package/resources/print-mail/campaigns.mjs.map +1 -1
  85. package/resources/print-mail/cheques.d.mts +35 -5
  86. package/resources/print-mail/cheques.d.mts.map +1 -1
  87. package/resources/print-mail/cheques.d.ts +35 -5
  88. package/resources/print-mail/cheques.d.ts.map +1 -1
  89. package/resources/print-mail/cheques.js +32 -0
  90. package/resources/print-mail/cheques.js.map +1 -1
  91. package/resources/print-mail/cheques.mjs +32 -0
  92. package/resources/print-mail/cheques.mjs.map +1 -1
  93. package/resources/print-mail/contacts.d.mts +138 -3
  94. package/resources/print-mail/contacts.d.mts.map +1 -1
  95. package/resources/print-mail/contacts.d.ts +138 -3
  96. package/resources/print-mail/contacts.d.ts.map +1 -1
  97. package/resources/print-mail/contacts.js.map +1 -1
  98. package/resources/print-mail/contacts.mjs.map +1 -1
  99. package/resources/print-mail/index.d.mts +12 -7
  100. package/resources/print-mail/index.d.mts.map +1 -1
  101. package/resources/print-mail/index.d.ts +12 -7
  102. package/resources/print-mail/index.d.ts.map +1 -1
  103. package/resources/print-mail/index.js +15 -5
  104. package/resources/print-mail/index.js.map +1 -1
  105. package/resources/print-mail/index.mjs +6 -1
  106. package/resources/print-mail/index.mjs.map +1 -1
  107. package/resources/print-mail/letters.d.mts +36 -6
  108. package/resources/print-mail/letters.d.mts.map +1 -1
  109. package/resources/print-mail/letters.d.ts +36 -6
  110. package/resources/print-mail/letters.d.ts.map +1 -1
  111. package/resources/print-mail/letters.js +32 -0
  112. package/resources/print-mail/letters.js.map +1 -1
  113. package/resources/print-mail/letters.mjs +32 -0
  114. package/resources/print-mail/letters.mjs.map +1 -1
  115. package/resources/print-mail/mailing-list-imports.d.mts +5 -1
  116. package/resources/print-mail/mailing-list-imports.d.mts.map +1 -1
  117. package/resources/print-mail/mailing-list-imports.d.ts +5 -1
  118. package/resources/print-mail/mailing-list-imports.d.ts.map +1 -1
  119. package/resources/print-mail/mailing-list-imports.js +4 -0
  120. package/resources/print-mail/mailing-list-imports.js.map +1 -1
  121. package/resources/print-mail/mailing-list-imports.mjs +4 -0
  122. package/resources/print-mail/mailing-list-imports.mjs.map +1 -1
  123. package/resources/print-mail/mailing-lists.d.mts +5 -1
  124. package/resources/print-mail/mailing-lists.d.mts.map +1 -1
  125. package/resources/print-mail/mailing-lists.d.ts +5 -1
  126. package/resources/print-mail/mailing-lists.d.ts.map +1 -1
  127. package/resources/print-mail/mailing-lists.js +4 -0
  128. package/resources/print-mail/mailing-lists.js.map +1 -1
  129. package/resources/print-mail/mailing-lists.mjs +4 -0
  130. package/resources/print-mail/mailing-lists.mjs.map +1 -1
  131. package/resources/print-mail/postcards.d.mts +63 -13
  132. package/resources/print-mail/postcards.d.mts.map +1 -1
  133. package/resources/print-mail/postcards.d.ts +63 -13
  134. package/resources/print-mail/postcards.d.ts.map +1 -1
  135. package/resources/print-mail/postcards.js +33 -0
  136. package/resources/print-mail/postcards.js.map +1 -1
  137. package/resources/print-mail/postcards.mjs +33 -0
  138. package/resources/print-mail/postcards.mjs.map +1 -1
  139. package/resources/print-mail/print-mail.d.mts +42 -159
  140. package/resources/print-mail/print-mail.d.mts.map +1 -1
  141. package/resources/print-mail/print-mail.d.ts +42 -159
  142. package/resources/print-mail/print-mail.d.ts.map +1 -1
  143. package/resources/print-mail/print-mail.js +36 -16
  144. package/resources/print-mail/print-mail.js.map +1 -1
  145. package/resources/print-mail/print-mail.mjs +36 -16
  146. package/resources/print-mail/print-mail.mjs.map +1 -1
  147. package/resources/print-mail/reports/exports.d.mts +7 -0
  148. package/resources/print-mail/reports/exports.d.mts.map +1 -1
  149. package/resources/print-mail/reports/exports.d.ts +7 -0
  150. package/resources/print-mail/reports/exports.d.ts.map +1 -1
  151. package/resources/print-mail/reports/exports.js +7 -0
  152. package/resources/print-mail/reports/exports.js.map +1 -1
  153. package/resources/print-mail/reports/exports.mjs +7 -0
  154. package/resources/print-mail/reports/exports.mjs.map +1 -1
  155. package/resources/print-mail/reports/reports.d.mts +7 -0
  156. package/resources/print-mail/reports/reports.d.mts.map +1 -1
  157. package/resources/print-mail/reports/reports.d.ts +7 -0
  158. package/resources/print-mail/reports/reports.d.ts.map +1 -1
  159. package/resources/print-mail/reports/reports.js +7 -0
  160. package/resources/print-mail/reports/reports.js.map +1 -1
  161. package/resources/print-mail/reports/reports.mjs +7 -0
  162. package/resources/print-mail/reports/reports.mjs.map +1 -1
  163. package/resources/print-mail/reports/samples.d.mts +7 -0
  164. package/resources/print-mail/reports/samples.d.mts.map +1 -1
  165. package/resources/print-mail/reports/samples.d.ts +7 -0
  166. package/resources/print-mail/reports/samples.d.ts.map +1 -1
  167. package/resources/print-mail/reports/samples.js +7 -0
  168. package/resources/print-mail/reports/samples.js.map +1 -1
  169. package/resources/print-mail/reports/samples.mjs +7 -0
  170. package/resources/print-mail/reports/samples.mjs.map +1 -1
  171. package/resources/print-mail/self-mailers.d.mts +25 -12
  172. package/resources/print-mail/self-mailers.d.mts.map +1 -1
  173. package/resources/print-mail/self-mailers.d.ts +25 -12
  174. package/resources/print-mail/self-mailers.d.ts.map +1 -1
  175. package/resources/print-mail/self-mailers.js +17 -0
  176. package/resources/print-mail/self-mailers.js.map +1 -1
  177. package/resources/print-mail/self-mailers.mjs +17 -0
  178. package/resources/print-mail/self-mailers.mjs.map +1 -1
  179. package/resources/print-mail/snap-packs.d.mts +1060 -0
  180. package/resources/print-mail/snap-packs.d.mts.map +1 -0
  181. package/resources/print-mail/snap-packs.d.ts +1060 -0
  182. package/resources/print-mail/snap-packs.d.ts.map +1 -0
  183. package/resources/print-mail/snap-packs.js +117 -0
  184. package/resources/print-mail/snap-packs.js.map +1 -0
  185. package/resources/print-mail/snap-packs.mjs +113 -0
  186. package/resources/print-mail/snap-packs.mjs.map +1 -0
  187. package/resources/print-mail/sub-organizations.d.mts +29 -17
  188. package/resources/print-mail/sub-organizations.d.mts.map +1 -1
  189. package/resources/print-mail/sub-organizations.d.ts +29 -17
  190. package/resources/print-mail/sub-organizations.d.ts.map +1 -1
  191. package/resources/print-mail/sub-organizations.js +26 -14
  192. package/resources/print-mail/sub-organizations.js.map +1 -1
  193. package/resources/print-mail/sub-organizations.mjs +26 -14
  194. package/resources/print-mail/sub-organizations.mjs.map +1 -1
  195. package/resources/print-mail/targeted-list-builds/filters.d.mts +92 -0
  196. package/resources/print-mail/targeted-list-builds/filters.d.mts.map +1 -0
  197. package/resources/print-mail/targeted-list-builds/filters.d.ts +92 -0
  198. package/resources/print-mail/targeted-list-builds/filters.d.ts.map +1 -0
  199. package/resources/print-mail/targeted-list-builds/filters.js +60 -0
  200. package/resources/print-mail/targeted-list-builds/filters.js.map +1 -0
  201. package/resources/print-mail/targeted-list-builds/filters.mjs +56 -0
  202. package/resources/print-mail/targeted-list-builds/filters.mjs.map +1 -0
  203. package/resources/print-mail/targeted-list-builds/index.d.mts +3 -0
  204. package/resources/print-mail/targeted-list-builds/index.d.mts.map +1 -0
  205. package/resources/print-mail/targeted-list-builds/index.d.ts +3 -0
  206. package/resources/print-mail/targeted-list-builds/index.d.ts.map +1 -0
  207. package/resources/print-mail/targeted-list-builds/index.js +9 -0
  208. package/resources/print-mail/targeted-list-builds/index.js.map +1 -0
  209. package/resources/print-mail/targeted-list-builds/index.mjs +4 -0
  210. package/resources/print-mail/targeted-list-builds/index.mjs.map +1 -0
  211. package/resources/print-mail/targeted-list-builds/targeted-list-builds.d.mts +1633 -0
  212. package/resources/print-mail/targeted-list-builds/targeted-list-builds.d.mts.map +1 -0
  213. package/resources/print-mail/targeted-list-builds/targeted-list-builds.d.ts +1633 -0
  214. package/resources/print-mail/targeted-list-builds/targeted-list-builds.d.ts.map +1 -0
  215. package/resources/print-mail/targeted-list-builds/targeted-list-builds.js +154 -0
  216. package/resources/print-mail/targeted-list-builds/targeted-list-builds.js.map +1 -0
  217. package/resources/print-mail/targeted-list-builds/targeted-list-builds.mjs +149 -0
  218. package/resources/print-mail/targeted-list-builds/targeted-list-builds.mjs.map +1 -0
  219. package/resources/print-mail/targeted-list-builds.d.mts +2 -0
  220. package/resources/print-mail/targeted-list-builds.d.mts.map +1 -0
  221. package/resources/print-mail/targeted-list-builds.d.ts +2 -0
  222. package/resources/print-mail/targeted-list-builds.d.ts.map +1 -0
  223. package/resources/print-mail/targeted-list-builds.js +6 -0
  224. package/resources/print-mail/targeted-list-builds.js.map +1 -0
  225. package/resources/print-mail/targeted-list-builds.mjs +3 -0
  226. package/resources/print-mail/targeted-list-builds.mjs.map +1 -0
  227. package/resources/print-mail/template-editor-sessions.d.mts +355 -0
  228. package/resources/print-mail/template-editor-sessions.d.mts.map +1 -0
  229. package/resources/print-mail/template-editor-sessions.d.ts +355 -0
  230. package/resources/print-mail/template-editor-sessions.d.ts.map +1 -0
  231. package/resources/print-mail/template-editor-sessions.js +78 -0
  232. package/resources/print-mail/template-editor-sessions.js.map +1 -0
  233. package/resources/print-mail/template-editor-sessions.mjs +74 -0
  234. package/resources/print-mail/template-editor-sessions.mjs.map +1 -0
  235. package/resources/print-mail/trackers.d.mts +409 -0
  236. package/resources/print-mail/trackers.d.mts.map +1 -0
  237. package/resources/print-mail/trackers.d.ts +409 -0
  238. package/resources/print-mail/trackers.d.ts.map +1 -0
  239. package/resources/print-mail/trackers.js +116 -0
  240. package/resources/print-mail/trackers.js.map +1 -0
  241. package/resources/print-mail/trackers.mjs +112 -0
  242. package/resources/print-mail/trackers.mjs.map +1 -0
  243. package/resources/print-mail/virtual-mailboxes/index.d.mts +3 -0
  244. package/resources/print-mail/virtual-mailboxes/index.d.mts.map +1 -0
  245. package/resources/print-mail/virtual-mailboxes/index.d.ts +3 -0
  246. package/resources/print-mail/virtual-mailboxes/index.d.ts.map +1 -0
  247. package/resources/print-mail/virtual-mailboxes/index.js +9 -0
  248. package/resources/print-mail/virtual-mailboxes/index.js.map +1 -0
  249. package/resources/print-mail/virtual-mailboxes/index.mjs +4 -0
  250. package/resources/print-mail/virtual-mailboxes/index.mjs.map +1 -0
  251. package/resources/print-mail/virtual-mailboxes/items.d.mts +235 -0
  252. package/resources/print-mail/virtual-mailboxes/items.d.mts.map +1 -0
  253. package/resources/print-mail/virtual-mailboxes/items.d.ts +235 -0
  254. package/resources/print-mail/virtual-mailboxes/items.d.ts.map +1 -0
  255. package/resources/print-mail/virtual-mailboxes/items.js +69 -0
  256. package/resources/print-mail/virtual-mailboxes/items.js.map +1 -0
  257. package/resources/print-mail/virtual-mailboxes/items.mjs +65 -0
  258. package/resources/print-mail/virtual-mailboxes/items.mjs.map +1 -0
  259. package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.d.mts +334 -0
  260. package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.d.mts.map +1 -0
  261. package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.d.ts +334 -0
  262. package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.d.ts.map +1 -0
  263. package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.js +92 -0
  264. package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.js.map +1 -0
  265. package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.mjs +87 -0
  266. package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.mjs.map +1 -0
  267. package/resources/print-mail/virtual-mailboxes.d.mts +2 -0
  268. package/resources/print-mail/virtual-mailboxes.d.mts.map +1 -0
  269. package/resources/print-mail/virtual-mailboxes.d.ts +2 -0
  270. package/resources/print-mail/virtual-mailboxes.d.ts.map +1 -0
  271. package/resources/print-mail/{order-profiles.js → virtual-mailboxes.js} +2 -2
  272. package/resources/print-mail/virtual-mailboxes.js.map +1 -0
  273. package/resources/print-mail/virtual-mailboxes.mjs +3 -0
  274. package/resources/print-mail/virtual-mailboxes.mjs.map +1 -0
  275. package/src/client.ts +116 -26
  276. package/src/internal/parse.ts +6 -0
  277. package/src/internal/types.ts +6 -8
  278. package/src/internal/utils/env.ts +2 -2
  279. package/src/internal/utils/log.ts +2 -1
  280. package/src/internal/utils/query.ts +23 -0
  281. package/src/internal/utils.ts +1 -0
  282. package/src/resources/address-verification.ts +2190 -24
  283. package/src/resources/index.ts +24 -5
  284. package/src/resources/intl-address-verification.ts +1219 -43
  285. package/src/resources/print-mail/boxes.ts +1324 -0
  286. package/src/resources/print-mail/campaigns.ts +1449 -59
  287. package/src/resources/print-mail/cheques.ts +42 -4
  288. package/src/resources/print-mail/contacts.ts +167 -4
  289. package/src/resources/print-mail/index.ts +79 -4
  290. package/src/resources/print-mail/letters.ts +43 -5
  291. package/src/resources/print-mail/mailing-list-imports.ts +5 -1
  292. package/src/resources/print-mail/mailing-lists.ts +5 -1
  293. package/src/resources/print-mail/postcards.ts +74 -12
  294. package/src/resources/print-mail/print-mail.ts +245 -239
  295. package/src/resources/print-mail/reports/exports.ts +7 -0
  296. package/src/resources/print-mail/reports/reports.ts +7 -0
  297. package/src/resources/print-mail/reports/samples.ts +7 -0
  298. package/src/resources/print-mail/self-mailers.ts +28 -12
  299. package/src/resources/print-mail/snap-packs.ts +1484 -0
  300. package/src/resources/print-mail/sub-organizations.ts +35 -23
  301. package/src/resources/print-mail/targeted-list-builds/filters.ts +113 -0
  302. package/src/resources/print-mail/targeted-list-builds/index.ts +16 -0
  303. package/src/resources/print-mail/targeted-list-builds/targeted-list-builds.ts +2158 -0
  304. package/{resources/print-mail/order-profiles.mjs → src/resources/print-mail/targeted-list-builds.ts} +2 -2
  305. package/src/resources/print-mail/template-editor-sessions.ts +435 -0
  306. package/src/resources/print-mail/trackers.ts +513 -0
  307. package/src/resources/print-mail/virtual-mailboxes/index.ts +22 -0
  308. package/src/resources/print-mail/virtual-mailboxes/items.ts +296 -0
  309. package/src/resources/print-mail/virtual-mailboxes/virtual-mailboxes.ts +434 -0
  310. package/src/resources/print-mail/{order-profiles.ts → virtual-mailboxes.ts} +1 -1
  311. package/src/version.ts +1 -1
  312. package/version.d.mts +1 -1
  313. package/version.d.ts +1 -1
  314. package/version.js +1 -1
  315. package/version.mjs +1 -1
  316. package/internal/qs/formats.d.mts +0 -7
  317. package/internal/qs/formats.d.mts.map +0 -1
  318. package/internal/qs/formats.d.ts +0 -7
  319. package/internal/qs/formats.d.ts.map +0 -1
  320. package/internal/qs/formats.js +0 -13
  321. package/internal/qs/formats.js.map +0 -1
  322. package/internal/qs/formats.mjs +0 -9
  323. package/internal/qs/formats.mjs.map +0 -1
  324. package/internal/qs/index.d.mts +0 -10
  325. package/internal/qs/index.d.mts.map +0 -1
  326. package/internal/qs/index.d.ts +0 -10
  327. package/internal/qs/index.d.ts.map +0 -1
  328. package/internal/qs/index.js +0 -14
  329. package/internal/qs/index.js.map +0 -1
  330. package/internal/qs/index.mjs +0 -10
  331. package/internal/qs/index.mjs.map +0 -1
  332. package/internal/qs/stringify.d.mts +0 -3
  333. package/internal/qs/stringify.d.mts.map +0 -1
  334. package/internal/qs/stringify.d.ts +0 -3
  335. package/internal/qs/stringify.d.ts.map +0 -1
  336. package/internal/qs/stringify.js +0 -277
  337. package/internal/qs/stringify.js.map +0 -1
  338. package/internal/qs/stringify.mjs +0 -274
  339. package/internal/qs/stringify.mjs.map +0 -1
  340. package/internal/qs/types.d.mts +0 -57
  341. package/internal/qs/types.d.mts.map +0 -1
  342. package/internal/qs/types.d.ts +0 -57
  343. package/internal/qs/types.d.ts.map +0 -1
  344. package/internal/qs/types.js +0 -3
  345. package/internal/qs/types.js.map +0 -1
  346. package/internal/qs/types.mjs +0 -2
  347. package/internal/qs/types.mjs.map +0 -1
  348. package/internal/qs/utils.d.mts +0 -15
  349. package/internal/qs/utils.d.mts.map +0 -1
  350. package/internal/qs/utils.d.ts +0 -15
  351. package/internal/qs/utils.d.ts.map +0 -1
  352. package/internal/qs/utils.js +0 -230
  353. package/internal/qs/utils.js.map +0 -1
  354. package/internal/qs/utils.mjs +0 -217
  355. package/internal/qs/utils.mjs.map +0 -1
  356. package/resources/print-mail/order-profiles/cheques.d.mts +0 -387
  357. package/resources/print-mail/order-profiles/cheques.d.mts.map +0 -1
  358. package/resources/print-mail/order-profiles/cheques.d.ts +0 -387
  359. package/resources/print-mail/order-profiles/cheques.d.ts.map +0 -1
  360. package/resources/print-mail/order-profiles/cheques.js +0 -98
  361. package/resources/print-mail/order-profiles/cheques.js.map +0 -1
  362. package/resources/print-mail/order-profiles/cheques.mjs +0 -94
  363. package/resources/print-mail/order-profiles/cheques.mjs.map +0 -1
  364. package/resources/print-mail/order-profiles/index.d.mts +0 -6
  365. package/resources/print-mail/order-profiles/index.d.mts.map +0 -1
  366. package/resources/print-mail/order-profiles/index.d.ts +0 -6
  367. package/resources/print-mail/order-profiles/index.d.ts.map +0 -1
  368. package/resources/print-mail/order-profiles/index.js +0 -15
  369. package/resources/print-mail/order-profiles/index.js.map +0 -1
  370. package/resources/print-mail/order-profiles/index.mjs +0 -7
  371. package/resources/print-mail/order-profiles/index.mjs.map +0 -1
  372. package/resources/print-mail/order-profiles/letters.d.mts +0 -324
  373. package/resources/print-mail/order-profiles/letters.d.mts.map +0 -1
  374. package/resources/print-mail/order-profiles/letters.d.ts +0 -324
  375. package/resources/print-mail/order-profiles/letters.d.ts.map +0 -1
  376. package/resources/print-mail/order-profiles/letters.js +0 -105
  377. package/resources/print-mail/order-profiles/letters.js.map +0 -1
  378. package/resources/print-mail/order-profiles/letters.mjs +0 -101
  379. package/resources/print-mail/order-profiles/letters.mjs.map +0 -1
  380. package/resources/print-mail/order-profiles/order-profiles.d.mts +0 -22
  381. package/resources/print-mail/order-profiles/order-profiles.d.mts.map +0 -1
  382. package/resources/print-mail/order-profiles/order-profiles.d.ts +0 -22
  383. package/resources/print-mail/order-profiles/order-profiles.d.ts.map +0 -1
  384. package/resources/print-mail/order-profiles/order-profiles.js +0 -29
  385. package/resources/print-mail/order-profiles/order-profiles.js.map +0 -1
  386. package/resources/print-mail/order-profiles/order-profiles.mjs +0 -24
  387. package/resources/print-mail/order-profiles/order-profiles.mjs.map +0 -1
  388. package/resources/print-mail/order-profiles/postcards.d.mts +0 -254
  389. package/resources/print-mail/order-profiles/postcards.d.mts.map +0 -1
  390. package/resources/print-mail/order-profiles/postcards.d.ts +0 -254
  391. package/resources/print-mail/order-profiles/postcards.d.ts.map +0 -1
  392. package/resources/print-mail/order-profiles/postcards.js +0 -97
  393. package/resources/print-mail/order-profiles/postcards.js.map +0 -1
  394. package/resources/print-mail/order-profiles/postcards.mjs +0 -93
  395. package/resources/print-mail/order-profiles/postcards.mjs.map +0 -1
  396. package/resources/print-mail/order-profiles/self-mailers.d.mts +0 -259
  397. package/resources/print-mail/order-profiles/self-mailers.d.mts.map +0 -1
  398. package/resources/print-mail/order-profiles/self-mailers.d.ts +0 -259
  399. package/resources/print-mail/order-profiles/self-mailers.d.ts.map +0 -1
  400. package/resources/print-mail/order-profiles/self-mailers.js +0 -95
  401. package/resources/print-mail/order-profiles/self-mailers.js.map +0 -1
  402. package/resources/print-mail/order-profiles/self-mailers.mjs +0 -91
  403. package/resources/print-mail/order-profiles/self-mailers.mjs.map +0 -1
  404. package/resources/print-mail/order-profiles.d.mts +0 -2
  405. package/resources/print-mail/order-profiles.d.mts.map +0 -1
  406. package/resources/print-mail/order-profiles.d.ts +0 -2
  407. package/resources/print-mail/order-profiles.d.ts.map +0 -1
  408. package/resources/print-mail/order-profiles.js.map +0 -1
  409. package/resources/print-mail/order-profiles.mjs.map +0 -1
  410. package/src/internal/qs/LICENSE.md +0 -13
  411. package/src/internal/qs/README.md +0 -3
  412. package/src/internal/qs/formats.ts +0 -10
  413. package/src/internal/qs/index.ts +0 -13
  414. package/src/internal/qs/stringify.ts +0 -385
  415. package/src/internal/qs/types.ts +0 -71
  416. package/src/internal/qs/utils.ts +0 -265
  417. package/src/resources/print-mail/order-profiles/cheques.ts +0 -589
  418. package/src/resources/print-mail/order-profiles/index.ts +0 -47
  419. package/src/resources/print-mail/order-profiles/letters.ts +0 -489
  420. package/src/resources/print-mail/order-profiles/order-profiles.ts +0 -113
  421. package/src/resources/print-mail/order-profiles/postcards.ts +0 -404
  422. package/src/resources/print-mail/order-profiles/self-mailers.ts +0 -415
@@ -11,6 +11,18 @@ import {
11
11
  BankAccounts,
12
12
  BankAccountsSkipLimit,
13
13
  } from './bank-accounts';
14
+ import * as BoxesAPI from './boxes';
15
+ import {
16
+ BoxCreateParams,
17
+ BoxCreateResponse,
18
+ BoxDeleteResponse,
19
+ BoxListParams,
20
+ BoxListResponse,
21
+ BoxListResponsesSkipLimit,
22
+ BoxProgressionsResponse,
23
+ BoxRetrieveResponse,
24
+ Boxes,
25
+ } from './boxes';
14
26
  import * as CampaignsAPI from './campaigns';
15
27
  import {
16
28
  Campaign,
@@ -25,6 +37,7 @@ import {
25
37
  import * as ChequesAPI from './cheques';
26
38
  import {
27
39
  Cheque,
40
+ ChequeCancelParams,
28
41
  ChequeCreateParams,
29
42
  ChequeListParams,
30
43
  ChequeRetrieveURLResponse,
@@ -38,6 +51,8 @@ import {
38
51
  Contact,
39
52
  ContactCreate,
40
53
  ContactCreateParams,
54
+ ContactCreateWithCompanyName,
55
+ ContactCreateWithFirstName,
41
56
  ContactDeleteResponse,
42
57
  ContactListParams,
43
58
  Contacts,
@@ -48,6 +63,7 @@ import {
48
63
  AddressPlacement,
49
64
  AttachedPdf,
50
65
  Letter,
66
+ LetterCancelParams,
51
67
  LetterCreateParams,
52
68
  LetterListParams,
53
69
  LetterRetrieveURLResponse,
@@ -83,6 +99,7 @@ import {
83
99
  import * as PostcardsAPI from './postcards';
84
100
  import {
85
101
  Postcard,
102
+ PostcardCancelParams,
86
103
  PostcardCreateParams,
87
104
  PostcardListParams,
88
105
  PostcardRetrieveURLResponse,
@@ -98,18 +115,42 @@ import {
98
115
  SelfMailers,
99
116
  SelfMailersSkipLimit,
100
117
  } from './self-mailers';
118
+ import * as SnapPacksAPI from './snap-packs';
119
+ import {
120
+ SnapPackCreateParams,
121
+ SnapPackCreateResponse,
122
+ SnapPackDeleteResponse,
123
+ SnapPackListParams,
124
+ SnapPackListResponse,
125
+ SnapPackListResponsesSkipLimit,
126
+ SnapPackProgressionsResponse,
127
+ SnapPackRetrieveCapabilitiesParams,
128
+ SnapPackRetrieveCapabilitiesResponse,
129
+ SnapPackRetrieveResponse,
130
+ SnapPacks,
131
+ } from './snap-packs';
101
132
  import * as SubOrganizationsAPI from './sub-organizations';
102
133
  import {
103
134
  EmailPreferences,
104
135
  SubOrganization,
136
+ SubOrganizationCreateParams,
137
+ SubOrganizationCreateResponse,
105
138
  SubOrganizationListParams,
106
139
  SubOrganizationRetrieveUsersParams,
107
140
  SubOrganizationRetrieveUsersResponse,
108
- SubOrganizationUpdateParams,
109
- SubOrganizationUpdateResponse,
110
141
  SubOrganizations,
111
142
  SubOrganizationsSkipLimit,
112
143
  } from './sub-organizations';
144
+ import * as TemplateEditorSessionsAPI from './template-editor-sessions';
145
+ import {
146
+ TemplateEditorSessionCreateParams,
147
+ TemplateEditorSessionCreateResponse,
148
+ TemplateEditorSessionDeleteResponse,
149
+ TemplateEditorSessionListParams,
150
+ TemplateEditorSessionListResponse,
151
+ TemplateEditorSessionListResponsesSkipLimit,
152
+ TemplateEditorSessions,
153
+ } from './template-editor-sessions';
113
154
  import * as TemplatesAPI from './templates';
114
155
  import {
115
156
  Template,
@@ -120,8 +161,22 @@ import {
120
161
  Templates,
121
162
  TemplatesSkipLimit,
122
163
  } from './templates';
123
- import * as OrderProfilesAPI from './order-profiles/order-profiles';
124
- import { OrderProfiles } from './order-profiles/order-profiles';
164
+ import * as TrackersAPI from './trackers';
165
+ import {
166
+ TrackerCreateParams,
167
+ TrackerCreateResponse,
168
+ TrackerDeleteResponse,
169
+ TrackerListParams,
170
+ TrackerListResponse,
171
+ TrackerListResponsesSkipLimit,
172
+ TrackerRetrieveResponse,
173
+ TrackerRetrieveVisitsParams,
174
+ TrackerRetrieveVisitsResponse,
175
+ TrackerRetrieveVisitsResponsesSkipLimit,
176
+ TrackerUpdateParams,
177
+ TrackerUpdateResponse,
178
+ Trackers,
179
+ } from './trackers';
125
180
  import * as ReportsAPI from './reports/reports';
126
181
  import {
127
182
  DeletedResponse,
@@ -133,209 +188,142 @@ import {
133
188
  Reports,
134
189
  ReportsSkipLimit,
135
190
  } from './reports/reports';
191
+ import * as TargetedListBuildsAPI from './targeted-list-builds/targeted-list-builds';
192
+ import {
193
+ TargetedListBuildConfirmResponse,
194
+ TargetedListBuildCreateParams,
195
+ TargetedListBuildCreateResponse,
196
+ TargetedListBuildDeleteResponse,
197
+ TargetedListBuildListParams,
198
+ TargetedListBuildListResponse,
199
+ TargetedListBuildListResponsesSkipLimit,
200
+ TargetedListBuildRetrieveResponse,
201
+ TargetedListBuildUpdateParams,
202
+ TargetedListBuildUpdateResponse,
203
+ TargetedListBuilds,
204
+ } from './targeted-list-builds/targeted-list-builds';
205
+ import * as VirtualMailboxesAPI from './virtual-mailboxes/virtual-mailboxes';
206
+ import {
207
+ VirtualMailboxCreateParams,
208
+ VirtualMailboxCreateResponse,
209
+ VirtualMailboxListParams,
210
+ VirtualMailboxListResponse,
211
+ VirtualMailboxListResponsesSkipLimit,
212
+ VirtualMailboxRetrieveAddressResponse,
213
+ VirtualMailboxRetrieveResponse,
214
+ VirtualMailboxes,
215
+ } from './virtual-mailboxes/virtual-mailboxes';
136
216
 
137
217
  export class PrintMail extends APIResource {
138
- bankAccounts: BankAccountsAPI.BankAccounts = new BankAccountsAPI.BankAccounts(this._client);
139
- campaigns: CampaignsAPI.Campaigns = new CampaignsAPI.Campaigns(this._client);
140
- cheques: ChequesAPI.Cheques = new ChequesAPI.Cheques(this._client);
141
218
  contacts: ContactsAPI.Contacts = new ContactsAPI.Contacts(this._client);
219
+ templates: TemplatesAPI.Templates = new TemplatesAPI.Templates(this._client);
220
+ trackers: TrackersAPI.Trackers = new TrackersAPI.Trackers(this._client);
142
221
  letters: LettersAPI.Letters = new LettersAPI.Letters(this._client);
222
+ postcards: PostcardsAPI.Postcards = new PostcardsAPI.Postcards(this._client);
223
+ bankAccounts: BankAccountsAPI.BankAccounts = new BankAccountsAPI.BankAccounts(this._client);
224
+ cheques: ChequesAPI.Cheques = new ChequesAPI.Cheques(this._client);
225
+ selfMailers: SelfMailersAPI.SelfMailers = new SelfMailersAPI.SelfMailers(this._client);
226
+ campaigns: CampaignsAPI.Campaigns = new CampaignsAPI.Campaigns(this._client);
143
227
  mailingListImports: MailingListImportsAPI.MailingListImports = new MailingListImportsAPI.MailingListImports(
144
228
  this._client,
145
229
  );
146
230
  mailingLists: MailingListsAPI.MailingLists = new MailingListsAPI.MailingLists(this._client);
147
- orderProfiles: OrderProfilesAPI.OrderProfiles = new OrderProfilesAPI.OrderProfiles(this._client);
148
- postcards: PostcardsAPI.Postcards = new PostcardsAPI.Postcards(this._client);
149
231
  reports: ReportsAPI.Reports = new ReportsAPI.Reports(this._client);
150
- selfMailers: SelfMailersAPI.SelfMailers = new SelfMailersAPI.SelfMailers(this._client);
151
232
  subOrganizations: SubOrganizationsAPI.SubOrganizations = new SubOrganizationsAPI.SubOrganizations(
152
233
  this._client,
153
234
  );
154
- templates: TemplatesAPI.Templates = new TemplatesAPI.Templates(this._client);
155
- }
156
-
157
- export interface ContactCreateWithCompanyName {
158
- /**
159
- * The first line of the contact's address.
160
- */
161
- addressLine1: string;
162
-
163
- companyName: string;
164
-
165
- /**
166
- * The ISO 3611-1 country code of the contact's address.
167
- */
168
- countryCode: string;
169
-
170
- /**
171
- * Second line of the contact's address, if applicable.
172
- */
173
- addressLine2?: string;
174
-
175
- /**
176
- * The city of the contact's address.
177
- */
178
- city?: string;
179
-
180
- /**
181
- * An optional string describing this resource. Will be visible in the API and the
182
- * dashboard.
183
- */
184
- description?: string;
185
-
186
- /**
187
- * Email of the contact.
188
- */
189
- email?: string;
190
-
191
- /**
192
- * First name of the contact.
193
- */
194
- firstName?: string;
195
-
196
- /**
197
- * If `true`, PostGrid will force this contact to have an `addressStatus` of
198
- * `verified` even if our address verification system says otherwise.
199
- */
200
- forceVerifiedStatus?: boolean;
201
-
202
- /**
203
- * Job title of the contact.
204
- */
205
- jobTitle?: string;
206
-
207
- /**
208
- * Last name of the contact.
209
- */
210
- lastName?: string;
211
-
212
- /**
213
- * See the section on Metadata.
214
- */
215
- metadata?: { [key: string]: unknown };
216
-
217
- /**
218
- * Phone number of the contact.
219
- */
220
- phoneNumber?: string;
221
-
222
- /**
223
- * The postal or ZIP code of the contact's address.
224
- */
225
- postalOrZip?: string;
226
-
227
- /**
228
- * Province or state of the contact's address.
229
- */
230
- provinceOrState?: string;
231
-
232
- /**
233
- * If `true`, PostGrid will skip running this contact's address through our address
234
- * verification system.
235
- */
236
- skipVerification?: boolean;
237
- }
238
-
239
- export interface ContactCreateWithFirstName {
240
- /**
241
- * The first line of the contact's address.
242
- */
243
- addressLine1: string;
244
-
245
- /**
246
- * The ISO 3611-1 country code of the contact's address.
247
- */
248
- countryCode: string;
249
-
250
- firstName: string;
251
-
252
- /**
253
- * Second line of the contact's address, if applicable.
254
- */
255
- addressLine2?: string;
256
-
257
- /**
258
- * The city of the contact's address.
259
- */
260
- city?: string;
261
-
262
- /**
263
- * Company name of the contact.
264
- */
265
- companyName?: string;
266
-
267
- /**
268
- * An optional string describing this resource. Will be visible in the API and the
269
- * dashboard.
270
- */
271
- description?: string;
272
-
273
- /**
274
- * Email of the contact.
275
- */
276
- email?: string;
277
-
278
- /**
279
- * If `true`, PostGrid will force this contact to have an `addressStatus` of
280
- * `verified` even if our address verification system says otherwise.
281
- */
282
- forceVerifiedStatus?: boolean;
283
-
284
- /**
285
- * Job title of the contact.
286
- */
287
- jobTitle?: string;
288
-
289
- /**
290
- * Last name of the contact.
291
- */
292
- lastName?: string;
293
-
294
- /**
295
- * See the section on Metadata.
296
- */
297
- metadata?: { [key: string]: unknown };
298
-
299
- /**
300
- * Phone number of the contact.
301
- */
302
- phoneNumber?: string;
303
-
304
- /**
305
- * The postal or ZIP code of the contact's address.
306
- */
307
- postalOrZip?: string;
308
-
309
- /**
310
- * Province or state of the contact's address.
311
- */
312
- provinceOrState?: string;
313
-
314
- /**
315
- * If `true`, PostGrid will skip running this contact's address through our address
316
- * verification system.
317
- */
318
- skipVerification?: boolean;
235
+ boxes: BoxesAPI.Boxes = new BoxesAPI.Boxes(this._client);
236
+ snapPacks: SnapPacksAPI.SnapPacks = new SnapPacksAPI.SnapPacks(this._client);
237
+ targetedListBuilds: TargetedListBuildsAPI.TargetedListBuilds = new TargetedListBuildsAPI.TargetedListBuilds(
238
+ this._client,
239
+ );
240
+ templateEditorSessions: TemplateEditorSessionsAPI.TemplateEditorSessions =
241
+ new TemplateEditorSessionsAPI.TemplateEditorSessions(this._client);
242
+ virtualMailboxes: VirtualMailboxesAPI.VirtualMailboxes = new VirtualMailboxesAPI.VirtualMailboxes(
243
+ this._client,
244
+ );
319
245
  }
320
246
 
321
- PrintMail.BankAccounts = BankAccounts;
322
- PrintMail.Campaigns = Campaigns;
323
- PrintMail.Cheques = Cheques;
324
247
  PrintMail.Contacts = Contacts;
248
+ PrintMail.Templates = Templates;
249
+ PrintMail.Trackers = Trackers;
325
250
  PrintMail.Letters = Letters;
251
+ PrintMail.Postcards = Postcards;
252
+ PrintMail.BankAccounts = BankAccounts;
253
+ PrintMail.Cheques = Cheques;
254
+ PrintMail.SelfMailers = SelfMailers;
255
+ PrintMail.Campaigns = Campaigns;
326
256
  PrintMail.MailingListImports = MailingListImports;
327
257
  PrintMail.MailingLists = MailingLists;
328
- PrintMail.OrderProfiles = OrderProfiles;
329
- PrintMail.Postcards = Postcards;
330
258
  PrintMail.Reports = Reports;
331
- PrintMail.SelfMailers = SelfMailers;
332
259
  PrintMail.SubOrganizations = SubOrganizations;
333
- PrintMail.Templates = Templates;
260
+ PrintMail.Boxes = Boxes;
261
+ PrintMail.SnapPacks = SnapPacks;
262
+ PrintMail.TargetedListBuilds = TargetedListBuilds;
263
+ PrintMail.TemplateEditorSessions = TemplateEditorSessions;
264
+ PrintMail.VirtualMailboxes = VirtualMailboxes;
334
265
 
335
266
  export declare namespace PrintMail {
336
267
  export {
268
+ Contacts as Contacts,
269
+ type Contact as Contact,
270
+ type ContactCreate as ContactCreate,
337
271
  type ContactCreateWithCompanyName as ContactCreateWithCompanyName,
338
272
  type ContactCreateWithFirstName as ContactCreateWithFirstName,
273
+ type ContactDeleteResponse as ContactDeleteResponse,
274
+ type ContactsSkipLimit as ContactsSkipLimit,
275
+ type ContactCreateParams as ContactCreateParams,
276
+ type ContactListParams as ContactListParams,
277
+ };
278
+
279
+ export {
280
+ Templates as Templates,
281
+ type Template as Template,
282
+ type TemplateDeleteResponse as TemplateDeleteResponse,
283
+ type TemplatesSkipLimit as TemplatesSkipLimit,
284
+ type TemplateCreateParams as TemplateCreateParams,
285
+ type TemplateUpdateParams as TemplateUpdateParams,
286
+ type TemplateListParams as TemplateListParams,
287
+ };
288
+
289
+ export {
290
+ Trackers as Trackers,
291
+ type TrackerCreateResponse as TrackerCreateResponse,
292
+ type TrackerRetrieveResponse as TrackerRetrieveResponse,
293
+ type TrackerUpdateResponse as TrackerUpdateResponse,
294
+ type TrackerListResponse as TrackerListResponse,
295
+ type TrackerDeleteResponse as TrackerDeleteResponse,
296
+ type TrackerRetrieveVisitsResponse as TrackerRetrieveVisitsResponse,
297
+ type TrackerListResponsesSkipLimit as TrackerListResponsesSkipLimit,
298
+ type TrackerRetrieveVisitsResponsesSkipLimit as TrackerRetrieveVisitsResponsesSkipLimit,
299
+ type TrackerCreateParams as TrackerCreateParams,
300
+ type TrackerUpdateParams as TrackerUpdateParams,
301
+ type TrackerListParams as TrackerListParams,
302
+ type TrackerRetrieveVisitsParams as TrackerRetrieveVisitsParams,
303
+ };
304
+
305
+ export {
306
+ Letters as Letters,
307
+ type AddressPlacement as AddressPlacement,
308
+ type AttachedPdf as AttachedPdf,
309
+ type Letter as Letter,
310
+ type LetterSize as LetterSize,
311
+ type PlasticCard as PlasticCard,
312
+ type LetterRetrieveURLResponse as LetterRetrieveURLResponse,
313
+ type LettersSkipLimit as LettersSkipLimit,
314
+ type LetterCreateParams as LetterCreateParams,
315
+ type LetterListParams as LetterListParams,
316
+ type LetterCancelParams as LetterCancelParams,
317
+ };
318
+
319
+ export {
320
+ Postcards as Postcards,
321
+ type Postcard as Postcard,
322
+ type PostcardRetrieveURLResponse as PostcardRetrieveURLResponse,
323
+ type PostcardsSkipLimit as PostcardsSkipLimit,
324
+ type PostcardCreateParams as PostcardCreateParams,
325
+ type PostcardListParams as PostcardListParams,
326
+ type PostcardCancelParams as PostcardCancelParams,
339
327
  };
340
328
 
341
329
  export {
@@ -348,17 +336,6 @@ export declare namespace PrintMail {
348
336
  type BankAccountListParams as BankAccountListParams,
349
337
  };
350
338
 
351
- export {
352
- Campaigns as Campaigns,
353
- type Campaign as Campaign,
354
- type CampaignDeleteResponse as CampaignDeleteResponse,
355
- type CampaignsSkipLimit as CampaignsSkipLimit,
356
- type CampaignCreateParams as CampaignCreateParams,
357
- type CampaignUpdateParams as CampaignUpdateParams,
358
- type CampaignListParams as CampaignListParams,
359
- type CampaignSendParams as CampaignSendParams,
360
- };
361
-
362
339
  export {
363
340
  Cheques as Cheques,
364
341
  type Cheque as Cheque,
@@ -368,29 +345,27 @@ export declare namespace PrintMail {
368
345
  type ChequesSkipLimit as ChequesSkipLimit,
369
346
  type ChequeCreateParams as ChequeCreateParams,
370
347
  type ChequeListParams as ChequeListParams,
348
+ type ChequeCancelParams as ChequeCancelParams,
371
349
  };
372
350
 
373
351
  export {
374
- Contacts as Contacts,
375
- type Contact as Contact,
376
- type ContactCreate as ContactCreate,
377
- type ContactDeleteResponse as ContactDeleteResponse,
378
- type ContactsSkipLimit as ContactsSkipLimit,
379
- type ContactCreateParams as ContactCreateParams,
380
- type ContactListParams as ContactListParams,
352
+ SelfMailers as SelfMailers,
353
+ type SelfMailer as SelfMailer,
354
+ type SelfMailerRetrieveURLResponse as SelfMailerRetrieveURLResponse,
355
+ type SelfMailersSkipLimit as SelfMailersSkipLimit,
356
+ type SelfMailerCreateParams as SelfMailerCreateParams,
357
+ type SelfMailerListParams as SelfMailerListParams,
381
358
  };
382
359
 
383
360
  export {
384
- Letters as Letters,
385
- type AddressPlacement as AddressPlacement,
386
- type AttachedPdf as AttachedPdf,
387
- type Letter as Letter,
388
- type LetterSize as LetterSize,
389
- type PlasticCard as PlasticCard,
390
- type LetterRetrieveURLResponse as LetterRetrieveURLResponse,
391
- type LettersSkipLimit as LettersSkipLimit,
392
- type LetterCreateParams as LetterCreateParams,
393
- type LetterListParams as LetterListParams,
361
+ Campaigns as Campaigns,
362
+ type Campaign as Campaign,
363
+ type CampaignDeleteResponse as CampaignDeleteResponse,
364
+ type CampaignsSkipLimit as CampaignsSkipLimit,
365
+ type CampaignCreateParams as CampaignCreateParams,
366
+ type CampaignUpdateParams as CampaignUpdateParams,
367
+ type CampaignListParams as CampaignListParams,
368
+ type CampaignSendParams as CampaignSendParams,
394
369
  };
395
370
 
396
371
  export {
@@ -417,17 +392,6 @@ export declare namespace PrintMail {
417
392
  type MailingListJobsParams as MailingListJobsParams,
418
393
  };
419
394
 
420
- export { OrderProfiles as OrderProfiles };
421
-
422
- export {
423
- Postcards as Postcards,
424
- type Postcard as Postcard,
425
- type PostcardRetrieveURLResponse as PostcardRetrieveURLResponse,
426
- type PostcardsSkipLimit as PostcardsSkipLimit,
427
- type PostcardCreateParams as PostcardCreateParams,
428
- type PostcardListParams as PostcardListParams,
429
- };
430
-
431
395
  export {
432
396
  Reports as Reports,
433
397
  type DeletedResponse as DeletedResponse,
@@ -439,34 +403,76 @@ export declare namespace PrintMail {
439
403
  type ReportSampleParams as ReportSampleParams,
440
404
  };
441
405
 
442
- export {
443
- SelfMailers as SelfMailers,
444
- type SelfMailer as SelfMailer,
445
- type SelfMailerRetrieveURLResponse as SelfMailerRetrieveURLResponse,
446
- type SelfMailersSkipLimit as SelfMailersSkipLimit,
447
- type SelfMailerCreateParams as SelfMailerCreateParams,
448
- type SelfMailerListParams as SelfMailerListParams,
449
- };
450
-
451
406
  export {
452
407
  SubOrganizations as SubOrganizations,
453
408
  type EmailPreferences as EmailPreferences,
454
409
  type SubOrganization as SubOrganization,
455
- type SubOrganizationUpdateResponse as SubOrganizationUpdateResponse,
410
+ type SubOrganizationCreateResponse as SubOrganizationCreateResponse,
456
411
  type SubOrganizationRetrieveUsersResponse as SubOrganizationRetrieveUsersResponse,
457
412
  type SubOrganizationsSkipLimit as SubOrganizationsSkipLimit,
458
- type SubOrganizationUpdateParams as SubOrganizationUpdateParams,
413
+ type SubOrganizationCreateParams as SubOrganizationCreateParams,
459
414
  type SubOrganizationListParams as SubOrganizationListParams,
460
415
  type SubOrganizationRetrieveUsersParams as SubOrganizationRetrieveUsersParams,
461
416
  };
462
417
 
463
418
  export {
464
- Templates as Templates,
465
- type Template as Template,
466
- type TemplateDeleteResponse as TemplateDeleteResponse,
467
- type TemplatesSkipLimit as TemplatesSkipLimit,
468
- type TemplateCreateParams as TemplateCreateParams,
469
- type TemplateUpdateParams as TemplateUpdateParams,
470
- type TemplateListParams as TemplateListParams,
419
+ Boxes as Boxes,
420
+ type BoxCreateResponse as BoxCreateResponse,
421
+ type BoxRetrieveResponse as BoxRetrieveResponse,
422
+ type BoxListResponse as BoxListResponse,
423
+ type BoxDeleteResponse as BoxDeleteResponse,
424
+ type BoxProgressionsResponse as BoxProgressionsResponse,
425
+ type BoxListResponsesSkipLimit as BoxListResponsesSkipLimit,
426
+ type BoxCreateParams as BoxCreateParams,
427
+ type BoxListParams as BoxListParams,
428
+ };
429
+
430
+ export {
431
+ SnapPacks as SnapPacks,
432
+ type SnapPackCreateResponse as SnapPackCreateResponse,
433
+ type SnapPackRetrieveResponse as SnapPackRetrieveResponse,
434
+ type SnapPackListResponse as SnapPackListResponse,
435
+ type SnapPackDeleteResponse as SnapPackDeleteResponse,
436
+ type SnapPackProgressionsResponse as SnapPackProgressionsResponse,
437
+ type SnapPackRetrieveCapabilitiesResponse as SnapPackRetrieveCapabilitiesResponse,
438
+ type SnapPackListResponsesSkipLimit as SnapPackListResponsesSkipLimit,
439
+ type SnapPackCreateParams as SnapPackCreateParams,
440
+ type SnapPackListParams as SnapPackListParams,
441
+ type SnapPackRetrieveCapabilitiesParams as SnapPackRetrieveCapabilitiesParams,
442
+ };
443
+
444
+ export {
445
+ TargetedListBuilds as TargetedListBuilds,
446
+ type TargetedListBuildCreateResponse as TargetedListBuildCreateResponse,
447
+ type TargetedListBuildRetrieveResponse as TargetedListBuildRetrieveResponse,
448
+ type TargetedListBuildUpdateResponse as TargetedListBuildUpdateResponse,
449
+ type TargetedListBuildListResponse as TargetedListBuildListResponse,
450
+ type TargetedListBuildDeleteResponse as TargetedListBuildDeleteResponse,
451
+ type TargetedListBuildConfirmResponse as TargetedListBuildConfirmResponse,
452
+ type TargetedListBuildListResponsesSkipLimit as TargetedListBuildListResponsesSkipLimit,
453
+ type TargetedListBuildCreateParams as TargetedListBuildCreateParams,
454
+ type TargetedListBuildUpdateParams as TargetedListBuildUpdateParams,
455
+ type TargetedListBuildListParams as TargetedListBuildListParams,
456
+ };
457
+
458
+ export {
459
+ TemplateEditorSessions as TemplateEditorSessions,
460
+ type TemplateEditorSessionCreateResponse as TemplateEditorSessionCreateResponse,
461
+ type TemplateEditorSessionListResponse as TemplateEditorSessionListResponse,
462
+ type TemplateEditorSessionDeleteResponse as TemplateEditorSessionDeleteResponse,
463
+ type TemplateEditorSessionListResponsesSkipLimit as TemplateEditorSessionListResponsesSkipLimit,
464
+ type TemplateEditorSessionCreateParams as TemplateEditorSessionCreateParams,
465
+ type TemplateEditorSessionListParams as TemplateEditorSessionListParams,
466
+ };
467
+
468
+ export {
469
+ VirtualMailboxes as VirtualMailboxes,
470
+ type VirtualMailboxCreateResponse as VirtualMailboxCreateResponse,
471
+ type VirtualMailboxRetrieveResponse as VirtualMailboxRetrieveResponse,
472
+ type VirtualMailboxListResponse as VirtualMailboxListResponse,
473
+ type VirtualMailboxRetrieveAddressResponse as VirtualMailboxRetrieveAddressResponse,
474
+ type VirtualMailboxListResponsesSkipLimit as VirtualMailboxListResponsesSkipLimit,
475
+ type VirtualMailboxCreateParams as VirtualMailboxCreateParams,
476
+ type VirtualMailboxListParams as VirtualMailboxListParams,
471
477
  };
472
478
  }
@@ -6,6 +6,13 @@ import { APIPromise } from '../../../core/api-promise';
6
6
  import { RequestOptions } from '../../../internal/request-options';
7
7
  import { path } from '../../../internal/utils/path';
8
8
 
9
+ /**
10
+ * The reports API lets you run SQL queries against a data lake with all of your PostGrid data. You can use this to run ad-hoc SQL queries or save them as reports. You can bulk export data from these reports to fit all of your reporting needs.
11
+ * Note that the data this API provides may be up to 2 hours behind your current PostGrid environment.
12
+ * Your test and live data lakes are fully segregated, so you'll need a live API key to run queries against your live data.
13
+ *
14
+ * You can request access to this to this feature by reaching out to support@postgrid.com
15
+ */
9
16
  export class Exports extends APIResource {
10
17
  /**
11
18
  * Create a new export job for a saved report. This runs the report's query
@@ -16,6 +16,13 @@ import { PagePromise, SkipLimit, type SkipLimitParams } from '../../../core/pagi
16
16
  import { RequestOptions } from '../../../internal/request-options';
17
17
  import { path } from '../../../internal/utils/path';
18
18
 
19
+ /**
20
+ * The reports API lets you run SQL queries against a data lake with all of your PostGrid data. You can use this to run ad-hoc SQL queries or save them as reports. You can bulk export data from these reports to fit all of your reporting needs.
21
+ * Note that the data this API provides may be up to 2 hours behind your current PostGrid environment.
22
+ * Your test and live data lakes are fully segregated, so you'll need a live API key to run queries against your live data.
23
+ *
24
+ * You can request access to this to this feature by reaching out to support@postgrid.com
25
+ */
19
26
  export class Reports extends APIResource {
20
27
  samples: SamplesAPI.Samples = new SamplesAPI.Samples(this._client);
21
28
  exports: ExportsAPI.Exports = new ExportsAPI.Exports(this._client);
@@ -5,6 +5,13 @@ import { APIPromise } from '../../../core/api-promise';
5
5
  import { RequestOptions } from '../../../internal/request-options';
6
6
  import { path } from '../../../internal/utils/path';
7
7
 
8
+ /**
9
+ * The reports API lets you run SQL queries against a data lake with all of your PostGrid data. You can use this to run ad-hoc SQL queries or save them as reports. You can bulk export data from these reports to fit all of your reporting needs.
10
+ * Note that the data this API provides may be up to 2 hours behind your current PostGrid environment.
11
+ * Your test and live data lakes are fully segregated, so you'll need a live API key to run queries against your live data.
12
+ *
13
+ * You can request access to this to this feature by reaching out to support@postgrid.com
14
+ */
8
15
  export class Samples extends APIResource {
9
16
  /**
10
17
  * Run the query associated with a saved report and get a sample of the results.