repo
stringlengths
5
106
file_url
stringlengths
78
301
file_path
stringlengths
4
211
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:56:49
2026-01-05 02:23:25
truncated
bool
2 classes
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/vitest.config.js
vitest.config.js
import dotenv from 'dotenv'; import { defineConfig } from 'vitest/config'; dotenv.config(); export default defineConfig({ test: { globals: true, environment: 'node', include: ['test/services/**/*.{js,ts}'], coverage: { provider: 'istanbul', reporter: ['text', 'lcov', 'html'], inclu...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/vite.config.js
vite.config.js
import { defineConfig } from 'vite'; import path from 'path'; const mode = process.env.NODE_ENV || 'development'; const isDev = mode === 'development'; export default defineConfig({ build: { // node 12 is currently the oldest version of node we support. If we want to // drop node 12 support in the future, c...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/easypost.js
src/easypost.js
import os from 'os'; import superagent from 'superagent'; import util from 'util'; import { v4 as uuid } from 'uuid'; import pkg from '../package.json'; import Constants from './constants'; import ErrorHandler from './errors/error_handler'; import MissingParameterError from './errors/general/missing_parameter_error'; ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/constants.js
src/constants.js
import Utils from './utils/util'; /** * A class containing constants used throughout the EasyPost Node.js client library. */ export default class Constants { static get CARRIER_ACCOUNTS_WITH_CUSTOM_CREATE_WORKFLOWS() { return ['FedexAccount', 'FedexSmartpostAccount']; } static get CARRIER_ACCOUNT_TYPES_WIT...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/scan_form_service.js
src/services/scan_form_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The ScanFormService class provides methods for interacting with EasyPost {@link ScanForm} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service. ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/api_key_service.js
src/services/api_key_service.js
import util from 'util'; import Constants from '../constants'; import FilteringError from '../errors/general/filtering_error'; import baseService from './base_service'; export default (easypostClient) => /** * The ApiKeyService class provides methods for interacting with EasyPost {@link ApiKey} objects. * @pa...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/refund_service.js
src/services/refund_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The RefundService class provides methods for interacting with EasyPost {@link Refund} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service. *...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/parcel_service.js
src/services/parcel_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The ParcelService class provides methods for interacting with EasyPost {@link Parcel} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service. *...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/batch_service.js
src/services/batch_service.js
import baseService from './base_service'; export const DEFAULT_LABEL_FORMAT = 'pdf'; export default (easypostClient) => /** * The BatchService class provides methods for interacting with EasyPost {@link Batch} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to us...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/customs_item_service.js
src/services/customs_item_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The CustomsItemService class provides methods for interacting with EasyPost {@link CustomsItem} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this ser...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/beta_referral_customer_service.js
src/services/beta_referral_customer_service.js
import baseService from './base_service'; export default (easypostClient) => class BetaReferralCustomerService extends baseService(easypostClient) { /** * Add an existing Stripe payment method to a {@link User referral customer's} account. * @param {string} stripeCustomerId - The Stripe account's ID. ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/carrier_type_service.js
src/services/carrier_type_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The CarrierTypeService class provides methods for interacting with EasyPost {@link CarrierType} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this ser...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/rate_service.js
src/services/rate_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The RateService class provides methods for interacting with EasyPost {@link Rate} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service. */ ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/beta_rate_service.js
src/services/beta_rate_service.js
import baseService from './base_service'; /** * @extends baseService */ export default (easypostClient) => class BetaRateService extends baseService(easypostClient) { /** * Retrieve a list of stateless {@link Rate rates} based on the provided parameters. * @param {Object} params - Map of parameters f...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/customer_portal_service.js
src/services/customer_portal_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The CustomerPortalService class provides methods for interacting with EasyPost {@link Tracker} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this serv...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/billing_service.js
src/services/billing_service.js
import Constants from '../constants'; import InvalidObjectError from '../errors/general/invalid_object_error'; import baseService from './base_service'; export default (easypostClient) => /** * The BillingService class provides methods for interacting with EasyPost's billing capabilities. * @param {EasyPostCli...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/user_service.js
src/services/user_service.js
import EndOfPaginationError from '../errors/general/end_of_pagination_error'; import baseService from './base_service'; export default (easypostClient) => /** * The UserService class provides methods for interacting with EasyPost {@link User} objects. * @param {EasyPostClient} easypostClient - The pre-configur...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/base_service.js
src/services/base_service.js
import Address from '../models/address'; import ApiKey from '../models/api_key'; import Batch from '../models/batch'; import Brand from '../models/brand'; import CarrierAccount from '../models/carrier_account'; import CarrierType from '../models/carrier_type'; import Claim from '../models/claim'; import CustomsInfo fro...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/claim_service.js
src/services/claim_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The ClaimService class provides methods for interacting with EasyPost {@link Claim} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service. */ ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/order_service.js
src/services/order_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The OrderService class provides methods for interacting with EasyPost {@link Order} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service. */ ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/event_service.js
src/services/event_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The EventService class provides methods for interacting with EasyPost {@link Event} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service. */ ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/carrier_account_service.js
src/services/carrier_account_service.js
import util from 'util'; import Constants from '../constants'; import InvalidParameterError from '../errors/general/invalid_parameter_error'; import baseService from './base_service'; export default (easypostClient) => /** * The CarrierAccountService class provides methods for interacting with EasyPost @{link Ca...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/smart_rate_service.js
src/services/smart_rate_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The SmartRateService class provides methods for interacting with EasyPost SmartRate APIs. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service. */ c...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/customs_info_service.js
src/services/customs_info_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The CustomsInfoService class provides methods for interacting with EasyPost {@link CustomsInfo} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this ser...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/referral_customer_service.js
src/services/referral_customer_service.js
import superagent from 'superagent'; import util from 'util'; import Constants from '../constants'; import EasyPostClient from '../easypost'; import ExternalApiError from '../errors/api/external_api_error'; import baseService from './base_service'; /** * Get an instance of the EasyPostClient using the referral user'...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/end_shipper_service.js
src/services/end_shipper_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The EndShipperService class provides methods for interacting with EasyPost {@link EndShipper} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this servi...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/insurance_service.js
src/services/insurance_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The InsuranceService class provides methods for interacting with EasyPost {@link Insurance} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/carrier_metadata_service.js
src/services/carrier_metadata_service.js
import baseService from './base_service'; /** * @extends baseService */ export default (easypostClient) => class CarrierMetadataService extends baseService(easypostClient) { /** * Retrieve a list of carrier metadata based on the provided parameters. * @param {Array} carriers - List of carrier in stri...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/pickup_service.js
src/services/pickup_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The PickupService class provides methods for interacting with EasyPost {@link Pickup} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service. *...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/report_service.js
src/services/report_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The ReportService class provides methods for interacting with EasyPost {@link Report} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service. *...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/webhook_service.js
src/services/webhook_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The WebhookService class provides methods for interacting with EasyPost {@link Webhook} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service. ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/luma_service.js
src/services/luma_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The LumaService class provides methods for interacting with EasyPost Luma objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service. */ class Lu...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/tracker_service.js
src/services/tracker_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The TrackerService class provides methods for interacting with EasyPost {@link Tracker} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service. ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/address_service.js
src/services/address_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The AddressService class provides methods for interacting with EasyPost {@link Address} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service. ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/shipment_service.js
src/services/shipment_service.js
import Constants from '../constants'; import baseService from './base_service'; export default (easypostClient) => /** * The ShipmentService class provides methods for interacting with EasyPost {@link Shipment} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to us...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/services/embeddable_service.js
src/services/embeddable_service.js
import baseService from './base_service'; export default (easypostClient) => /** * The EmbeddableService class provides methods for interacting with EasyPost {@link Tracker} objects. * @param {EasyPostClient} easypostClient - The pre-configured EasyPostClient instance to use for API requests with this service....
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/error_handler.js
src/errors/error_handler.js
import Constants from '../constants'; import BadRequestError from './api/bad_request_error'; import ForbiddenError from './api/forbidden_error'; import GatewayTimeoutError from './api/gateway_timeout_error'; import InternalServerError from './api/internal_server_error'; import InvalidRequestError from './api/invalid_re...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/easypost_error.js
src/errors/easypost_error.js
/** * The EasyPostError class is the base class for all errors that occur in the EasyPost Node.js client library. * This class should not be instantiated directly. * @internal * @abstract * @extends Error * @param {string} [message] - The message to be displayed when the error is logged. */ export default class ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/redirect_error.js
src/errors/api/redirect_error.js
import ApiError from './api_error'; /** * The RedirectError class is used to represent a 3xx error that occurred while communicating with the EasyPost API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - The HTTP st...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/forbidden_error.js
src/errors/api/forbidden_error.js
import ApiError from './api_error'; /** * The ForbiddenError class is used to represent a 403 error that occurred while communicating with the EasyPost API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - The HTTP s...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/payment_error.js
src/errors/api/payment_error.js
import ApiError from './api_error'; /** * The PaymentError class is used to represent a 402 error that occurred while communicating with the EasyPost API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - The HTTP sta...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/bad_request_error.js
src/errors/api/bad_request_error.js
import ApiError from './api_error'; /** * The BadRequestError class is used to represent a 400 error that occurred while communicating with the EasyPost API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - The HTTP ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/unknown_api_error.js
src/errors/api/unknown_api_error.js
import ApiError from './api_error'; /** * The UnknownApiError class is used to represent a generic, unexpected error that occurred while communicating with the EasyPost API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusC...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/not_found_error.js
src/errors/api/not_found_error.js
import ApiError from './api_error'; /** * The NotFoundError class is used to represent a 404 error that occurred while communicating with the EasyPost API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - The HTTP st...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/internal_server_error.js
src/errors/api/internal_server_error.js
import ApiError from './api_error'; /** * The InternalServerError class is used to represent a 500 error that occurred while communicating with the EasyPost API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - The H...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/service_unavailable_error.js
src/errors/api/service_unavailable_error.js
import ApiError from './api_error'; /** * The ServiceUnavailableError class is used to represent a 503 error that occurred while communicating with the EasyPost API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - T...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/unauthorized_error.js
src/errors/api/unauthorized_error.js
import ApiError from './api_error'; /** * The UnauthorizedError class is used to represent a 401 error that occurred while communicating with the EasyPost API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - The HTT...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/http_error.js
src/errors/api/http_error.js
import ApiError from './api_error'; /** * The HttpError class is used to represent a generic HTTP-related error that occurred while communicating with the EasyPost API. * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - The HTTP ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/api_error.js
src/errors/api/api_error.js
import EasyPostError from '../easypost_error'; /** * The ApiError class is used to represent errors that occurred while communicating with the EasyPost API. * This class should not be instantiated directly. * @internal * @abstract * @extends EasyPostError * @property {string} [message] - The message to be displa...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/timeout_error.js
src/errors/api/timeout_error.js
import ApiError from './api_error'; /** * The TimeoutError class is used to represent a 408 error that occurred while communicating with the EasyPost API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - The HTTP sta...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/gateway_timeout_error.js
src/errors/api/gateway_timeout_error.js
import ApiError from './api_error'; /** * The GatewayTimeoutError class is used to represent a 504 error that occurred while communicating with the EasyPost API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - The H...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/external_api_error.js
src/errors/api/external_api_error.js
import ApiError from './api_error'; /** * The ExternalApiError class is used to represent errors that occurred while communicating with an external API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - The HTTP statu...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/invalid_request_error.js
src/errors/api/invalid_request_error.js
import ApiError from './api_error'; /** * The InvalidRequestError class is used to represent a 422 error that occurred while communicating with the EasyPost API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - The H...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/rate_limit_error.js
src/errors/api/rate_limit_error.js
import ApiError from './api_error'; /** * The RateLimitError class is used to represent a 429 error that occurred while communicating with the EasyPost API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - The HTTP s...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/api/method_not_allowed_error.js
src/errors/api/method_not_allowed_error.js
import ApiError from './api_error'; /** * The MethodNotAllowedError class is used to represent a 405 error that occurred while communicating with the EasyPost API. * @sealed * @extends ApiError * @param {string} [message] - The message to be displayed when the error is logged. * @param {number} [statusCode] - The...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/general/missing_parameter_error.js
src/errors/general/missing_parameter_error.js
import EasyPostError from '../easypost_error'; /** * The MissingParameterError class is used to represent an error due to a missing expected function parameter. * @sealed * @extends EasyPostError * @param {string} [message] - The message to be displayed when the error is logged. */ export default class MissingPar...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/general/filtering_error.js
src/errors/general/filtering_error.js
import EasyPostError from '../easypost_error'; /** * The FilteringError class is used to represent an error that occurred while filtering a list (e.g. a list of rates). * @sealed * @extends EasyPostError * @param {string} [message] - The message to be displayed when the error is logged. */ export default class Fi...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/general/signature_verification_error.js
src/errors/general/signature_verification_error.js
import EasyPostError from '../easypost_error'; /** * The SignatureVerificationError class is used to represent an error due to a failed signature verification (e.g. a webhook HMAC signature). * @sealed * @extends EasyPostError * @param {string} [message] - The message to be displayed when the error is logged. */ ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/general/invalid_object_error.js
src/errors/general/invalid_object_error.js
import EasyPostError from '../easypost_error'; /** * The InvalidObjectError class is used to represent an error due to an invalid object (e.g. missing an expected property). * @sealed * @extends EasyPostError * @param {string} [message] - The message to be displayed when the error is logged. */ export default cla...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/general/end_of_pagination_error.js
src/errors/general/end_of_pagination_error.js
import Constants from '../../constants'; import EasyPostError from '../easypost_error'; /** * The EndOfPaginationError class is used to represent an error that no more page can be retrieved * @sealed * @extends EasyPostError * @param {string} [message] - The message to be displayed when the error is logged. */ ex...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/errors/general/invalid_parameter_error.js
src/errors/general/invalid_parameter_error.js
import EasyPostError from '../easypost_error'; /** * The InvalidParameterError class is used to represent an error due to an invalid function parameter. * @sealed * @extends EasyPostError * @param {string} [message] - The message to be displayed when the error is logged. */ export default class InvalidParameterEr...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/address.js
src/models/address.js
import EasyPostObject from './easypost_object'; /** * An {@link https://docs.easypost.com/docs/addresses Address} represents people, places, and organizations in a number of contexts. * @public * @extends EasyPostObject */ export default class Address extends EasyPostObject { static street1; static street2; ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/carrier_type.js
src/models/carrier_type.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/carrier-types CarrierType} represents the valid fields for a {@link CarrierAccount carrier account}. * @public * @extends EasyPostObject */ export default class CarrierType extends EasyPostObject { static fields; stat...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/report.js
src/models/report.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/reports Report} represents a CSV file containing a log of all objects within a specific time frame. * @public * @extends EasyPostObject */ export default class Report extends EasyPostObject { static end_date; static i...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/shipment.js
src/models/shipment.js
import Constants from '../constants'; import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/shipments Shipment} represents a physical {@link Parcel}, the origin and destination {@link Address Addresses}, and any associated {@link CustomsInfo}. * @public * @extends EasyPostObj...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/claim.js
src/models/claim.js
import EasyPostObject from './easypost_object'; /** * An {@link https://docs.easypost.com/docs/insurance/claims Claim} object represents claim for a {@link Shipment shipment}. * @public * @extends EasyPostObject */ export default class Claim extends EasyPostObject { static id; static object; static mode; s...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/user.js
src/models/user.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/users ApiKey} represents an EasyPost account or child account. * @public * @extends EasyPostObject */ export default class User extends EasyPostObject { static api_keys; static balance; static cc_fee_rate; static ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/end_shipper.js
src/models/end_shipper.js
import EasyPostObject from './easypost_object'; /** * An {@link https://docs.easypost.com/docs/endshippers EndShipper} represents a person or business entity that is authorized to purchase postage on behalf of another person and is ultimately responsible for the shipment. * @public * @extends EasyPostObject */ exp...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/form.js
src/models/form.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/shipments/forms Form} represents a printable form for a {@link Shipment shipment}, such as a return packing slip, QR code or international shipping form. * @public * @extends EasyPostObject */ export default class Form ex...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/refund.js
src/models/refund.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/refunds Refund} represents a refunded {@link Shipment}. * @public * @extends EasyPostObject */ export default class Refund extends EasyPostObject { static carrier; static confirmation_number; static shipment_id; s...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/rate.js
src/models/rate.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/shipments/rates Rate} represents pricing information for shipping a specific {@link Parcel} with a specific carrier and service level. * @public * @extends EasyPostObject */ export default class Rate extends EasyPostObjec...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/tracker.js
src/models/tracker.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/trackers Tracker} represents the available tracking information for a package. * @public * @extends EasyPostObject */ export default class Tracker extends EasyPostObject { static carrier_detail; static carrier; stat...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/order.js
src/models/order.js
import Constants from '../constants'; import EasyPostObject from './easypost_object'; /** * An {@link https://docs.easypost.com/docs/orders Order} represents a collection of packages, intended only for multi-parcel shipments. * @public * @extends EasyPostObject */ export default class Order extends EasyPostObject ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/payload.js
src/models/payload.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/events/payloads Payload} represents an attempt by EasyPost to send an {@link Event event} to a {@link Webhook webhook}. * @public * @extends EasyPostObject */ export default class Payload extends EasyPostObject { static...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/pickup_rate.js
src/models/pickup_rate.js
import EasyPostObject from './easypost_object'; /** * A {@link PickupRate} represents a {@link Rate rate} for a {@link Pickup pickup}. * @public * @extends EasyPostObject */ export default class PickupRate extends EasyPostObject { static carrier; static currency; static pickup_id; static rate; static ser...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/insurance.js
src/models/insurance.js
import EasyPostObject from './easypost_object'; /** * An {@link https://docs.easypost.com/docs/api-keys Insurance} object represents insurance for a {@link Shipment shipment}. * @public * @extends EasyPostObject */ export default class Insurance extends EasyPostObject { static amount; static fee; static from...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/webhook.js
src/models/webhook.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/webhooks Webhook} represents a URL that will receive notifications when certain {@link Event} occur. * @public * @extends EasyPostObject */ export default class Webhook extends EasyPostObject { static disabled_at; sta...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/easypost_object.js
src/models/easypost_object.js
/** * An EasyPostObject is the base class for all EasyPost API resources. * @internal * @abstract */ export default class EasyPostObject { static id; static object; static mode; static created_at; static updated_at; static _params; }
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/api_key.js
src/models/api_key.js
import EasyPostObject from './easypost_object'; /** * An {@link https://docs.easypost.com/docs/api-keys ApiKey} represents an authentication token that can be used to make requests to the EasyPost API. * @public * @extends EasyPostObject */ export default class ApiKey extends EasyPostObject { static active; st...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/scan_form.js
src/models/scan_form.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/scan-form ScanForm} represents a single document that can be scanned to mark all included tracking codes as "Accepted for Shipment" by the carrier. * @public * @extends EasyPostObject */ export default class ScanForm exte...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/postage_label.js
src/models/postage_label.js
import EasyPostObject from './easypost_object'; /** * A {@link PostageLabel} represents a physical label to affix to a {@link Parcel parcel} when shipping. * @public * @extends EasyPostObject */ export default class PostageLabel extends EasyPostObject { static label_date; static label_epl2_url; static label_...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/customs_info.js
src/models/customs_info.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/customs-infos CustomsInfo} represents a collection of {@link CustomsItem CustomsItems} and associated information for generating international shipping customs forms. * @public * @extends EasyPostObject */ export default ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/customs_item.js
src/models/customs_item.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/customs-items CustomsItem} represents a single item being shipped internationally. * @public * @extends EasyPostObject */ export default class CustomsItem extends EasyPostObject { static code; static currency; stati...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/event.js
src/models/event.js
import EasyPostObject from './easypost_object'; /** * An {@link https://docs.easypost.com/docs/events Event} represents a change in state for elements such as {@link Shipment shipments} and {@link Tracker trackers}, that triggers a {@link Webhook webhook}. * @public * @extends EasyPostObject */ export default clas...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/brand.js
src/models/brand.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/users/brand Brand} represents custom branding for an EasyPost user's public-facing tracking details page. * @public * @extends EasyPostObject */ export default class Brand extends EasyPostObject { static ad_href; stat...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/batch.js
src/models/batch.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/batches Batch} represents a collection of {@link Shipment shipments} that can be processed together. * @public * @extends EasyPostObject */ export default class Batch extends EasyPostObject { static label_url; static ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/pickup.js
src/models/pickup.js
import Constants from '../constants'; import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/pickups Pickup} represents a scheduled carrier pickup of packages from an {@link https://docs.easypost.com/docs/addresses Address}. * @public * @extends EasyPostObject */ export defau...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/parcel.js
src/models/parcel.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/parcels Parcel} represents a physical container being shipped, such as a box or envelope, with corresponding dimensions and weight. * @public * @extends EasyPostObject */ export default class Parcel extends EasyPostObject...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/models/carrier_account.js
src/models/carrier_account.js
import EasyPostObject from './easypost_object'; /** * A {@link https://docs.easypost.com/docs/carrier-accounts CarrierAccount} represents details about a specific enabled carrier, including credentials and other information. * @public * @extends EasyPostObject */ export default class CarrierAccount extends EasyPos...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/utils/internal_util.js
src/utils/internal_util.js
/** * Utility class of various internal helper functions. * This class is not designed to be used directly by consumers of the library. * @internal * @type {InternalUtils} */ export default class InternalUtils {}
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/src/utils/util.js
src/utils/util.js
import crypto from 'crypto'; import util from 'util'; import Constants from '../constants'; import FilteringError from '../errors/general/filtering_error'; import InvalidParameterError from '../errors/general/invalid_parameter_error'; import SignatureVerificationError from '../errors/general/signature_verification_err...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/test/services/luma.test.js
test/services/luma.test.js
import { expect } from 'chai'; import EasyPostClient from '../../src/easypost'; import Fixture from '../helpers/fixture'; import * as setupPolly from '../helpers/setup_polly'; /* eslint-disable func-names */ describe('Luma Service', function () { const getPolly = setupPolly.setupPollyTests(); let client; befor...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/test/services/rate.test.js
test/services/rate.test.js
/* eslint-disable func-names */ import { expect } from 'chai'; import EasyPostClient from '../../src/easypost'; import Rate from '../../src/models/rate'; import Fixture from '../helpers/fixture'; import * as setupPolly from '../helpers/setup_polly'; describe('Rate Service', function () { const getPolly = setupPolly...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/test/services/scan_form.test.js
test/services/scan_form.test.js
/* eslint-disable func-names */ import { expect } from 'chai'; import EasyPostClient from '../../src/easypost'; import EndOfPaginationError from '../../src/errors/general/end_of_pagination_error'; import ScanForm from '../../src/models/scan_form'; import Fixture from '../helpers/fixture'; import * as setupPolly from '...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/test/services/webhook.test.js
test/services/webhook.test.js
import { expect } from 'chai'; import EasyPostClient from '../../src/easypost'; import SignatureVerificationError from '../../src/errors/general/signature_verification_error'; import Webhook from '../../src/models/webhook'; import Fixture from '../helpers/fixture'; import * as setupPolly from '../helpers/setup_polly';...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/test/services/customer_portal.test.js
test/services/customer_portal.test.js
/* eslint-disable func-names */ import { expect } from 'chai'; import EasyPostClient from '../../src/easypost'; import Fixture from '../helpers/fixture'; import * as setupPolly from '../helpers/setup_polly'; describe('CustomerPortal Service', function () { const getPolly = setupPolly.setupPollyTests(); let client...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/test/services/billing.test.js
test/services/billing.test.js
/* eslint-disable func-names */ import { expect } from 'chai'; import EasyPostClient from '../../src/easypost'; import { MockMiddleware, MockRequest, MockRequestMatchRule, MockRequestResponseInfo, } from '../helpers/mocking'; const middleware = (request) => { return new MockMiddleware(request, [ new Moc...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/test/services/base_service.test.js
test/services/base_service.test.js
/* eslint-disable func-names */ import { expect } from 'chai'; import EasyPostClient from '../../src/easypost'; import EndOfPaginationError from '../../src/errors/general/end_of_pagination_error'; import * as setupPolly from '../helpers/setup_polly'; import { MockMiddleware, MockRequest, MockRequestMatchRule, ...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/test/services/user.test.js
test/services/user.test.js
/* eslint-disable no-param-reassign */ import { expect } from 'chai'; import EasyPostClient from '../../src/easypost'; import Brand from '../../src/models/brand'; import User from '../../src/models/user'; import * as setupPolly from '../helpers/setup_polly'; import Fixture from '../helpers/fixture'; import EndOfPagina...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false
EasyPost/easypost-node
https://github.com/EasyPost/easypost-node/blob/983c176154626f36e3b195e7c74e5a203bd7b364/test/services/beta_referral_customer.test.js
test/services/beta_referral_customer.test.js
import { expect } from 'chai'; import EasyPostClient from '../../src/easypost'; import * as setupPolly from '../helpers/setup_polly'; describe('BetaReferralCustomerService', function () { const getPolly = setupPolly.setupPollyTests(); let client; beforeAll(function () { const referralCustomerProdApiKey = p...
javascript
MIT
983c176154626f36e3b195e7c74e5a203bd7b364
2026-01-05T03:44:17.801104Z
false