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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,98 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.1 (2026-05-14)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.6.0...v0.6.1](https://github.com/postgrid/postgrid-node/compare/v0.6.0...v0.6.1)
|
|
6
|
+
|
|
7
|
+
### Chores
|
|
8
|
+
|
|
9
|
+
* update SDK settings ([de6da44](https://github.com/postgrid/postgrid-node/commit/de6da449bf818f26da3d68bde705fa9d850c63f3))
|
|
10
|
+
|
|
11
|
+
## 0.6.0 (2026-05-13)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.5.2...v0.6.0](https://github.com/postgrid/postgrid-node/compare/v0.5.2...v0.6.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** Generate OpenAPI spec from master, Complete AV endpoints, Deprecate order profiles ([67bb8b7](https://github.com/postgrid/postgrid-node/commit/67bb8b7333288443ffbf34c6de27d086affde747))
|
|
18
|
+
* **api:** sheikh's updates ([1fc2ef8](https://github.com/postgrid/postgrid-node/commit/1fc2ef827f76271263dacb177f3decaae8952f65))
|
|
19
|
+
* support setting headers via env ([4db92ef](https://github.com/postgrid/postgrid-node/commit/4db92ef57767c45c53cef4550eea6677e36b4bf7))
|
|
20
|
+
* Testing new GHA workflow ([08e8358](https://github.com/postgrid/postgrid-node/commit/08e8358dcd5e65f39d0f6d7271351af5211bd23f))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Chores
|
|
24
|
+
|
|
25
|
+
* **format:** run eslint and prettier separately ([cdad39f](https://github.com/postgrid/postgrid-node/commit/cdad39f28d68b35eabe04d8c0b5a6a186aa1e3b4))
|
|
26
|
+
* **formatter:** run prettier and eslint separately ([0e9df35](https://github.com/postgrid/postgrid-node/commit/0e9df3511c18468aa53b59d868a24f7d541a09d1))
|
|
27
|
+
* **internal:** codegen related update ([7fe5def](https://github.com/postgrid/postgrid-node/commit/7fe5def69f1a20ca7a915e4b489ae315d3816478))
|
|
28
|
+
* **internal:** more robust bootstrap script ([c8c6500](https://github.com/postgrid/postgrid-node/commit/c8c6500182176ce3706350b3d10ea47dd0c75f5d))
|
|
29
|
+
* redact api-key headers in debug logs ([0db98d1](https://github.com/postgrid/postgrid-node/commit/0db98d1fb30abbecca2a22afee2a44c397837f32))
|
|
30
|
+
|
|
31
|
+
## 0.5.2 (2026-04-08)
|
|
32
|
+
|
|
33
|
+
Full Changelog: [v0.5.1...v0.5.2](https://github.com/postgrid/postgrid-node/compare/v0.5.1...v0.5.2)
|
|
34
|
+
|
|
35
|
+
### Chores
|
|
36
|
+
|
|
37
|
+
* **internal:** codegen related update ([07b2754](https://github.com/postgrid/postgrid-node/commit/07b2754b6c9de728e5f5d54bb8e156911bbbd640))
|
|
38
|
+
|
|
39
|
+
## 0.5.1 (2026-03-24)
|
|
40
|
+
|
|
41
|
+
Full Changelog: [v0.5.0...v0.5.1](https://github.com/postgrid/postgrid-node/compare/v0.5.0...v0.5.1)
|
|
42
|
+
|
|
43
|
+
### Bug Fixes
|
|
44
|
+
|
|
45
|
+
* **client:** avoid memory leak with abort signals ([c27adce](https://github.com/postgrid/postgrid-node/commit/c27adced033eb5a2fcda3a2998f75edcdd7400a2))
|
|
46
|
+
* **client:** avoid removing abort listener too early ([b5b7d6e](https://github.com/postgrid/postgrid-node/commit/b5b7d6e89b3c118b2bb79cc58b357bc880a3ad54))
|
|
47
|
+
* **client:** preserve URL params already embedded in path ([24c231e](https://github.com/postgrid/postgrid-node/commit/24c231ed84c1e49315002c8e02fc14fa1d9b9a09))
|
|
48
|
+
* **docs/contributing:** correct pnpm link command ([6dbc868](https://github.com/postgrid/postgrid-node/commit/6dbc86804e251b99dcf2d8ccc951043a1e2cb71e))
|
|
49
|
+
* **docs:** remove extraneous example object fields ([71d6fdf](https://github.com/postgrid/postgrid-node/commit/71d6fdf04c36d6c86a07da4779c5a96ccada0f1d))
|
|
50
|
+
* fix request delays for retrying to be more respectful of high requested delays ([2949209](https://github.com/postgrid/postgrid-node/commit/29492093772c6e99d1e0d7454b94a9a78070e6ce))
|
|
51
|
+
* **mcp:** correct code tool API endpoint ([a69fda5](https://github.com/postgrid/postgrid-node/commit/a69fda59f36bdab6b0189a492a8fb8053939f412))
|
|
52
|
+
* **mcp:** return correct lines on typescript errors ([81982d6](https://github.com/postgrid/postgrid-node/commit/81982d6d50b27ef9a5580f7d0e178fc096e8ff4d))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Chores
|
|
56
|
+
|
|
57
|
+
* break long lines in snippets into multiline ([f66b5c2](https://github.com/postgrid/postgrid-node/commit/f66b5c28b18bb506d4cbed6667215af5a6eaa799))
|
|
58
|
+
* **ci:** skip lint on metadata-only changes ([ed86a3a](https://github.com/postgrid/postgrid-node/commit/ed86a3aa624697655e16cce359a3e1baae999777))
|
|
59
|
+
* **ci:** skip uploading artifacts on stainless-internal branches ([1164e40](https://github.com/postgrid/postgrid-node/commit/1164e4053e2fa237daa11f4df3113447c0455a5e))
|
|
60
|
+
* **ci:** upgrade `actions/github-script` ([ff6b463](https://github.com/postgrid/postgrid-node/commit/ff6b4638495611a098d8b035442944f2484d44fc))
|
|
61
|
+
* **client:** do not parse responses with empty content-length ([d619307](https://github.com/postgrid/postgrid-node/commit/d61930741f51c62e583f31074c1aa465c1e18207))
|
|
62
|
+
* **client:** fix logger property type ([c1592ab](https://github.com/postgrid/postgrid-node/commit/c1592ab37ba7aa9a1c3da022b42ba98b5aa189d0))
|
|
63
|
+
* **client:** restructure abort controller binding ([7f5512d](https://github.com/postgrid/postgrid-node/commit/7f5512d60ff37c68a839f80ef7d4df0bc363fb50))
|
|
64
|
+
* **docs:** add missing descriptions ([4df4baf](https://github.com/postgrid/postgrid-node/commit/4df4bafab42048bd31eb55ef5a6499f73925264f))
|
|
65
|
+
* fix typo in descriptions ([00cac03](https://github.com/postgrid/postgrid-node/commit/00cac03fae7750b0f627c2f15442de2d92711025))
|
|
66
|
+
* **internal/client:** fix form-urlencoded requests ([bc3444a](https://github.com/postgrid/postgrid-node/commit/bc3444a04024c65778a2611ea102e288665d40d5))
|
|
67
|
+
* **internal:** avoid type checking errors with ts-reset ([5457196](https://github.com/postgrid/postgrid-node/commit/5457196acf1411e4e2044338c74a8769f92abaaf))
|
|
68
|
+
* **internal:** codegen related update ([22d0aec](https://github.com/postgrid/postgrid-node/commit/22d0aec76590e53ab5da540e3f73406342a950ac))
|
|
69
|
+
* **internal:** codegen related update ([5c3a9b7](https://github.com/postgrid/postgrid-node/commit/5c3a9b79198ef3bc912462e1fb524819ffa8ef91))
|
|
70
|
+
* **internal:** codegen related update ([b90ade6](https://github.com/postgrid/postgrid-node/commit/b90ade6630f6f254eebe74ee16ca365a96759f87))
|
|
71
|
+
* **internal:** configure pnpm minimumReleaseAge to 1 day ([28aacd5](https://github.com/postgrid/postgrid-node/commit/28aacd557705eba61ee5ced975c1828d6f08f801))
|
|
72
|
+
* **internal:** fix pagination internals not accepting option promises ([69e80b4](https://github.com/postgrid/postgrid-node/commit/69e80b4dfe3447ec5a705c0e3f3f42f74c817bba))
|
|
73
|
+
* **internal:** move stringifyQuery implementation to internal function ([51e05e6](https://github.com/postgrid/postgrid-node/commit/51e05e6462aa5d1d14756495cb515b00a64fa84c))
|
|
74
|
+
* **internal:** remove mock server code ([cc0bca1](https://github.com/postgrid/postgrid-node/commit/cc0bca11e774882e65c8d5d8f9cbe0e12e76c7a6))
|
|
75
|
+
* **internal:** tweak CI branches ([2c3fddb](https://github.com/postgrid/postgrid-node/commit/2c3fddb40341708e5b84e9f6b56c51ad4facda22))
|
|
76
|
+
* **internal:** update `actions/checkout` version ([ec11eeb](https://github.com/postgrid/postgrid-node/commit/ec11eeb0c7c2332a07c7c88775e5b22305755abb))
|
|
77
|
+
* **internal:** update dependencies to address dependabot vulnerabilities ([b831c88](https://github.com/postgrid/postgrid-node/commit/b831c88574eed47b1f92a64a62a05bdf22036be2))
|
|
78
|
+
* **internal:** update gitignore ([ec3c14a](https://github.com/postgrid/postgrid-node/commit/ec3c14afa8bad62fa6b57d93763ee985cd975821))
|
|
79
|
+
* **internal:** update lock file ([e0ccd78](https://github.com/postgrid/postgrid-node/commit/e0ccd783e74a12ff4f48bee59ffb9119dfe69dfd))
|
|
80
|
+
* **internal:** upgrade babel, qs, js-yaml ([82d5417](https://github.com/postgrid/postgrid-node/commit/82d54171f2b0e60f84d8ce931df0dfcaa5b716a1))
|
|
81
|
+
* **internal:** upgrade brace-expansion and @babel/helpers ([c2e9be4](https://github.com/postgrid/postgrid-node/commit/c2e9be4f690eacaea859716658e99e53ea898d68))
|
|
82
|
+
* **internal:** upgrade eslint ([d4721a3](https://github.com/postgrid/postgrid-node/commit/d4721a3f0feeffa66fdcc698998d8714d208f6d4))
|
|
83
|
+
* **internal:** upgrade pnpm ([83c6be7](https://github.com/postgrid/postgrid-node/commit/83c6be7abe9b9d61d341fd8bb6f7d2b66bc9eb28))
|
|
84
|
+
* **internal:** upgrade pnpm version ([a425792](https://github.com/postgrid/postgrid-node/commit/a425792362a6a88464aa6ab49963fdac1a7f95dc))
|
|
85
|
+
* update mock server docs ([7fc0707](https://github.com/postgrid/postgrid-node/commit/7fc0707639e12f9915aaecd5b659ea3086e3f105))
|
|
86
|
+
|
|
87
|
+
## 0.5.0 (2025-11-14)
|
|
88
|
+
|
|
89
|
+
Full Changelog: [v0.4.2...v0.5.0](https://github.com/postgrid/postgrid-node/compare/v0.4.2...v0.5.0)
|
|
90
|
+
|
|
91
|
+
### Bug Fixes
|
|
92
|
+
|
|
93
|
+
* **api:** remove unsupported collaterals ([9bdd969](https://github.com/postgrid/postgrid-node/commit/9bdd969ce3c15a11b20420df6651e56697a03171))
|
|
94
|
+
* **readme:** rename PostGrid ([9493829](https://github.com/postgrid/postgrid-node/commit/949382910924c7dc8c5f191038103ae73572d933))
|
|
95
|
+
|
|
3
96
|
## 0.4.2 (2025-11-12)
|
|
4
97
|
|
|
5
98
|
Full Changelog: [v0.4.1...v0.4.2](https://github.com/postgrid/postgrid-node/compare/v0.4.1...v0.4.2)
|
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright
|
|
189
|
+
Copyright 2026 PostGrid
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[>)](https://npmjs.org/package/postgrid-node) 
|
|
4
4
|
|
|
5
|
-
This library provides convenient access to the
|
|
5
|
+
This library provides convenient access to the PostGrid REST API from server-side TypeScript or JavaScript.
|
|
6
6
|
|
|
7
7
|
The REST API documentation can be found on [docs.postgrid.com](https://docs.postgrid.com). The full API of this library can be found in [api.md](api.md).
|
|
8
8
|
|
|
@@ -46,7 +46,8 @@ const client = new PostGrid({
|
|
|
46
46
|
});
|
|
47
47
|
|
|
48
48
|
const params: PostGrid.AddressVerificationVerifyParams = { address: 'address' };
|
|
49
|
-
const response: PostGrid.AddressVerificationVerifyResponse =
|
|
49
|
+
const response: PostGrid.AddressVerificationVerifyResponse =
|
|
50
|
+
await client.addressVerification.verify(params);
|
|
50
51
|
```
|
|
51
52
|
|
|
52
53
|
Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
|
|
@@ -59,15 +60,17 @@ a subclass of `APIError` will be thrown:
|
|
|
59
60
|
|
|
60
61
|
<!-- prettier-ignore -->
|
|
61
62
|
```ts
|
|
62
|
-
const response = await client.addressVerification
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
63
|
+
const response = await client.addressVerification
|
|
64
|
+
.verify({ address: 'address' })
|
|
65
|
+
.catch(async (err) => {
|
|
66
|
+
if (err instanceof PostGrid.APIError) {
|
|
67
|
+
console.log(err.status); // 400
|
|
68
|
+
console.log(err.name); // BadRequestError
|
|
69
|
+
console.log(err.headers); // {server: 'nginx', ...}
|
|
70
|
+
} else {
|
|
71
|
+
throw err;
|
|
72
|
+
}
|
|
73
|
+
});
|
|
71
74
|
```
|
|
72
75
|
|
|
73
76
|
Error codes are as follows:
|
|
@@ -191,7 +194,7 @@ console.log(response.data);
|
|
|
191
194
|
|
|
192
195
|
The log level can be configured in two ways:
|
|
193
196
|
|
|
194
|
-
1. Via the `
|
|
197
|
+
1. Via the `POSTGRID_LOG` environment variable
|
|
195
198
|
2. Using the `logLevel` client option (overrides the environment variable if set)
|
|
196
199
|
|
|
197
200
|
```ts
|
package/client.d.mts
CHANGED
|
@@ -8,9 +8,9 @@ import { type SkipLimitParams, SkipLimitResponse } from "./core/pagination.mjs";
|
|
|
8
8
|
import * as Uploads from "./core/uploads.mjs";
|
|
9
9
|
import * as API from "./resources/index.mjs";
|
|
10
10
|
import { APIPromise } from "./core/api-promise.mjs";
|
|
11
|
-
import { AddressVerification, AddressVerificationVerifyParams, AddressVerificationVerifyResponse, Errors as AddressVerificationAPIErrors, Status } from "./resources/address-verification.mjs";
|
|
12
|
-
import { IntlAddressVerification, IntlAddressVerificationVerifyParams, IntlAddressVerificationVerifyResponse } from "./resources/intl-address-verification.mjs";
|
|
13
|
-
import {
|
|
11
|
+
import { AddressVerification, AddressVerificationAutocompleteParams, AddressVerificationAutocompleteResponse, AddressVerificationBatchVerificationParams, AddressVerificationBatchVerificationResponse, AddressVerificationGetAutocompletePreviewsParams, AddressVerificationGetAutocompletePreviewsResponse, AddressVerificationGetLookupInfoResponse, AddressVerificationLookupCityOrStateFromPostalOrZipCodeParams, AddressVerificationLookupCityOrStateFromPostalOrZipCodeResponse, AddressVerificationLookupZipCodeFromCityOrStateParams, AddressVerificationLookupZipCodeFromCityOrStateResponse, AddressVerificationParseAnAddressParams, AddressVerificationParseAnAddressResponse, AddressVerificationSuggestAddressesParams, AddressVerificationSuggestAddressesResponse, AddressVerificationVerifyParams, AddressVerificationVerifyResponse, Errors as AddressVerificationAPIErrors, Status } from "./resources/address-verification.mjs";
|
|
12
|
+
import { IntlAddressVerification, IntlAddressVerificationAutocompleteParams, IntlAddressVerificationAutocompleteResponse, IntlAddressVerificationBatchVerificationParams, IntlAddressVerificationBatchVerificationResponse, IntlAddressVerificationGetAutocompleteAdvancedPreviewsParams, IntlAddressVerificationGetAutocompleteAdvancedPreviewsResponse, IntlAddressVerificationGetAutocompletePreviewsParams, IntlAddressVerificationGetAutocompletePreviewsResponse, IntlAddressVerificationVerifyParams, IntlAddressVerificationVerifyResponse } from "./resources/intl-address-verification.mjs";
|
|
13
|
+
import { PrintMail } from "./resources/print-mail/print-mail.mjs";
|
|
14
14
|
import { type Fetch } from "./internal/builtin-types.mjs";
|
|
15
15
|
import { HeadersLike, NullableHeaders } from "./internal/headers.mjs";
|
|
16
16
|
import { FinalRequestOptions, RequestOptions } from "./internal/request-options.mjs";
|
|
@@ -27,7 +27,7 @@ export interface ClientOptions {
|
|
|
27
27
|
/**
|
|
28
28
|
* Override the default base URL for the API, e.g., "https://api.example.com/v2/"
|
|
29
29
|
*
|
|
30
|
-
* Defaults to process.env['
|
|
30
|
+
* Defaults to process.env['POSTGRID_BASE_URL'].
|
|
31
31
|
*/
|
|
32
32
|
baseURL?: string | null | undefined;
|
|
33
33
|
/**
|
|
@@ -75,7 +75,7 @@ export interface ClientOptions {
|
|
|
75
75
|
/**
|
|
76
76
|
* Set the log level.
|
|
77
77
|
*
|
|
78
|
-
* Defaults to process.env['
|
|
78
|
+
* Defaults to process.env['POSTGRID_LOG'] or 'warn' if it isn't set.
|
|
79
79
|
*/
|
|
80
80
|
logLevel?: LogLevel | undefined;
|
|
81
81
|
/**
|
|
@@ -86,7 +86,7 @@ export interface ClientOptions {
|
|
|
86
86
|
logger?: Logger | undefined;
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
* API Client for interfacing with the
|
|
89
|
+
* API Client for interfacing with the PostGrid API.
|
|
90
90
|
*/
|
|
91
91
|
export declare class PostGrid {
|
|
92
92
|
#private;
|
|
@@ -95,18 +95,18 @@ export declare class PostGrid {
|
|
|
95
95
|
baseURL: string;
|
|
96
96
|
maxRetries: number;
|
|
97
97
|
timeout: number;
|
|
98
|
-
logger: Logger
|
|
98
|
+
logger: Logger;
|
|
99
99
|
logLevel: LogLevel | undefined;
|
|
100
100
|
fetchOptions: MergedRequestInit | undefined;
|
|
101
101
|
private fetch;
|
|
102
102
|
protected idempotencyHeader?: string;
|
|
103
103
|
private _options;
|
|
104
104
|
/**
|
|
105
|
-
* API Client for interfacing with the
|
|
105
|
+
* API Client for interfacing with the PostGrid API.
|
|
106
106
|
*
|
|
107
107
|
* @param {string | null | undefined} [opts.addressVerificationAPIKey=process.env['POSTGRID_ADDRESS_VERIFICATION_API_KEY'] ?? null]
|
|
108
108
|
* @param {string | null | undefined} [opts.printMailAPIKey=process.env['POSTGRID_PRINT_MAIL_API_KEY'] ?? null]
|
|
109
|
-
* @param {string} [opts.baseURL=process.env['
|
|
109
|
+
* @param {string} [opts.baseURL=process.env['POSTGRID_BASE_URL'] ?? https://api.postgrid.com] - Override the default base URL for the API.
|
|
110
110
|
* @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
|
|
111
111
|
* @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
|
|
112
112
|
* @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
|
|
@@ -124,7 +124,10 @@ export declare class PostGrid {
|
|
|
124
124
|
protected authHeaders(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
|
|
125
125
|
protected addressVerificationAPIKeyAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
|
|
126
126
|
protected printMailAPIKeyAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
|
|
127
|
-
|
|
127
|
+
/**
|
|
128
|
+
* Basic re-implementation of `qs.stringify` for primitive types.
|
|
129
|
+
*/
|
|
130
|
+
protected stringifyQuery(query: object | Record<string, unknown>): string;
|
|
128
131
|
private getUserAgent;
|
|
129
132
|
protected defaultIdempotencyKey(): string;
|
|
130
133
|
protected makeStatusError(status: number, error: Object, message: string | undefined, headers: Headers): Errors.APIError;
|
|
@@ -151,8 +154,8 @@ export declare class PostGrid {
|
|
|
151
154
|
private methodRequest;
|
|
152
155
|
request<Rsp>(options: PromiseOrValue<FinalRequestOptions>, remainingRetries?: number | null): APIPromise<Rsp>;
|
|
153
156
|
private makeRequest;
|
|
154
|
-
getAPIList<Item, PageClass extends Pagination.AbstractPage<Item> = Pagination.AbstractPage<Item>>(path: string, Page: new (...args: any[]) => PageClass, opts?: RequestOptions): Pagination.PagePromise<PageClass, Item>;
|
|
155
|
-
requestAPIList<Item = unknown, PageClass extends Pagination.AbstractPage<Item> = Pagination.AbstractPage<Item>>(Page: new (...args: ConstructorParameters<typeof Pagination.AbstractPage>) => PageClass, options: FinalRequestOptions): Pagination.PagePromise<PageClass, Item>;
|
|
157
|
+
getAPIList<Item, PageClass extends Pagination.AbstractPage<Item> = Pagination.AbstractPage<Item>>(path: string, Page: new (...args: any[]) => PageClass, opts?: PromiseOrValue<RequestOptions>): Pagination.PagePromise<PageClass, Item>;
|
|
158
|
+
requestAPIList<Item = unknown, PageClass extends Pagination.AbstractPage<Item> = Pagination.AbstractPage<Item>>(Page: new (...args: ConstructorParameters<typeof Pagination.AbstractPage>) => PageClass, options: PromiseOrValue<FinalRequestOptions>): Pagination.PagePromise<PageClass, Item>;
|
|
156
159
|
fetchWithTimeout(url: RequestInfo, init: RequestInit | undefined, ms: number, controller: AbortController): Promise<Response>;
|
|
157
160
|
private shouldRetry;
|
|
158
161
|
private retryRequest;
|
|
@@ -165,6 +168,7 @@ export declare class PostGrid {
|
|
|
165
168
|
timeout: number;
|
|
166
169
|
}>;
|
|
167
170
|
private buildHeaders;
|
|
171
|
+
private _makeAbort;
|
|
168
172
|
private buildBody;
|
|
169
173
|
static PostGrid: typeof PostGrid;
|
|
170
174
|
static DEFAULT_TIMEOUT: number;
|
|
@@ -182,7 +186,23 @@ export declare class PostGrid {
|
|
|
182
186
|
static PermissionDeniedError: typeof Errors.PermissionDeniedError;
|
|
183
187
|
static UnprocessableEntityError: typeof Errors.UnprocessableEntityError;
|
|
184
188
|
static toFile: typeof Uploads.toFile;
|
|
189
|
+
/**
|
|
190
|
+
* Standard Address Verification API.
|
|
191
|
+
*
|
|
192
|
+
* Provides endpoints to verify and standardize addresses across US and Canada,
|
|
193
|
+
* supporting both structured and freeform inputs.
|
|
194
|
+
*
|
|
195
|
+
* Note that this uses a different set of lookups than our international API.
|
|
196
|
+
*
|
|
197
|
+
*/
|
|
185
198
|
addressVerification: API.AddressVerification;
|
|
199
|
+
/**
|
|
200
|
+
* International Address Verification API.
|
|
201
|
+
*
|
|
202
|
+
* Provides endpoints to verify and standardize international addresses,
|
|
203
|
+
* supporting both structured and freeform inputs.
|
|
204
|
+
*
|
|
205
|
+
*/
|
|
186
206
|
intlAddressVerification: API.IntlAddressVerification;
|
|
187
207
|
printMail: API.PrintMail;
|
|
188
208
|
}
|
|
@@ -190,8 +210,8 @@ export declare namespace PostGrid {
|
|
|
190
210
|
export type RequestOptions = Opts.RequestOptions;
|
|
191
211
|
export import SkipLimit = Pagination.SkipLimit;
|
|
192
212
|
export { type SkipLimitParams as SkipLimitParams, type SkipLimitResponse as SkipLimitResponse };
|
|
193
|
-
export { AddressVerification as AddressVerification, type AddressVerificationAPIErrors as Errors, type Status as Status, type AddressVerificationVerifyResponse as AddressVerificationVerifyResponse, type AddressVerificationVerifyParams as AddressVerificationVerifyParams, };
|
|
194
|
-
export { IntlAddressVerification as IntlAddressVerification, type IntlAddressVerificationVerifyResponse as IntlAddressVerificationVerifyResponse, type IntlAddressVerificationVerifyParams as IntlAddressVerificationVerifyParams, };
|
|
195
|
-
export { PrintMail as PrintMail
|
|
213
|
+
export { AddressVerification as AddressVerification, type AddressVerificationAPIErrors as Errors, type Status as Status, type AddressVerificationAutocompleteResponse as AddressVerificationAutocompleteResponse, type AddressVerificationBatchVerificationResponse as AddressVerificationBatchVerificationResponse, type AddressVerificationGetAutocompletePreviewsResponse as AddressVerificationGetAutocompletePreviewsResponse, type AddressVerificationGetLookupInfoResponse as AddressVerificationGetLookupInfoResponse, type AddressVerificationLookupCityOrStateFromPostalOrZipCodeResponse as AddressVerificationLookupCityOrStateFromPostalOrZipCodeResponse, type AddressVerificationLookupZipCodeFromCityOrStateResponse as AddressVerificationLookupZipCodeFromCityOrStateResponse, type AddressVerificationParseAnAddressResponse as AddressVerificationParseAnAddressResponse, type AddressVerificationSuggestAddressesResponse as AddressVerificationSuggestAddressesResponse, type AddressVerificationVerifyResponse as AddressVerificationVerifyResponse, type AddressVerificationAutocompleteParams as AddressVerificationAutocompleteParams, type AddressVerificationBatchVerificationParams as AddressVerificationBatchVerificationParams, type AddressVerificationGetAutocompletePreviewsParams as AddressVerificationGetAutocompletePreviewsParams, type AddressVerificationLookupCityOrStateFromPostalOrZipCodeParams as AddressVerificationLookupCityOrStateFromPostalOrZipCodeParams, type AddressVerificationLookupZipCodeFromCityOrStateParams as AddressVerificationLookupZipCodeFromCityOrStateParams, type AddressVerificationParseAnAddressParams as AddressVerificationParseAnAddressParams, type AddressVerificationSuggestAddressesParams as AddressVerificationSuggestAddressesParams, type AddressVerificationVerifyParams as AddressVerificationVerifyParams, };
|
|
214
|
+
export { IntlAddressVerification as IntlAddressVerification, type IntlAddressVerificationAutocompleteResponse as IntlAddressVerificationAutocompleteResponse, type IntlAddressVerificationBatchVerificationResponse as IntlAddressVerificationBatchVerificationResponse, type IntlAddressVerificationGetAutocompleteAdvancedPreviewsResponse as IntlAddressVerificationGetAutocompleteAdvancedPreviewsResponse, type IntlAddressVerificationGetAutocompletePreviewsResponse as IntlAddressVerificationGetAutocompletePreviewsResponse, type IntlAddressVerificationVerifyResponse as IntlAddressVerificationVerifyResponse, type IntlAddressVerificationAutocompleteParams as IntlAddressVerificationAutocompleteParams, type IntlAddressVerificationBatchVerificationParams as IntlAddressVerificationBatchVerificationParams, type IntlAddressVerificationGetAutocompleteAdvancedPreviewsParams as IntlAddressVerificationGetAutocompleteAdvancedPreviewsParams, type IntlAddressVerificationGetAutocompletePreviewsParams as IntlAddressVerificationGetAutocompletePreviewsParams, type IntlAddressVerificationVerifyParams as IntlAddressVerificationVerifyParams, };
|
|
215
|
+
export { PrintMail as PrintMail };
|
|
196
216
|
}
|
|
197
217
|
//# sourceMappingURL=client.d.mts.map
|
package/client.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.mts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAGT,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EAAgB,KAAK,eAAe,EAAE,iBAAiB,EAAE;OACzD,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EACL,mBAAmB,EACnB,+BAA+B,EAC/B,iCAAiC,EACjC,MAAM,IAAI,4BAA4B,EACtC,MAAM,EACP;OACM,EACL,uBAAuB,EACvB,mCAAmC,EACnC,qCAAqC,EACtC;OACM,
|
|
1
|
+
{"version":3,"file":"client.d.mts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAGT,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EAAgB,KAAK,eAAe,EAAE,iBAA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DAAoD,IAAI,oDAAoD,EACjH,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;IAEF,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,CAAC;CACnC"}
|
package/client.d.ts
CHANGED
|
@@ -8,9 +8,9 @@ import { type SkipLimitParams, SkipLimitResponse } from "./core/pagination.js";
|
|
|
8
8
|
import * as Uploads from "./core/uploads.js";
|
|
9
9
|
import * as API from "./resources/index.js";
|
|
10
10
|
import { APIPromise } from "./core/api-promise.js";
|
|
11
|
-
import { AddressVerification, AddressVerificationVerifyParams, AddressVerificationVerifyResponse, Errors as AddressVerificationAPIErrors, Status } from "./resources/address-verification.js";
|
|
12
|
-
import { IntlAddressVerification, IntlAddressVerificationVerifyParams, IntlAddressVerificationVerifyResponse } from "./resources/intl-address-verification.js";
|
|
13
|
-
import {
|
|
11
|
+
import { AddressVerification, AddressVerificationAutocompleteParams, AddressVerificationAutocompleteResponse, AddressVerificationBatchVerificationParams, AddressVerificationBatchVerificationResponse, AddressVerificationGetAutocompletePreviewsParams, AddressVerificationGetAutocompletePreviewsResponse, AddressVerificationGetLookupInfoResponse, AddressVerificationLookupCityOrStateFromPostalOrZipCodeParams, AddressVerificationLookupCityOrStateFromPostalOrZipCodeResponse, AddressVerificationLookupZipCodeFromCityOrStateParams, AddressVerificationLookupZipCodeFromCityOrStateResponse, AddressVerificationParseAnAddressParams, AddressVerificationParseAnAddressResponse, AddressVerificationSuggestAddressesParams, AddressVerificationSuggestAddressesResponse, AddressVerificationVerifyParams, AddressVerificationVerifyResponse, Errors as AddressVerificationAPIErrors, Status } from "./resources/address-verification.js";
|
|
12
|
+
import { IntlAddressVerification, IntlAddressVerificationAutocompleteParams, IntlAddressVerificationAutocompleteResponse, IntlAddressVerificationBatchVerificationParams, IntlAddressVerificationBatchVerificationResponse, IntlAddressVerificationGetAutocompleteAdvancedPreviewsParams, IntlAddressVerificationGetAutocompleteAdvancedPreviewsResponse, IntlAddressVerificationGetAutocompletePreviewsParams, IntlAddressVerificationGetAutocompletePreviewsResponse, IntlAddressVerificationVerifyParams, IntlAddressVerificationVerifyResponse } from "./resources/intl-address-verification.js";
|
|
13
|
+
import { PrintMail } from "./resources/print-mail/print-mail.js";
|
|
14
14
|
import { type Fetch } from "./internal/builtin-types.js";
|
|
15
15
|
import { HeadersLike, NullableHeaders } from "./internal/headers.js";
|
|
16
16
|
import { FinalRequestOptions, RequestOptions } from "./internal/request-options.js";
|
|
@@ -27,7 +27,7 @@ export interface ClientOptions {
|
|
|
27
27
|
/**
|
|
28
28
|
* Override the default base URL for the API, e.g., "https://api.example.com/v2/"
|
|
29
29
|
*
|
|
30
|
-
* Defaults to process.env['
|
|
30
|
+
* Defaults to process.env['POSTGRID_BASE_URL'].
|
|
31
31
|
*/
|
|
32
32
|
baseURL?: string | null | undefined;
|
|
33
33
|
/**
|
|
@@ -75,7 +75,7 @@ export interface ClientOptions {
|
|
|
75
75
|
/**
|
|
76
76
|
* Set the log level.
|
|
77
77
|
*
|
|
78
|
-
* Defaults to process.env['
|
|
78
|
+
* Defaults to process.env['POSTGRID_LOG'] or 'warn' if it isn't set.
|
|
79
79
|
*/
|
|
80
80
|
logLevel?: LogLevel | undefined;
|
|
81
81
|
/**
|
|
@@ -86,7 +86,7 @@ export interface ClientOptions {
|
|
|
86
86
|
logger?: Logger | undefined;
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
* API Client for interfacing with the
|
|
89
|
+
* API Client for interfacing with the PostGrid API.
|
|
90
90
|
*/
|
|
91
91
|
export declare class PostGrid {
|
|
92
92
|
#private;
|
|
@@ -95,18 +95,18 @@ export declare class PostGrid {
|
|
|
95
95
|
baseURL: string;
|
|
96
96
|
maxRetries: number;
|
|
97
97
|
timeout: number;
|
|
98
|
-
logger: Logger
|
|
98
|
+
logger: Logger;
|
|
99
99
|
logLevel: LogLevel | undefined;
|
|
100
100
|
fetchOptions: MergedRequestInit | undefined;
|
|
101
101
|
private fetch;
|
|
102
102
|
protected idempotencyHeader?: string;
|
|
103
103
|
private _options;
|
|
104
104
|
/**
|
|
105
|
-
* API Client for interfacing with the
|
|
105
|
+
* API Client for interfacing with the PostGrid API.
|
|
106
106
|
*
|
|
107
107
|
* @param {string | null | undefined} [opts.addressVerificationAPIKey=process.env['POSTGRID_ADDRESS_VERIFICATION_API_KEY'] ?? null]
|
|
108
108
|
* @param {string | null | undefined} [opts.printMailAPIKey=process.env['POSTGRID_PRINT_MAIL_API_KEY'] ?? null]
|
|
109
|
-
* @param {string} [opts.baseURL=process.env['
|
|
109
|
+
* @param {string} [opts.baseURL=process.env['POSTGRID_BASE_URL'] ?? https://api.postgrid.com] - Override the default base URL for the API.
|
|
110
110
|
* @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
|
|
111
111
|
* @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
|
|
112
112
|
* @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
|
|
@@ -124,7 +124,10 @@ export declare class PostGrid {
|
|
|
124
124
|
protected authHeaders(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
|
|
125
125
|
protected addressVerificationAPIKeyAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
|
|
126
126
|
protected printMailAPIKeyAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
|
|
127
|
-
|
|
127
|
+
/**
|
|
128
|
+
* Basic re-implementation of `qs.stringify` for primitive types.
|
|
129
|
+
*/
|
|
130
|
+
protected stringifyQuery(query: object | Record<string, unknown>): string;
|
|
128
131
|
private getUserAgent;
|
|
129
132
|
protected defaultIdempotencyKey(): string;
|
|
130
133
|
protected makeStatusError(status: number, error: Object, message: string | undefined, headers: Headers): Errors.APIError;
|
|
@@ -151,8 +154,8 @@ export declare class PostGrid {
|
|
|
151
154
|
private methodRequest;
|
|
152
155
|
request<Rsp>(options: PromiseOrValue<FinalRequestOptions>, remainingRetries?: number | null): APIPromise<Rsp>;
|
|
153
156
|
private makeRequest;
|
|
154
|
-
getAPIList<Item, PageClass extends Pagination.AbstractPage<Item> = Pagination.AbstractPage<Item>>(path: string, Page: new (...args: any[]) => PageClass, opts?: RequestOptions): Pagination.PagePromise<PageClass, Item>;
|
|
155
|
-
requestAPIList<Item = unknown, PageClass extends Pagination.AbstractPage<Item> = Pagination.AbstractPage<Item>>(Page: new (...args: ConstructorParameters<typeof Pagination.AbstractPage>) => PageClass, options: FinalRequestOptions): Pagination.PagePromise<PageClass, Item>;
|
|
157
|
+
getAPIList<Item, PageClass extends Pagination.AbstractPage<Item> = Pagination.AbstractPage<Item>>(path: string, Page: new (...args: any[]) => PageClass, opts?: PromiseOrValue<RequestOptions>): Pagination.PagePromise<PageClass, Item>;
|
|
158
|
+
requestAPIList<Item = unknown, PageClass extends Pagination.AbstractPage<Item> = Pagination.AbstractPage<Item>>(Page: new (...args: ConstructorParameters<typeof Pagination.AbstractPage>) => PageClass, options: PromiseOrValue<FinalRequestOptions>): Pagination.PagePromise<PageClass, Item>;
|
|
156
159
|
fetchWithTimeout(url: RequestInfo, init: RequestInit | undefined, ms: number, controller: AbortController): Promise<Response>;
|
|
157
160
|
private shouldRetry;
|
|
158
161
|
private retryRequest;
|
|
@@ -165,6 +168,7 @@ export declare class PostGrid {
|
|
|
165
168
|
timeout: number;
|
|
166
169
|
}>;
|
|
167
170
|
private buildHeaders;
|
|
171
|
+
private _makeAbort;
|
|
168
172
|
private buildBody;
|
|
169
173
|
static PostGrid: typeof PostGrid;
|
|
170
174
|
static DEFAULT_TIMEOUT: number;
|
|
@@ -182,7 +186,23 @@ export declare class PostGrid {
|
|
|
182
186
|
static PermissionDeniedError: typeof Errors.PermissionDeniedError;
|
|
183
187
|
static UnprocessableEntityError: typeof Errors.UnprocessableEntityError;
|
|
184
188
|
static toFile: typeof Uploads.toFile;
|
|
189
|
+
/**
|
|
190
|
+
* Standard Address Verification API.
|
|
191
|
+
*
|
|
192
|
+
* Provides endpoints to verify and standardize addresses across US and Canada,
|
|
193
|
+
* supporting both structured and freeform inputs.
|
|
194
|
+
*
|
|
195
|
+
* Note that this uses a different set of lookups than our international API.
|
|
196
|
+
*
|
|
197
|
+
*/
|
|
185
198
|
addressVerification: API.AddressVerification;
|
|
199
|
+
/**
|
|
200
|
+
* International Address Verification API.
|
|
201
|
+
*
|
|
202
|
+
* Provides endpoints to verify and standardize international addresses,
|
|
203
|
+
* supporting both structured and freeform inputs.
|
|
204
|
+
*
|
|
205
|
+
*/
|
|
186
206
|
intlAddressVerification: API.IntlAddressVerification;
|
|
187
207
|
printMail: API.PrintMail;
|
|
188
208
|
}
|
|
@@ -190,8 +210,8 @@ export declare namespace PostGrid {
|
|
|
190
210
|
export type RequestOptions = Opts.RequestOptions;
|
|
191
211
|
export import SkipLimit = Pagination.SkipLimit;
|
|
192
212
|
export { type SkipLimitParams as SkipLimitParams, type SkipLimitResponse as SkipLimitResponse };
|
|
193
|
-
export { AddressVerification as AddressVerification, type AddressVerificationAPIErrors as Errors, type Status as Status, type AddressVerificationVerifyResponse as AddressVerificationVerifyResponse, type AddressVerificationVerifyParams as AddressVerificationVerifyParams, };
|
|
194
|
-
export { IntlAddressVerification as IntlAddressVerification, type IntlAddressVerificationVerifyResponse as IntlAddressVerificationVerifyResponse, type IntlAddressVerificationVerifyParams as IntlAddressVerificationVerifyParams, };
|
|
195
|
-
export { PrintMail as PrintMail
|
|
213
|
+
export { AddressVerification as AddressVerification, type AddressVerificationAPIErrors as Errors, type Status as Status, type AddressVerificationAutocompleteResponse as AddressVerificationAutocompleteResponse, type AddressVerificationBatchVerificationResponse as AddressVerificationBatchVerificationResponse, type AddressVerificationGetAutocompletePreviewsResponse as AddressVerificationGetAutocompletePreviewsResponse, type AddressVerificationGetLookupInfoResponse as AddressVerificationGetLookupInfoResponse, type AddressVerificationLookupCityOrStateFromPostalOrZipCodeResponse as AddressVerificationLookupCityOrStateFromPostalOrZipCodeResponse, type AddressVerificationLookupZipCodeFromCityOrStateResponse as AddressVerificationLookupZipCodeFromCityOrStateResponse, type AddressVerificationParseAnAddressResponse as AddressVerificationParseAnAddressResponse, type AddressVerificationSuggestAddressesResponse as AddressVerificationSuggestAddressesResponse, type AddressVerificationVerifyResponse as AddressVerificationVerifyResponse, type AddressVerificationAutocompleteParams as AddressVerificationAutocompleteParams, type AddressVerificationBatchVerificationParams as AddressVerificationBatchVerificationParams, type AddressVerificationGetAutocompletePreviewsParams as AddressVerificationGetAutocompletePreviewsParams, type AddressVerificationLookupCityOrStateFromPostalOrZipCodeParams as AddressVerificationLookupCityOrStateFromPostalOrZipCodeParams, type AddressVerificationLookupZipCodeFromCityOrStateParams as AddressVerificationLookupZipCodeFromCityOrStateParams, type AddressVerificationParseAnAddressParams as AddressVerificationParseAnAddressParams, type AddressVerificationSuggestAddressesParams as AddressVerificationSuggestAddressesParams, type AddressVerificationVerifyParams as AddressVerificationVerifyParams, };
|
|
214
|
+
export { IntlAddressVerification as IntlAddressVerification, type IntlAddressVerificationAutocompleteResponse as IntlAddressVerificationAutocompleteResponse, type IntlAddressVerificationBatchVerificationResponse as IntlAddressVerificationBatchVerificationResponse, type IntlAddressVerificationGetAutocompleteAdvancedPreviewsResponse as IntlAddressVerificationGetAutocompleteAdvancedPreviewsResponse, type IntlAddressVerificationGetAutocompletePreviewsResponse as IntlAddressVerificationGetAutocompletePreviewsResponse, type IntlAddressVerificationVerifyResponse as IntlAddressVerificationVerifyResponse, type IntlAddressVerificationAutocompleteParams as IntlAddressVerificationAutocompleteParams, type IntlAddressVerificationBatchVerificationParams as IntlAddressVerificationBatchVerificationParams, type IntlAddressVerificationGetAutocompleteAdvancedPreviewsParams as IntlAddressVerificationGetAutocompleteAdvancedPreviewsParams, type IntlAddressVerificationGetAutocompletePreviewsParams as IntlAddressVerificationGetAutocompletePreviewsParams, type IntlAddressVerificationVerifyParams as IntlAddressVerificationVerifyParams, };
|
|
215
|
+
export { PrintMail as PrintMail };
|
|
196
216
|
}
|
|
197
217
|
//# sourceMappingURL=client.d.ts.map
|
package/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAGT,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EAAgB,KAAK,eAAe,EAAE,iBAAiB,EAAE;OACzD,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EACL,mBAAmB,EACnB,+BAA+B,EAC/B,iCAAiC,EACjC,MAAM,IAAI,4BAA4B,EACtC,MAAM,EACP;OACM,EACL,uBAAuB,EACvB,mCAAmC,EACnC,qCAAqC,EACtC;OACM,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAGT,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EAAgB,KAAK,eAAe,EAAE,iBAAiB,EAAE;OACzD,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EACL,mBAAmB,EACnB,qCAAqC,EACrC,uCAAuC,EACvC,0CAA0C,EAC1C,4CAA4C,EAC5C,gDAAgD,EAChD,kDAAkD,EAClD,wCAAwC,EACxC,6DAA6D,EAC7D,+DAA+D,EAC/D,qDAAqD,EACrD,uDAAuD,EACvD,uCAAuC,EACvC,yCAAyC,EACzC,yCAAyC,EACzC,2CAA2C,EAC3C,+BAA+B,EAC/B,iCAAiC,EACjC,MAAM,IAAI,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