postgrid-node 0.4.1 → 0.5.0
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 +17 -0
- package/LICENSE +1 -1
- package/README.md +3 -3
- package/client.d.mts +5 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -5
- package/client.d.ts.map +1 -1
- package/client.js +5 -5
- package/client.js.map +1 -1
- package/client.mjs +5 -5
- package/client.mjs.map +1 -1
- package/package.json +3 -3
- package/resources/print-mail/cheques.d.mts +25 -6
- package/resources/print-mail/cheques.d.mts.map +1 -1
- package/resources/print-mail/cheques.d.ts +25 -6
- package/resources/print-mail/cheques.d.ts.map +1 -1
- package/resources/print-mail/cheques.js.map +1 -1
- package/resources/print-mail/cheques.mjs.map +1 -1
- package/resources/print-mail/index.d.mts +0 -1
- package/resources/print-mail/index.d.mts.map +1 -1
- package/resources/print-mail/index.d.ts +0 -1
- package/resources/print-mail/index.d.ts.map +1 -1
- package/resources/print-mail/index.js +1 -3
- package/resources/print-mail/index.js.map +1 -1
- package/resources/print-mail/index.mjs +0 -1
- package/resources/print-mail/index.mjs.map +1 -1
- package/resources/print-mail/letters.d.mts +26 -7
- package/resources/print-mail/letters.d.mts.map +1 -1
- package/resources/print-mail/letters.d.ts +26 -7
- package/resources/print-mail/letters.d.ts.map +1 -1
- package/resources/print-mail/letters.js.map +1 -1
- package/resources/print-mail/letters.mjs.map +1 -1
- package/resources/print-mail/order-profiles/cheques.d.mts +4 -5
- package/resources/print-mail/order-profiles/cheques.d.mts.map +1 -1
- package/resources/print-mail/order-profiles/cheques.d.ts +4 -5
- package/resources/print-mail/order-profiles/cheques.d.ts.map +1 -1
- package/resources/print-mail/order-profiles/cheques.js.map +1 -1
- package/resources/print-mail/order-profiles/cheques.mjs.map +1 -1
- package/resources/print-mail/order-profiles/letters.d.mts +3 -4
- package/resources/print-mail/order-profiles/letters.d.mts.map +1 -1
- package/resources/print-mail/order-profiles/letters.d.ts +3 -4
- package/resources/print-mail/order-profiles/letters.d.ts.map +1 -1
- package/resources/print-mail/order-profiles/letters.js.map +1 -1
- package/resources/print-mail/order-profiles/letters.mjs.map +1 -1
- package/resources/print-mail/order-profiles/postcards.d.mts +3 -4
- package/resources/print-mail/order-profiles/postcards.d.mts.map +1 -1
- package/resources/print-mail/order-profiles/postcards.d.ts +3 -4
- package/resources/print-mail/order-profiles/postcards.d.ts.map +1 -1
- package/resources/print-mail/order-profiles/postcards.js.map +1 -1
- package/resources/print-mail/order-profiles/postcards.mjs.map +1 -1
- package/resources/print-mail/order-profiles/self-mailers.d.mts +3 -4
- package/resources/print-mail/order-profiles/self-mailers.d.mts.map +1 -1
- package/resources/print-mail/order-profiles/self-mailers.d.ts +3 -4
- package/resources/print-mail/order-profiles/self-mailers.d.ts.map +1 -1
- package/resources/print-mail/order-profiles/self-mailers.js.map +1 -1
- package/resources/print-mail/order-profiles/self-mailers.mjs.map +1 -1
- package/resources/print-mail/postcards.d.mts +27 -8
- package/resources/print-mail/postcards.d.mts.map +1 -1
- package/resources/print-mail/postcards.d.ts +27 -8
- package/resources/print-mail/postcards.d.ts.map +1 -1
- package/resources/print-mail/postcards.js.map +1 -1
- package/resources/print-mail/postcards.mjs.map +1 -1
- package/resources/print-mail/print-mail.d.mts +0 -4
- package/resources/print-mail/print-mail.d.mts.map +1 -1
- package/resources/print-mail/print-mail.d.ts +0 -4
- package/resources/print-mail/print-mail.d.ts.map +1 -1
- package/resources/print-mail/print-mail.js +0 -4
- package/resources/print-mail/print-mail.js.map +1 -1
- package/resources/print-mail/print-mail.mjs +0 -4
- package/resources/print-mail/print-mail.mjs.map +1 -1
- package/resources/print-mail/self-mailers.d.mts +27 -8
- package/resources/print-mail/self-mailers.d.mts.map +1 -1
- package/resources/print-mail/self-mailers.d.ts +27 -8
- package/resources/print-mail/self-mailers.d.ts.map +1 -1
- package/resources/print-mail/self-mailers.js.map +1 -1
- package/resources/print-mail/self-mailers.mjs.map +1 -1
- package/src/client.ts +7 -7
- package/src/resources/print-mail/cheques.ts +80 -6
- package/src/resources/print-mail/index.ts +0 -12
- package/src/resources/print-mail/letters.ts +107 -7
- package/src/resources/print-mail/order-profiles/cheques.ts +108 -5
- package/src/resources/print-mail/order-profiles/letters.ts +81 -4
- package/src/resources/print-mail/order-profiles/postcards.ts +81 -4
- package/src/resources/print-mail/order-profiles/self-mailers.ts +81 -4
- package/src/resources/print-mail/postcards.ts +134 -8
- package/src/resources/print-mail/print-mail.ts +0 -28
- package/src/resources/print-mail/self-mailers.ts +134 -8
- 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/resources/print-mail/boxes.d.mts +0 -321
- package/resources/print-mail/boxes.d.mts.map +0 -1
- package/resources/print-mail/boxes.d.ts +0 -321
- package/resources/print-mail/boxes.d.ts.map +0 -1
- package/resources/print-mail/boxes.js +0 -85
- package/resources/print-mail/boxes.js.map +0 -1
- package/resources/print-mail/boxes.mjs +0 -81
- package/resources/print-mail/boxes.mjs.map +0 -1
- package/src/resources/print-mail/boxes.ts +0 -412
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
-
import * as BoxesAPI from "./boxes.js";
|
|
3
2
|
import * as ContactsAPI from "./contacts.js";
|
|
4
3
|
import * as PrintMailAPI from "./print-mail.js";
|
|
5
4
|
import { APIPromise } from "../../core/api-promise.js";
|
|
@@ -145,7 +144,7 @@ export interface Cheque {
|
|
|
145
144
|
* The mailing class of this order. This determines the speed and cost of delivery.
|
|
146
145
|
* See `OrderMailingClass` for more details.
|
|
147
146
|
*/
|
|
148
|
-
mailingClass:
|
|
147
|
+
mailingClass: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
149
148
|
/**
|
|
150
149
|
* Always `cheque`.
|
|
151
150
|
*/
|
|
@@ -163,7 +162,7 @@ export interface Cheque {
|
|
|
163
162
|
/**
|
|
164
163
|
* See `OrderStatus` for more details on the status of this order.
|
|
165
164
|
*/
|
|
166
|
-
status:
|
|
165
|
+
status: 'ready' | 'printing' | 'processed_for_delivery' | 'completed' | 'cancelled';
|
|
167
166
|
/**
|
|
168
167
|
* The recipient of this order. This will be provided even if you delete the
|
|
169
168
|
* underlying contact.
|
|
@@ -177,7 +176,7 @@ export interface Cheque {
|
|
|
177
176
|
* The cancellation details of this order. Populated if the order has been
|
|
178
177
|
* cancelled.
|
|
179
178
|
*/
|
|
180
|
-
cancellation?:
|
|
179
|
+
cancellation?: Cheque.Cancellation;
|
|
181
180
|
/**
|
|
182
181
|
* A link to the deposit-ready PDF for a digital-only cheque, returned if requested
|
|
183
182
|
* and available.
|
|
@@ -207,7 +206,7 @@ export interface Cheque {
|
|
|
207
206
|
* US-printed and US-destined orders. This is the most detailed way to track
|
|
208
207
|
* non-express/certified orders.
|
|
209
208
|
*/
|
|
210
|
-
imbStatus?:
|
|
209
|
+
imbStatus?: 'entered_mail_stream' | 'out_for_delivery' | 'returned_to_sender';
|
|
211
210
|
/**
|
|
212
211
|
* The most recent ZIP code of the USPS facility that the order has been processed
|
|
213
212
|
* through. Only populated when an `imbStatus` is present.
|
|
@@ -265,6 +264,26 @@ export interface Cheque {
|
|
|
265
264
|
*/
|
|
266
265
|
url?: string;
|
|
267
266
|
}
|
|
267
|
+
export declare namespace Cheque {
|
|
268
|
+
/**
|
|
269
|
+
* The cancellation details of this order. Populated if the order has been
|
|
270
|
+
* cancelled.
|
|
271
|
+
*/
|
|
272
|
+
interface Cancellation {
|
|
273
|
+
/**
|
|
274
|
+
* The reason for the cancellation.
|
|
275
|
+
*/
|
|
276
|
+
reason: 'user_initiated' | 'invalid_content' | 'invalid_order_mailing_class';
|
|
277
|
+
/**
|
|
278
|
+
* The user ID who cancelled the order.
|
|
279
|
+
*/
|
|
280
|
+
cancelledByUser?: string;
|
|
281
|
+
/**
|
|
282
|
+
* An optional note provided by the user who cancelled the order.
|
|
283
|
+
*/
|
|
284
|
+
note?: string;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
268
287
|
/**
|
|
269
288
|
* Enum representing the supported cheque sizes.
|
|
270
289
|
*/
|
|
@@ -340,7 +359,7 @@ export interface ChequeCreateParams {
|
|
|
340
359
|
* The mailing class of this order. If not provided, automatically set to
|
|
341
360
|
* `first_class`.
|
|
342
361
|
*/
|
|
343
|
-
mailingClass?:
|
|
362
|
+
mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
344
363
|
/**
|
|
345
364
|
* The memo of the cheque.
|
|
346
365
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cheques.d.ts","sourceRoot":"","sources":["../../src/resources/print-mail/cheques.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,
|
|
1
|
+
{"version":3,"file":"cheques.d.ts","sourceRo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;OAEG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAEtC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,YAAY,CAAC,0BAA0B,GAAG,YAAY,CAAC,4BAA4B,GAAG,MAAM,CAAC;IAE1G;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAED,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cheques.js","sourceRoot":"","sources":["../../src/resources/print-mail/cheques.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"cheques.js","sourceRoot":"","sources":["../../src/resources/print-mail/cheques.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,yDAAqF;AAErF,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,0BAA0B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,EAAE,CAAA,sBAAiB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,0BAA0B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,WAAW,CAAC,EAAU,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,0BAA0B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,2BAA2B,CAAC,EAAU,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,0BAA0B,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAC;IAC9F,CAAC;CACF;AA3HD,0BA2HC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cheques.mjs","sourceRoot":"","sources":["../../src/resources/print-mail/cheques.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"cheques.mjs","sourceRo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AC,GAAG,CAAC,IAAI,CAAA,0BAA0B,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAC;IAC9F,CAAC;CACF"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { BankAccounts, type BankAccount, type BankAccountCountryCode, type BankAccountDeleteResponse, type BankAccountCreateParams, type BankAccountListParams, type BankAccountsSkipLimit, } from "./bank-accounts.mjs";
|
|
2
|
-
export { Boxes, type Box, type BoxChequeBase, type Cancellation, type OrderImbStatus, type OrderMailingClass, type OrderStatus, type BoxCreateParams, type BoxListParams, type BoxesSkipLimit, } from "./boxes.mjs";
|
|
3
2
|
export { Campaigns, type Campaign, type CampaignDeleteResponse, type CampaignCreateParams, type CampaignUpdateParams, type CampaignListParams, type CampaignSendParams, type CampaignsSkipLimit, } from "./campaigns.mjs";
|
|
4
3
|
export { Cheques, type Cheque, type ChequeSize, type DigitalOnly, type ChequeRetrieveURLResponse, type ChequeCreateParams, type ChequeListParams, type ChequesSkipLimit, } from "./cheques.mjs";
|
|
5
4
|
export { Contacts, type Contact, type ContactCreate, type ContactDeleteResponse, type ContactCreateParams, type ContactListParams, type ContactsSkipLimit, } from "./contacts.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/print-mail/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B;OACM,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/print-mail/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B;OACM,E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OACjF,EACL,OAAO,EACP,KAAK,eAAe,EACpB,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,GACtB;OACM,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B;OACM,EACL,gBAAgB,EAChB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,6BAA6B,EAClC,KAAK,oCAAoC,EACzC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,yBAAyB,GAC/B;OACM,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { BankAccounts, type BankAccount, type BankAccountCountryCode, type BankAccountDeleteResponse, type BankAccountCreateParams, type BankAccountListParams, type BankAccountsSkipLimit, } from "./bank-accounts.js";
|
|
2
|
-
export { Boxes, type Box, type BoxChequeBase, type Cancellation, type OrderImbStatus, type OrderMailingClass, type OrderStatus, type BoxCreateParams, type BoxListParams, type BoxesSkipLimit, } from "./boxes.js";
|
|
3
2
|
export { Campaigns, type Campaign, type CampaignDeleteResponse, type CampaignCreateParams, type CampaignUpdateParams, type CampaignListParams, type CampaignSendParams, type CampaignsSkipLimit, } from "./campaigns.js";
|
|
4
3
|
export { Cheques, type Cheque, type ChequeSize, type DigitalOnly, type ChequeRetrieveURLResponse, type ChequeCreateParams, type ChequeListParams, type ChequesSkipLimit, } from "./cheques.js";
|
|
5
4
|
export { Contacts, type Contact, type ContactCreate, type ContactDeleteResponse, type ContactCreateParams, type ContactListParams, type ContactsSkipLimit, } from "./contacts.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/print-mail/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B;OACM,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/print-mail/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B;OACM,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB;OACM,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB;OACM,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB;OACM,EACL,OAAO,EACP,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB;OACM,EACL,kBAAkB,EAClB,KAAK,QAAQ,EACb,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,mCAAmC,GACzC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B;OACM,EAAE,aAAa,EAAE;OACjB,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB;OACM,EAAE,SAAS,EAAE,KAAK,4BAA4B,EAAE,KAAK,0BAA0B,EAAE;OACjF,EACL,OAAO,EACP,KAAK,eAAe,EACpB,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,GACtB;OACM,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B;OACM,EACL,gBAAgB,EAChB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,6BAA6B,EAClC,KAAK,oCAAoC,EACzC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,yBAAyB,GAC/B;OACM,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Templates = exports.SubOrganizations = exports.SelfMailers = exports.Reports = exports.PrintMail = exports.Postcards = exports.OrderProfiles = exports.MailingLists = exports.MailingListImports = exports.Letters = exports.Contacts = exports.Cheques = exports.Campaigns = exports.
|
|
4
|
+
exports.Templates = exports.SubOrganizations = exports.SelfMailers = exports.Reports = exports.PrintMail = exports.Postcards = exports.OrderProfiles = exports.MailingLists = exports.MailingListImports = exports.Letters = exports.Contacts = exports.Cheques = exports.Campaigns = exports.BankAccounts = void 0;
|
|
5
5
|
var bank_accounts_1 = require("./bank-accounts.js");
|
|
6
6
|
Object.defineProperty(exports, "BankAccounts", { enumerable: true, get: function () { return bank_accounts_1.BankAccounts; } });
|
|
7
|
-
var boxes_1 = require("./boxes.js");
|
|
8
|
-
Object.defineProperty(exports, "Boxes", { enumerable: true, get: function () { return boxes_1.Boxes; } });
|
|
9
7
|
var campaigns_1 = require("./campaigns.js");
|
|
10
8
|
Object.defineProperty(exports, "Campaigns", { enumerable: true, get: function () { return campaigns_1.Campaigns; } });
|
|
11
9
|
var cheques_1 = require("./cheques.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/print-mail/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAQyB;AAPvB,6GAAA,YAAY,OAAA;AAQd,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/print-mail/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAQyB;AAPvB,6GAAA,YAAY,OAAA;AAQd,4CASqB;AARnB,sGAAA,SAAS,OAAA;AASX,wCASmB;AARjB,kGAAA,OAAO,OAAA;AAST,0CAQoB;AAPlB,oGAAA,QAAQ,OAAA;AAQV,wCAWmB;AAVjB,kGAAA,OAAO,OAAA;AAWT,kEAUgC;AAT9B,0HAAA,kBAAkB,OAAA;AAUpB,oDAUyB;AATvB,6GAAA,YAAY,OAAA;AAUd,mDAAuD;AAA9C,sGAAA,aAAa,OAAA;AACtB,4CAOqB;AANnB,sGAAA,SAAS,OAAA;AAOX,8CAA6G;AAApG,uGAAA,SAAS,OAAA;AAClB,4CASyB;AARvB,gGAAA,OAAO,OAAA;AAST,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,4DAU6B;AAT3B,qHAAA,gBAAgB,OAAA;AAUlB,4CAQqB;AAPnB,sGAAA,SAAS,OAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { BankAccounts, } from "./bank-accounts.mjs";
|
|
3
|
-
export { Boxes, } from "./boxes.mjs";
|
|
4
3
|
export { Campaigns, } from "./campaigns.mjs";
|
|
5
4
|
export { Cheques, } from "./cheques.mjs";
|
|
6
5
|
export { Contacts, } from "./contacts.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/print-mail/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,YAAY,GAOb;OACM,EACL,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/print-mail/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,YAAY,GAOb;OACM,EACL,SAAS,GAQV;OACM,EACL,OAAO,GAQR;OACM,EACL,QAAQ,GAOT;OACM,EACL,OAAO,GAUR;OACM,EACL,kBAAkB,GASnB;OACM,EACL,YAAY,GASb;OACM,EAAE,aAAa,EAAE;OACjB,EACL,SAAS,GAMV;OACM,EAAE,SAAS,EAAsE;OACjF,EACL,OAAO,GAQR;OACM,EACL,WAAW,GAMZ;OACM,EACL,gBAAgB,GASjB;OACM,EACL,SAAS,GAOV"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
-
import * as BoxesAPI from "./boxes.mjs";
|
|
3
2
|
import * as ContactsAPI from "./contacts.mjs";
|
|
4
3
|
import * as PrintMailAPI from "./print-mail.mjs";
|
|
5
4
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
@@ -128,7 +127,7 @@ export interface Letter {
|
|
|
128
127
|
* The mailing class of this order. This determines the speed and cost of delivery.
|
|
129
128
|
* See `OrderMailingClass` for more details.
|
|
130
129
|
*/
|
|
131
|
-
mailingClass:
|
|
130
|
+
mailingClass: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
132
131
|
/**
|
|
133
132
|
* Always `letter`.
|
|
134
133
|
*/
|
|
@@ -146,7 +145,7 @@ export interface Letter {
|
|
|
146
145
|
/**
|
|
147
146
|
* See `OrderStatus` for more details on the status of this order.
|
|
148
147
|
*/
|
|
149
|
-
status:
|
|
148
|
+
status: 'ready' | 'printing' | 'processed_for_delivery' | 'completed' | 'cancelled';
|
|
150
149
|
/**
|
|
151
150
|
* The recipient of this order. This will be provided even if you delete the
|
|
152
151
|
* underlying contact.
|
|
@@ -164,7 +163,7 @@ export interface Letter {
|
|
|
164
163
|
* The cancellation details of this order. Populated if the order has been
|
|
165
164
|
* cancelled.
|
|
166
165
|
*/
|
|
167
|
-
cancellation?:
|
|
166
|
+
cancellation?: Letter.Cancellation;
|
|
168
167
|
/**
|
|
169
168
|
* An optional string describing this resource. Will be visible in the API and the
|
|
170
169
|
* dashboard.
|
|
@@ -184,7 +183,7 @@ export interface Letter {
|
|
|
184
183
|
* US-printed and US-destined orders. This is the most detailed way to track
|
|
185
184
|
* non-express/certified orders.
|
|
186
185
|
*/
|
|
187
|
-
imbStatus?:
|
|
186
|
+
imbStatus?: 'entered_mail_stream' | 'out_for_delivery' | 'returned_to_sender';
|
|
188
187
|
/**
|
|
189
188
|
* The most recent ZIP code of the USPS facility that the order has been processed
|
|
190
189
|
* through. Only populated when an `imbStatus` is present.
|
|
@@ -249,6 +248,26 @@ export interface Letter {
|
|
|
249
248
|
*/
|
|
250
249
|
url?: string;
|
|
251
250
|
}
|
|
251
|
+
export declare namespace Letter {
|
|
252
|
+
/**
|
|
253
|
+
* The cancellation details of this order. Populated if the order has been
|
|
254
|
+
* cancelled.
|
|
255
|
+
*/
|
|
256
|
+
interface Cancellation {
|
|
257
|
+
/**
|
|
258
|
+
* The reason for the cancellation.
|
|
259
|
+
*/
|
|
260
|
+
reason: 'user_initiated' | 'invalid_content' | 'invalid_order_mailing_class';
|
|
261
|
+
/**
|
|
262
|
+
* The user ID who cancelled the order.
|
|
263
|
+
*/
|
|
264
|
+
cancelledByUser?: string;
|
|
265
|
+
/**
|
|
266
|
+
* An optional note provided by the user who cancelled the order.
|
|
267
|
+
*/
|
|
268
|
+
note?: string;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
252
271
|
/**
|
|
253
272
|
* Enum representing the supported letter sizes.
|
|
254
273
|
*/
|
|
@@ -379,7 +398,7 @@ export declare namespace LetterCreateParams {
|
|
|
379
398
|
* The mailing class of this order. If not provided, automatically set to
|
|
380
399
|
* `first_class`.
|
|
381
400
|
*/
|
|
382
|
-
mailingClass?:
|
|
401
|
+
mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
383
402
|
/**
|
|
384
403
|
* These will be merged with the variables in the template or HTML you create this
|
|
385
404
|
* order with. The keys in this object should match the variable names in the
|
|
@@ -472,7 +491,7 @@ export declare namespace LetterCreateParams {
|
|
|
472
491
|
* The mailing class of this order. If not provided, automatically set to
|
|
473
492
|
* `first_class`.
|
|
474
493
|
*/
|
|
475
|
-
mailingClass?:
|
|
494
|
+
mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
476
495
|
/**
|
|
477
496
|
* These will be merged with the variables in the template or HTML you create this
|
|
478
497
|
* order with. The keys in this object should match the variable names in the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"letters.d.mts","sourceRoot":"","sources":["../../src/resources/print-mail/letters.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,
|
|
1
|
+
{"version":3,"file":"letters.d.mts","sourceRoot":"","sources":["../../src/resources/print-mail/letters.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;O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nB;CACF;AAED,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
-
import * as BoxesAPI from "./boxes.js";
|
|
3
2
|
import * as ContactsAPI from "./contacts.js";
|
|
4
3
|
import * as PrintMailAPI from "./print-mail.js";
|
|
5
4
|
import { APIPromise } from "../../core/api-promise.js";
|
|
@@ -128,7 +127,7 @@ export interface Letter {
|
|
|
128
127
|
* The mailing class of this order. This determines the speed and cost of delivery.
|
|
129
128
|
* See `OrderMailingClass` for more details.
|
|
130
129
|
*/
|
|
131
|
-
mailingClass:
|
|
130
|
+
mailingClass: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
132
131
|
/**
|
|
133
132
|
* Always `letter`.
|
|
134
133
|
*/
|
|
@@ -146,7 +145,7 @@ export interface Letter {
|
|
|
146
145
|
/**
|
|
147
146
|
* See `OrderStatus` for more details on the status of this order.
|
|
148
147
|
*/
|
|
149
|
-
status:
|
|
148
|
+
status: 'ready' | 'printing' | 'processed_for_delivery' | 'completed' | 'cancelled';
|
|
150
149
|
/**
|
|
151
150
|
* The recipient of this order. This will be provided even if you delete the
|
|
152
151
|
* underlying contact.
|
|
@@ -164,7 +163,7 @@ export interface Letter {
|
|
|
164
163
|
* The cancellation details of this order. Populated if the order has been
|
|
165
164
|
* cancelled.
|
|
166
165
|
*/
|
|
167
|
-
cancellation?:
|
|
166
|
+
cancellation?: Letter.Cancellation;
|
|
168
167
|
/**
|
|
169
168
|
* An optional string describing this resource. Will be visible in the API and the
|
|
170
169
|
* dashboard.
|
|
@@ -184,7 +183,7 @@ export interface Letter {
|
|
|
184
183
|
* US-printed and US-destined orders. This is the most detailed way to track
|
|
185
184
|
* non-express/certified orders.
|
|
186
185
|
*/
|
|
187
|
-
imbStatus?:
|
|
186
|
+
imbStatus?: 'entered_mail_stream' | 'out_for_delivery' | 'returned_to_sender';
|
|
188
187
|
/**
|
|
189
188
|
* The most recent ZIP code of the USPS facility that the order has been processed
|
|
190
189
|
* through. Only populated when an `imbStatus` is present.
|
|
@@ -249,6 +248,26 @@ export interface Letter {
|
|
|
249
248
|
*/
|
|
250
249
|
url?: string;
|
|
251
250
|
}
|
|
251
|
+
export declare namespace Letter {
|
|
252
|
+
/**
|
|
253
|
+
* The cancellation details of this order. Populated if the order has been
|
|
254
|
+
* cancelled.
|
|
255
|
+
*/
|
|
256
|
+
interface Cancellation {
|
|
257
|
+
/**
|
|
258
|
+
* The reason for the cancellation.
|
|
259
|
+
*/
|
|
260
|
+
reason: 'user_initiated' | 'invalid_content' | 'invalid_order_mailing_class';
|
|
261
|
+
/**
|
|
262
|
+
* The user ID who cancelled the order.
|
|
263
|
+
*/
|
|
264
|
+
cancelledByUser?: string;
|
|
265
|
+
/**
|
|
266
|
+
* An optional note provided by the user who cancelled the order.
|
|
267
|
+
*/
|
|
268
|
+
note?: string;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
252
271
|
/**
|
|
253
272
|
* Enum representing the supported letter sizes.
|
|
254
273
|
*/
|
|
@@ -379,7 +398,7 @@ export declare namespace LetterCreateParams {
|
|
|
379
398
|
* The mailing class of this order. If not provided, automatically set to
|
|
380
399
|
* `first_class`.
|
|
381
400
|
*/
|
|
382
|
-
mailingClass?:
|
|
401
|
+
mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
383
402
|
/**
|
|
384
403
|
* These will be merged with the variables in the template or HTML you create this
|
|
385
404
|
* order with. The keys in this object should match the variable names in the
|
|
@@ -472,7 +491,7 @@ export declare namespace LetterCreateParams {
|
|
|
472
491
|
* The mailing class of this order. If not provided, automatically set to
|
|
473
492
|
* `first_class`.
|
|
474
493
|
*/
|
|
475
|
-
mailingClass?:
|
|
494
|
+
mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
476
495
|
/**
|
|
477
496
|
* These will be merged with the variables in the template or HTML you create this
|
|
478
497
|
* order with. The keys in this object should match the variable names in the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"letters.d.ts","sourceRoot":"","sources":["../../src/resources/print-mail/letters.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,
|
|
1
|
+
{"version":3,"file":"letters.d.ts","sourceRoot":"","sources":["../../src/resources/print-mail/letters.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,eAAe,EAAE;OAChD,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAI9E;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAIlE;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAIxC;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAIhE;;;;;;;;;;;;;;OAcG;IACH,WAAW,CAAC,E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4BAA4B,GAC5B,uBAAuB,GACvB,mBAAmB,GACnB,mBAAmB,GACnB,wBAAwB,GACxB,yBAAyB,GACzB,sBAAsB,CAAC;QAE3B;;;;;WAKG;QACH,cAAc,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;QAE5C;;WAEG;QACH,QAAQ,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;QAEtC;;;WAGG;QACH,cAAc,CAAC,EAAE,CAAC,CAAC;QAEnB;;WAEG;QACH,WAAW,CAAC,EAAE,WAAW,CAAC;QAE1B;;WAEG;QACH,cAAc,CAAC,EAAE,MAAM,CAAC;QAExB;;;WAGG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,IAAI,CAAC,EAAE,UAAU,CAAC;KACnB;CACF;AAED,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"letters.js","sourceRoot":"","sources":["../../src/resources/print-mail/letters.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"letters.js","sourceRoot":"","sources":["../../src/resources/print-mail/letters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AAE;
|
|
1
|
+
{"version":3,"file":"letters.mjs","sourceRoot":"","sources":["../../src/resources/print-mail/letters.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAe,SAAS,EAAwB;OAEhD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,0BAA0B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,EAAE,CAAA,SAAiB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,0BAA0B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,WAAW,CAAC,EAAU,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,0BAA0B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;CACF"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import * as BoxesAPI from "../boxes.mjs";
|
|
3
2
|
import * as ChequesAPI from "../cheques.mjs";
|
|
4
3
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
5
4
|
import { PagePromise, SkipLimit, type SkipLimitParams } from "../../../core/pagination.mjs";
|
|
@@ -126,7 +125,7 @@ export interface ChequeProfile {
|
|
|
126
125
|
* Mailing class. Generally must be first class (or equivalent for destination
|
|
127
126
|
* country) for cheques.
|
|
128
127
|
*/
|
|
129
|
-
mailingClass?:
|
|
128
|
+
mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
130
129
|
/**
|
|
131
130
|
* Memo line text for the cheque. Set to `null` to remove during update.
|
|
132
131
|
*/
|
|
@@ -203,7 +202,7 @@ export interface ChequeListResponse {
|
|
|
203
202
|
* Mailing class. Generally must be first class (or equivalent for destination
|
|
204
203
|
* country) for cheques.
|
|
205
204
|
*/
|
|
206
|
-
mailingClass?:
|
|
205
|
+
mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
207
206
|
/**
|
|
208
207
|
* Memo line text for the cheque. Set to `null` to remove during update.
|
|
209
208
|
*/
|
|
@@ -277,7 +276,7 @@ export interface ChequeCreateParams {
|
|
|
277
276
|
* Body param: Mailing class. Generally must be first class (or equivalent for
|
|
278
277
|
* destination country) for cheques.
|
|
279
278
|
*/
|
|
280
|
-
mailingClass?:
|
|
279
|
+
mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
281
280
|
/**
|
|
282
281
|
* Body param: Memo line text for the cheque. Set to `null` to remove during
|
|
283
282
|
* update.
|
|
@@ -348,7 +347,7 @@ export interface ChequeUpdateParams {
|
|
|
348
347
|
* Body param: Mailing class. Generally must be first class (or equivalent for
|
|
349
348
|
* destination country) for cheques.
|
|
350
349
|
*/
|
|
351
|
-
mailingClass?:
|
|
350
|
+
mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
352
351
|
/**
|
|
353
352
|
* Body param: Memo line text for the cheque. Set to `null` to remove during
|
|
354
353
|
* update.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cheques.d.mts","sourceRoot":"","sources":["../../../src/resources/print-mail/order-profiles/cheques.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,
|
|
1
|
+
{"version":3,"file":"cheques.d.mts","sourceRoot":"","sources":["../../../src/resources/print-mail/order-profiles/cheques.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,eAAe,EAAE;OAChD,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,MAAM,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IASvF;;;;;;;;;;OAUG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC;IAI5B;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IASnG;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,4BAA4B,EAAE,kBAAkB,CAAC;IAOhE;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import * as BoxesAPI from "../boxes.js";
|
|
3
2
|
import * as ChequesAPI from "../cheques.js";
|
|
4
3
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
5
4
|
import { PagePromise, SkipLimit, type SkipLimitParams } from "../../../core/pagination.js";
|
|
@@ -126,7 +125,7 @@ export interface ChequeProfile {
|
|
|
126
125
|
* Mailing class. Generally must be first class (or equivalent for destination
|
|
127
126
|
* country) for cheques.
|
|
128
127
|
*/
|
|
129
|
-
mailingClass?:
|
|
128
|
+
mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
130
129
|
/**
|
|
131
130
|
* Memo line text for the cheque. Set to `null` to remove during update.
|
|
132
131
|
*/
|
|
@@ -203,7 +202,7 @@ export interface ChequeListResponse {
|
|
|
203
202
|
* Mailing class. Generally must be first class (or equivalent for destination
|
|
204
203
|
* country) for cheques.
|
|
205
204
|
*/
|
|
206
|
-
mailingClass?:
|
|
205
|
+
mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
207
206
|
/**
|
|
208
207
|
* Memo line text for the cheque. Set to `null` to remove during update.
|
|
209
208
|
*/
|
|
@@ -277,7 +276,7 @@ export interface ChequeCreateParams {
|
|
|
277
276
|
* Body param: Mailing class. Generally must be first class (or equivalent for
|
|
278
277
|
* destination country) for cheques.
|
|
279
278
|
*/
|
|
280
|
-
mailingClass?:
|
|
279
|
+
mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
281
280
|
/**
|
|
282
281
|
* Body param: Memo line text for the cheque. Set to `null` to remove during
|
|
283
282
|
* update.
|
|
@@ -348,7 +347,7 @@ export interface ChequeUpdateParams {
|
|
|
348
347
|
* Body param: Mailing class. Generally must be first class (or equivalent for
|
|
349
348
|
* destination country) for cheques.
|
|
350
349
|
*/
|
|
351
|
-
mailingClass?:
|
|
350
|
+
mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
|
|
352
351
|
/**
|
|
353
352
|
* Body param: Memo line text for the cheque. Set to `null` to remove during
|
|
354
353
|
* update.
|