diff --git a/errors_easypost_error.js.html b/errors_easypost_error.js.html index 236564da8..d96fcf1fd 100644 --- a/errors_easypost_error.js.html +++ b/errors_easypost_error.js.html @@ -49,13 +49,13 @@

Source: errors/easypost_error.js


diff --git a/errors_error_handler.js.html b/errors_error_handler.js.html index 74e7abcec..67734b828 100644 --- a/errors_error_handler.js.html +++ b/errors_error_handler.js.html @@ -135,13 +135,13 @@

Source: errors/error_handler.js


diff --git a/global.html b/global.html index 5aa22a4e0..23fcf745a 100644 --- a/global.html +++ b/global.html @@ -2353,7 +2353,7 @@
Parameters:
Source:
@@ -4745,7 +4745,7 @@
Parameters:
Source:
@@ -8733,166 +8733,6 @@
Returns:
-

(async) createAndBuy(params) → {Batch}

- - - - - - -
- Create and purchase a batch in a single request. -See EasyPost API Documentation for more information. -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
params - - -Object - - - - Parameters for the batch to be created and purchased.
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- - The created and purchased batch. -
- - - -
-
- Type -
-
- -Batch - - -
-
- - - - - - - - - - - - -

(async) createAndVerify(params) → {Address}

@@ -15745,7 +15585,7 @@
Parameters:
Source:
@@ -21680,13 +21520,13 @@
Returns:

diff --git a/index.html b/index.html index 6bcb3e936..e58701622 100644 --- a/index.html +++ b/index.html @@ -50,13 +50,13 @@


diff --git a/models_address.js.html b/models_address.js.html index 364e7f1f8..1c1c13cd0 100644 --- a/models_address.js.html +++ b/models_address.js.html @@ -60,13 +60,13 @@

Source: models/address.js


diff --git a/models_api_key.js.html b/models_api_key.js.html index bbf870403..4e885b93c 100644 --- a/models_api_key.js.html +++ b/models_api_key.js.html @@ -47,13 +47,13 @@

Source: models/api_key.js


diff --git a/models_batch.js.html b/models_batch.js.html index 00625d91c..fe7b4da69 100644 --- a/models_batch.js.html +++ b/models_batch.js.html @@ -53,13 +53,13 @@

Source: models/batch.js


diff --git a/models_brand.js.html b/models_brand.js.html index a33b63e10..a997e74e4 100644 --- a/models_brand.js.html +++ b/models_brand.js.html @@ -54,13 +54,13 @@

Source: models/brand.js


diff --git a/models_carrier_account.js.html b/models_carrier_account.js.html index 7d369e519..b1b355ca5 100644 --- a/models_carrier_account.js.html +++ b/models_carrier_account.js.html @@ -53,13 +53,13 @@

Source: models/carrier_account.js


diff --git a/models_carrier_type.js.html b/models_carrier_type.js.html index 6480b1b05..f00711329 100644 --- a/models_carrier_type.js.html +++ b/models_carrier_type.js.html @@ -47,13 +47,13 @@

Source: models/carrier_type.js


diff --git a/models_customs_info.js.html b/models_customs_info.js.html index aeeb1244c..229871071 100644 --- a/models_customs_info.js.html +++ b/models_customs_info.js.html @@ -55,13 +55,13 @@

Source: models/customs_info.js


diff --git a/models_customs_item.js.html b/models_customs_item.js.html index 8f651bec6..5b1b47bab 100644 --- a/models_customs_item.js.html +++ b/models_customs_item.js.html @@ -53,13 +53,13 @@

Source: models/customs_item.js


diff --git a/models_easypost_object.js.html b/models_easypost_object.js.html index 5ce54762a..d2734ea5f 100644 --- a/models_easypost_object.js.html +++ b/models_easypost_object.js.html @@ -49,13 +49,13 @@

Source: models/easypost_object.js


diff --git a/models_end_shipper.js.html b/models_end_shipper.js.html index f65e020ca..bff1393c5 100644 --- a/models_end_shipper.js.html +++ b/models_end_shipper.js.html @@ -55,13 +55,13 @@

Source: models/end_shipper.js


diff --git a/models_event.js.html b/models_event.js.html index f6edc45f4..e6ed0e750 100644 --- a/models_event.js.html +++ b/models_event.js.html @@ -51,13 +51,13 @@

Source: models/event.js


diff --git a/models_form.js.html b/models_form.js.html index 1ec21588d..f691d68f1 100644 --- a/models_form.js.html +++ b/models_form.js.html @@ -48,13 +48,13 @@

Source: models/form.js


diff --git a/models_insurance.js.html b/models_insurance.js.html index f31863c6c..d221fc411 100644 --- a/models_insurance.js.html +++ b/models_insurance.js.html @@ -57,13 +57,13 @@

Source: models/insurance.js


diff --git a/models_order.js.html b/models_order.js.html index cf670c3c3..60784ad12 100644 --- a/models_order.js.html +++ b/models_order.js.html @@ -69,13 +69,13 @@

Source: models/order.js


diff --git a/models_parcel.js.html b/models_parcel.js.html index e48e7aef2..b7827690e 100644 --- a/models_parcel.js.html +++ b/models_parcel.js.html @@ -50,13 +50,13 @@

Source: models/parcel.js


diff --git a/models_payload.js.html b/models_payload.js.html index 10be0c560..c2a6ba033 100644 --- a/models_payload.js.html +++ b/models_payload.js.html @@ -46,13 +46,13 @@

Source: models/payload.js


diff --git a/models_pickup.js.html b/models_pickup.js.html index 60362e397..47090798a 100644 --- a/models_pickup.js.html +++ b/models_pickup.js.html @@ -72,13 +72,13 @@

Source: models/pickup.js


diff --git a/models_pickup_rate.js.html b/models_pickup_rate.js.html index fe7d3da8c..6329917a5 100644 --- a/models_pickup_rate.js.html +++ b/models_pickup_rate.js.html @@ -50,13 +50,13 @@

Source: models/pickup_rate.js


diff --git a/models_postage_label.js.html b/models_postage_label.js.html index 74f6aa172..ad1e220c1 100644 --- a/models_postage_label.js.html +++ b/models_postage_label.js.html @@ -54,13 +54,13 @@

Source: models/postage_label.js


diff --git a/models_rate.js.html b/models_rate.js.html index 79b51c30f..5f519ae47 100644 --- a/models_rate.js.html +++ b/models_rate.js.html @@ -58,13 +58,13 @@

Source: models/rate.js


diff --git a/models_refund.js.html b/models_refund.js.html index ccc6247e9..a19b23ad2 100644 --- a/models_refund.js.html +++ b/models_refund.js.html @@ -50,13 +50,13 @@

Source: models/refund.js


diff --git a/models_report.js.html b/models_report.js.html index 99c3fca7f..632d06af4 100644 --- a/models_report.js.html +++ b/models_report.js.html @@ -52,13 +52,13 @@

Source: models/report.js


diff --git a/models_scan_form.js.html b/models_scan_form.js.html index 1ccd1e773..6992d19cf 100644 --- a/models_scan_form.js.html +++ b/models_scan_form.js.html @@ -52,13 +52,13 @@

Source: models/scan_form.js


diff --git a/models_shipment.js.html b/models_shipment.js.html index 5b7e2ab21..0b20ffb86 100644 --- a/models_shipment.js.html +++ b/models_shipment.js.html @@ -85,13 +85,13 @@

Source: models/shipment.js


diff --git a/models_tracker.js.html b/models_tracker.js.html index 0ae7e3ffd..4f78808ad 100644 --- a/models_tracker.js.html +++ b/models_tracker.js.html @@ -57,13 +57,13 @@

Source: models/tracker.js


diff --git a/models_user.js.html b/models_user.js.html index 267f1b3e5..ad287f101 100644 --- a/models_user.js.html +++ b/models_user.js.html @@ -58,13 +58,13 @@

Source: models/user.js


diff --git a/models_webhook.js.html b/models_webhook.js.html index b8a15957d..0a8bb8335 100644 --- a/models_webhook.js.html +++ b/models_webhook.js.html @@ -47,13 +47,13 @@

Source: models/webhook.js


diff --git a/module.html#.exports b/module.html#.exports index 18d8612a1..d87fac1fb 100644 --- a/module.html#.exports +++ b/module.html#.exports @@ -4314,13 +4314,13 @@ This class is not designed to be used directly by consumers of the library.
diff --git a/services_address_service.js.html b/services_address_service.js.html index 8d1a55e02..0ed268c7b 100644 --- a/services_address_service.js.html +++ b/services_address_service.js.html @@ -143,13 +143,13 @@

Source: services/address_service.js


diff --git a/services_api_key_service.js.html b/services_api_key_service.js.html index 11fe28c94..7fc5649c7 100644 --- a/services_api_key_service.js.html +++ b/services_api_key_service.js.html @@ -89,13 +89,13 @@

Source: services/api_key_service.js


diff --git a/services_base_service.js.html b/services_base_service.js.html index 5ec143ef9..388991990 100644 --- a/services_base_service.js.html +++ b/services_base_service.js.html @@ -267,13 +267,13 @@

Source: services/base_service.js


diff --git a/services_batch_service.js.html b/services_batch_service.js.html index 5251bba9c..79b50254b 100644 --- a/services_batch_service.js.html +++ b/services_batch_service.js.html @@ -133,25 +133,6 @@

Source: services/batch_service.js

} } - /** - * Create and purchase a {@link Batch batch} in a single request. - * See {@link https://www.easypost.com/docs/api/node#batches EasyPost API Documentation} for more information. - * @param {Object} params - Parameters for the batch to be created and purchased. - * @returns {Batch} - The created and purchased batch. - */ - static async createAndBuy(params) { - const url = `batches/create_and_buy`; - const wrappedParams = { batch: params }; - - try { - const response = await easypostClient._post(url, wrappedParams); - - return this._convertToEasyPostObject(response.body, wrappedParams); - } catch (e) { - return Promise.reject(e); - } - } - /** * Purchase a {@link Batch batch}. * See {@link https://www.easypost.com/docs/api/node#buy-a-batch EasyPost API Documentation} for more information. @@ -204,13 +185,13 @@

Source: services/batch_service.js


diff --git a/services_beta_carrier_metadata.js.html b/services_beta_carrier_metadata.js.html index 7f3fec7b6..0e1366027 100644 --- a/services_beta_carrier_metadata.js.html +++ b/services_beta_carrier_metadata.js.html @@ -65,13 +65,13 @@

Source: services/beta_carrier_metadata.js


diff --git a/services_beta_rate_service.js.html b/services_beta_rate_service.js.html index 4230bb805..7514fbed0 100644 --- a/services_beta_rate_service.js.html +++ b/services_beta_rate_service.js.html @@ -63,13 +63,13 @@

Source: services/beta_rate_service.js


diff --git a/services_beta_referral_customer_service.js.html b/services_beta_referral_customer_service.js.html index 9e16b3662..a448f6a4a 100644 --- a/services_beta_referral_customer_service.js.html +++ b/services_beta_referral_customer_service.js.html @@ -97,13 +97,13 @@

Source: services/beta_referral_customer_service.js


diff --git a/services_billing_service.js.html b/services_billing_service.js.html index e27289692..8c7076e4f 100644 --- a/services_billing_service.js.html +++ b/services_billing_service.js.html @@ -130,13 +130,13 @@

Source: services/billing_service.js


diff --git a/services_carrier_account_service.js.html b/services_carrier_account_service.js.html index 746319585..596abd66c 100644 --- a/services_carrier_account_service.js.html +++ b/services_carrier_account_service.js.html @@ -147,13 +147,13 @@

Source: services/carrier_account_service.js


diff --git a/services_carrier_metadata_service.js.html b/services_carrier_metadata_service.js.html index f91d36c04..5d6e99073 100644 --- a/services_carrier_metadata_service.js.html +++ b/services_carrier_metadata_service.js.html @@ -64,13 +64,13 @@

Source: services/carrier_metadata_service.js


diff --git a/services_carrier_type_service.js.html b/services_carrier_type_service.js.html index 92296f260..9c87de9aa 100644 --- a/services_carrier_type_service.js.html +++ b/services_carrier_type_service.js.html @@ -62,13 +62,13 @@

Source: services/carrier_type_service.js


diff --git a/services_customs_info_service.js.html b/services_customs_info_service.js.html index f0a1b5a8b..e4360990a 100644 --- a/services_customs_info_service.js.html +++ b/services_customs_info_service.js.html @@ -72,13 +72,13 @@

Source: services/customs_info_service.js


diff --git a/services_customs_item_service.js.html b/services_customs_item_service.js.html index 7c12202cd..3bfd2cfde 100644 --- a/services_customs_item_service.js.html +++ b/services_customs_item_service.js.html @@ -72,13 +72,13 @@

Source: services/customs_item_service.js


diff --git a/services_end_shipper_service.js.html b/services_end_shipper_service.js.html index 262512395..4703f3405 100644 --- a/services_end_shipper_service.js.html +++ b/services_end_shipper_service.js.html @@ -101,13 +101,13 @@

Source: services/end_shipper_service.js


diff --git a/services_event_service.js.html b/services_event_service.js.html index 810a53641..7c89b3f3c 100644 --- a/services_event_service.js.html +++ b/services_event_service.js.html @@ -116,13 +116,13 @@

Source: services/event_service.js


diff --git a/services_insurance_service.js.html b/services_insurance_service.js.html index 59e1213f3..9af288525 100644 --- a/services_insurance_service.js.html +++ b/services_insurance_service.js.html @@ -95,13 +95,13 @@

Source: services/insurance_service.js


diff --git a/services_order_service.js.html b/services_order_service.js.html index 05c1d94d3..6273e659b 100644 --- a/services_order_service.js.html +++ b/services_order_service.js.html @@ -110,13 +110,13 @@

Source: services/order_service.js


diff --git a/services_parcel_service.js.html b/services_parcel_service.js.html index 0e4c4e29c..8dca8a116 100644 --- a/services_parcel_service.js.html +++ b/services_parcel_service.js.html @@ -72,13 +72,13 @@

Source: services/parcel_service.js


diff --git a/services_pickup_service.js.html b/services_pickup_service.js.html index 75746e92a..b0874354d 100644 --- a/services_pickup_service.js.html +++ b/services_pickup_service.js.html @@ -132,13 +132,13 @@

Source: services/pickup_service.js


diff --git a/services_rate_service.js.html b/services_rate_service.js.html index 92af50558..4b601656e 100644 --- a/services_rate_service.js.html +++ b/services_rate_service.js.html @@ -56,13 +56,13 @@

Source: services/rate_service.js


diff --git a/services_referral_customer_service.js.html b/services_referral_customer_service.js.html index dc187e325..9b5ef2d89 100644 --- a/services_referral_customer_service.js.html +++ b/services_referral_customer_service.js.html @@ -221,13 +221,13 @@

Source: services/referral_customer_service.js


diff --git a/services_refund_service.js.html b/services_refund_service.js.html index c7060d953..37d6cc740 100644 --- a/services_refund_service.js.html +++ b/services_refund_service.js.html @@ -95,13 +95,13 @@

Source: services/refund_service.js


diff --git a/services_report_service.js.html b/services_report_service.js.html index 4b827b01e..4ec6d08d0 100644 --- a/services_report_service.js.html +++ b/services_report_service.js.html @@ -104,13 +104,13 @@

Source: services/report_service.js


diff --git a/services_scan_form_service.js.html b/services_scan_form_service.js.html index 6aec3344e..643d9f97d 100644 --- a/services_scan_form_service.js.html +++ b/services_scan_form_service.js.html @@ -107,13 +107,13 @@

Source: services/scan_form_service.js


diff --git a/services_shipment_service.js.html b/services_shipment_service.js.html index a22b6a1bf..91e7d1630 100644 --- a/services_shipment_service.js.html +++ b/services_shipment_service.js.html @@ -297,13 +297,13 @@

Source: services/shipment_service.js


diff --git a/services_tracker_service.js.html b/services_tracker_service.js.html index 956d70e89..ebaaa302a 100644 --- a/services_tracker_service.js.html +++ b/services_tracker_service.js.html @@ -107,13 +107,13 @@

Source: services/tracker_service.js


diff --git a/services_user_service.js.html b/services_user_service.js.html index 61e9234ed..8ef7ed1aa 100644 --- a/services_user_service.js.html +++ b/services_user_service.js.html @@ -155,13 +155,13 @@

Source: services/user_service.js


diff --git a/services_webhook_service.js.html b/services_webhook_service.js.html index e6e2310a5..78ca00572 100644 --- a/services_webhook_service.js.html +++ b/services_webhook_service.js.html @@ -121,13 +121,13 @@

Source: services/webhook_service.js


diff --git a/utils_internal_util.js.html b/utils_internal_util.js.html index bf82962c9..334cd3bec 100644 --- a/utils_internal_util.js.html +++ b/utils_internal_util.js.html @@ -43,13 +43,13 @@

Source: utils/internal_util.js


diff --git a/utils_util.js.html b/utils_util.js.html index 902e3c376..e7ae1edb2 100644 --- a/utils_util.js.html +++ b/utils_util.js.html @@ -186,13 +186,13 @@

Source: utils/util.js