postgrid-node 0.4.2 → 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.
- package/CHANGELOG.md +93 -0
- package/LICENSE +1 -1
- package/README.md +15 -12
- package/client.d.mts +35 -15
- package/client.d.mts.map +1 -1
- package/client.d.ts +35 -15
- package/client.d.ts.map +1 -1
- package/client.js +61 -15
- package/client.js.map +1 -1
- package/client.mjs +62 -16
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +3 -2
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +3 -2
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/query.d.mts +5 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +5 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +23 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +20 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +9 -3
- package/resources/address-verification.d.mts +1689 -15
- package/resources/address-verification.d.mts.map +1 -1
- package/resources/address-verification.d.ts +1689 -15
- package/resources/address-verification.d.ts.map +1 -1
- package/resources/address-verification.js +200 -0
- package/resources/address-verification.js.map +1 -1
- package/resources/address-verification.mjs +200 -0
- package/resources/address-verification.mjs.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- 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/intl-address-verification.d.mts +956 -35
- package/resources/intl-address-verification.d.mts.map +1 -1
- package/resources/intl-address-verification.d.ts +956 -35
- package/resources/intl-address-verification.d.ts.map +1 -1
- package/resources/intl-address-verification.js +121 -27
- package/resources/intl-address-verification.js.map +1 -1
- package/resources/intl-address-verification.mjs +121 -27
- package/resources/intl-address-verification.mjs.map +1 -1
- package/resources/print-mail/boxes.d.mts +733 -59
- package/resources/print-mail/boxes.d.mts.map +1 -1
- package/resources/print-mail/boxes.d.ts +733 -59
- package/resources/print-mail/boxes.d.ts.map +1 -1
- package/resources/print-mail/boxes.js +19 -1
- package/resources/print-mail/boxes.js.map +1 -1
- package/resources/print-mail/boxes.mjs +19 -1
- package/resources/print-mail/boxes.mjs.map +1 -1
- package/resources/print-mail/campaigns.d.mts +923 -34
- package/resources/print-mail/campaigns.d.mts.map +1 -1
- package/resources/print-mail/campaigns.d.ts +923 -34
- package/resources/print-mail/campaigns.d.ts.map +1 -1
- package/resources/print-mail/campaigns.js +10 -3
- package/resources/print-mail/campaigns.js.map +1 -1
- package/resources/print-mail/campaigns.mjs +10 -3
- package/resources/print-mail/campaigns.mjs.map +1 -1
- package/resources/print-mail/cheques.d.mts +60 -11
- package/resources/print-mail/cheques.d.mts.map +1 -1
- package/resources/print-mail/cheques.d.ts +60 -11
- package/resources/print-mail/cheques.d.ts.map +1 -1
- package/resources/print-mail/cheques.js +32 -0
- package/resources/print-mail/cheques.js.map +1 -1
- package/resources/print-mail/cheques.mjs +32 -0
- package/resources/print-mail/cheques.mjs.map +1 -1
- package/resources/print-mail/contacts.d.mts +138 -3
- package/resources/print-mail/contacts.d.mts.map +1 -1
- package/resources/print-mail/contacts.d.ts +138 -3
- package/resources/print-mail/contacts.d.ts.map +1 -1
- package/resources/print-mail/contacts.js.map +1 -1
- package/resources/print-mail/contacts.mjs.map +1 -1
- package/resources/print-mail/index.d.mts +12 -8
- package/resources/print-mail/index.d.mts.map +1 -1
- package/resources/print-mail/index.d.ts +12 -8
- package/resources/print-mail/index.d.ts.map +1 -1
- package/resources/print-mail/index.js +13 -5
- package/resources/print-mail/index.js.map +1 -1
- package/resources/print-mail/index.mjs +5 -1
- package/resources/print-mail/index.mjs.map +1 -1
- package/resources/print-mail/letters.d.mts +62 -13
- package/resources/print-mail/letters.d.mts.map +1 -1
- package/resources/print-mail/letters.d.ts +62 -13
- package/resources/print-mail/letters.d.ts.map +1 -1
- package/resources/print-mail/letters.js +32 -0
- package/resources/print-mail/letters.js.map +1 -1
- package/resources/print-mail/letters.mjs +32 -0
- package/resources/print-mail/letters.mjs.map +1 -1
- package/resources/print-mail/mailing-list-imports.d.mts +5 -1
- package/resources/print-mail/mailing-list-imports.d.mts.map +1 -1
- package/resources/print-mail/mailing-list-imports.d.ts +5 -1
- package/resources/print-mail/mailing-list-imports.d.ts.map +1 -1
- package/resources/print-mail/mailing-list-imports.js +4 -0
- package/resources/print-mail/mailing-list-imports.js.map +1 -1
- package/resources/print-mail/mailing-list-imports.mjs +4 -0
- package/resources/print-mail/mailing-list-imports.mjs.map +1 -1
- package/resources/print-mail/mailing-lists.d.mts +5 -1
- package/resources/print-mail/mailing-lists.d.mts.map +1 -1
- package/resources/print-mail/mailing-lists.d.ts +5 -1
- package/resources/print-mail/mailing-lists.d.ts.map +1 -1
- package/resources/print-mail/mailing-lists.js +4 -0
- package/resources/print-mail/mailing-lists.js.map +1 -1
- package/resources/print-mail/mailing-lists.mjs +4 -0
- package/resources/print-mail/mailing-lists.mjs.map +1 -1
- package/resources/print-mail/postcards.d.mts +90 -21
- package/resources/print-mail/postcards.d.mts.map +1 -1
- package/resources/print-mail/postcards.d.ts +90 -21
- package/resources/print-mail/postcards.d.ts.map +1 -1
- package/resources/print-mail/postcards.js +33 -0
- package/resources/print-mail/postcards.js.map +1 -1
- package/resources/print-mail/postcards.mjs +33 -0
- package/resources/print-mail/postcards.mjs.map +1 -1
- package/resources/print-mail/print-mail.d.mts +41 -162
- package/resources/print-mail/print-mail.d.mts.map +1 -1
- package/resources/print-mail/print-mail.d.ts +41 -162
- package/resources/print-mail/print-mail.d.ts.map +1 -1
- package/resources/print-mail/print-mail.js +34 -18
- package/resources/print-mail/print-mail.js.map +1 -1
- package/resources/print-mail/print-mail.mjs +34 -18
- package/resources/print-mail/print-mail.mjs.map +1 -1
- package/resources/print-mail/reports/exports.d.mts +7 -0
- package/resources/print-mail/reports/exports.d.mts.map +1 -1
- package/resources/print-mail/reports/exports.d.ts +7 -0
- package/resources/print-mail/reports/exports.d.ts.map +1 -1
- package/resources/print-mail/reports/exports.js +7 -0
- package/resources/print-mail/reports/exports.js.map +1 -1
- package/resources/print-mail/reports/exports.mjs +7 -0
- package/resources/print-mail/reports/exports.mjs.map +1 -1
- package/resources/print-mail/reports/reports.d.mts +7 -0
- package/resources/print-mail/reports/reports.d.mts.map +1 -1
- package/resources/print-mail/reports/reports.d.ts +7 -0
- package/resources/print-mail/reports/reports.d.ts.map +1 -1
- package/resources/print-mail/reports/reports.js +7 -0
- package/resources/print-mail/reports/reports.js.map +1 -1
- package/resources/print-mail/reports/reports.mjs +7 -0
- package/resources/print-mail/reports/reports.mjs.map +1 -1
- package/resources/print-mail/reports/samples.d.mts +7 -0
- package/resources/print-mail/reports/samples.d.mts.map +1 -1
- package/resources/print-mail/reports/samples.d.ts +7 -0
- package/resources/print-mail/reports/samples.d.ts.map +1 -1
- package/resources/print-mail/reports/samples.js +7 -0
- package/resources/print-mail/reports/samples.js.map +1 -1
- package/resources/print-mail/reports/samples.mjs +7 -0
- package/resources/print-mail/reports/samples.mjs.map +1 -1
- package/resources/print-mail/self-mailers.d.mts +52 -20
- package/resources/print-mail/self-mailers.d.mts.map +1 -1
- package/resources/print-mail/self-mailers.d.ts +52 -20
- package/resources/print-mail/self-mailers.d.ts.map +1 -1
- package/resources/print-mail/self-mailers.js +17 -0
- package/resources/print-mail/self-mailers.js.map +1 -1
- package/resources/print-mail/self-mailers.mjs +17 -0
- package/resources/print-mail/self-mailers.mjs.map +1 -1
- package/resources/print-mail/snap-packs.d.mts +1060 -0
- package/resources/print-mail/snap-packs.d.mts.map +1 -0
- package/resources/print-mail/snap-packs.d.ts +1060 -0
- package/resources/print-mail/snap-packs.d.ts.map +1 -0
- package/resources/print-mail/snap-packs.js +117 -0
- package/resources/print-mail/snap-packs.js.map +1 -0
- package/resources/print-mail/snap-packs.mjs +113 -0
- package/resources/print-mail/snap-packs.mjs.map +1 -0
- package/resources/print-mail/sub-organizations.d.mts +29 -17
- package/resources/print-mail/sub-organizations.d.mts.map +1 -1
- package/resources/print-mail/sub-organizations.d.ts +29 -17
- package/resources/print-mail/sub-organizations.d.ts.map +1 -1
- package/resources/print-mail/sub-organizations.js +26 -14
- package/resources/print-mail/sub-organizations.js.map +1 -1
- package/resources/print-mail/sub-organizations.mjs +26 -14
- package/resources/print-mail/sub-organizations.mjs.map +1 -1
- package/resources/print-mail/targeted-list-builds/filters.d.mts +92 -0
- package/resources/print-mail/targeted-list-builds/filters.d.mts.map +1 -0
- package/resources/print-mail/targeted-list-builds/filters.d.ts +92 -0
- package/resources/print-mail/targeted-list-builds/filters.d.ts.map +1 -0
- package/resources/print-mail/targeted-list-builds/filters.js +60 -0
- package/resources/print-mail/targeted-list-builds/filters.js.map +1 -0
- package/resources/print-mail/targeted-list-builds/filters.mjs +56 -0
- package/resources/print-mail/targeted-list-builds/filters.mjs.map +1 -0
- package/resources/print-mail/targeted-list-builds/index.d.mts +3 -0
- package/resources/print-mail/targeted-list-builds/index.d.mts.map +1 -0
- package/resources/print-mail/targeted-list-builds/index.d.ts +3 -0
- package/resources/print-mail/targeted-list-builds/index.d.ts.map +1 -0
- package/resources/print-mail/targeted-list-builds/index.js +9 -0
- package/resources/print-mail/targeted-list-builds/index.js.map +1 -0
- package/resources/print-mail/targeted-list-builds/index.mjs +4 -0
- package/resources/print-mail/targeted-list-builds/index.mjs.map +1 -0
- package/resources/print-mail/targeted-list-builds/targeted-list-builds.d.mts +1633 -0
- package/resources/print-mail/targeted-list-builds/targeted-list-builds.d.mts.map +1 -0
- package/resources/print-mail/targeted-list-builds/targeted-list-builds.d.ts +1633 -0
- package/resources/print-mail/targeted-list-builds/targeted-list-builds.d.ts.map +1 -0
- package/resources/print-mail/targeted-list-builds/targeted-list-builds.js +154 -0
- package/resources/print-mail/targeted-list-builds/targeted-list-builds.js.map +1 -0
- package/resources/print-mail/targeted-list-builds/targeted-list-builds.mjs +149 -0
- package/resources/print-mail/targeted-list-builds/targeted-list-builds.mjs.map +1 -0
- package/resources/print-mail/targeted-list-builds.d.mts +2 -0
- package/resources/print-mail/targeted-list-builds.d.mts.map +1 -0
- package/resources/print-mail/targeted-list-builds.d.ts +2 -0
- package/resources/print-mail/targeted-list-builds.d.ts.map +1 -0
- package/resources/print-mail/targeted-list-builds.js +6 -0
- package/resources/print-mail/targeted-list-builds.js.map +1 -0
- package/resources/print-mail/targeted-list-builds.mjs +3 -0
- package/resources/print-mail/targeted-list-builds.mjs.map +1 -0
- package/resources/print-mail/template-editor-sessions.d.mts +355 -0
- package/resources/print-mail/template-editor-sessions.d.mts.map +1 -0
- package/resources/print-mail/template-editor-sessions.d.ts +355 -0
- package/resources/print-mail/template-editor-sessions.d.ts.map +1 -0
- package/resources/print-mail/template-editor-sessions.js +78 -0
- package/resources/print-mail/template-editor-sessions.js.map +1 -0
- package/resources/print-mail/template-editor-sessions.mjs +74 -0
- package/resources/print-mail/template-editor-sessions.mjs.map +1 -0
- package/resources/print-mail/trackers.d.mts +409 -0
- package/resources/print-mail/trackers.d.mts.map +1 -0
- package/resources/print-mail/trackers.d.ts +409 -0
- package/resources/print-mail/trackers.d.ts.map +1 -0
- package/resources/print-mail/trackers.js +116 -0
- package/resources/print-mail/trackers.js.map +1 -0
- package/resources/print-mail/trackers.mjs +112 -0
- package/resources/print-mail/trackers.mjs.map +1 -0
- package/resources/print-mail/virtual-mailboxes/index.d.mts +3 -0
- package/resources/print-mail/virtual-mailboxes/index.d.mts.map +1 -0
- package/resources/print-mail/virtual-mailboxes/index.d.ts +3 -0
- package/resources/print-mail/virtual-mailboxes/index.d.ts.map +1 -0
- package/resources/print-mail/virtual-mailboxes/index.js +9 -0
- package/resources/print-mail/virtual-mailboxes/index.js.map +1 -0
- package/resources/print-mail/virtual-mailboxes/index.mjs +4 -0
- package/resources/print-mail/virtual-mailboxes/index.mjs.map +1 -0
- package/resources/print-mail/virtual-mailboxes/items.d.mts +235 -0
- package/resources/print-mail/virtual-mailboxes/items.d.mts.map +1 -0
- package/resources/print-mail/virtual-mailboxes/items.d.ts +235 -0
- package/resources/print-mail/virtual-mailboxes/items.d.ts.map +1 -0
- package/resources/print-mail/virtual-mailboxes/items.js +69 -0
- package/resources/print-mail/virtual-mailboxes/items.js.map +1 -0
- package/resources/print-mail/virtual-mailboxes/items.mjs +65 -0
- package/resources/print-mail/virtual-mailboxes/items.mjs.map +1 -0
- package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.d.mts +334 -0
- package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.d.mts.map +1 -0
- package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.d.ts +334 -0
- package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.d.ts.map +1 -0
- package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.js +92 -0
- package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.js.map +1 -0
- package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.mjs +87 -0
- package/resources/print-mail/virtual-mailboxes/virtual-mailboxes.mjs.map +1 -0
- package/resources/print-mail/virtual-mailboxes.d.mts +2 -0
- package/resources/print-mail/virtual-mailboxes.d.mts.map +1 -0
- package/resources/print-mail/virtual-mailboxes.d.ts +2 -0
- package/resources/print-mail/virtual-mailboxes.d.ts.map +1 -0
- package/resources/print-mail/{order-profiles.js → virtual-mailboxes.js} +2 -2
- package/resources/print-mail/virtual-mailboxes.js.map +1 -0
- package/resources/print-mail/virtual-mailboxes.mjs +3 -0
- package/resources/print-mail/virtual-mailboxes.mjs.map +1 -0
- package/src/client.ts +123 -33
- package/src/internal/parse.ts +6 -0
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/env.ts +2 -2
- package/src/internal/utils/log.ts +2 -1
- package/src/internal/utils/query.ts +23 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/address-verification.ts +2190 -24
- package/src/resources/index.ts +24 -5
- package/src/resources/intl-address-verification.ts +1219 -43
- package/src/resources/print-mail/boxes.ts +1011 -99
- package/src/resources/print-mail/campaigns.ts +1449 -59
- package/src/resources/print-mail/cheques.ts +122 -10
- package/src/resources/print-mail/contacts.ts +167 -4
- package/src/resources/print-mail/index.ts +74 -11
- package/src/resources/print-mail/letters.ts +150 -12
- package/src/resources/print-mail/mailing-list-imports.ts +5 -1
- package/src/resources/print-mail/mailing-lists.ts +5 -1
- package/src/resources/print-mail/postcards.ts +208 -20
- package/src/resources/print-mail/print-mail.ts +239 -261
- package/src/resources/print-mail/reports/exports.ts +7 -0
- package/src/resources/print-mail/reports/reports.ts +7 -0
- package/src/resources/print-mail/reports/samples.ts +7 -0
- package/src/resources/print-mail/self-mailers.ts +162 -20
- package/src/resources/print-mail/snap-packs.ts +1484 -0
- package/src/resources/print-mail/sub-organizations.ts +35 -23
- package/src/resources/print-mail/targeted-list-builds/filters.ts +113 -0
- package/src/resources/print-mail/targeted-list-builds/index.ts +16 -0
- package/src/resources/print-mail/targeted-list-builds/targeted-list-builds.ts +2158 -0
- package/{resources/print-mail/order-profiles.mjs → src/resources/print-mail/targeted-list-builds.ts} +2 -2
- package/src/resources/print-mail/template-editor-sessions.ts +435 -0
- package/src/resources/print-mail/trackers.ts +513 -0
- package/src/resources/print-mail/virtual-mailboxes/index.ts +22 -0
- package/src/resources/print-mail/virtual-mailboxes/items.ts +296 -0
- package/src/resources/print-mail/virtual-mailboxes/virtual-mailboxes.ts +434 -0
- package/src/resources/print-mail/{order-profiles.ts → virtual-mailboxes.ts} +1 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/internal/qs/formats.d.mts +0 -7
- package/internal/qs/formats.d.mts.map +0 -1
- package/internal/qs/formats.d.ts +0 -7
- package/internal/qs/formats.d.ts.map +0 -1
- package/internal/qs/formats.js +0 -13
- package/internal/qs/formats.js.map +0 -1
- package/internal/qs/formats.mjs +0 -9
- package/internal/qs/formats.mjs.map +0 -1
- package/internal/qs/index.d.mts +0 -10
- package/internal/qs/index.d.mts.map +0 -1
- package/internal/qs/index.d.ts +0 -10
- package/internal/qs/index.d.ts.map +0 -1
- package/internal/qs/index.js +0 -14
- package/internal/qs/index.js.map +0 -1
- package/internal/qs/index.mjs +0 -10
- package/internal/qs/index.mjs.map +0 -1
- package/internal/qs/stringify.d.mts +0 -3
- package/internal/qs/stringify.d.mts.map +0 -1
- package/internal/qs/stringify.d.ts +0 -3
- package/internal/qs/stringify.d.ts.map +0 -1
- package/internal/qs/stringify.js +0 -277
- package/internal/qs/stringify.js.map +0 -1
- package/internal/qs/stringify.mjs +0 -274
- package/internal/qs/stringify.mjs.map +0 -1
- package/internal/qs/types.d.mts +0 -57
- package/internal/qs/types.d.mts.map +0 -1
- package/internal/qs/types.d.ts +0 -57
- package/internal/qs/types.d.ts.map +0 -1
- package/internal/qs/types.js +0 -3
- package/internal/qs/types.js.map +0 -1
- package/internal/qs/types.mjs +0 -2
- package/internal/qs/types.mjs.map +0 -1
- package/internal/qs/utils.d.mts +0 -15
- package/internal/qs/utils.d.mts.map +0 -1
- package/internal/qs/utils.d.ts +0 -15
- package/internal/qs/utils.d.ts.map +0 -1
- package/internal/qs/utils.js +0 -230
- package/internal/qs/utils.js.map +0 -1
- package/internal/qs/utils.mjs +0 -217
- package/internal/qs/utils.mjs.map +0 -1
- package/resources/print-mail/order-profiles/cheques.d.mts +0 -388
- package/resources/print-mail/order-profiles/cheques.d.mts.map +0 -1
- package/resources/print-mail/order-profiles/cheques.d.ts +0 -388
- package/resources/print-mail/order-profiles/cheques.d.ts.map +0 -1
- package/resources/print-mail/order-profiles/cheques.js +0 -98
- package/resources/print-mail/order-profiles/cheques.js.map +0 -1
- package/resources/print-mail/order-profiles/cheques.mjs +0 -94
- package/resources/print-mail/order-profiles/cheques.mjs.map +0 -1
- package/resources/print-mail/order-profiles/index.d.mts +0 -6
- package/resources/print-mail/order-profiles/index.d.mts.map +0 -1
- package/resources/print-mail/order-profiles/index.d.ts +0 -6
- package/resources/print-mail/order-profiles/index.d.ts.map +0 -1
- package/resources/print-mail/order-profiles/index.js +0 -15
- package/resources/print-mail/order-profiles/index.js.map +0 -1
- package/resources/print-mail/order-profiles/index.mjs +0 -7
- package/resources/print-mail/order-profiles/index.mjs.map +0 -1
- package/resources/print-mail/order-profiles/letters.d.mts +0 -325
- package/resources/print-mail/order-profiles/letters.d.mts.map +0 -1
- package/resources/print-mail/order-profiles/letters.d.ts +0 -325
- package/resources/print-mail/order-profiles/letters.d.ts.map +0 -1
- package/resources/print-mail/order-profiles/letters.js +0 -105
- package/resources/print-mail/order-profiles/letters.js.map +0 -1
- package/resources/print-mail/order-profiles/letters.mjs +0 -101
- package/resources/print-mail/order-profiles/letters.mjs.map +0 -1
- package/resources/print-mail/order-profiles/order-profiles.d.mts +0 -22
- package/resources/print-mail/order-profiles/order-profiles.d.mts.map +0 -1
- package/resources/print-mail/order-profiles/order-profiles.d.ts +0 -22
- package/resources/print-mail/order-profiles/order-profiles.d.ts.map +0 -1
- package/resources/print-mail/order-profiles/order-profiles.js +0 -29
- package/resources/print-mail/order-profiles/order-profiles.js.map +0 -1
- package/resources/print-mail/order-profiles/order-profiles.mjs +0 -24
- package/resources/print-mail/order-profiles/order-profiles.mjs.map +0 -1
- package/resources/print-mail/order-profiles/postcards.d.mts +0 -255
- package/resources/print-mail/order-profiles/postcards.d.mts.map +0 -1
- package/resources/print-mail/order-profiles/postcards.d.ts +0 -255
- package/resources/print-mail/order-profiles/postcards.d.ts.map +0 -1
- package/resources/print-mail/order-profiles/postcards.js +0 -97
- package/resources/print-mail/order-profiles/postcards.js.map +0 -1
- package/resources/print-mail/order-profiles/postcards.mjs +0 -93
- package/resources/print-mail/order-profiles/postcards.mjs.map +0 -1
- package/resources/print-mail/order-profiles/self-mailers.d.mts +0 -260
- package/resources/print-mail/order-profiles/self-mailers.d.mts.map +0 -1
- package/resources/print-mail/order-profiles/self-mailers.d.ts +0 -260
- package/resources/print-mail/order-profiles/self-mailers.d.ts.map +0 -1
- package/resources/print-mail/order-profiles/self-mailers.js +0 -95
- package/resources/print-mail/order-profiles/self-mailers.js.map +0 -1
- package/resources/print-mail/order-profiles/self-mailers.mjs +0 -91
- package/resources/print-mail/order-profiles/self-mailers.mjs.map +0 -1
- package/resources/print-mail/order-profiles.d.mts +0 -2
- package/resources/print-mail/order-profiles.d.mts.map +0 -1
- package/resources/print-mail/order-profiles.d.ts +0 -2
- package/resources/print-mail/order-profiles.d.ts.map +0 -1
- package/resources/print-mail/order-profiles.js.map +0 -1
- package/resources/print-mail/order-profiles.mjs.map +0 -1
- package/src/internal/qs/LICENSE.md +0 -13
- package/src/internal/qs/README.md +0 -3
- package/src/internal/qs/formats.ts +0 -10
- package/src/internal/qs/index.ts +0 -13
- package/src/internal/qs/stringify.ts +0 -385
- package/src/internal/qs/types.ts +0 -71
- package/src/internal/qs/utils.ts +0 -265
- package/src/resources/print-mail/order-profiles/cheques.ts +0 -486
- package/src/resources/print-mail/order-profiles/index.ts +0 -47
- package/src/resources/print-mail/order-profiles/letters.ts +0 -412
- package/src/resources/print-mail/order-profiles/order-profiles.ts +0 -113
- package/src/resources/print-mail/order-profiles/postcards.ts +0 -327
- package/src/resources/print-mail/order-profiles/self-mailers.ts +0 -338
|
@@ -13,16 +13,15 @@ import {
|
|
|
13
13
|
} from './bank-accounts';
|
|
14
14
|
import * as BoxesAPI from './boxes';
|
|
15
15
|
import {
|
|
16
|
-
Box,
|
|
17
|
-
BoxChequeBase,
|
|
18
16
|
BoxCreateParams,
|
|
17
|
+
BoxCreateResponse,
|
|
18
|
+
BoxDeleteResponse,
|
|
19
19
|
BoxListParams,
|
|
20
|
+
BoxListResponse,
|
|
21
|
+
BoxListResponsesSkipLimit,
|
|
22
|
+
BoxProgressionsResponse,
|
|
23
|
+
BoxRetrieveResponse,
|
|
20
24
|
Boxes,
|
|
21
|
-
BoxesSkipLimit,
|
|
22
|
-
Cancellation,
|
|
23
|
-
OrderImbStatus,
|
|
24
|
-
OrderMailingClass,
|
|
25
|
-
OrderStatus,
|
|
26
25
|
} from './boxes';
|
|
27
26
|
import * as CampaignsAPI from './campaigns';
|
|
28
27
|
import {
|
|
@@ -38,6 +37,7 @@ import {
|
|
|
38
37
|
import * as ChequesAPI from './cheques';
|
|
39
38
|
import {
|
|
40
39
|
Cheque,
|
|
40
|
+
ChequeCancelParams,
|
|
41
41
|
ChequeCreateParams,
|
|
42
42
|
ChequeListParams,
|
|
43
43
|
ChequeRetrieveURLResponse,
|
|
@@ -51,6 +51,8 @@ import {
|
|
|
51
51
|
Contact,
|
|
52
52
|
ContactCreate,
|
|
53
53
|
ContactCreateParams,
|
|
54
|
+
ContactCreateWithCompanyName,
|
|
55
|
+
ContactCreateWithFirstName,
|
|
54
56
|
ContactDeleteResponse,
|
|
55
57
|
ContactListParams,
|
|
56
58
|
Contacts,
|
|
@@ -61,6 +63,7 @@ import {
|
|
|
61
63
|
AddressPlacement,
|
|
62
64
|
AttachedPdf,
|
|
63
65
|
Letter,
|
|
66
|
+
LetterCancelParams,
|
|
64
67
|
LetterCreateParams,
|
|
65
68
|
LetterListParams,
|
|
66
69
|
LetterRetrieveURLResponse,
|
|
@@ -96,6 +99,7 @@ import {
|
|
|
96
99
|
import * as PostcardsAPI from './postcards';
|
|
97
100
|
import {
|
|
98
101
|
Postcard,
|
|
102
|
+
PostcardCancelParams,
|
|
99
103
|
PostcardCreateParams,
|
|
100
104
|
PostcardListParams,
|
|
101
105
|
PostcardRetrieveURLResponse,
|
|
@@ -111,18 +115,42 @@ import {
|
|
|
111
115
|
SelfMailers,
|
|
112
116
|
SelfMailersSkipLimit,
|
|
113
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';
|
|
114
132
|
import * as SubOrganizationsAPI from './sub-organizations';
|
|
115
133
|
import {
|
|
116
134
|
EmailPreferences,
|
|
117
135
|
SubOrganization,
|
|
136
|
+
SubOrganizationCreateParams,
|
|
137
|
+
SubOrganizationCreateResponse,
|
|
118
138
|
SubOrganizationListParams,
|
|
119
139
|
SubOrganizationRetrieveUsersParams,
|
|
120
140
|
SubOrganizationRetrieveUsersResponse,
|
|
121
|
-
SubOrganizationUpdateParams,
|
|
122
|
-
SubOrganizationUpdateResponse,
|
|
123
141
|
SubOrganizations,
|
|
124
142
|
SubOrganizationsSkipLimit,
|
|
125
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';
|
|
126
154
|
import * as TemplatesAPI from './templates';
|
|
127
155
|
import {
|
|
128
156
|
Template,
|
|
@@ -133,8 +161,22 @@ import {
|
|
|
133
161
|
Templates,
|
|
134
162
|
TemplatesSkipLimit,
|
|
135
163
|
} from './templates';
|
|
136
|
-
import * as
|
|
137
|
-
import {
|
|
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';
|
|
138
180
|
import * as ReportsAPI from './reports/reports';
|
|
139
181
|
import {
|
|
140
182
|
DeletedResponse,
|
|
@@ -146,211 +188,142 @@ import {
|
|
|
146
188
|
Reports,
|
|
147
189
|
ReportsSkipLimit,
|
|
148
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';
|
|
149
216
|
|
|
150
217
|
export class PrintMail extends APIResource {
|
|
151
|
-
bankAccounts: BankAccountsAPI.BankAccounts = new BankAccountsAPI.BankAccounts(this._client);
|
|
152
|
-
boxes: BoxesAPI.Boxes = new BoxesAPI.Boxes(this._client);
|
|
153
|
-
campaigns: CampaignsAPI.Campaigns = new CampaignsAPI.Campaigns(this._client);
|
|
154
|
-
cheques: ChequesAPI.Cheques = new ChequesAPI.Cheques(this._client);
|
|
155
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);
|
|
156
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);
|
|
157
227
|
mailingListImports: MailingListImportsAPI.MailingListImports = new MailingListImportsAPI.MailingListImports(
|
|
158
228
|
this._client,
|
|
159
229
|
);
|
|
160
230
|
mailingLists: MailingListsAPI.MailingLists = new MailingListsAPI.MailingLists(this._client);
|
|
161
|
-
orderProfiles: OrderProfilesAPI.OrderProfiles = new OrderProfilesAPI.OrderProfiles(this._client);
|
|
162
|
-
postcards: PostcardsAPI.Postcards = new PostcardsAPI.Postcards(this._client);
|
|
163
231
|
reports: ReportsAPI.Reports = new ReportsAPI.Reports(this._client);
|
|
164
|
-
selfMailers: SelfMailersAPI.SelfMailers = new SelfMailersAPI.SelfMailers(this._client);
|
|
165
232
|
subOrganizations: SubOrganizationsAPI.SubOrganizations = new SubOrganizationsAPI.SubOrganizations(
|
|
166
233
|
this._client,
|
|
167
234
|
);
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* The ISO 3611-1 country code of the contact's address.
|
|
181
|
-
*/
|
|
182
|
-
countryCode: string;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* Second line of the contact's address, if applicable.
|
|
186
|
-
*/
|
|
187
|
-
addressLine2?: string;
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* The city of the contact's address.
|
|
191
|
-
*/
|
|
192
|
-
city?: string;
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* An optional string describing this resource. Will be visible in the API and the
|
|
196
|
-
* dashboard.
|
|
197
|
-
*/
|
|
198
|
-
description?: string;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Email of the contact.
|
|
202
|
-
*/
|
|
203
|
-
email?: string;
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* First name of the contact.
|
|
207
|
-
*/
|
|
208
|
-
firstName?: string;
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* If `true`, PostGrid will force this contact to have an `addressStatus` of
|
|
212
|
-
* `verified` even if our address verification system says otherwise.
|
|
213
|
-
*/
|
|
214
|
-
forceVerifiedStatus?: boolean;
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* Job title of the contact.
|
|
218
|
-
*/
|
|
219
|
-
jobTitle?: string;
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Last name of the contact.
|
|
223
|
-
*/
|
|
224
|
-
lastName?: string;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* See the section on Metadata.
|
|
228
|
-
*/
|
|
229
|
-
metadata?: { [key: string]: unknown };
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Phone number of the contact.
|
|
233
|
-
*/
|
|
234
|
-
phoneNumber?: string;
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* The postal or ZIP code of the contact's address.
|
|
238
|
-
*/
|
|
239
|
-
postalOrZip?: string;
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* Province or state of the contact's address.
|
|
243
|
-
*/
|
|
244
|
-
provinceOrState?: string;
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* If `true`, PostGrid will skip running this contact's address through our address
|
|
248
|
-
* verification system.
|
|
249
|
-
*/
|
|
250
|
-
skipVerification?: boolean;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
export interface ContactCreateWithFirstName {
|
|
254
|
-
/**
|
|
255
|
-
* The first line of the contact's address.
|
|
256
|
-
*/
|
|
257
|
-
addressLine1: string;
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* The ISO 3611-1 country code of the contact's address.
|
|
261
|
-
*/
|
|
262
|
-
countryCode: string;
|
|
263
|
-
|
|
264
|
-
firstName: string;
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* Second line of the contact's address, if applicable.
|
|
268
|
-
*/
|
|
269
|
-
addressLine2?: string;
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* The city of the contact's address.
|
|
273
|
-
*/
|
|
274
|
-
city?: string;
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* Company name of the contact.
|
|
278
|
-
*/
|
|
279
|
-
companyName?: string;
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* An optional string describing this resource. Will be visible in the API and the
|
|
283
|
-
* dashboard.
|
|
284
|
-
*/
|
|
285
|
-
description?: string;
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* Email of the contact.
|
|
289
|
-
*/
|
|
290
|
-
email?: string;
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* If `true`, PostGrid will force this contact to have an `addressStatus` of
|
|
294
|
-
* `verified` even if our address verification system says otherwise.
|
|
295
|
-
*/
|
|
296
|
-
forceVerifiedStatus?: boolean;
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* Job title of the contact.
|
|
300
|
-
*/
|
|
301
|
-
jobTitle?: string;
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* Last name of the contact.
|
|
305
|
-
*/
|
|
306
|
-
lastName?: string;
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* See the section on Metadata.
|
|
310
|
-
*/
|
|
311
|
-
metadata?: { [key: string]: unknown };
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* Phone number of the contact.
|
|
315
|
-
*/
|
|
316
|
-
phoneNumber?: string;
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* The postal or ZIP code of the contact's address.
|
|
320
|
-
*/
|
|
321
|
-
postalOrZip?: string;
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* Province or state of the contact's address.
|
|
325
|
-
*/
|
|
326
|
-
provinceOrState?: string;
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* If `true`, PostGrid will skip running this contact's address through our address
|
|
330
|
-
* verification system.
|
|
331
|
-
*/
|
|
332
|
-
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
|
+
);
|
|
333
245
|
}
|
|
334
246
|
|
|
335
|
-
PrintMail.BankAccounts = BankAccounts;
|
|
336
|
-
PrintMail.Boxes = Boxes;
|
|
337
|
-
PrintMail.Campaigns = Campaigns;
|
|
338
|
-
PrintMail.Cheques = Cheques;
|
|
339
247
|
PrintMail.Contacts = Contacts;
|
|
248
|
+
PrintMail.Templates = Templates;
|
|
249
|
+
PrintMail.Trackers = Trackers;
|
|
340
250
|
PrintMail.Letters = Letters;
|
|
251
|
+
PrintMail.Postcards = Postcards;
|
|
252
|
+
PrintMail.BankAccounts = BankAccounts;
|
|
253
|
+
PrintMail.Cheques = Cheques;
|
|
254
|
+
PrintMail.SelfMailers = SelfMailers;
|
|
255
|
+
PrintMail.Campaigns = Campaigns;
|
|
341
256
|
PrintMail.MailingListImports = MailingListImports;
|
|
342
257
|
PrintMail.MailingLists = MailingLists;
|
|
343
|
-
PrintMail.OrderProfiles = OrderProfiles;
|
|
344
|
-
PrintMail.Postcards = Postcards;
|
|
345
258
|
PrintMail.Reports = Reports;
|
|
346
|
-
PrintMail.SelfMailers = SelfMailers;
|
|
347
259
|
PrintMail.SubOrganizations = SubOrganizations;
|
|
348
|
-
PrintMail.
|
|
260
|
+
PrintMail.Boxes = Boxes;
|
|
261
|
+
PrintMail.SnapPacks = SnapPacks;
|
|
262
|
+
PrintMail.TargetedListBuilds = TargetedListBuilds;
|
|
263
|
+
PrintMail.TemplateEditorSessions = TemplateEditorSessions;
|
|
264
|
+
PrintMail.VirtualMailboxes = VirtualMailboxes;
|
|
349
265
|
|
|
350
266
|
export declare namespace PrintMail {
|
|
351
267
|
export {
|
|
268
|
+
Contacts as Contacts,
|
|
269
|
+
type Contact as Contact,
|
|
270
|
+
type ContactCreate as ContactCreate,
|
|
352
271
|
type ContactCreateWithCompanyName as ContactCreateWithCompanyName,
|
|
353
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,
|
|
354
327
|
};
|
|
355
328
|
|
|
356
329
|
export {
|
|
@@ -363,30 +336,6 @@ export declare namespace PrintMail {
|
|
|
363
336
|
type BankAccountListParams as BankAccountListParams,
|
|
364
337
|
};
|
|
365
338
|
|
|
366
|
-
export {
|
|
367
|
-
Boxes as Boxes,
|
|
368
|
-
type Box as Box,
|
|
369
|
-
type BoxChequeBase as BoxChequeBase,
|
|
370
|
-
type Cancellation as Cancellation,
|
|
371
|
-
type OrderImbStatus as OrderImbStatus,
|
|
372
|
-
type OrderMailingClass as OrderMailingClass,
|
|
373
|
-
type OrderStatus as OrderStatus,
|
|
374
|
-
type BoxesSkipLimit as BoxesSkipLimit,
|
|
375
|
-
type BoxCreateParams as BoxCreateParams,
|
|
376
|
-
type BoxListParams as BoxListParams,
|
|
377
|
-
};
|
|
378
|
-
|
|
379
|
-
export {
|
|
380
|
-
Campaigns as Campaigns,
|
|
381
|
-
type Campaign as Campaign,
|
|
382
|
-
type CampaignDeleteResponse as CampaignDeleteResponse,
|
|
383
|
-
type CampaignsSkipLimit as CampaignsSkipLimit,
|
|
384
|
-
type CampaignCreateParams as CampaignCreateParams,
|
|
385
|
-
type CampaignUpdateParams as CampaignUpdateParams,
|
|
386
|
-
type CampaignListParams as CampaignListParams,
|
|
387
|
-
type CampaignSendParams as CampaignSendParams,
|
|
388
|
-
};
|
|
389
|
-
|
|
390
339
|
export {
|
|
391
340
|
Cheques as Cheques,
|
|
392
341
|
type Cheque as Cheque,
|
|
@@ -396,29 +345,27 @@ export declare namespace PrintMail {
|
|
|
396
345
|
type ChequesSkipLimit as ChequesSkipLimit,
|
|
397
346
|
type ChequeCreateParams as ChequeCreateParams,
|
|
398
347
|
type ChequeListParams as ChequeListParams,
|
|
348
|
+
type ChequeCancelParams as ChequeCancelParams,
|
|
399
349
|
};
|
|
400
350
|
|
|
401
351
|
export {
|
|
402
|
-
|
|
403
|
-
type
|
|
404
|
-
type
|
|
405
|
-
type
|
|
406
|
-
type
|
|
407
|
-
type
|
|
408
|
-
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,
|
|
409
358
|
};
|
|
410
359
|
|
|
411
360
|
export {
|
|
412
|
-
|
|
413
|
-
type
|
|
414
|
-
type
|
|
415
|
-
type
|
|
416
|
-
type
|
|
417
|
-
type
|
|
418
|
-
type
|
|
419
|
-
type
|
|
420
|
-
type LetterCreateParams as LetterCreateParams,
|
|
421
|
-
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,
|
|
422
369
|
};
|
|
423
370
|
|
|
424
371
|
export {
|
|
@@ -445,17 +392,6 @@ export declare namespace PrintMail {
|
|
|
445
392
|
type MailingListJobsParams as MailingListJobsParams,
|
|
446
393
|
};
|
|
447
394
|
|
|
448
|
-
export { OrderProfiles as OrderProfiles };
|
|
449
|
-
|
|
450
|
-
export {
|
|
451
|
-
Postcards as Postcards,
|
|
452
|
-
type Postcard as Postcard,
|
|
453
|
-
type PostcardRetrieveURLResponse as PostcardRetrieveURLResponse,
|
|
454
|
-
type PostcardsSkipLimit as PostcardsSkipLimit,
|
|
455
|
-
type PostcardCreateParams as PostcardCreateParams,
|
|
456
|
-
type PostcardListParams as PostcardListParams,
|
|
457
|
-
};
|
|
458
|
-
|
|
459
395
|
export {
|
|
460
396
|
Reports as Reports,
|
|
461
397
|
type DeletedResponse as DeletedResponse,
|
|
@@ -467,34 +403,76 @@ export declare namespace PrintMail {
|
|
|
467
403
|
type ReportSampleParams as ReportSampleParams,
|
|
468
404
|
};
|
|
469
405
|
|
|
470
|
-
export {
|
|
471
|
-
SelfMailers as SelfMailers,
|
|
472
|
-
type SelfMailer as SelfMailer,
|
|
473
|
-
type SelfMailerRetrieveURLResponse as SelfMailerRetrieveURLResponse,
|
|
474
|
-
type SelfMailersSkipLimit as SelfMailersSkipLimit,
|
|
475
|
-
type SelfMailerCreateParams as SelfMailerCreateParams,
|
|
476
|
-
type SelfMailerListParams as SelfMailerListParams,
|
|
477
|
-
};
|
|
478
|
-
|
|
479
406
|
export {
|
|
480
407
|
SubOrganizations as SubOrganizations,
|
|
481
408
|
type EmailPreferences as EmailPreferences,
|
|
482
409
|
type SubOrganization as SubOrganization,
|
|
483
|
-
type
|
|
410
|
+
type SubOrganizationCreateResponse as SubOrganizationCreateResponse,
|
|
484
411
|
type SubOrganizationRetrieveUsersResponse as SubOrganizationRetrieveUsersResponse,
|
|
485
412
|
type SubOrganizationsSkipLimit as SubOrganizationsSkipLimit,
|
|
486
|
-
type
|
|
413
|
+
type SubOrganizationCreateParams as SubOrganizationCreateParams,
|
|
487
414
|
type SubOrganizationListParams as SubOrganizationListParams,
|
|
488
415
|
type SubOrganizationRetrieveUsersParams as SubOrganizationRetrieveUsersParams,
|
|
489
416
|
};
|
|
490
417
|
|
|
491
418
|
export {
|
|
492
|
-
|
|
493
|
-
type
|
|
494
|
-
type
|
|
495
|
-
type
|
|
496
|
-
type
|
|
497
|
-
type
|
|
498
|
-
type
|
|
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,
|
|
499
477
|
};
|
|
500
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.
|