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.
- package/CHANGELOG.md +84 -0
- package/LICENSE +1 -1
- package/README.md +13 -10
- package/client.d.mts +30 -10
- package/client.d.mts.map +1 -1
- package/client.d.ts +30 -10
- package/client.d.ts.map +1 -1
- package/client.js +56 -10
- package/client.js.map +1 -1
- package/client.mjs +57 -11
- 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 +7 -1
- 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 +995 -0
- package/resources/print-mail/boxes.d.mts.map +1 -0
- package/resources/print-mail/boxes.d.ts +995 -0
- package/resources/print-mail/boxes.d.ts.map +1 -0
- package/resources/print-mail/boxes.js +103 -0
- package/resources/print-mail/boxes.js.map +1 -0
- package/resources/print-mail/boxes.mjs +99 -0
- package/resources/print-mail/boxes.mjs.map +1 -0
- 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 +35 -5
- package/resources/print-mail/cheques.d.mts.map +1 -1
- package/resources/print-mail/cheques.d.ts +35 -5
- 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 -7
- package/resources/print-mail/index.d.mts.map +1 -1
- package/resources/print-mail/index.d.ts +12 -7
- package/resources/print-mail/index.d.ts.map +1 -1
- package/resources/print-mail/index.js +15 -5
- package/resources/print-mail/index.js.map +1 -1
- package/resources/print-mail/index.mjs +6 -1
- package/resources/print-mail/index.mjs.map +1 -1
- package/resources/print-mail/letters.d.mts +36 -6
- package/resources/print-mail/letters.d.mts.map +1 -1
- package/resources/print-mail/letters.d.ts +36 -6
- 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 +63 -13
- package/resources/print-mail/postcards.d.mts.map +1 -1
- package/resources/print-mail/postcards.d.ts +63 -13
- 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 +42 -159
- package/resources/print-mail/print-mail.d.mts.map +1 -1
- package/resources/print-mail/print-mail.d.ts +42 -159
- package/resources/print-mail/print-mail.d.ts.map +1 -1
- package/resources/print-mail/print-mail.js +36 -16
- package/resources/print-mail/print-mail.js.map +1 -1
- package/resources/print-mail/print-mail.mjs +36 -16
- 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 +25 -12
- package/resources/print-mail/self-mailers.d.mts.map +1 -1
- package/resources/print-mail/self-mailers.d.ts +25 -12
- 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 +116 -26
- 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 +1324 -0
- package/src/resources/print-mail/campaigns.ts +1449 -59
- package/src/resources/print-mail/cheques.ts +42 -4
- package/src/resources/print-mail/contacts.ts +167 -4
- package/src/resources/print-mail/index.ts +79 -4
- package/src/resources/print-mail/letters.ts +43 -5
- 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 +74 -12
- package/src/resources/print-mail/print-mail.ts +245 -239
- 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 +28 -12
- 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 -387
- package/resources/print-mail/order-profiles/cheques.d.mts.map +0 -1
- package/resources/print-mail/order-profiles/cheques.d.ts +0 -387
- 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 -324
- package/resources/print-mail/order-profiles/letters.d.mts.map +0 -1
- package/resources/print-mail/order-profiles/letters.d.ts +0 -324
- 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 -254
- package/resources/print-mail/order-profiles/postcards.d.mts.map +0 -1
- package/resources/print-mail/order-profiles/postcards.d.ts +0 -254
- 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 -259
- package/resources/print-mail/order-profiles/self-mailers.d.mts.map +0 -1
- package/resources/print-mail/order-profiles/self-mailers.d.ts +0 -259
- 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 -589
- package/src/resources/print-mail/order-profiles/index.ts +0 -47
- package/src/resources/print-mail/order-profiles/letters.ts +0 -489
- package/src/resources/print-mail/order-profiles/order-profiles.ts +0 -113
- package/src/resources/print-mail/order-profiles/postcards.ts +0 -404
- package/src/resources/print-mail/order-profiles/self-mailers.ts +0 -415
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as ContactsAPI from "../contacts.mjs";
|
|
3
|
+
import * as ItemsAPI from "./items.mjs";
|
|
4
|
+
import { ItemCreateParams, ItemCreateResponse, ItemListParams, ItemListResponse, ItemListResponsesSkipLimit, ItemRetrieveParams, ItemRetrieveResponse, Items } from "./items.mjs";
|
|
5
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
6
|
+
import { PagePromise, SkipLimit, type SkipLimitParams } from "../../../core/pagination.mjs";
|
|
7
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
8
|
+
/**
|
|
9
|
+
* Virtual mailboxes let you receive, scan, and forward your physical mail
|
|
10
|
+
* without needing a traditional physical mailbox. Each mailbox is fully
|
|
11
|
+
* digital, giving you a unique ID, status, and a set of capabilities such as
|
|
12
|
+
* forwarding mail to another address or viewing envelope scans. This allows you
|
|
13
|
+
* to manage physical correspondence entirely online.
|
|
14
|
+
*
|
|
15
|
+
* You can request access to this feature by reaching out to
|
|
16
|
+
* support@postgrid.com
|
|
17
|
+
*/
|
|
18
|
+
export declare class VirtualMailboxes extends APIResource {
|
|
19
|
+
items: ItemsAPI.Items;
|
|
20
|
+
/**
|
|
21
|
+
* Creates a new virtual mailbox. In live mode, the virtual mailbox will be pending
|
|
22
|
+
* assignment and cannot be used until it has been assigned and activated by our
|
|
23
|
+
* team. You will be notified via email once the virtual mailbox has been
|
|
24
|
+
* activated. In test mode, the virtual mailbox will be activated immediately upon
|
|
25
|
+
* creation.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* const virtualMailbox =
|
|
30
|
+
* await client.printMail.virtualMailboxes.create({
|
|
31
|
+
* countryCode: 'US',
|
|
32
|
+
* capabilities: {
|
|
33
|
+
* envelopeScans: true,
|
|
34
|
+
* forwardMailTo: 'contact_pxd7wnnD1xY6H6etKNvjb4',
|
|
35
|
+
* },
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
create(body: VirtualMailboxCreateParams, options?: RequestOptions): APIPromise<VirtualMailboxCreateResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Retrieve Virtual Mailbox
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const virtualMailbox =
|
|
46
|
+
* await client.printMail.virtualMailboxes.retrieve('id');
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<VirtualMailboxRetrieveResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Lists virtual mailboxes. You can use the `skip`, `limit`, and `search` query
|
|
52
|
+
* parameters to refine the list.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* // Automatically fetches more pages as needed.
|
|
57
|
+
* for await (const virtualMailboxListResponse of client.printMail.virtualMailboxes.list()) {
|
|
58
|
+
* // ...
|
|
59
|
+
* }
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
list(query?: VirtualMailboxListParams | null | undefined, options?: RequestOptions): PagePromise<VirtualMailboxListResponsesSkipLimit, VirtualMailboxListResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Retrieves the physical address of the virtual mailbox.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* const response =
|
|
69
|
+
* await client.printMail.virtualMailboxes.retrieveAddress(
|
|
70
|
+
* 'id',
|
|
71
|
+
* );
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
retrieveAddress(id: string, options?: RequestOptions): APIPromise<VirtualMailboxRetrieveAddressResponse>;
|
|
75
|
+
}
|
|
76
|
+
export type VirtualMailboxListResponsesSkipLimit = SkipLimit<VirtualMailboxListResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* The virtual mailbox object.
|
|
79
|
+
*/
|
|
80
|
+
export interface VirtualMailboxCreateResponse {
|
|
81
|
+
/**
|
|
82
|
+
* A unique ID prefixed with virtual*mailbox*
|
|
83
|
+
*/
|
|
84
|
+
id: string;
|
|
85
|
+
/**
|
|
86
|
+
* All of the capabilities a virtual mailbox may have.
|
|
87
|
+
*/
|
|
88
|
+
capabilities: VirtualMailboxCreateResponse.Capabilities;
|
|
89
|
+
/**
|
|
90
|
+
* All of the supported countries for virtual mailboxes.
|
|
91
|
+
*/
|
|
92
|
+
countryCode: 'US';
|
|
93
|
+
/**
|
|
94
|
+
* The UTC time at which this resource was created.
|
|
95
|
+
*/
|
|
96
|
+
createdAt: string;
|
|
97
|
+
/**
|
|
98
|
+
* `true` if this is a live mode resource else `false`.
|
|
99
|
+
*/
|
|
100
|
+
live: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Always "virtual_mailbox".
|
|
103
|
+
*/
|
|
104
|
+
object: 'virtual_mailbox';
|
|
105
|
+
/**
|
|
106
|
+
* The possible statuses of virtual mailboxes.
|
|
107
|
+
*/
|
|
108
|
+
status: 'active' | 'pending_assignment';
|
|
109
|
+
/**
|
|
110
|
+
* The UTC time at which this resource was last updated.
|
|
111
|
+
*/
|
|
112
|
+
updatedAt: string;
|
|
113
|
+
/**
|
|
114
|
+
* An optional string describing this resource. Will be visible in the API and the
|
|
115
|
+
* dashboard.
|
|
116
|
+
*/
|
|
117
|
+
description?: string;
|
|
118
|
+
/**
|
|
119
|
+
* See the section on Metadata.
|
|
120
|
+
*/
|
|
121
|
+
metadata?: {
|
|
122
|
+
[key: string]: unknown;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
export declare namespace VirtualMailboxCreateResponse {
|
|
126
|
+
/**
|
|
127
|
+
* All of the capabilities a virtual mailbox may have.
|
|
128
|
+
*/
|
|
129
|
+
interface Capabilities {
|
|
130
|
+
/**
|
|
131
|
+
* Indicates if the virtual mailbox can produce scans of envelopes.
|
|
132
|
+
*/
|
|
133
|
+
envelopeScans: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* A contact to forward any returned mail to.
|
|
136
|
+
*/
|
|
137
|
+
forwardMailTo?: ContactsAPI.Contact;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* The virtual mailbox object.
|
|
142
|
+
*/
|
|
143
|
+
export interface VirtualMailboxRetrieveResponse {
|
|
144
|
+
/**
|
|
145
|
+
* A unique ID prefixed with virtual*mailbox*
|
|
146
|
+
*/
|
|
147
|
+
id: string;
|
|
148
|
+
/**
|
|
149
|
+
* All of the capabilities a virtual mailbox may have.
|
|
150
|
+
*/
|
|
151
|
+
capabilities: VirtualMailboxRetrieveResponse.Capabilities;
|
|
152
|
+
/**
|
|
153
|
+
* All of the supported countries for virtual mailboxes.
|
|
154
|
+
*/
|
|
155
|
+
countryCode: 'US';
|
|
156
|
+
/**
|
|
157
|
+
* The UTC time at which this resource was created.
|
|
158
|
+
*/
|
|
159
|
+
createdAt: string;
|
|
160
|
+
/**
|
|
161
|
+
* `true` if this is a live mode resource else `false`.
|
|
162
|
+
*/
|
|
163
|
+
live: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Always "virtual_mailbox".
|
|
166
|
+
*/
|
|
167
|
+
object: 'virtual_mailbox';
|
|
168
|
+
/**
|
|
169
|
+
* The possible statuses of virtual mailboxes.
|
|
170
|
+
*/
|
|
171
|
+
status: 'active' | 'pending_assignment';
|
|
172
|
+
/**
|
|
173
|
+
* The UTC time at which this resource was last updated.
|
|
174
|
+
*/
|
|
175
|
+
updatedAt: string;
|
|
176
|
+
/**
|
|
177
|
+
* An optional string describing this resource. Will be visible in the API and the
|
|
178
|
+
* dashboard.
|
|
179
|
+
*/
|
|
180
|
+
description?: string;
|
|
181
|
+
/**
|
|
182
|
+
* See the section on Metadata.
|
|
183
|
+
*/
|
|
184
|
+
metadata?: {
|
|
185
|
+
[key: string]: unknown;
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
export declare namespace VirtualMailboxRetrieveResponse {
|
|
189
|
+
/**
|
|
190
|
+
* All of the capabilities a virtual mailbox may have.
|
|
191
|
+
*/
|
|
192
|
+
interface Capabilities {
|
|
193
|
+
/**
|
|
194
|
+
* Indicates if the virtual mailbox can produce scans of envelopes.
|
|
195
|
+
*/
|
|
196
|
+
envelopeScans: boolean;
|
|
197
|
+
/**
|
|
198
|
+
* A contact to forward any returned mail to.
|
|
199
|
+
*/
|
|
200
|
+
forwardMailTo?: ContactsAPI.Contact;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* The virtual mailbox object.
|
|
205
|
+
*/
|
|
206
|
+
export interface VirtualMailboxListResponse {
|
|
207
|
+
/**
|
|
208
|
+
* A unique ID prefixed with virtual*mailbox*
|
|
209
|
+
*/
|
|
210
|
+
id: string;
|
|
211
|
+
/**
|
|
212
|
+
* All of the capabilities a virtual mailbox may have.
|
|
213
|
+
*/
|
|
214
|
+
capabilities: VirtualMailboxListResponse.Capabilities;
|
|
215
|
+
/**
|
|
216
|
+
* All of the supported countries for virtual mailboxes.
|
|
217
|
+
*/
|
|
218
|
+
countryCode: 'US';
|
|
219
|
+
/**
|
|
220
|
+
* The UTC time at which this resource was created.
|
|
221
|
+
*/
|
|
222
|
+
createdAt: string;
|
|
223
|
+
/**
|
|
224
|
+
* `true` if this is a live mode resource else `false`.
|
|
225
|
+
*/
|
|
226
|
+
live: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Always "virtual_mailbox".
|
|
229
|
+
*/
|
|
230
|
+
object: 'virtual_mailbox';
|
|
231
|
+
/**
|
|
232
|
+
* The possible statuses of virtual mailboxes.
|
|
233
|
+
*/
|
|
234
|
+
status: 'active' | 'pending_assignment';
|
|
235
|
+
/**
|
|
236
|
+
* The UTC time at which this resource was last updated.
|
|
237
|
+
*/
|
|
238
|
+
updatedAt: string;
|
|
239
|
+
/**
|
|
240
|
+
* An optional string describing this resource. Will be visible in the API and the
|
|
241
|
+
* dashboard.
|
|
242
|
+
*/
|
|
243
|
+
description?: string;
|
|
244
|
+
/**
|
|
245
|
+
* See the section on Metadata.
|
|
246
|
+
*/
|
|
247
|
+
metadata?: {
|
|
248
|
+
[key: string]: unknown;
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
export declare namespace VirtualMailboxListResponse {
|
|
252
|
+
/**
|
|
253
|
+
* All of the capabilities a virtual mailbox may have.
|
|
254
|
+
*/
|
|
255
|
+
interface Capabilities {
|
|
256
|
+
/**
|
|
257
|
+
* Indicates if the virtual mailbox can produce scans of envelopes.
|
|
258
|
+
*/
|
|
259
|
+
envelopeScans: boolean;
|
|
260
|
+
/**
|
|
261
|
+
* A contact to forward any returned mail to.
|
|
262
|
+
*/
|
|
263
|
+
forwardMailTo?: ContactsAPI.Contact;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* The address information for a mailbox.
|
|
268
|
+
*/
|
|
269
|
+
export interface VirtualMailboxRetrieveAddressResponse {
|
|
270
|
+
/**
|
|
271
|
+
* The address line 1 of the mailbox.
|
|
272
|
+
*/
|
|
273
|
+
addressLine1: string;
|
|
274
|
+
/**
|
|
275
|
+
* All of the supported countries for virtual mailboxes.
|
|
276
|
+
*/
|
|
277
|
+
countryCode: 'US';
|
|
278
|
+
/**
|
|
279
|
+
* The address line 2 of the mailbox.
|
|
280
|
+
*/
|
|
281
|
+
addressLine2?: string;
|
|
282
|
+
/**
|
|
283
|
+
* The city of the mailbox.
|
|
284
|
+
*/
|
|
285
|
+
city?: string;
|
|
286
|
+
/**
|
|
287
|
+
* The postal or ZIP code of the mailbox.
|
|
288
|
+
*/
|
|
289
|
+
postalOrZip?: string;
|
|
290
|
+
/**
|
|
291
|
+
* The province or state of the mailbox.
|
|
292
|
+
*/
|
|
293
|
+
provinceOrState?: string;
|
|
294
|
+
}
|
|
295
|
+
export interface VirtualMailboxCreateParams {
|
|
296
|
+
/**
|
|
297
|
+
* All of the supported countries for virtual mailboxes.
|
|
298
|
+
*/
|
|
299
|
+
countryCode: 'US';
|
|
300
|
+
/**
|
|
301
|
+
* The capabilities the virtual mailbox should support.
|
|
302
|
+
*/
|
|
303
|
+
capabilities?: VirtualMailboxCreateParams.Capabilities;
|
|
304
|
+
}
|
|
305
|
+
export declare namespace VirtualMailboxCreateParams {
|
|
306
|
+
/**
|
|
307
|
+
* The capabilities the virtual mailbox should support.
|
|
308
|
+
*/
|
|
309
|
+
interface Capabilities {
|
|
310
|
+
/**
|
|
311
|
+
* If the virtual mailbox should support envelope scans or not.
|
|
312
|
+
*/
|
|
313
|
+
envelopeScans: boolean;
|
|
314
|
+
/**
|
|
315
|
+
* A contact ID or contact object.
|
|
316
|
+
*/
|
|
317
|
+
forwardMailTo?: ContactsAPI.ContactCreateWithFirstName | ContactsAPI.ContactCreateWithCompanyName | string;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
export interface VirtualMailboxListParams extends SkipLimitParams {
|
|
321
|
+
/**
|
|
322
|
+
* You can supply any string to help narrow down the list of resources. For
|
|
323
|
+
* example, if you pass `"New York"` (quoted), it will return resources that have
|
|
324
|
+
* that string present somewhere in their response. Alternatively, you can supply a
|
|
325
|
+
* structured search query. See the documentation on `StructuredSearchQuery` for
|
|
326
|
+
* more details.
|
|
327
|
+
*/
|
|
328
|
+
search?: string;
|
|
329
|
+
}
|
|
330
|
+
export declare namespace VirtualMailboxes {
|
|
331
|
+
export { type VirtualMailboxCreateResponse as VirtualMailboxCreateResponse, type VirtualMailboxRetrieveResponse as VirtualMailboxRetrieveResponse, type VirtualMailboxListResponse as VirtualMailboxListResponse, type VirtualMailboxRetrieveAddressResponse as VirtualMailboxRetrieveAddressResponse, type VirtualMailboxListResponsesSkipLimit as VirtualMailboxListResponsesSkipLimit, type VirtualMailboxCreateParams as VirtualMailboxCreateParams, type VirtualMailboxListParams as VirtualMailboxListParams, };
|
|
332
|
+
export { Items as Items, type ItemCreateResponse as ItemCreateResponse, type ItemRetrieveResponse as ItemRetrieveResponse, type ItemListResponse as ItemListResponse, type ItemListResponsesSkipLimit as ItemListResponsesSkipLimit, type ItemCreateParams as ItemCreateParams, type ItemRetrieveParams as ItemRetrieveParams, type ItemListParams as ItemListParams, };
|
|
333
|
+
}
|
|
334
|
+
//# sourceMappingURL=virtual-mailboxes.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtual-mailboxes.d.mts","sourceRoot":"","sources":["../../../src/resources/print-mail/virtual-mailboxes/virtual-mailboxes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,KAAK,QAAQ;OACb,EACL,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,0BAA0B,EAC1B,kBAAkB,EAClB,oBAAoB,EACpB,KAAK,EACN;OACM,EAAE,UAAU,EAAE;OACd,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,eAAe,EAAE;OAChD,EAAE,cAAc,EAAE;AAGzB;;;;;;;;;GASG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAI1F;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oCAAoC,EAAE,0BAA0B,CAAC;IAQhF;;;;;;;;;;OAUG;IACH,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,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ACH"}
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as ContactsAPI from "../contacts.js";
|
|
3
|
+
import * as ItemsAPI from "./items.js";
|
|
4
|
+
import { ItemCreateParams, ItemCreateResponse, ItemListParams, ItemListResponse, ItemListResponsesSkipLimit, ItemRetrieveParams, ItemRetrieveResponse, Items } from "./items.js";
|
|
5
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
6
|
+
import { PagePromise, SkipLimit, type SkipLimitParams } from "../../../core/pagination.js";
|
|
7
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
8
|
+
/**
|
|
9
|
+
* Virtual mailboxes let you receive, scan, and forward your physical mail
|
|
10
|
+
* without needing a traditional physical mailbox. Each mailbox is fully
|
|
11
|
+
* digital, giving you a unique ID, status, and a set of capabilities such as
|
|
12
|
+
* forwarding mail to another address or viewing envelope scans. This allows you
|
|
13
|
+
* to manage physical correspondence entirely online.
|
|
14
|
+
*
|
|
15
|
+
* You can request access to this feature by reaching out to
|
|
16
|
+
* support@postgrid.com
|
|
17
|
+
*/
|
|
18
|
+
export declare class VirtualMailboxes extends APIResource {
|
|
19
|
+
items: ItemsAPI.Items;
|
|
20
|
+
/**
|
|
21
|
+
* Creates a new virtual mailbox. In live mode, the virtual mailbox will be pending
|
|
22
|
+
* assignment and cannot be used until it has been assigned and activated by our
|
|
23
|
+
* team. You will be notified via email once the virtual mailbox has been
|
|
24
|
+
* activated. In test mode, the virtual mailbox will be activated immediately upon
|
|
25
|
+
* creation.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* const virtualMailbox =
|
|
30
|
+
* await client.printMail.virtualMailboxes.create({
|
|
31
|
+
* countryCode: 'US',
|
|
32
|
+
* capabilities: {
|
|
33
|
+
* envelopeScans: true,
|
|
34
|
+
* forwardMailTo: 'contact_pxd7wnnD1xY6H6etKNvjb4',
|
|
35
|
+
* },
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
create(body: VirtualMailboxCreateParams, options?: RequestOptions): APIPromise<VirtualMailboxCreateResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Retrieve Virtual Mailbox
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const virtualMailbox =
|
|
46
|
+
* await client.printMail.virtualMailboxes.retrieve('id');
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<VirtualMailboxRetrieveResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Lists virtual mailboxes. You can use the `skip`, `limit`, and `search` query
|
|
52
|
+
* parameters to refine the list.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* // Automatically fetches more pages as needed.
|
|
57
|
+
* for await (const virtualMailboxListResponse of client.printMail.virtualMailboxes.list()) {
|
|
58
|
+
* // ...
|
|
59
|
+
* }
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
list(query?: VirtualMailboxListParams | null | undefined, options?: RequestOptions): PagePromise<VirtualMailboxListResponsesSkipLimit, VirtualMailboxListResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Retrieves the physical address of the virtual mailbox.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* const response =
|
|
69
|
+
* await client.printMail.virtualMailboxes.retrieveAddress(
|
|
70
|
+
* 'id',
|
|
71
|
+
* );
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
retrieveAddress(id: string, options?: RequestOptions): APIPromise<VirtualMailboxRetrieveAddressResponse>;
|
|
75
|
+
}
|
|
76
|
+
export type VirtualMailboxListResponsesSkipLimit = SkipLimit<VirtualMailboxListResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* The virtual mailbox object.
|
|
79
|
+
*/
|
|
80
|
+
export interface VirtualMailboxCreateResponse {
|
|
81
|
+
/**
|
|
82
|
+
* A unique ID prefixed with virtual*mailbox*
|
|
83
|
+
*/
|
|
84
|
+
id: string;
|
|
85
|
+
/**
|
|
86
|
+
* All of the capabilities a virtual mailbox may have.
|
|
87
|
+
*/
|
|
88
|
+
capabilities: VirtualMailboxCreateResponse.Capabilities;
|
|
89
|
+
/**
|
|
90
|
+
* All of the supported countries for virtual mailboxes.
|
|
91
|
+
*/
|
|
92
|
+
countryCode: 'US';
|
|
93
|
+
/**
|
|
94
|
+
* The UTC time at which this resource was created.
|
|
95
|
+
*/
|
|
96
|
+
createdAt: string;
|
|
97
|
+
/**
|
|
98
|
+
* `true` if this is a live mode resource else `false`.
|
|
99
|
+
*/
|
|
100
|
+
live: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Always "virtual_mailbox".
|
|
103
|
+
*/
|
|
104
|
+
object: 'virtual_mailbox';
|
|
105
|
+
/**
|
|
106
|
+
* The possible statuses of virtual mailboxes.
|
|
107
|
+
*/
|
|
108
|
+
status: 'active' | 'pending_assignment';
|
|
109
|
+
/**
|
|
110
|
+
* The UTC time at which this resource was last updated.
|
|
111
|
+
*/
|
|
112
|
+
updatedAt: string;
|
|
113
|
+
/**
|
|
114
|
+
* An optional string describing this resource. Will be visible in the API and the
|
|
115
|
+
* dashboard.
|
|
116
|
+
*/
|
|
117
|
+
description?: string;
|
|
118
|
+
/**
|
|
119
|
+
* See the section on Metadata.
|
|
120
|
+
*/
|
|
121
|
+
metadata?: {
|
|
122
|
+
[key: string]: unknown;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
export declare namespace VirtualMailboxCreateResponse {
|
|
126
|
+
/**
|
|
127
|
+
* All of the capabilities a virtual mailbox may have.
|
|
128
|
+
*/
|
|
129
|
+
interface Capabilities {
|
|
130
|
+
/**
|
|
131
|
+
* Indicates if the virtual mailbox can produce scans of envelopes.
|
|
132
|
+
*/
|
|
133
|
+
envelopeScans: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* A contact to forward any returned mail to.
|
|
136
|
+
*/
|
|
137
|
+
forwardMailTo?: ContactsAPI.Contact;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* The virtual mailbox object.
|
|
142
|
+
*/
|
|
143
|
+
export interface VirtualMailboxRetrieveResponse {
|
|
144
|
+
/**
|
|
145
|
+
* A unique ID prefixed with virtual*mailbox*
|
|
146
|
+
*/
|
|
147
|
+
id: string;
|
|
148
|
+
/**
|
|
149
|
+
* All of the capabilities a virtual mailbox may have.
|
|
150
|
+
*/
|
|
151
|
+
capabilities: VirtualMailboxRetrieveResponse.Capabilities;
|
|
152
|
+
/**
|
|
153
|
+
* All of the supported countries for virtual mailboxes.
|
|
154
|
+
*/
|
|
155
|
+
countryCode: 'US';
|
|
156
|
+
/**
|
|
157
|
+
* The UTC time at which this resource was created.
|
|
158
|
+
*/
|
|
159
|
+
createdAt: string;
|
|
160
|
+
/**
|
|
161
|
+
* `true` if this is a live mode resource else `false`.
|
|
162
|
+
*/
|
|
163
|
+
live: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Always "virtual_mailbox".
|
|
166
|
+
*/
|
|
167
|
+
object: 'virtual_mailbox';
|
|
168
|
+
/**
|
|
169
|
+
* The possible statuses of virtual mailboxes.
|
|
170
|
+
*/
|
|
171
|
+
status: 'active' | 'pending_assignment';
|
|
172
|
+
/**
|
|
173
|
+
* The UTC time at which this resource was last updated.
|
|
174
|
+
*/
|
|
175
|
+
updatedAt: string;
|
|
176
|
+
/**
|
|
177
|
+
* An optional string describing this resource. Will be visible in the API and the
|
|
178
|
+
* dashboard.
|
|
179
|
+
*/
|
|
180
|
+
description?: string;
|
|
181
|
+
/**
|
|
182
|
+
* See the section on Metadata.
|
|
183
|
+
*/
|
|
184
|
+
metadata?: {
|
|
185
|
+
[key: string]: unknown;
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
export declare namespace VirtualMailboxRetrieveResponse {
|
|
189
|
+
/**
|
|
190
|
+
* All of the capabilities a virtual mailbox may have.
|
|
191
|
+
*/
|
|
192
|
+
interface Capabilities {
|
|
193
|
+
/**
|
|
194
|
+
* Indicates if the virtual mailbox can produce scans of envelopes.
|
|
195
|
+
*/
|
|
196
|
+
envelopeScans: boolean;
|
|
197
|
+
/**
|
|
198
|
+
* A contact to forward any returned mail to.
|
|
199
|
+
*/
|
|
200
|
+
forwardMailTo?: ContactsAPI.Contact;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* The virtual mailbox object.
|
|
205
|
+
*/
|
|
206
|
+
export interface VirtualMailboxListResponse {
|
|
207
|
+
/**
|
|
208
|
+
* A unique ID prefixed with virtual*mailbox*
|
|
209
|
+
*/
|
|
210
|
+
id: string;
|
|
211
|
+
/**
|
|
212
|
+
* All of the capabilities a virtual mailbox may have.
|
|
213
|
+
*/
|
|
214
|
+
capabilities: VirtualMailboxListResponse.Capabilities;
|
|
215
|
+
/**
|
|
216
|
+
* All of the supported countries for virtual mailboxes.
|
|
217
|
+
*/
|
|
218
|
+
countryCode: 'US';
|
|
219
|
+
/**
|
|
220
|
+
* The UTC time at which this resource was created.
|
|
221
|
+
*/
|
|
222
|
+
createdAt: string;
|
|
223
|
+
/**
|
|
224
|
+
* `true` if this is a live mode resource else `false`.
|
|
225
|
+
*/
|
|
226
|
+
live: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Always "virtual_mailbox".
|
|
229
|
+
*/
|
|
230
|
+
object: 'virtual_mailbox';
|
|
231
|
+
/**
|
|
232
|
+
* The possible statuses of virtual mailboxes.
|
|
233
|
+
*/
|
|
234
|
+
status: 'active' | 'pending_assignment';
|
|
235
|
+
/**
|
|
236
|
+
* The UTC time at which this resource was last updated.
|
|
237
|
+
*/
|
|
238
|
+
updatedAt: string;
|
|
239
|
+
/**
|
|
240
|
+
* An optional string describing this resource. Will be visible in the API and the
|
|
241
|
+
* dashboard.
|
|
242
|
+
*/
|
|
243
|
+
description?: string;
|
|
244
|
+
/**
|
|
245
|
+
* See the section on Metadata.
|
|
246
|
+
*/
|
|
247
|
+
metadata?: {
|
|
248
|
+
[key: string]: unknown;
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
export declare namespace VirtualMailboxListResponse {
|
|
252
|
+
/**
|
|
253
|
+
* All of the capabilities a virtual mailbox may have.
|
|
254
|
+
*/
|
|
255
|
+
interface Capabilities {
|
|
256
|
+
/**
|
|
257
|
+
* Indicates if the virtual mailbox can produce scans of envelopes.
|
|
258
|
+
*/
|
|
259
|
+
envelopeScans: boolean;
|
|
260
|
+
/**
|
|
261
|
+
* A contact to forward any returned mail to.
|
|
262
|
+
*/
|
|
263
|
+
forwardMailTo?: ContactsAPI.Contact;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* The address information for a mailbox.
|
|
268
|
+
*/
|
|
269
|
+
export interface VirtualMailboxRetrieveAddressResponse {
|
|
270
|
+
/**
|
|
271
|
+
* The address line 1 of the mailbox.
|
|
272
|
+
*/
|
|
273
|
+
addressLine1: string;
|
|
274
|
+
/**
|
|
275
|
+
* All of the supported countries for virtual mailboxes.
|
|
276
|
+
*/
|
|
277
|
+
countryCode: 'US';
|
|
278
|
+
/**
|
|
279
|
+
* The address line 2 of the mailbox.
|
|
280
|
+
*/
|
|
281
|
+
addressLine2?: string;
|
|
282
|
+
/**
|
|
283
|
+
* The city of the mailbox.
|
|
284
|
+
*/
|
|
285
|
+
city?: string;
|
|
286
|
+
/**
|
|
287
|
+
* The postal or ZIP code of the mailbox.
|
|
288
|
+
*/
|
|
289
|
+
postalOrZip?: string;
|
|
290
|
+
/**
|
|
291
|
+
* The province or state of the mailbox.
|
|
292
|
+
*/
|
|
293
|
+
provinceOrState?: string;
|
|
294
|
+
}
|
|
295
|
+
export interface VirtualMailboxCreateParams {
|
|
296
|
+
/**
|
|
297
|
+
* All of the supported countries for virtual mailboxes.
|
|
298
|
+
*/
|
|
299
|
+
countryCode: 'US';
|
|
300
|
+
/**
|
|
301
|
+
* The capabilities the virtual mailbox should support.
|
|
302
|
+
*/
|
|
303
|
+
capabilities?: VirtualMailboxCreateParams.Capabilities;
|
|
304
|
+
}
|
|
305
|
+
export declare namespace VirtualMailboxCreateParams {
|
|
306
|
+
/**
|
|
307
|
+
* The capabilities the virtual mailbox should support.
|
|
308
|
+
*/
|
|
309
|
+
interface Capabilities {
|
|
310
|
+
/**
|
|
311
|
+
* If the virtual mailbox should support envelope scans or not.
|
|
312
|
+
*/
|
|
313
|
+
envelopeScans: boolean;
|
|
314
|
+
/**
|
|
315
|
+
* A contact ID or contact object.
|
|
316
|
+
*/
|
|
317
|
+
forwardMailTo?: ContactsAPI.ContactCreateWithFirstName | ContactsAPI.ContactCreateWithCompanyName | string;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
export interface VirtualMailboxListParams extends SkipLimitParams {
|
|
321
|
+
/**
|
|
322
|
+
* You can supply any string to help narrow down the list of resources. For
|
|
323
|
+
* example, if you pass `"New York"` (quoted), it will return resources that have
|
|
324
|
+
* that string present somewhere in their response. Alternatively, you can supply a
|
|
325
|
+
* structured search query. See the documentation on `StructuredSearchQuery` for
|
|
326
|
+
* more details.
|
|
327
|
+
*/
|
|
328
|
+
search?: string;
|
|
329
|
+
}
|
|
330
|
+
export declare namespace VirtualMailboxes {
|
|
331
|
+
export { type VirtualMailboxCreateResponse as VirtualMailboxCreateResponse, type VirtualMailboxRetrieveResponse as VirtualMailboxRetrieveResponse, type VirtualMailboxListResponse as VirtualMailboxListResponse, type VirtualMailboxRetrieveAddressResponse as VirtualMailboxRetrieveAddressResponse, type VirtualMailboxListResponsesSkipLimit as VirtualMailboxListResponsesSkipLimit, type VirtualMailboxCreateParams as VirtualMailboxCreateParams, type VirtualMailboxListParams as VirtualMailboxListParams, };
|
|
332
|
+
export { Items as Items, type ItemCreateResponse as ItemCreateResponse, type ItemRetrieveResponse as ItemRetrieveResponse, type ItemListResponse as ItemListResponse, type ItemListResponsesSkipLimit as ItemListResponsesSkipLimit, type ItemCreateParams as ItemCreateParams, type ItemRetrieveParams as ItemRetrieveParams, type ItemListParams as ItemListParams, };
|
|
333
|
+
}
|
|
334
|
+
//# sourceMappingURL=virtual-mailboxes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtual-mailboxes.d.ts","sourceRoot":"","sources":["../../../src/resources/print-mail/virtual-mailboxes/virtual-mailboxes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,KAAK,QAAQ;OACb,EACL,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,0BAA0B,EAC1B,kBAAkB,EAClB,oBAAoB,EACpB,KAAK,EACN;OACM,EAAE,UAAU,EAAE;OACd,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,eAAe,EAAE;OAChD,EAAE,cAAc,EAAE;AAGzB;;;;;;;;;GASG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAI1F;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oCAAoC,EAAE,0BAA0B,CAAC;IAQhF;;;;;;;;;;OAUG;IACH,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qCAAqC,CA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