diff --git a/.gitattributes b/.gitattributes
deleted file mode 100644
index f6122fad..00000000
--- a/.gitattributes
+++ /dev/null
@@ -1,9 +0,0 @@
-* text=auto
-
-# Cassettes
-tests/cassettes/* -diff
-tests/cassettes/* linguist-generated
-
-# Docs
-docs/**/* -diff
-docs/**/* linguist-generated
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
deleted file mode 100644
index e390f3f5..00000000
--- a/.github/CODEOWNERS
+++ /dev/null
@@ -1,7 +0,0 @@
-## These are the standard rules for all EasyPost public repositories.
-##
-
-* @EasyPost/dev-tools @EasyPost/easypost-public-maintainers
-
-# The devtools team owns the codeowners file, this is for auditing purposes
-.github/CODEOWNERS @easypost/dev-tools
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
deleted file mode 100644
index 37df6956..00000000
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ /dev/null
@@ -1,81 +0,0 @@
-name: Bug Report
-description: File a bug report
-title: "[Bug]: "
-labels: [ "triage" ]
-body:
- - type: markdown
- attributes:
- value: |
- Thank you for taking the time to report an issue in this repository. Please fill out the form below.
- - type: input
- id: software-version
- attributes:
- label: Software Version
- # change this description for the specific repo
- description: |
- What version of our software are you running?
- TIP: [Available versions](https://github.com/EasyPost/easypost-python/releases)
- validations:
- required: true
- - type: input
- id: language-version
- attributes:
- label: Language Version
- # change this description for the specific language of the repo
- description: |
- What language version and/or framework are you using?
- TIP: [How to find your Python version](https://stackoverflow.com/questions/1093322/how-do-i-check-what-version-of-python-is-running-my-script)
- validations:
- required: true
- - type: input
- id: os
- attributes:
- label: Operating System
- description: What operating system are you running the software on?
- validations:
- required: true
- - type: textarea
- id: behavior
- attributes:
- label: What happened?
- description: |
- Please describe what happened in reproducible steps.
- Include how often you see this issue, and any relevant links (i.e. GitHub issue, Stack Overflow, etc.).
- value: |
- 1.
- 2.
- 3.
- ...
- validations:
- required: true
- - type: textarea
- id: expected-behavior
- attributes:
- label: What was expected?
- description: Please describe what was expected to happen instead.
- validations:
- required: true
- - type: textarea
- id: sample-code
- attributes:
- label: Sample Code
- description: |
- Please provide any sample code that demonstrates the behavior.
- This will be automatically formatted into the appropriate language, so no need for backticks.
- **Do not include any private information such as API keys or passwords.**
- # change this render to the appropriate language: https://github.com/github/linguist/blob/master/lib/linguist/languages.yml
- render: python3
- validations:
- required: false
- - type: textarea
- id: logs
- attributes:
- label: Relevant logs
- description: |
- Please copy and paste any relevant log output.
- This will be automatically formatted into shell output, so no need for backticks.
- If you have screenshots instead, please paste them below.
- **Do not include any private information such as API keys or passwords.**
- render: sh
- validations:
- required: false
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
deleted file mode 100644
index 866ac9ec..00000000
--- a/.github/ISSUE_TEMPLATE/feature_request.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-name: Feature Request
-description: Request a new feature
-title: "[Feat]: "
-labels: [ "triage" ]
-body:
- - type: markdown
- attributes:
- value: |
- Thank you for taking the time to request a new feature.
- Please note, all feature requests are subject to review and approval.
- We welcome all suggestions and ideas, but we cannot guarantee when or if we will implement them.
-
- We also welcome pull requests, if you would like to implement the feature yourself.
- Doing so will likely accelerate the process of implementing the requested feature.
- - type: checkboxes
- id: searched
- attributes:
- label: Feature Request Is New
- # change issue link below for the specific repo
- description: |
- Before we begin, please confirm that the requested feature does not already exist or has not [already been requested](https://github.com/EasyPost/easypost-python/issues).
- options:
- - label: I have verified that the requested feature does not already exist or has not already been requested.
- required: true
- - type: textarea
- id: description
- attributes:
- label: Description of the feature
- description: |
- Please provide a detailed description of the feature, including:
- - What the feature is
- - What value it adds to the application
- - How it should be implemented (i.e. pseudo-code, or a high-level description of the user experience)
- - Any other relevant information
- validations:
- required: true
-
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
deleted file mode 100644
index e577d1a9..00000000
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# Description
-
-
-
-# Testing
-
-
-
-# Pull Request Type
-
-Please select the option(s) that are relevant to this PR.
-
-- [ ] Bug fix (non-breaking change which fixes an issue)
-- [ ] New feature (non-breaking change which adds functionality)
-- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
-- [ ] Improvement (fixing a typo, updating readme, renaming a variable name, etc)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
deleted file mode 100644
index 328ceaf3..00000000
--- a/.github/workflows/ci.yml
+++ /dev/null
@@ -1,65 +0,0 @@
-name: 'CI'
-
-on:
- push:
- branches: [master]
- pull_request:
- workflow_dispatch: ~
-
-jobs:
- lint:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v6
- - uses: extractions/setup-just@v3
- - uses: astral-sh/setup-uv@v7
- - uses: actions/setup-python@v6
- with:
- python-version: '3.14'
- - name: Install Dependencies
- run: just install
- - name: Lint
- run: just lint
- run-tests:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- # vcrpy is not compatible with Python 3.14 yet so we cannot test against it
- pythonversion: ['3.9', '3.10', '3.11', '3.12', '3.13']
- steps:
- - uses: actions/checkout@v6
- - uses: extractions/setup-just@v3
- - uses: astral-sh/setup-uv@v7
- - uses: actions/setup-python@v6
- with:
- python-version: ${{ matrix.pythonversion }}
- - name: Install Dependencies
- run: just install
- - name: Run Tests
- run: EASYPOST_TEST_API_KEY=123 EASYPOST_PROD_API_KEY=123 just coverage
- - name: Coverage
- if: github.ref == 'refs/heads/master'
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
- with:
- token: ${{ secrets.CODECOV_TOKEN }}
- - name: Run security analysis
- run: just scan
- docs:
- if: github.ref == 'refs/heads/master'
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v6
- - uses: extractions/setup-just@v3
- - uses: astral-sh/setup-uv@v7
- - uses: actions/setup-python@v6
- with:
- python-version: '3.14'
- - name: Install Dependencies
- run: just install
- - name: Generate Docs
- run: just docs
- - name: Deploy Docs
- uses: peaceiris/actions-gh-pages@v3
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: docs
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
deleted file mode 100644
index 50790100..00000000
--- a/.github/workflows/release.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-name: release
-
-on:
- release:
- types: [published]
- workflow_dispatch:
-
-jobs:
- release:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v6
- - uses: extractions/setup-just@v3
- - uses: astral-sh/setup-uv@v7
- - uses: actions/setup-python@v6
- with:
- python-version: '3.14'
- - name: Build package
- run: just install build
- - name: Publish to PyPI
- uses: pypa/gh-action-pypi-publish@release/v1
- with:
- password: ${{ secrets.PYPI_API_KEY }}
- - name: Upload assets to release
- uses: AButler/upload-release-assets@v3.0.1
- with:
- files: 'dist/*'
- repo-token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 4a55e336..00000000
--- a/.gitignore
+++ /dev/null
@@ -1,27 +0,0 @@
-._*
-.AppleDouble
-.cache
-.coverage
-.DS_Store
-.env
-.env-override
-.idea
-.LSOverride
-.Spotlight-V100
-.tox
-.Trashes
-.virtualenv
-*.class
-*.egg-info
-*.pyc
-*.sublime-*
-/build
-/dist
-/MANIFEST
-coverage.lcov
-dist
-docs
-Icon
-test
-venv
-virtualenv
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index 7cb0e1b7..00000000
--- a/.gitmodules
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "examples"]
- path = examples
- url = https://github.com/EasyPost/examples
diff --git a/easypost/py.typed b/.nojekyll
similarity index 100%
rename from easypost/py.typed
rename to .nojekyll
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index 70177632..00000000
--- a/CHANGELOG.md
+++ /dev/null
@@ -1,493 +0,0 @@
-# CHANGELOG
-
-## Next Release
-
-- Removes the deprecated, unusable `add_credit_card` function
- - Stripe has disabled the ability to pass plain credit card details over the wire and now requires using [Stripe.js/Elements/Checkout](https://support.stripe.com/questions/card-tokenization-restrictions-using-publishable-keys). Follow the [Decentralized (EasyPost-Manage Billing) Guide](https://docs.easypost.com/guides/get-started-with-forge/easypost-managed-billing-guide#referralcustomer-billing-management) for more details on the new flow to use.
- - Makes `referral_customer.retrieve_easypost_stripe_api_key` public to help facilitate adding credit cards using Stripe.js
-- Adds support for `FedexDefaultAccount`, `GofoWalletAccount`, `UpsDapAccount`, `UniUniWalletAccount`, and `VehoWalletAccount` by properly routing carrier-account create requests to the `/carrier_accounts/open` endpoint.
-
-## v10.7.0 (2026-06-25)
-
-- Adds `params` to `request_pin` ensuring users can pass `easypost_details` to the call.
-
-## v10.6.0 (2026-02-25)
-
-- Adds generic `make_api_call` function
-
-## v10.5.1 (2026-02-24)
-
-- Corrects the return type of `carrier_account.all()` (closes #386)
-
-## v10.5.0 (2026-02-20)
-
-- Adds the following functions:
- - `fedex_registration.register_address`
- - `fedex_registration.request_pin`
- - `fedex_registration.validate_pin`
- - `fedex_registration.submit_invoice`
-
-## v10.4.0 (2026-02-03)
-
-- Adds the following functions usable by child and referral customer users:
- - `api_key.create`
- - `api_key.delete`
- - `api_key.enable`
- - `api_key.disable`
-- Adds a `tracker.delete` function
-
-## v10.3.0 (2025-11-24)
-
-- Adds the following functions:
- - `embeddable.create_session`
- - `customer_portal.create_account_link`
-
-## v10.2.0 (2025-11-10)
-
-- Adds `UspsShipAccount` support to the create carrier method
-- Adds `tracker.retrieve_batch` function
-- Adds `verify_carrier` address param
-
-## v10.1.0 (2025-06-18)
-
-- Adds the following functions
- - `shipment.create_and_buy_luma`
- - `shipment.buy_luma`
- - `luma.get_promise`
-- Fixes `tracking_codes` filter when retrieving all tracking codes
-
-## v10.0.1 (2025-05-27)
-
-- Corrects the endpoint used for creating/updating UPS accounts
-
-## v10.0.0 (2025-04-28)
-
-See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-9x-to-100) for more details.
-
-- Drops support for Python 3.7 and 3.8
-- Adds the following functions to assist ReferralCustomers add credit cards and bank accounts:
- - `BetaReferralCustomerService.create_credit_card_client_secret`
- - `BetaReferralCustomerService.create_bank_account_client_secret`
- - `ReferralCustomerService.add_credit_card_from_stripe`
- - `ReferralCustomerService.add_bank_account_from_stripe`
-- Routes `AmazonShippingAccount` create requests to the new `/register_oauth` endpoint
-- Fixes the payload wrapping for updating a webhook
-- Removes deprecated `user.all_api_keys` and `user.api_keys`, use `api_key.all` and `api_key.retrieve_api_keys_for_user` respectively
-- Bumps all dev dependencies
-
-## v9.5.0 (2024-10-24)
-
-- Adds `tracking_codes` as a parameter of the `all` method on the TrackerService
-- Removes the deprecated `create_list` tracker endpoint function as it is no longer available via API
-
-## v9.4.1 (2024-08-09)
-
-- Fix `get_next_page_of_children` function for User service with correct filter key
-
-## v9.4.0 (2024-07-24)
-
-- Adds new `Claim` service for filing claims on EasyPost shipments and insurances
-
-## v9.3.0 (2024-07-12)
-
-- Adds new `shipment.recommend_ship_date`, `smartrate.recommend_ship_date`, and `smartrate.estimate_delivery_date` functions
-- Routes `UpsAccount`, `UpsMailInnovationsAccount`, and `UpsSurepostAccount` create/update requests to the new `/ups_oauth_registrations` endpoint
- - Starting `2024-08-05`, UPS accounts will require a new payload to register or update. See [UPS OAuth 2.0 Update](https://support.easypost.com/hc/en-us/articles/26635027512717-UPS-OAuth-2-0-Update?utm_medium=email&_hsenc=p2ANqtz-96MmFtWICOzy9sKRbbcZSiMovZSrY3MSX1_bgY9N3f9yLVfWQdLhjAGq-SmNcOnDIS6GYhZ0OApjDBrGkKyLLMx1z6_TFOVp6-wllhEFQINrkuRuc&_hsmi=313130292&utm_content=313130292&utm_source=hs_email) for more details
-
-## v9.2.0 (2024-04-10)
-
-- Fix payment method funding and deletion failures due to undetermined payment method type
-- Adds `refund` function in Insurance service for requesting a refund for a standalone insurance
-
-## v9.1.0 (2024-01-08)
-
-- Adds `all_children` function to the User service for retrieving paginated lists of children
-- Adds `get_next_page_of_children` function to User service to get next paginated list of children
-
-## v9.0.1 (2023-12-20)
-
-- Corrects the return type of `regenerate_rates`
-
-## v9.0.0 (2023-12-06)
-
-See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-8x-to-90) for more details.
-
-- Removes `with_carbon_offset` parameter from `create`, `buy`, and `regenerate_rates` functions of the Shipment service as EasyPost now offers Carbon Neutral shipments by default for free
-- Removes the undocumented `create_and_buy` function from the `Batch` service. The proper usage is to create a batch first and buy it separately
-- Removes the `beta_carrier_metadata` service as it is deprecated, please use the `carrier_metadata` GA service instead
-
-## v8.2.1 (2023-10-30)
-
-- Fixes a bug where `get_next_page` functions threw an error, preventing users from retrieving the final page of results
-
-## v8.2.0 (2023-10-11)
-
-- Add dedicated API Key-related service, available via the `api_keys` property of a client
- - NOTE: Please note the naming. The `api_key` property of a client is the currently-used API key string, while the `api_keys` property is the service for managing API keys.
-- Migrated API Key-related functionality to `api_keys` service, deprecated old methods in `user` service
-
-## v8.1.1 (2023-09-05)
-
-- Fix endpoint for creating a FedEx Smartpost carrier account
-
-## v8.1.0 (2023-07-28)
-
-- Adds new `RequestHook` and `ResponseHook` events. (un)subscribe to them with the new `subscribe_to_request_hook`, `subscribe_to_response_hook`, `unsubscribe_from_request_hook`, or `unsubscribe_from_response_hook` methods of an `EasyPostClient`
-- Maps 400 status codes to new `BadRequestError` class
-
-## v8.0.0 (2023-06-06)
-
-See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-7x-to-80) for more details.
-
-- New `EasyPostClient` object
- - Logic is grouped together in Services and each EasyPost object has a new model (eg: `client.shipment.create()`)
-- Error handling overhaul
- - Introduces ~2 dozen new error types that extend from either `ApiError` or `EasyPostError`
- - ApiErrors behave like the previous `Error` class did. They will include a `message`, `http_status`, and `http_body`. Additionally, a new `code` and `errors` keys are present and populate when available
-- Beta namespace changed from `easypost.beta.x` to `client.beta_x`
-- Empty API response functions return `None` instead of `True`
-- Corrected naming conventions
- - References to `Referral` are now `ReferralCustomer` and `referral_customer` to match the API and docs
- - References to `Smartrate` are now `SmartRate` and `smart_rate` to match the API and docs
- - References to `Scanform` are now `ScanForm` and `scan_form`
- - `primary_or_secondary` paramater name for billing functions is now called `priority` to match the API and docs
-- The `update_email` function of the `referral_customer` service had the parameter order switched so `id` (previously called `user_id`) is first which matches the rest of the library
-- Retrieving carrier metadata is now in GA
-- Dropped Python 3.6 support
-- Bumps all dependencies
-
-## v7.13.0 (2023-05-02)
-
-- Adds `retrieve_estimated_delivery_date` function to the Shipment class
-
-## v7.12.0 (2023-04-18)
-
-- Adds beta `retrieve_carrier_metadata` function
-- Improves error deserialization to handle bad format returned from the JSON
-
-## v7.11.0 (2023-04-04)
-
-- Adds `get_next_page` function that retrieves the next page of results for a paginated collection
-
-## v7.10.0 (2023-02-17)
-
-- Adds beta `retrieve_stateless_rates` function
-- Adds `get_lowest_stateless_rate` function to filter the lowest stateless rate
-
-## v7.9.0 (2023-01-18)
-
-- Adds `all` function to `Pickup` to retrieve all pickups
-- Adds `retrieve_payload` and `retrieve_all_payloads` functions to `Event`
-
-## v7.8.0 (2023-01-11)
-
-- Adds new beta billing functionality for ReferralCustomer users
- - `add_payment_method` can add a pre-existing Stripe bank account or credit card to your EasyPost account
- - `refund_by_amount` refunds your wallet by a dollar amount
- - `refund_by_payment_log` refunds you wallet by a PaymentLog ID
-
-## v7.7.0 (2022-12-07)
-
-- Routes requests for creating a carrier account with a custom workflow (eg: FedEx, UPS) to the correct endpoint when using the `create` function
-
-## v7.6.1 (2022-10-24)
-
-- Concatenates `error.message` if it incorrectly comes back from the API as a list
-
-## v7.6.0 (2022-09-21)
-
-- Adds support to pass `end_shipper_id` on the buy call of a Shipment
-- Migrates the Partner White Label (Referral) functions from beta to the general library namespace and deprecates the beta functions
-
-## v7.5.0 (2022-08-25)
-
-- Adds the `EndShipper` class with `create`, `retrieve`, `all`, and `save` functions
-
-## v7.4.0 (2022-08-02)
-
-- Adds Carbon Offset support
- - Adds ability to create a shipment with carbon_offset
- - Adds ability to buy a shipment with carbon_offset
- - Adds ability to one-call-buy a shipment with carbon_offset
- - Adds ability to rerate a shipment with carbon_offset
-- Adds `validate_webhook` function that returns your webhook or raises an error if there is a `webhook_secret` mismatch
-
-## v7.3.0 (2022-07-18)
-
-- Adds ability to generate forms for shipments via `generate_form()` function
-
-## v7.2.0 (2022-07-11)
-
-- Adds `Billing.retrieve_payment_methods()`, `Billing.fund_wallet()`, and `Billing.delete_payment_method()` functions
-- Removes the unusable `carrier` param from `Address.verify()` along with the dead `message` conditional check that was missed in v7.0.0
-- Adds OS specific details to the user-agent header
-- API keys are now required for every request and will fail fast if not present
-- Swaps update functions to use `patch` instead of `put` behind the scenes to better match the API behavior and documentation. Behavior of these functions should be unchanged
-
-## v7.1.1 (2022-05-09)
-
-- Fixes the inclusion of the new `beta` module
-
-## v7.1.0 (2022-05-09)
-
-- Adds a `lowest_rate()` function to Orders and Pickups
-- Adds a `Shipment.get_lowest_smartrate()` function and a `shipment.lowest_smartrate()` function
-- Adds beta Referral class for Partner White Label API with these new functions: `create()`, `update_email()`, `all()`, and `add_credit_card()`
-
-## v7.0.0 (2022-04-14)
-
-Upgrading major versions of this project? Refer to the [Upgrade Guide](UPGRADE_GUIDE.md).
-
-### Breaking Changes
-
-- Bumps minimum Python version from 2.7 to 3.6
-- Bumps all dependencies
-- Removes `shipment.get_rates()` method since the shipment object already has rates. If you need to get new rates for a shipment, please use the `shipment.regenerate_rates()` method.
-- Removes `track_with_code` in shipment class since it's no longer being used
-- Removes the unusable `carrier` param from `Address.create_and_verify()` along with the dead `message` conditional check
-- Must pass a list object to `shipment.lowest_rate()` rather than a comma-separated list
-
-### Features
-
-- Adds the `update_brand()` method to the User object
-- Adds Python version to user-agent header on requests
-- Adds `retrieve_me()` convenience function that allow users to retrieve without specifying an ID.
-
-### Chores
-
-- Broke out the entire project into separate modules based on object
-- Removes `_max_timeout` and instead uses a flat 60-second timeout for requests
-- Added Makefile for much easier development management
-- Added typehints throughout the project
-- Consolidated all dependencies from various requirements files to `setup.py`
-- Added a comprehensive test suite that tests all interfaces of the project
-- Documented each interface of the project via docstrings
-
-## v6.0.0 (2021-10-12)
-
-Upgrading major versions of this project? Refer to the [Upgrade Guide](UPGRADE_GUIDE.md).
-
-- JSON encodes POST bodies instead of form encoding them
-- Adds support for `tax_identifiers`
-- Black formatting and iSort tools added to repo
-- Bumps `requests` from v1 to v2
-- Various refactor efforts and code cleanup
-
-## v5.1.3 (2021-07-20)
-
-- Remove 2015-vintage experimental "`all_updated`" action from trackers
-- Correct references of `contact@easypost.com` to `support@easypost.com`
-- Clean up address verify property and some miscellaneous request logic
-
-## vv5.1.2 (2021-06-10)
-
-- Strips away the `result` key from SmartRate and simply returns an array of SmartRate objects
-
-## v5.1.1 (2021-05-18)
-
-- fix: stops appending smartrates to Shipment object
-
-## v5.1.0 (2021-05-14)
-
-- Adds `SmartRate` functionality to the `Shipments` object (available by calling `get_smartrates()` on a shipment)
-
-## v5.0.0 (2020-08-10)
-
-- Add `all` method for retrieving Events
-- _[backwards-compatibility break]_ Remove `all` method for some un-supported types: CustomsItem, CustomsInfo, Pickup, and Order
-
-## v4.1.0 (2020-05-11)
-
-- change tests to use [vcrpy](https://github.com/kevin1024/vcrpy) so they are more reliable
-- add `original_exception` to `easypost.Error` in cases where we are re-raising an underlying error (e.g., an HTTP exception)
-- fix a bunch of flake8 warnings
-- [potentially-breaking] soft-deprecate Python 3.3 and 3.4. these have been dropped by most of the libraries we use, so probably don't work anyway.
-- Swap GET to POST on Refund method
-
-## v4.0.2 (2020-05-05)
-
-- cleaned up how the `__version__` attribute is populated to no longer throw warnings (#95, #98, #104)
-- added some misding reports
-- fix stale tests
-- move testing infrastructure from travis-ci.org to travis-ci.com
-
-## v4.0.1 (2020-03-06)
-
-- Fixed a bug that would not create reports properly
-- Fixed stale unit tests
-
-## v4.0.0 (2019-07-09)
-
-- Update some `setup.py` fields
-- Formally remove Python 2.6 support (which has been broken for several years)
-
-## v3.6.5 (2019-07-09)
-
-- Fix broken pickup tests
-- Fix broken reports tests
-- Make tests run on Python 3.7
-- Fix typo in `install_requires` causing `six` to not be installed by pip (gh-84 from @roehnan)
-
-## v3.6.4 (2018-04-09)
-
-**NOTE:** This version was never released
-
-- Update user tests
-
-## v3.6.3 (2018-02-05)
-
-- Fix issue with responses that contain an `api_key` field (gh-67)
-- Fix tests to take into account new label fee
-
-## v3.6.2 (2017-05-23)
-
-- Report.retrieve no longer requires a type to be passed
-
-## v3.6.1 (2017-05-09)
-
-- Modernize tests; make tests able to run in parallel; etc.
-- Clarify in README and `setup.py` the supported Python versions
-- Add top-level `timeout` variable for setting the HTTP timeout on requests
-
-## v3.6.0 (2017-04-04)
-
-- Changed Report CRUD signatures. requires report type to be passed
-
-## v3.5.2 (2017-02-14)
-
-- Added `get_rates` method to Order objects
-
-## v3.5.1 (2017-01-19)
-
-- Fixed create for ScanForms
-
-## v3.5.0 (2017-01-18)
-
-- Added basic CRUD methods for Webhook Objects
-- Fixed Order test
-
-## v3.4.0 (2016-12-20)
-
-- Added session pooling
-
-## v3.3.0 (2016-12-15)
-
-- Added support for Report objects
-
-## v3.2.2 (2016-07-29)
-
-- Added support for Insurance objects
-
-## v3.2.1 (2016-07-18)
-
-- Added `to_json` method for EasyPost object. Thanks ThePsyjo!
-
-## v3.2.0 (2016-05-17)
-
-- Remove `api_keys` from object dumps
-- Fixed address tests to keep them in line with the new API messages
-- This was previously known as version 3.1.3
-
-## v3.1.2 (2016-03-04)
-
-- Added a suite of unittest tests. Thanks wyounas!
-
-## v3.1.1 (2016-02-12)
-
-- Added ability to interact with Users (create, retrieve and update)
-
-## v3.1.0 (2015-12-08)
-
-- Add verifications to Address.create
-
-## v3.0.6 (2015-11-24)
-
-- Added Blob.retrieve for fetching urls for blobs stored by EasyPost.
-
-## v3.0.5 (2015-11-18)
-
-- Changed the interface on `Tracker.create_list` to return True rather than the
- Trackers themselves
-
-## v3.0.4 (2015-11-16)
-
-- Minor bugfix
-
-## v3.0.3 (2015-11-16)
-
-- Added a `Tracker.all_updated` method for retrieving a large number of Trackers
- by status or `tracking_details` updated datetime
-
-## v3.0.2 (2015-11-10)
-
-- Added a `Tracker.create_list` method for creating a large number of Trackers
- at once
-
-## v3.0.1 (2015-11-04)
-
-- Fixed some examples and added some new ones, particularly dealing with Tracker.all
-
-## v3.0.0 (2015-10-19)
-
-- Fixed bug where retrieving a shipment by tracking code or reference doesn't set the ID properly
-
-## v2.0.16 (2015-08-10)
-
-- Added ability to interact with carrier accounts (full CRUD)
-
-## v2.0.15 (2015-07-31)
-
-- Fixed bug with address verification url rendering
-
-## v2.0.14 (2015-03-30)
-
-- Fix numerous bugs, including Python3 encoding
-
-## v2.0.13 (2015-01-09)
-
-- Added python3 support
-
-## v2.0.12 (2014-11-04)
-
-- Added tracker to shipment response
-- Added tracker example
-
-## v2.0.11 (2014-09-19)
-
-- Added Order support.
-
-## v2.0.10 (2014-09-10)
-
-- Added Pickup cancellation method.
-
-## v2.0.9 (2014-09-02)
-
-- Added Pickup resource for scheduling pickups.
-
-## v2.0.6 (2013-10-17)
-
-- Added Event resource for webhook digestion.
-- Added buy method to Batch.
-
-## v2.0.5 (2013-09-22)
-
-- Bug Fix: UTF-8 input handled more gracefully.
-
-## v2.0.4 (2013-07-31)
-
-- API Addition: Tracker resource added. Trackers can be used to register any tracking code with EasyPost webhooks.
-
-## v2.0.3 (2013-07-23)
-
-- API Addition: `Shipment.track_with_code` returns tracking details for any tracking code.
-
-## v2.0.2 (2013-07-07)
-
-- Bug fix: `address.create_and_verify` is now a classmethod.
-
-## v2.0.1 (2013-07-05)
-
-- Added function to Address to all creating and verifying at the same time.
-- Add label function to Shipment to request specific label `file_formats` (pdf, epl2, zpl).
-- Add insure function to Shipment. Add insurance to any shipment in one call!
-- Fixed `shipment.get_rates` bug.
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index ff835331..00000000
--- a/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License
-
-Copyright (c) 2013 EasyPost (Simpler Postage, Inc)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/MANIFEST.in b/MANIFEST.in
deleted file mode 100644
index efa752ea..00000000
--- a/MANIFEST.in
+++ /dev/null
@@ -1 +0,0 @@
-include *.md
diff --git a/README.md b/README.md
deleted file mode 100644
index 234fc453..00000000
--- a/README.md
+++ /dev/null
@@ -1,153 +0,0 @@
-# EasyPost Python Client Library
-
-[](https://github.com/EasyPost/easypost-python/actions?query=workflow%3ACI)
-[](https://codecov.io/gh/EasyPost/easypost-python)
-[](https://badge.fury.io/py/easypost)
-
-EasyPost, the simple shipping solution. You can sign up for an account at .
-
-## Install
-
-The library is tested against Python3 and should be compatible with PyPy3.
-
-```bash
-pip install easypost
-```
-
-```python
-# Import the EasyPost library:
-import easypost
-```
-
-## Usage
-
-A simple create & buy shipment example:
-
-```python
-import os
-import easypost
-
-client = easypost.EasyPostClient(os.getenv('EASYPOST_API_KEY'))
-
-shipment = client.shipment.create(
- from_address = {
- "name": "EasyPost",
- "street1": "118 2nd Street",
- "street2": "4th Floor",
- "city": "San Francisco",
- "state": "CA",
- "zip": "94105",
- "country": "US",
- "phone": "415-456-7890",
- },
- to_address = {
- "name": "Dr. Steve Brule",
- "street1": "179 N Harbor Dr",
- "city": "Redondo Beach",
- "state": "CA",
- "zip": "90277",
- "country": "US",
- "phone": "310-808-5243",
- },
- parcel = {
- "length": 10.2,
- "width": 7.8,
- "height": 4.3,
- "weight": 21.2,
- },
-)
-
-bought_shipment = client.shipment.buy(shipment.id, rate=shipment.lowest_rate())
-
-print(bought_shipment)
-```
-
-### HTTP Hooks
-
-Users can subscribe to HTTP requests and responses via the `RequestHook` and `ResponseHook` objects. To do so, pass a function to the `subscribe_to_request_hook` or `subscribe_to_response_hook` methods of an `EasyPostClient` object:
-
-```python
-def custom_function(**kwargs):
- """Pass your code here, data about the request/response is contained within `kwargs`."""
- print(f"Received a request with the status code of: {kwargs.get('http_status')}")
-
-client = easypost.EasyPostClient(os.getenv('EASYPOST_API_KEY'))
-
-client.subscribe_to_response_hook(custom_function)
-
-# Make your API calls here, your custom_function will trigger once a response is received
-```
-
-You can also unsubscribe your functions in a similar manner by using the `unsubscribe_from_request_hook` and `unsubscribe_from_response_hook` methods of a client object.
-
-## Documentation
-
-API documentation can be found at: .
-
-Library documentation can be found on the web at: or by building them locally via the `just docs` command.
-
-Upgrading major versions of this project? Refer to the [Upgrade Guide](UPGRADE_GUIDE.md).
-
-## Support
-
-New features and bug fixes are released on the latest major release of this library. If you are on an older major release of this library, we recommend upgrading to the most recent release to take advantage of new features, bug fixes, and security patches. Older versions of this library will continue to work and be available as long as the API version they are tied to remains active; however, they will not receive updates and are considered EOL.
-
-For additional support, see our [org-wide support policy](https://github.com/EasyPost/.github/blob/main/SUPPORT.md).
-
-## Development
-
-```bash
-# Install dependencies
-just install
-
-# Lint project
-just lint
-just lint-fix
-
-# Run tests
-EASYPOST_TEST_API_KEY=123... EASYPOST_PROD_API_KEY=123... just test
-EASYPOST_TEST_API_KEY=123... EASYPOST_PROD_API_KEY=123... just coverage
-
-# Run security analysis
-just scan
-
-# Generate library documentation
-just docs
-
-# Update submodules
-just update-examples-submodule
-```
-
-### Testing
-
-The test suite in this project was specifically built to produce consistent results on every run, regardless of when they run or who is running them. This project uses [VCR](https://github.com/kevin1024/vcrpy) to record and replay HTTP requests and responses via "cassettes". When the suite is run, the HTTP requests and responses for each test function will be saved to a cassette if they do not exist already and replayed from this saved file if they do, which saves the need to make live API calls on every test run. If you receive errors about a cassette expiring, delete and re-record the cassette to ensure the data is up-to-date.
-
-**Sensitive Data:** We've made every attempt to include scrubbers for sensitive data when recording cassettes so that PII or sensitive info does not persist in version control; however, please ensure when recording or re-recording cassettes that prior to committing your changes, no PII or sensitive information gets persisted by inspecting the cassette.
-
-**Making Changes:** If you make an addition to this project, the request/response will get recorded automatically for you if the `@pytest.mark.vcr()` decorator is included on the test function. When making changes to this project, you'll need to re-record the associated cassette to force a new live API call for that test which will then record the request/response used on the next run.
-
-**Test Data:** The test suite has been populated with various helpful fixtures that are available for use, each completely independent from a particular user **with the exception of the USPS carrier account ID** (see [Unit Test API Keys](#unit-test-api-keys) for more information) which has a fallback value of our internal testing user's ID. Some fixtures use hard-coded dates that may need to be incremented if cassettes get re-recorded (such as reports or pickups).
-
-#### Unit Test API Keys
-
-The following are required on every test run:
-
-- `EASYPOST_TEST_API_KEY`
-- `EASYPOST_PROD_API_KEY`
-
-Some tests may require an EasyPost user with a particular set of enabled features such as a `Partner` user when creating referrals. We have attempted to call out these functions in their respective docstrings. The following are required when you need to re-record cassettes for applicable tests:
-
-- `USPS_CARRIER_ACCOUNT_ID` (eg: one-call buying a shipment for non-EasyPost employees)
-- `PARTNER_USER_PROD_API_KEY` (eg: creating a referral user)
-- `REFERRAL_CUSTOMER_PROD_API_KEY` (eg: adding a credit card to a referral user)
-
-#### Google Cloud SDK
-
-To run the test suite with the Google Cloud SDK (`urlfetch` instead of the `requests` library), you'll need the following:
-
-1. Install the appengine Python package to this virtual environment: `venv/bin/pip install appengine-python-standard`
-1. Install the Google Cloud SDK
- - [Direct Download](https://cloud.google.com/sdk/docs/install)
- - [Homebrew](https://formulae.brew.sh/cask/google-cloud-sdk)
-1. Point the `PYTHONPATH` environment variable to the path of the newly installed `google-cloud-sdk` directory. For Homebrew, this is `"$(brew --prefix)/share/google-cloud-sdk"`
-1. Run the test suite with the commands listed in this README
diff --git a/UPGRADE_GUIDE.md b/UPGRADE_GUIDE.md
deleted file mode 100644
index db35a06f..00000000
--- a/UPGRADE_GUIDE.md
+++ /dev/null
@@ -1,250 +0,0 @@
-# Upgrade Guide
-
-Use the following guide to assist in the upgrade process of the `easypost-python` library between major versions.
-
-- [Upgrading from 9.x to 10.0](#upgrading-from-9x-to-100)
-- [Upgrading from 8.x to 9.0](#upgrading-from-8x-to-90)
-- [Upgrading from 7.x to 8.0](#upgrading-from-7x-to-80)
-- [Upgrading from 6.x to 7.0](#upgrading-from-6x-to-70)
-- [Upgrading from 5.x to 6.0](#upgrading-from-5x-to-60)
-
-## Upgrading from 9.x to 10.0
-
-### 10.0 High Impact Changes
-
-- [Updated Dependencies](#100-updated-dependencies)
-
-### 10.0 Medium Impact Changes
-
-- [Deprecations](#100-deprecations)
-
-### 10.0 Updated Dependencies
-
-**Python 3.9 Required**
-
-easypost-python now requires Python 3.9 or greater.
-
-### 10.0 Deprecations
-
-*Likelihood of Impact: **Medium***
-
-The following deprecated functions have been removed:
-
-- `user.all_api_keys` (use `api_key.all`)
-- `users.api_keys` (use `api_key.retrieve_api_keys_for_user`)
-
-## Upgrading from 8.x to 9.0
-
-**NOTICE:** v9 is deprecated.
-
-### 9.0 High Impact Changes
-
-- [Carbon Offset Removed](#90-carbon-offset-removed)
-
-### 9.0 Low Impact Changes
-
-- [Create and Buy Batch Function Removed](#90-create-and-buy-batch-function-removed)
-
-### 9.0 Carbon Offset Removed
-
-*Likelihood of Impact: **High***
-
-EasyPost now offers Carbon Neutral shipments by default for free! Because of this, there is no longer a need to specify if you want to offset the carbon footprint of a shipment.
-
-The `with_carbon_offset` parameter of the `create`, `buy`, and `regenerate_rates` shipment functions has been removed.
-
-This is a high-impact change for those using `EndShippers`, as the signature for the `create` and `buy` shipment functions have changed. You will need to inspect these callsites to ensure that the EndShipper parameter is being passed in the correct place.
-
-### 9.0 Create and Buy Batch Function Removed
-
-*Likelihood of Impact: **Low***
-
-The `create_and_buy` batch endpoint has been deprecated, and the `create_and_buy` Batch service function has been removed.
-
-The correct procedure is to first create a batch and then purchase it with two separate API calls.
-
-## Upgrading from 7.x to 8.0
-
-**NOTICE:** v8 is deprecated.
-
-### 8.0 High Impact Changes
-
-- [Updated Dependencies](#80-updated-dependencies)
-- [EasyPostClient](#80-easypostclient)
-- [Improved Error Handling](#80-improved-error-handling)
-
-### 8.0 Medium Impact Changes
-
-- [Corrected Naming Conventions](#80-corrected-naming-conventions)
-
-### 8.0 Low Impact Changes
-
-- [Beta Namespace Changed](#80-beta-namespace-changed)
-- [Changed Function Parameter Order and Return Types](#80-changed-function-parameter-order-and-return-types)
-
-### 8.0 Updated Dependencies
-
-Likelihood of Impact: High
-
-**Python 3.7 Required**
-
-easypost-python now requires Python 3.7 or greater.
-
-**Dependencies**
-
-All dependencies had minor version bumps.
-
-### 8.0 EasyPostClient
-
-Likelihood of Impact: High
-
-This library is now thread-safe with the introduction of a new `EasyPostClient` object. Instead of defining a global API key that all requests use, you create an `EasyPostClient` object and pass your API key to it. You then call your desired functions against a "service" which coincide with EasyPost objects:
-
-```python
-# Old method
-easypost.api_key = os.getenv('EASYPOST_API_KEY')
-shipment = easypost.Shipment.create({'data': 'here'})
-
-# New method
-client = easypost.EasyPostClient(api_key=os.getenv('EASYPOST_API_KEY'))
-shipment = client.shipment.create({'data': 'here'})
-```
-
-All instance methods are now static with the exception of `lowest_rate` as these make API calls and require the EasyPostClient (EasyPost objects do not contain an API key to make API calls with).
-
-Previously used `.save()` instance methods are now static `.update()` functions where you specify first the ID of the object you are updating and second, the parameters that need updating.
-
-Functions no longer accept an API key as an optional parameter. If you need per-function API key changes, create a new EasyPostClient object and call the function on the new client that uses the API key you need.
-
-### 8.0 Improved Error Handling
-
-Likelihood of Impact: High
-
-There are ~2 dozen new error types that extend either `ApiError` or `EasyPostError`.
-
-New ApiErrors (extends EasyPostError):
-
-- `ApiError`
-- `EncodingError`
-- `ExternalApiError`
-- `ForbiddenError`
-- `GatewayTimeoutError`
-- `HttpError`
-- `InternalServerError`
-- `InvalidRequestError`
-- `JsonError`
-- `MethodNotAllowedError`
-- `NotFoundError`
-- `PaymentError`
-- `RateLimitError`
-- `RedirectError`
-- `ServiceUnavailableError`
-- `TimeoutError`
-- `UnauthorizedError`
-- `UnknownApiError`
-
-New EasyPostErrors (extends builtin Exception):
-
-- `EasyPostError`
-- `EndOfPaginationError`
-- `FilteringError`
-- `InvalidObjectError`
-- `InvalidParameterError`
-- `MissingParameterError`
-- `SignatureVerificationError`
-
-ApiErrors will behave like the previous Error class did. They will include a `message`, `http_status`, and `http_body`. Additionally, a new `code` and `errors` keys are present and populate when available. This class extends the more generic `EasyPostError` which only contains a message, used for errors thrown directly from this library.
-
-The `original_exception` property has been removed and is now returned directly in the error message if present.
-
-### 8.0 Corrected Naming Conventions
-
-Likelihood of Impact: Medium
-
-Occurances of `referral` are now `referral_customer` and `Referral` are now `ReferralCustomer` to match the documentation and API.
-
-Occurances of `smartrate` are now `smart_rate` and `Smartrate` are now `SmartRate` to match the documentation and API.
-
-Occurances of `scanform` are now `scan_form` and `Scanform` are now `ScanForm` to match the documentation and API.
-
-The `primary_or_secondary` parameter name for billing functions is now called `priority` to match the documentation and API.
-
-### 8.0 Beta Namespace Changed
-
-Likelihood of Impact: Low
-
-Previously, the beta namespace was found at `easypost.beta.x` where `x` is the name of your model. Now, the beta namespace is simply prepended to the name of your service: `client.beta_x`. for instance, you can call `client.beta_referral_customer.add_payment_method()`.
-
-### 8.0 Changed Function Parameter Order and Return Types
-
-Likelihood of Impact: Low
-
-The `update_email` function of the `referral_customer` service had the parameter order switched and name changed. Previously, you would pass the email and then the id, Now, you pass the `id` of the user first, then the email. This change matches the rest of the library where an ID always comes first.
-
-Functions that previously returned `True` now do not return anything as there is no response body from the API (eg: `fund_wallet`, `delete_payment_method`, `update_email`, `create_list`)
-
-## Upgrading from 6.x to 7.0
-
-**NOTICE:** v7 is deprecated.
-
-### 7.0 High Impact Changes
-
-- [Updating Dependencies](#70-updating-dependencies)
-- [`shipment.lowest_rate()` Now Expects a List](#70-shipmentlowestrate-now-expects-a-list)
-
-### 7.0 Medium Impact Changes
-
-- [Removal of `get_rates()` Shipment Method](#70-removal-of-getrates-shipment-method)
-
-### 7.0 Updating Dependencies
-
-Likelihood of Impact: High
-
-**Python 3.6 Required**
-
-easypost-python now requires Python 3.6 or greater and has dropped support for Python 2.
-
-**Dependencies**
-
-All dependencies had minor version bumps.
-
-### 7.0 `shipment.lowest_rate()` Now Expects a List
-
-Previously the `shipment.lowest_rate()` function expected a comma separated string list of filter criteria (carriers and services). These params have been corrected to expect an actual list object.
-
-```python
-# Previous expectation
-shipment.lowest_rate(carriers="USPS,FedEx", services="...")
-
-# Current expectation
-shipment.lowest_rate(carriers=["USPS", "FedEx"], services=["..."])
-```
-
-### 7.0 Removal of `get_rates()` Shipment Method
-
-Likelihood of Impact: Medium
-
-The HTTP method used for the `get_rates` endpoint at the API level has changed from `POST` to `GET` and will only retrieve rates for a shipment instead of regenerating them. A new `/rerate` endpoint has been introduced to replace this functionality; In this library, you can now call the `shipment.regenerate_rates()` method to regenerate rates. Due to the logic change, the `get_rates` method has been removed since a Shipment inherently already has rates associated.
-
-## Upgrading from 5.x to 6.0
-
-**NOTICE:** v6 is deprecated.
-
-### 6.0 High Impact Changes
-
-- [Updating Dependencies](#60-updating-dependencies)
-- [JSON Encoded Bodies](#60-json-encoded-bodies)
-
-### 6.0 Updating Dependencies
-
-Likelihood of Impact: High
-
-**Dependencies**
-
-Bumps the `requests` library from v1 to v2.
-
-### 6.0 JSON Encoded Bodies
-
-Likelihood of Impact: High
-
-All `POST` and `PUT` request bodies are now JSON encoded instead of form-encoded. You may see subtle inconsistencies to how certain data types were previously sent to the API. We have taken steps to mitigate and test against these edge cases.
diff --git a/easypost.html b/easypost.html
new file mode 100644
index 00000000..b655a2f5
--- /dev/null
+++ b/easypost.html
@@ -0,0 +1,282 @@
+
+
+
+
+
+
+ easypost API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ version_info =
+['10', '7', '0']
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/__init__.py b/easypost/__init__.py
deleted file mode 100644
index 13d5b420..00000000
--- a/easypost/__init__.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# flake8: noqa
-from easypost.constant import (
- AUTHOR,
- VERSION,
- VERSION_INFO,
-)
-from easypost.easypost_client import EasyPostClient
-from easypost.util import (
- get_lowest_object_rate,
- get_lowest_smart_rate,
- get_lowest_stateless_rate,
- receive_event,
- validate_webhook,
-)
-
-
-__author__ = AUTHOR
-__version__ = VERSION
-version_info = VERSION_INFO
diff --git a/easypost/constant.html b/easypost/constant.html
new file mode 100644
index 00000000..0cd7c7c7
--- /dev/null
+++ b/easypost/constant.html
@@ -0,0 +1,673 @@
+
+
+
+
+
+
+ easypost.constant API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 # flake8: noqa
+ 2 # Library version
+ 3 VERSION = "10.7.0"
+ 4 VERSION_INFO = [ str ( number ) for number in VERSION . split ( "." )]
+ 5
+ 6 # Client defaults
+ 7 API_BASE = "https://api.easypost.com"
+ 8 API_VERSION = "v2"
+ 9 AUTHOR = "EasyPost <oss@easypost.com>"
+10 SUPPORT_EMAIL = "support@easypost.com"
+11 TIMEOUT = 60
+12
+13 # Error messages
+14 COMMUNICATION_ERROR = "Unexpected error communicating with EasyPost. If this problem persists please let us know at {} . Original error: {} "
+15 INVALID_DELIVER_ACCURACY_ERROR = "Invalid delivery_accuracy value, must be one of: {} "
+16 INVALID_PAYMENT_METHOD_ERROR = "The chosen payment method is not valid. Please try again."
+17 INVALID_REQUEST_LIB_ERROR = "Bug discovered: invalid request_lib: {} . Please report to {} ."
+18 INVALID_REQUEST_METHOD_ERROR = "Bug discovered: invalid request method: {} . Please report to {} ."
+19 INVALID_REQUEST_PARAMETERS_ERROR = "Only GET and DELETE requests support parameters."
+20 INVALID_REQUESTS_VERSION_ERROR = 'EasyPost requires an up to date requests library. Update requests via "pip install -U requests" or contact us at {} .'
+21 INVALID_RESPONSE_BODY_ERROR = "Invalid response from API: ( {} ) {} "
+22 INVALID_SIGNATURE_ERROR = "Webhook received does not contain an HMAC signature."
+23 INVALID_WEBHOOK_VALIDATION_ERROR = "Webhook received did not originate from EasyPost or had a webhook secret mismatch."
+24 MISSING_PARAMETER_ERROR = "Missing required parameter: {} "
+25 NO_ATTRIBUTE_ERROR = " {} object has no attribute {} "
+26 NO_BILLING_ERROR = "Billing has not been setup for this user. Please add a payment method."
+27 NO_MORE_PAGES_ERROR = "There are no more pages to retrieve."
+28 NO_RATES_ERROR = "No rates found."
+29 NO_USER_FOUND = "No user found with the given id."
+30 SEND_STRIPE_DETAILS_ERROR = "Could not send card details to Stripe, please try again later."
+31 TIMEOUT_ERROR = "Request timed out."
+32
+33 # Internal constants (user's should not use these)
+34 _TEST_FAILED_INTENTIONALLY_ERROR = "Test failed intentionally."
+35 _CARRIER_ACCOUNT_CREATE_ENDPOINT_TYPES = {
+36 "/carrier_accounts/open" : (
+37 "FedexDefaultAccount" ,
+38 "GofoWalletAccount" ,
+39 "UpsDapAccount" ,
+40 "UniUniWalletAccount" ,
+41 "VehoWalletAccount" ,
+42 ),
+43 "/carrier_accounts/register" : (
+44 "FedexAccount" ,
+45 "FedexSmartpostAccount" ,
+46 ),
+47 "/carrier_accounts/register_oauth" : (
+48 "AmazonShippingAccount" ,
+49 "UpsAccount" ,
+50 "UpsMailInnovationsAccount" ,
+51 "UpsSurepostAccount" ,
+52 "UspsShipAccount" ,
+53 ),
+54 }
+55 _FILTERS_KEY = "filters"
+
+
+
+
+
+
+ VERSION =
+'10.7.0'
+
+
+
+
+
+
+
+
+
+
+ VERSION_INFO =
+['10', '7', '0']
+
+
+
+
+
+
+
+
+
+
+ API_BASE =
+'https://api.easypost.com'
+
+
+
+
+
+
+
+
+
+
+ API_VERSION =
+'v2'
+
+
+
+
+
+
+
+
+
+
+ AUTHOR =
+'EasyPost <oss@easypost.com>'
+
+
+
+
+
+
+
+
+
+
+ SUPPORT_EMAIL =
+'support@easypost.com'
+
+
+
+
+
+
+
+
+
+
+ TIMEOUT =
+60
+
+
+
+
+
+
+
+
+
+
+
+ INVALID_DELIVER_ACCURACY_ERROR =
+'Invalid delivery_accuracy value, must be one of: {}'
+
+
+
+
+
+
+
+
+
+
+ INVALID_PAYMENT_METHOD_ERROR =
+'The chosen payment method is not valid. Please try again.'
+
+
+
+
+
+
+
+
+
+
+ INVALID_REQUEST_LIB_ERROR =
+'Bug discovered: invalid request_lib: {}. Please report to {}.'
+
+
+
+
+
+
+
+
+
+
+ INVALID_REQUEST_METHOD_ERROR =
+'Bug discovered: invalid request method: {}. Please report to {}.'
+
+
+
+
+
+
+
+
+
+
+ INVALID_REQUEST_PARAMETERS_ERROR =
+'Only GET and DELETE requests support parameters.'
+
+
+
+
+
+
+
+
+
+
+
+ INVALID_RESPONSE_BODY_ERROR =
+'Invalid response from API: ({}) {}'
+
+
+
+
+
+
+
+
+
+
+ INVALID_SIGNATURE_ERROR =
+'Webhook received does not contain an HMAC signature.'
+
+
+
+
+
+
+
+
+
+
+ INVALID_WEBHOOK_VALIDATION_ERROR =
+'Webhook received did not originate from EasyPost or had a webhook secret mismatch.'
+
+
+
+
+
+
+
+
+
+
+ MISSING_PARAMETER_ERROR =
+'Missing required parameter: {}'
+
+
+
+
+
+
+
+
+
+
+ NO_ATTRIBUTE_ERROR =
+'{} object has no attribute {}'
+
+
+
+
+
+
+
+
+
+
+ NO_BILLING_ERROR =
+'Billing has not been setup for this user. Please add a payment method.'
+
+
+
+
+
+
+
+
+
+
+ NO_MORE_PAGES_ERROR =
+'There are no more pages to retrieve.'
+
+
+
+
+
+
+
+
+
+
+ NO_RATES_ERROR =
+'No rates found.'
+
+
+
+
+
+
+
+
+
+
+ NO_USER_FOUND =
+'No user found with the given id.'
+
+
+
+
+
+
+
+
+
+
+ SEND_STRIPE_DETAILS_ERROR =
+'Could not send card details to Stripe, please try again later.'
+
+
+
+
+
+
+
+
+
+
+ TIMEOUT_ERROR =
+'Request timed out.'
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/constant.py b/easypost/constant.py
deleted file mode 100644
index 18a71b29..00000000
--- a/easypost/constant.py
+++ /dev/null
@@ -1,55 +0,0 @@
-# flake8: noqa
-# Library version
-VERSION = "10.7.0"
-VERSION_INFO = [str(number) for number in VERSION.split(".")]
-
-# Client defaults
-API_BASE = "https://api.easypost.com"
-API_VERSION = "v2"
-AUTHOR = "EasyPost "
-SUPPORT_EMAIL = "support@easypost.com"
-TIMEOUT = 60
-
-# Error messages
-COMMUNICATION_ERROR = "Unexpected error communicating with EasyPost. If this problem persists please let us know at {}. Original error: {}"
-INVALID_DELIVER_ACCURACY_ERROR = "Invalid delivery_accuracy value, must be one of: {}"
-INVALID_PAYMENT_METHOD_ERROR = "The chosen payment method is not valid. Please try again."
-INVALID_REQUEST_LIB_ERROR = "Bug discovered: invalid request_lib: {}. Please report to {}."
-INVALID_REQUEST_METHOD_ERROR = "Bug discovered: invalid request method: {}. Please report to {}."
-INVALID_REQUEST_PARAMETERS_ERROR = "Only GET and DELETE requests support parameters."
-INVALID_REQUESTS_VERSION_ERROR = 'EasyPost requires an up to date requests library. Update requests via "pip install -U requests" or contact us at {}.'
-INVALID_RESPONSE_BODY_ERROR = "Invalid response from API: ({}) {}"
-INVALID_SIGNATURE_ERROR = "Webhook received does not contain an HMAC signature."
-INVALID_WEBHOOK_VALIDATION_ERROR = "Webhook received did not originate from EasyPost or had a webhook secret mismatch."
-MISSING_PARAMETER_ERROR = "Missing required parameter: {}"
-NO_ATTRIBUTE_ERROR = "{} object has no attribute {}"
-NO_BILLING_ERROR = "Billing has not been setup for this user. Please add a payment method."
-NO_MORE_PAGES_ERROR = "There are no more pages to retrieve."
-NO_RATES_ERROR = "No rates found."
-NO_USER_FOUND = "No user found with the given id."
-SEND_STRIPE_DETAILS_ERROR = "Could not send card details to Stripe, please try again later."
-TIMEOUT_ERROR = "Request timed out."
-
-# Internal constants (user's should not use these)
-_TEST_FAILED_INTENTIONALLY_ERROR = "Test failed intentionally."
-_CARRIER_ACCOUNT_CREATE_ENDPOINT_TYPES = {
- "/carrier_accounts/open": (
- "FedexDefaultAccount",
- "GofoWalletAccount",
- "UpsDapAccount",
- "UniUniWalletAccount",
- "VehoWalletAccount",
- ),
- "/carrier_accounts/register": (
- "FedexAccount",
- "FedexSmartpostAccount",
- ),
- "/carrier_accounts/register_oauth": (
- "AmazonShippingAccount",
- "UpsAccount",
- "UpsMailInnovationsAccount",
- "UpsSurepostAccount",
- "UspsShipAccount",
- ),
-}
-_FILTERS_KEY = "filters"
diff --git a/easypost/easypost_client.html b/easypost/easypost_client.html
new file mode 100644
index 00000000..2a2545e5
--- /dev/null
+++ b/easypost/easypost_client.html
@@ -0,0 +1,1238 @@
+
+
+
+
+
+
+ easypost.easypost_client API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+easypost .easypost_client
+
+
+
+
+ View Source
+
+ 1 from typing import Any
+ 2
+ 3 from easypost.constant import (
+ 4 API_BASE ,
+ 5 API_VERSION ,
+ 6 INVALID_REQUESTS_VERSION_ERROR ,
+ 7 SUPPORT_EMAIL ,
+ 8 TIMEOUT ,
+ 9 )
+ 10 from easypost.easypost_object import convert_to_easypost_object
+ 11 from easypost.hooks import RequestHook , ResponseHook
+ 12 from easypost.requestor import RequestMethod , Requestor
+ 13 from easypost.services import (
+ 14 AddressService ,
+ 15 ApiKeyService ,
+ 16 BatchService ,
+ 17 BetaRateService ,
+ 18 BetaReferralCustomerService ,
+ 19 BillingService ,
+ 20 CarrierAccountService ,
+ 21 CarrierMetadataService ,
+ 22 ClaimService ,
+ 23 CustomerPortalService ,
+ 24 CustomsInfoService ,
+ 25 CustomsItemService ,
+ 26 EmbeddableService ,
+ 27 EndShipperService ,
+ 28 EventService ,
+ 29 FedExRegistrationService ,
+ 30 InsuranceService ,
+ 31 LumaService ,
+ 32 OrderService ,
+ 33 ParcelService ,
+ 34 PickupService ,
+ 35 RateService ,
+ 36 ReferralCustomerService ,
+ 37 RefundService ,
+ 38 ReportService ,
+ 39 ScanFormService ,
+ 40 ShipmentService ,
+ 41 SmartRateService ,
+ 42 TrackerService ,
+ 43 UserService ,
+ 44 WebhookService ,
+ 45 )
+ 46
+ 47
+ 48 class EasyPostClient :
+ 49 """A client object used to authenticate and configure all HTTP calls to the EasyPost API."""
+ 50
+ 51 def __init__ (
+ 52 self ,
+ 53 api_key : str ,
+ 54 api_base : str = f " { API_BASE } / { API_VERSION } " ,
+ 55 timeout : int = TIMEOUT ,
+ 56 ):
+ 57 # Client configuration
+ 58 self . api_key = api_key
+ 59 self . api_base = api_base
+ 60 self . timeout = timeout
+ 61
+ 62 # Services
+ 63 self . address = AddressService ( self )
+ 64 self . api_keys = ApiKeyService ( self )
+ 65 self . batch = BatchService ( self )
+ 66 self . beta_rate = BetaRateService ( self )
+ 67 self . beta_referral_customer = BetaReferralCustomerService ( self )
+ 68 self . billing = BillingService ( self )
+ 69 self . carrier_account = CarrierAccountService ( self )
+ 70 self . carrier_metadata = CarrierMetadataService ( self )
+ 71 self . claim = ClaimService ( self )
+ 72 self . customer_portal = CustomerPortalService ( self )
+ 73 self . customs_info = CustomsInfoService ( self )
+ 74 self . customs_item = CustomsItemService ( self )
+ 75 self . embeddable = EmbeddableService ( self )
+ 76 self . end_shipper = EndShipperService ( self )
+ 77 self . event = EventService ( self )
+ 78 self . fedex_registration = FedExRegistrationService ( self )
+ 79 self . insurance = InsuranceService ( self )
+ 80 self . luma = LumaService ( self )
+ 81 self . order = OrderService ( self )
+ 82 self . parcel = ParcelService ( self )
+ 83 self . rate = RateService ( self )
+ 84 self . pickup = PickupService ( self )
+ 85 self . referral_customer = ReferralCustomerService ( self )
+ 86 self . refund = RefundService ( self )
+ 87 self . report = ReportService ( self )
+ 88 self . scan_form = ScanFormService ( self )
+ 89 self . shipment = ShipmentService ( self )
+ 90 self . smart_rate = SmartRateService ( self )
+ 91 self . tracker = TrackerService ( self )
+ 92 self . user = UserService ( self )
+ 93 self . webhook = WebhookService ( self )
+ 94
+ 95 # Hooks
+ 96 self . _request_hook = RequestHook ()
+ 97 self . _response_hook = ResponseHook ()
+ 98
+ 99 # use urlfetch as request_lib on google app engine, otherwise use requests
+100 self . _request_lib = None
+101 try :
+102 from google.appengine.api import urlfetch # type: ignore
+103
+104 self . _request_lib = "urlfetch"
+105 # use the GAE application-wide "deadline" (or its default)
+106 timeout = urlfetch . get_default_fetch_deadline () or self . timeout
+107 except ImportError :
+108 try :
+109 import requests
+110
+111 self . _request_lib = "requests"
+112 self . _requests_session = requests . Session ()
+113 requests_http_adapter = requests . adapters . HTTPAdapter ( max_retries = 3 )
+114 self . _requests_session . mount (
+115 prefix = self . api_base . split ( f "/ { API_VERSION } " )[ 0 ],
+116 adapter = requests_http_adapter ,
+117 )
+118 except Exception :
+119 raise ImportError ( INVALID_REQUESTS_VERSION_ERROR . format ( SUPPORT_EMAIL ))
+120
+121 try :
+122 requests_version = requests . __version__
+123 major_version , _ , _ = [ int ( i ) for i in requests_version . split ( "." )]
+124 except Exception :
+125 raise ImportError ( INVALID_REQUESTS_VERSION_ERROR . format ( SUPPORT_EMAIL ))
+126 else :
+127 if major_version < 1 :
+128 raise ImportError ( INVALID_REQUESTS_VERSION_ERROR . format ( SUPPORT_EMAIL ))
+129
+130 def subscribe_to_request_hook ( self , function ):
+131 """Subscribe functions to run when a request occurs."""
+132 self . _request_hook += function
+133
+134 def unsubscribe_from_request_hook ( self , function ):
+135 """Unsubscribe functions from running when a request occurs."""
+136 self . _request_hook -= function
+137
+138 def subscribe_to_response_hook ( self , function ):
+139 """Subscribe functions to run when a response occurs."""
+140 self . _response_hook += function
+141
+142 def unsubscribe_from_response_hook ( self , function ):
+143 """Unsubscribe functions from running when a response occurs."""
+144 self . _response_hook -= function
+145
+146 def make_api_call ( self , method : RequestMethod , endpoint : str , params : dict [ str , Any ]) -> dict [ str , Any ]:
+147 """Make an API call to the EasyPost API.
+148
+149 This public, generic interface is useful for making arbitrary API calls to the EasyPost API that
+150 are not yet supported by the client library's services. When possible, the service for your use case
+151 should be used instead as it provides a more convenient and higher-level interface depending on the endpoint.
+152 """
+153 response = Requestor ( self ) . request ( method = method , url = endpoint , params = params )
+154
+155 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+ class
+ EasyPostClient :
+
+ View Source
+
+
+
+ 49 class EasyPostClient :
+ 50 """A client object used to authenticate and configure all HTTP calls to the EasyPost API."""
+ 51
+ 52 def __init__ (
+ 53 self ,
+ 54 api_key : str ,
+ 55 api_base : str = f " { API_BASE } / { API_VERSION } " ,
+ 56 timeout : int = TIMEOUT ,
+ 57 ):
+ 58 # Client configuration
+ 59 self . api_key = api_key
+ 60 self . api_base = api_base
+ 61 self . timeout = timeout
+ 62
+ 63 # Services
+ 64 self . address = AddressService ( self )
+ 65 self . api_keys = ApiKeyService ( self )
+ 66 self . batch = BatchService ( self )
+ 67 self . beta_rate = BetaRateService ( self )
+ 68 self . beta_referral_customer = BetaReferralCustomerService ( self )
+ 69 self . billing = BillingService ( self )
+ 70 self . carrier_account = CarrierAccountService ( self )
+ 71 self . carrier_metadata = CarrierMetadataService ( self )
+ 72 self . claim = ClaimService ( self )
+ 73 self . customer_portal = CustomerPortalService ( self )
+ 74 self . customs_info = CustomsInfoService ( self )
+ 75 self . customs_item = CustomsItemService ( self )
+ 76 self . embeddable = EmbeddableService ( self )
+ 77 self . end_shipper = EndShipperService ( self )
+ 78 self . event = EventService ( self )
+ 79 self . fedex_registration = FedExRegistrationService ( self )
+ 80 self . insurance = InsuranceService ( self )
+ 81 self . luma = LumaService ( self )
+ 82 self . order = OrderService ( self )
+ 83 self . parcel = ParcelService ( self )
+ 84 self . rate = RateService ( self )
+ 85 self . pickup = PickupService ( self )
+ 86 self . referral_customer = ReferralCustomerService ( self )
+ 87 self . refund = RefundService ( self )
+ 88 self . report = ReportService ( self )
+ 89 self . scan_form = ScanFormService ( self )
+ 90 self . shipment = ShipmentService ( self )
+ 91 self . smart_rate = SmartRateService ( self )
+ 92 self . tracker = TrackerService ( self )
+ 93 self . user = UserService ( self )
+ 94 self . webhook = WebhookService ( self )
+ 95
+ 96 # Hooks
+ 97 self . _request_hook = RequestHook ()
+ 98 self . _response_hook = ResponseHook ()
+ 99
+100 # use urlfetch as request_lib on google app engine, otherwise use requests
+101 self . _request_lib = None
+102 try :
+103 from google.appengine.api import urlfetch # type: ignore
+104
+105 self . _request_lib = "urlfetch"
+106 # use the GAE application-wide "deadline" (or its default)
+107 timeout = urlfetch . get_default_fetch_deadline () or self . timeout
+108 except ImportError :
+109 try :
+110 import requests
+111
+112 self . _request_lib = "requests"
+113 self . _requests_session = requests . Session ()
+114 requests_http_adapter = requests . adapters . HTTPAdapter ( max_retries = 3 )
+115 self . _requests_session . mount (
+116 prefix = self . api_base . split ( f "/ { API_VERSION } " )[ 0 ],
+117 adapter = requests_http_adapter ,
+118 )
+119 except Exception :
+120 raise ImportError ( INVALID_REQUESTS_VERSION_ERROR . format ( SUPPORT_EMAIL ))
+121
+122 try :
+123 requests_version = requests . __version__
+124 major_version , _ , _ = [ int ( i ) for i in requests_version . split ( "." )]
+125 except Exception :
+126 raise ImportError ( INVALID_REQUESTS_VERSION_ERROR . format ( SUPPORT_EMAIL ))
+127 else :
+128 if major_version < 1 :
+129 raise ImportError ( INVALID_REQUESTS_VERSION_ERROR . format ( SUPPORT_EMAIL ))
+130
+131 def subscribe_to_request_hook ( self , function ):
+132 """Subscribe functions to run when a request occurs."""
+133 self . _request_hook += function
+134
+135 def unsubscribe_from_request_hook ( self , function ):
+136 """Unsubscribe functions from running when a request occurs."""
+137 self . _request_hook -= function
+138
+139 def subscribe_to_response_hook ( self , function ):
+140 """Subscribe functions to run when a response occurs."""
+141 self . _response_hook += function
+142
+143 def unsubscribe_from_response_hook ( self , function ):
+144 """Unsubscribe functions from running when a response occurs."""
+145 self . _response_hook -= function
+146
+147 def make_api_call ( self , method : RequestMethod , endpoint : str , params : dict [ str , Any ]) -> dict [ str , Any ]:
+148 """Make an API call to the EasyPost API.
+149
+150 This public, generic interface is useful for making arbitrary API calls to the EasyPost API that
+151 are not yet supported by the client library's services. When possible, the service for your use case
+152 should be used instead as it provides a more convenient and higher-level interface depending on the endpoint.
+153 """
+154 response = Requestor ( self ) . request ( method = method , url = endpoint , params = params )
+155
+156 return convert_to_easypost_object ( response = response )
+
+
+
+ A client object used to authenticate and configure all HTTP calls to the EasyPost API.
+
+
+
+
+
+
+
+ EasyPostClient ( api_key : str , api_base : str = 'https://api.easypost.com/v2' , timeout : int = 60 )
+
+ View Source
+
+
+
+
52 def __init__ (
+ 53 self ,
+ 54 api_key : str ,
+ 55 api_base : str = f " { API_BASE } / { API_VERSION } " ,
+ 56 timeout : int = TIMEOUT ,
+ 57 ):
+ 58 # Client configuration
+ 59 self . api_key = api_key
+ 60 self . api_base = api_base
+ 61 self . timeout = timeout
+ 62
+ 63 # Services
+ 64 self . address = AddressService ( self )
+ 65 self . api_keys = ApiKeyService ( self )
+ 66 self . batch = BatchService ( self )
+ 67 self . beta_rate = BetaRateService ( self )
+ 68 self . beta_referral_customer = BetaReferralCustomerService ( self )
+ 69 self . billing = BillingService ( self )
+ 70 self . carrier_account = CarrierAccountService ( self )
+ 71 self . carrier_metadata = CarrierMetadataService ( self )
+ 72 self . claim = ClaimService ( self )
+ 73 self . customer_portal = CustomerPortalService ( self )
+ 74 self . customs_info = CustomsInfoService ( self )
+ 75 self . customs_item = CustomsItemService ( self )
+ 76 self . embeddable = EmbeddableService ( self )
+ 77 self . end_shipper = EndShipperService ( self )
+ 78 self . event = EventService ( self )
+ 79 self . fedex_registration = FedExRegistrationService ( self )
+ 80 self . insurance = InsuranceService ( self )
+ 81 self . luma = LumaService ( self )
+ 82 self . order = OrderService ( self )
+ 83 self . parcel = ParcelService ( self )
+ 84 self . rate = RateService ( self )
+ 85 self . pickup = PickupService ( self )
+ 86 self . referral_customer = ReferralCustomerService ( self )
+ 87 self . refund = RefundService ( self )
+ 88 self . report = ReportService ( self )
+ 89 self . scan_form = ScanFormService ( self )
+ 90 self . shipment = ShipmentService ( self )
+ 91 self . smart_rate = SmartRateService ( self )
+ 92 self . tracker = TrackerService ( self )
+ 93 self . user = UserService ( self )
+ 94 self . webhook = WebhookService ( self )
+ 95
+ 96 # Hooks
+ 97 self . _request_hook = RequestHook ()
+ 98 self . _response_hook = ResponseHook ()
+ 99
+100 # use urlfetch as request_lib on google app engine, otherwise use requests
+101 self . _request_lib = None
+102 try :
+103 from google.appengine.api import urlfetch # type: ignore
+104
+105 self . _request_lib = "urlfetch"
+106 # use the GAE application-wide "deadline" (or its default)
+107 timeout = urlfetch . get_default_fetch_deadline () or self . timeout
+108 except ImportError :
+109 try :
+110 import requests
+111
+112 self . _request_lib = "requests"
+113 self . _requests_session = requests . Session ()
+114 requests_http_adapter = requests . adapters . HTTPAdapter ( max_retries = 3 )
+115 self . _requests_session . mount (
+116 prefix = self . api_base . split ( f "/ { API_VERSION } " )[ 0 ],
+117 adapter = requests_http_adapter ,
+118 )
+119 except Exception :
+120 raise ImportError ( INVALID_REQUESTS_VERSION_ERROR . format ( SUPPORT_EMAIL ))
+121
+122 try :
+123 requests_version = requests . __version__
+124 major_version , _ , _ = [ int ( i ) for i in requests_version . split ( "." )]
+125 except Exception :
+126 raise ImportError ( INVALID_REQUESTS_VERSION_ERROR . format ( SUPPORT_EMAIL ))
+127 else :
+128 if major_version < 1 :
+129 raise ImportError ( INVALID_REQUESTS_VERSION_ERROR . format ( SUPPORT_EMAIL ))
+
+
+
+
+
+
+
+
+ api_key
+
+
+
+
+
+
+
+
+
+
+ api_base
+
+
+
+
+
+
+
+
+
+
+ timeout
+
+
+
+
+
+
+
+
+
+
+ address
+
+
+
+
+
+
+
+
+
+
+ api_keys
+
+
+
+
+
+
+
+
+
+
+ batch
+
+
+
+
+
+
+
+
+
+
+ beta_rate
+
+
+
+
+
+
+
+
+
+
+ beta_referral_customer
+
+
+
+
+
+
+
+
+
+
+ billing
+
+
+
+
+
+
+
+
+
+
+ carrier_account
+
+
+
+
+
+
+
+
+
+
+ carrier_metadata
+
+
+
+
+
+
+
+
+
+
+ claim
+
+
+
+
+
+
+
+
+
+
+ customer_portal
+
+
+
+
+
+
+
+
+
+
+ customs_info
+
+
+
+
+
+
+
+
+
+
+ customs_item
+
+
+
+
+
+
+
+
+
+
+ embeddable
+
+
+
+
+
+
+
+
+
+
+ end_shipper
+
+
+
+
+
+
+
+
+
+
+ event
+
+
+
+
+
+
+
+
+
+
+ fedex_registration
+
+
+
+
+
+
+
+
+
+
+ insurance
+
+
+
+
+
+
+
+
+
+
+
+ order
+
+
+
+
+
+
+
+
+
+
+ parcel
+
+
+
+
+
+
+
+
+
+
+
+ pickup
+
+
+
+
+
+
+
+
+
+
+ referral_customer
+
+
+
+
+
+
+
+
+
+
+ refund
+
+
+
+
+
+
+
+
+
+
+ report
+
+
+
+
+
+
+
+
+
+
+ scan_form
+
+
+
+
+
+
+
+
+
+
+ shipment
+
+
+
+
+
+
+
+
+
+
+ smart_rate
+
+
+
+
+
+
+
+
+
+
+ tracker
+
+
+
+
+
+
+
+
+
+
+
+ webhook
+
+
+
+
+
+
+
+
+
+
+
+
+ def
+ subscribe_to_request_hook (self , function ):
+
+ View Source
+
+
+
+
131 def subscribe_to_request_hook ( self , function ):
+132 """Subscribe functions to run when a request occurs."""
+133 self . _request_hook += function
+
+
+
+
Subscribe functions to run when a request occurs.
+
+
+
+
+
+
+
+
+ def
+ unsubscribe_from_request_hook (self , function ):
+
+ View Source
+
+
+
+
135 def unsubscribe_from_request_hook ( self , function ):
+136 """Unsubscribe functions from running when a request occurs."""
+137 self . _request_hook -= function
+
+
+
+
Unsubscribe functions from running when a request occurs.
+
+
+
+
+
+
+
+
+ def
+ subscribe_to_response_hook (self , function ):
+
+ View Source
+
+
+
+
139 def subscribe_to_response_hook ( self , function ):
+140 """Subscribe functions to run when a response occurs."""
+141 self . _response_hook += function
+
+
+
+
Subscribe functions to run when a response occurs.
+
+
+
+
+
+
+
+
+ def
+ unsubscribe_from_response_hook (self , function ):
+
+ View Source
+
+
+
+
143 def unsubscribe_from_response_hook ( self , function ):
+144 """Unsubscribe functions from running when a response occurs."""
+145 self . _response_hook -= function
+
+
+
+
Unsubscribe functions from running when a response occurs.
+
+
+
+
+
+
+
+
+
def
+
make_api_call ( self , method : easypost.requestor.RequestMethod , endpoint : str , params : dict [ str , typing . Any ] ) -> dict [ str , typing . Any ] :
+
+
View Source
+
+
+
+
147 def make_api_call ( self , method : RequestMethod , endpoint : str , params : dict [ str , Any ]) -> dict [ str , Any ]:
+148 """Make an API call to the EasyPost API.
+149
+150 This public, generic interface is useful for making arbitrary API calls to the EasyPost API that
+151 are not yet supported by the client library's services. When possible, the service for your use case
+152 should be used instead as it provides a more convenient and higher-level interface depending on the endpoint.
+153 """
+154 response = Requestor ( self ) . request ( method = method , url = endpoint , params = params )
+155
+156 return convert_to_easypost_object ( response = response )
+
+
+
+
Make an API call to the EasyPost API.
+
+
This public, generic interface is useful for making arbitrary API calls to the EasyPost API that
+are not yet supported by the client library's services. When possible, the service for your use case
+should be used instead as it provides a more convenient and higher-level interface depending on the endpoint.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/easypost_client.py b/easypost/easypost_client.py
deleted file mode 100644
index 026b67bc..00000000
--- a/easypost/easypost_client.py
+++ /dev/null
@@ -1,155 +0,0 @@
-from typing import Any
-
-from easypost.constant import (
- API_BASE,
- API_VERSION,
- INVALID_REQUESTS_VERSION_ERROR,
- SUPPORT_EMAIL,
- TIMEOUT,
-)
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.hooks import RequestHook, ResponseHook
-from easypost.requestor import RequestMethod, Requestor
-from easypost.services import (
- AddressService,
- ApiKeyService,
- BatchService,
- BetaRateService,
- BetaReferralCustomerService,
- BillingService,
- CarrierAccountService,
- CarrierMetadataService,
- ClaimService,
- CustomerPortalService,
- CustomsInfoService,
- CustomsItemService,
- EmbeddableService,
- EndShipperService,
- EventService,
- FedExRegistrationService,
- InsuranceService,
- LumaService,
- OrderService,
- ParcelService,
- PickupService,
- RateService,
- ReferralCustomerService,
- RefundService,
- ReportService,
- ScanFormService,
- ShipmentService,
- SmartRateService,
- TrackerService,
- UserService,
- WebhookService,
-)
-
-
-class EasyPostClient:
- """A client object used to authenticate and configure all HTTP calls to the EasyPost API."""
-
- def __init__(
- self,
- api_key: str,
- api_base: str = f"{API_BASE}/{API_VERSION}",
- timeout: int = TIMEOUT,
- ):
- # Client configuration
- self.api_key = api_key
- self.api_base = api_base
- self.timeout = timeout
-
- # Services
- self.address = AddressService(self)
- self.api_keys = ApiKeyService(self)
- self.batch = BatchService(self)
- self.beta_rate = BetaRateService(self)
- self.beta_referral_customer = BetaReferralCustomerService(self)
- self.billing = BillingService(self)
- self.carrier_account = CarrierAccountService(self)
- self.carrier_metadata = CarrierMetadataService(self)
- self.claim = ClaimService(self)
- self.customer_portal = CustomerPortalService(self)
- self.customs_info = CustomsInfoService(self)
- self.customs_item = CustomsItemService(self)
- self.embeddable = EmbeddableService(self)
- self.end_shipper = EndShipperService(self)
- self.event = EventService(self)
- self.fedex_registration = FedExRegistrationService(self)
- self.insurance = InsuranceService(self)
- self.luma = LumaService(self)
- self.order = OrderService(self)
- self.parcel = ParcelService(self)
- self.rate = RateService(self)
- self.pickup = PickupService(self)
- self.referral_customer = ReferralCustomerService(self)
- self.refund = RefundService(self)
- self.report = ReportService(self)
- self.scan_form = ScanFormService(self)
- self.shipment = ShipmentService(self)
- self.smart_rate = SmartRateService(self)
- self.tracker = TrackerService(self)
- self.user = UserService(self)
- self.webhook = WebhookService(self)
-
- # Hooks
- self._request_hook = RequestHook()
- self._response_hook = ResponseHook()
-
- # use urlfetch as request_lib on google app engine, otherwise use requests
- self._request_lib = None
- try:
- from google.appengine.api import urlfetch # type: ignore
-
- self._request_lib = "urlfetch"
- # use the GAE application-wide "deadline" (or its default)
- timeout = urlfetch.get_default_fetch_deadline() or self.timeout
- except ImportError:
- try:
- import requests
-
- self._request_lib = "requests"
- self._requests_session = requests.Session()
- requests_http_adapter = requests.adapters.HTTPAdapter(max_retries=3)
- self._requests_session.mount(
- prefix=self.api_base.split(f"/{API_VERSION}")[0],
- adapter=requests_http_adapter,
- )
- except Exception:
- raise ImportError(INVALID_REQUESTS_VERSION_ERROR.format(SUPPORT_EMAIL))
-
- try:
- requests_version = requests.__version__
- major_version, _, _ = [int(i) for i in requests_version.split(".")]
- except Exception:
- raise ImportError(INVALID_REQUESTS_VERSION_ERROR.format(SUPPORT_EMAIL))
- else:
- if major_version < 1:
- raise ImportError(INVALID_REQUESTS_VERSION_ERROR.format(SUPPORT_EMAIL))
-
- def subscribe_to_request_hook(self, function):
- """Subscribe functions to run when a request occurs."""
- self._request_hook += function
-
- def unsubscribe_from_request_hook(self, function):
- """Unsubscribe functions from running when a request occurs."""
- self._request_hook -= function
-
- def subscribe_to_response_hook(self, function):
- """Subscribe functions to run when a response occurs."""
- self._response_hook += function
-
- def unsubscribe_from_response_hook(self, function):
- """Unsubscribe functions from running when a response occurs."""
- self._response_hook -= function
-
- def make_api_call(self, method: RequestMethod, endpoint: str, params: dict[str, Any]) -> dict[str, Any]:
- """Make an API call to the EasyPost API.
-
- This public, generic interface is useful for making arbitrary API calls to the EasyPost API that
- are not yet supported by the client library's services. When possible, the service for your use case
- should be used instead as it provides a more convenient and higher-level interface depending on the endpoint.
- """
- response = Requestor(self).request(method=method, url=endpoint, params=params)
-
- return convert_to_easypost_object(response=response)
diff --git a/easypost/easypost_object.html b/easypost/easypost_object.html
new file mode 100644
index 00000000..2fa9ae94
--- /dev/null
+++ b/easypost/easypost_object.html
@@ -0,0 +1,1052 @@
+
+
+
+
+
+
+ easypost.easypost_object API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+easypost .easypost_object
+
+
+
+
+ View Source
+
+ 1 import importlib
+ 2 import json
+ 3 import re
+ 4 from typing import (
+ 5 Any ,
+ 6 Optional ,
+ 7 )
+ 8
+ 9 from easypost.constant import NO_ATTRIBUTE_ERROR
+ 10
+ 11 EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP : dict [ str , Any ] = {
+ 12 "adr" : "Address" ,
+ 13 "ak" : "ApiKey" ,
+ 14 "batch" : "Batch" ,
+ 15 "brd" : "Brand" ,
+ 16 "ca" : "CarrierAccount" ,
+ 17 "cfrep" : "Report" ,
+ 18 "clm" : "Claim" ,
+ 19 "cstinfo" : "CustomsInfo" ,
+ 20 "cstitem" : "CustomsItem" ,
+ 21 "es" : "EndShipper" ,
+ 22 "evt" : "Event" ,
+ 23 "hook" : "Webhook" ,
+ 24 "ins" : "Insurance" ,
+ 25 "order" : "Order" ,
+ 26 "payload" : "Payload" ,
+ 27 "pickup" : "Pickup" ,
+ 28 "pickuprate" : "PickupRate" ,
+ 29 "pl" : "PostageLabel" ,
+ 30 "plrep" : "Report" ,
+ 31 "prcl" : "Parcel" ,
+ 32 "rate" : "Rate" ,
+ 33 "refrep" : "Report" ,
+ 34 "rfnd" : "Refund" ,
+ 35 "sf" : "ScanForm" ,
+ 36 "shp" : "Shipment" ,
+ 37 "shpinvrep" : "Report" ,
+ 38 "shprep" : "Report" ,
+ 39 "trk" : "Tracker" ,
+ 40 "trkrep" : "Report" ,
+ 41 "user" : "User" ,
+ 42 }
+ 43
+ 44 OBJECT_CLASS_NAME_OVERRIDES : dict [ str , Any ] = {
+ 45 "CashFlowReport" : "Report" ,
+ 46 "PaymentLogReport" : "Report" ,
+ 47 "RefundReport" : "Report" ,
+ 48 "ShipmentInvoiceReport" : "Report" ,
+ 49 "ShipmentReport" : "Report" ,
+ 50 "TrackerReport" : "Report" ,
+ 51 }
+ 52
+ 53
+ 54 def convert_to_easypost_object (
+ 55 response : dict [ str , Any ],
+ 56 parent : object = None ,
+ 57 name : Optional [ str ] = None ,
+ 58 ):
+ 59 """Convert a response to an EasyPostObject."""
+ 60 if isinstance ( response , list ):
+ 61 return [ convert_to_easypost_object ( response = item , parent = parent ) for item in response ]
+ 62 elif isinstance ( response , dict ):
+ 63 object_type_str = response . get ( "object" , EasyPostObject )
+ 64 class_name = OBJECT_CLASS_NAME_OVERRIDES . get ( object_type_str , EasyPostObject )
+ 65 object_id = response . get ( "id" )
+ 66
+ 67 if object_id is not None :
+ 68 # If an object ID is present, use it to find the class type instead.
+ 69 object_id_prefix = object_id . split ( "_" )[ 0 ]
+ 70 class_name = EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP . get ( object_id_prefix , EasyPostObject )
+ 71
+ 72 # Dynamically import class models due to circular imports of EasyPostObject
+ 73 class_model = (
+ 74 getattr (
+ 75 importlib . import_module ( f "easypost.models. { re . sub ( r '(?<!^)(?=[A-Z])' , '_' , class_name ) . lower () } " ),
+ 76 class_name ,
+ 77 )
+ 78 if class_name != EasyPostObject
+ 79 else EasyPostObject
+ 80 )
+ 81
+ 82 obj = class_model . construct_from ( values = response , parent = parent , name = name )
+ 83
+ 84 return obj
+ 85 else :
+ 86 return response
+ 87
+ 88
+ 89 class EasyPostObject ( object ):
+ 90 def __init__ (
+ 91 self ,
+ 92 id : Optional [ str ] = None ,
+ 93 parent : Optional [ object ] = None ,
+ 94 name : Optional [ str ] = None ,
+ 95 ** params ,
+ 96 ):
+ 97 self . __dict__ [ "_values" ] = set ()
+ 98 self . __dict__ [ "_immutable_values" ] = { "id" }
+ 99 self . __dict__ [ "_parent" ] = parent
+100 self . __dict__ [ "_name" ] = name
+101
+102 if id :
+103 self . id = id
+104
+105 def __setattr__ ( self , k , v : Any ) -> None :
+106 self . __dict__ [ k ] = v
+107
+108 if k not in self . _immutable_values :
+109 self . _values . add ( k )
+110 self . _unsaved_values . add ( k )
+111 cur = self
+112 cur_parent = self . _parent
+113
+114 while cur_parent :
+115 if cur . _name :
+116 cur_parent . _unsaved_values . add ( cur . _name )
+117 cur = cur_parent
+118 cur_parent = cur . _parent
+119
+120 def __getattr__ ( self , k ) -> Any :
+121 try :
+122 return self . __dict__ [ k ]
+123 except KeyError :
+124 pass
+125 raise AttributeError ( NO_ATTRIBUTE_ERROR . format ( type ( self ) . __name__ , k ))
+126
+127 def __getitem__ ( self , k ):
+128 return self . __dict__ [ k ]
+129
+130 def get ( self , k , default : Any = None ) -> Any :
+131 try :
+132 return self [ k ]
+133 except KeyError :
+134 return default
+135
+136 def setdefault ( self , k , default : Any = None ) -> Any :
+137 try :
+138 return self [ k ]
+139 except KeyError :
+140 self [ k ] = default
+141 return default
+142
+143 def __setitem__ ( self , k , v ) -> None :
+144 setattr ( self , k , v )
+145
+146 @property
+147 def keys ( self ) -> list [ str ]:
+148 return self . _values . keys ()
+149
+150 @property
+151 def values ( self ) -> list [ Any ]:
+152 return self . _values . keys ()
+153
+154 @classmethod
+155 def construct_from (
+156 cls ,
+157 values : dict [ str , Any ],
+158 parent : object = None ,
+159 name : Optional [ str ] = None ,
+160 ) -> object :
+161 """Construct an EasyPostObject from values returned by the API."""
+162 instance = cls ( id = values . get ( "id" ), parent = parent , name = name )
+163 instance . convert_each_value ( values = values )
+164
+165 return instance
+166
+167 def convert_each_value ( self , values : dict [ str , Any ]) -> None :
+168 """Convert each value of a response into an EasyPostObject."""
+169 for k , v in sorted ( values . items ()):
+170 if k == "id" and self . id != v :
+171 self . id = v
+172 if k in self . _immutable_values :
+173 continue
+174 self . __dict__ [ k ] = convert_to_easypost_object ( response = v , parent = self , name = k )
+175 self . _values . add ( k )
+176
+177 def __repr__ ( self ) -> str :
+178 """String representation of an EasyPostObject."""
+179 type_string = ""
+180
+181 if isinstance ( self . get ( "object" ), str ):
+182 type_string = " %s " % self . get ( "object" ) . encode ( "utf8" )
+183
+184 json_string = json . dumps ( obj = self . to_dict (), sort_keys = True , indent = 2 , cls = EasyPostObjectEncoder )
+185
+186 return "< %s%s at %s > JSON: %s " % (
+187 type ( self ) . __name__ ,
+188 type_string ,
+189 hex ( id ( self )),
+190 json_string ,
+191 )
+192
+193 def __str__ ( self ) -> str :
+194 return self . to_json ( indent = 2 )
+195
+196 def __eq__ ( self , other ) -> bool :
+197 if not isinstance ( other , EasyPostObject ):
+198 return False
+199 return self . __str__ () == other . __str__ ()
+200
+201 def to_json ( self , indent : Optional [ int ] = None ) -> str :
+202 """Convert current object to json string."""
+203 return json . dumps ( obj = self . to_dict (), sort_keys = True , indent = indent , cls = EasyPostObjectEncoder )
+204
+205 def to_dict ( self ) -> dict [ str , Any ]:
+206 """Convert current object to a dict."""
+207
+208 def _serialize ( o ):
+209 if isinstance ( o , EasyPostObject ):
+210 return o . to_dict ()
+211 if isinstance ( o , list ):
+212 return [ _serialize ( r ) for r in o ]
+213 return o
+214
+215 d = { "id" : self . get ( "id" )} if self . get ( "id" ) else {}
+216 for k in sorted ( self . _values ):
+217 v = getattr ( self , k )
+218 v = _serialize ( v )
+219 d [ k ] = v
+220 return d
+221
+222
+223 class EasyPostObjectEncoder ( json . JSONEncoder ):
+224 def default ( self , obj : Any ) -> Any :
+225 """Convert an EasyPostObject to a dict."""
+226 if isinstance ( obj , EasyPostObject ):
+227 return obj . to_dict ()
+228 else :
+229 return json . JSONEncoder . default ( self , o = obj )
+
+
+
+
+
+
+ EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP : dict[str, typing.Any] =
+
+ {'adr': 'Address', 'ak': 'ApiKey', 'batch': 'Batch', 'brd': 'Brand', 'ca': 'CarrierAccount', 'cfrep': 'Report', 'clm': 'Claim', 'cstinfo': 'CustomsInfo', 'cstitem': 'CustomsItem', 'es': 'EndShipper', 'evt': 'Event', 'hook': 'Webhook', 'ins': 'Insurance', 'order': 'Order', 'payload': 'Payload', 'pickup': 'Pickup', 'pickuprate': 'PickupRate', 'pl': 'PostageLabel', 'plrep': 'Report', 'prcl': 'Parcel', 'rate': 'Rate', 'refrep': 'Report', 'rfnd': 'Refund', 'sf': 'ScanForm', 'shp': 'Shipment', 'shpinvrep': 'Report', 'shprep': 'Report', 'trk': 'Tracker', 'trkrep': 'Report', 'user': 'User'}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ def
+ convert_to_easypost_object ( response : dict [ str , typing . Any ] , parent : object = None , name : str | None = None ):
+
+ View Source
+
+
+
+ 55 def convert_to_easypost_object (
+56 response : dict [ str , Any ],
+57 parent : object = None ,
+58 name : Optional [ str ] = None ,
+59 ):
+60 """Convert a response to an EasyPostObject."""
+61 if isinstance ( response , list ):
+62 return [ convert_to_easypost_object ( response = item , parent = parent ) for item in response ]
+63 elif isinstance ( response , dict ):
+64 object_type_str = response . get ( "object" , EasyPostObject )
+65 class_name = OBJECT_CLASS_NAME_OVERRIDES . get ( object_type_str , EasyPostObject )
+66 object_id = response . get ( "id" )
+67
+68 if object_id is not None :
+69 # If an object ID is present, use it to find the class type instead.
+70 object_id_prefix = object_id . split ( "_" )[ 0 ]
+71 class_name = EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP . get ( object_id_prefix , EasyPostObject )
+72
+73 # Dynamically import class models due to circular imports of EasyPostObject
+74 class_model = (
+75 getattr (
+76 importlib . import_module ( f "easypost.models. { re . sub ( r '(?<!^)(?=[A-Z])' , '_' , class_name ) . lower () } " ),
+77 class_name ,
+78 )
+79 if class_name != EasyPostObject
+80 else EasyPostObject
+81 )
+82
+83 obj = class_model . construct_from ( values = response , parent = parent , name = name )
+84
+85 return obj
+86 else :
+87 return response
+
+
+
+ Convert a response to an EasyPostObject.
+
+
+
+
+
+
+
+
+ class
+ EasyPostObject :
+
+ View Source
+
+
+
+ 90 class EasyPostObject ( object ):
+ 91 def __init__ (
+ 92 self ,
+ 93 id : Optional [ str ] = None ,
+ 94 parent : Optional [ object ] = None ,
+ 95 name : Optional [ str ] = None ,
+ 96 ** params ,
+ 97 ):
+ 98 self . __dict__ [ "_values" ] = set ()
+ 99 self . __dict__ [ "_immutable_values" ] = { "id" }
+100 self . __dict__ [ "_parent" ] = parent
+101 self . __dict__ [ "_name" ] = name
+102
+103 if id :
+104 self . id = id
+105
+106 def __setattr__ ( self , k , v : Any ) -> None :
+107 self . __dict__ [ k ] = v
+108
+109 if k not in self . _immutable_values :
+110 self . _values . add ( k )
+111 self . _unsaved_values . add ( k )
+112 cur = self
+113 cur_parent = self . _parent
+114
+115 while cur_parent :
+116 if cur . _name :
+117 cur_parent . _unsaved_values . add ( cur . _name )
+118 cur = cur_parent
+119 cur_parent = cur . _parent
+120
+121 def __getattr__ ( self , k ) -> Any :
+122 try :
+123 return self . __dict__ [ k ]
+124 except KeyError :
+125 pass
+126 raise AttributeError ( NO_ATTRIBUTE_ERROR . format ( type ( self ) . __name__ , k ))
+127
+128 def __getitem__ ( self , k ):
+129 return self . __dict__ [ k ]
+130
+131 def get ( self , k , default : Any = None ) -> Any :
+132 try :
+133 return self [ k ]
+134 except KeyError :
+135 return default
+136
+137 def setdefault ( self , k , default : Any = None ) -> Any :
+138 try :
+139 return self [ k ]
+140 except KeyError :
+141 self [ k ] = default
+142 return default
+143
+144 def __setitem__ ( self , k , v ) -> None :
+145 setattr ( self , k , v )
+146
+147 @property
+148 def keys ( self ) -> list [ str ]:
+149 return self . _values . keys ()
+150
+151 @property
+152 def values ( self ) -> list [ Any ]:
+153 return self . _values . keys ()
+154
+155 @classmethod
+156 def construct_from (
+157 cls ,
+158 values : dict [ str , Any ],
+159 parent : object = None ,
+160 name : Optional [ str ] = None ,
+161 ) -> object :
+162 """Construct an EasyPostObject from values returned by the API."""
+163 instance = cls ( id = values . get ( "id" ), parent = parent , name = name )
+164 instance . convert_each_value ( values = values )
+165
+166 return instance
+167
+168 def convert_each_value ( self , values : dict [ str , Any ]) -> None :
+169 """Convert each value of a response into an EasyPostObject."""
+170 for k , v in sorted ( values . items ()):
+171 if k == "id" and self . id != v :
+172 self . id = v
+173 if k in self . _immutable_values :
+174 continue
+175 self . __dict__ [ k ] = convert_to_easypost_object ( response = v , parent = self , name = k )
+176 self . _values . add ( k )
+177
+178 def __repr__ ( self ) -> str :
+179 """String representation of an EasyPostObject."""
+180 type_string = ""
+181
+182 if isinstance ( self . get ( "object" ), str ):
+183 type_string = " %s " % self . get ( "object" ) . encode ( "utf8" )
+184
+185 json_string = json . dumps ( obj = self . to_dict (), sort_keys = True , indent = 2 , cls = EasyPostObjectEncoder )
+186
+187 return "< %s%s at %s > JSON: %s " % (
+188 type ( self ) . __name__ ,
+189 type_string ,
+190 hex ( id ( self )),
+191 json_string ,
+192 )
+193
+194 def __str__ ( self ) -> str :
+195 return self . to_json ( indent = 2 )
+196
+197 def __eq__ ( self , other ) -> bool :
+198 if not isinstance ( other , EasyPostObject ):
+199 return False
+200 return self . __str__ () == other . __str__ ()
+201
+202 def to_json ( self , indent : Optional [ int ] = None ) -> str :
+203 """Convert current object to json string."""
+204 return json . dumps ( obj = self . to_dict (), sort_keys = True , indent = indent , cls = EasyPostObjectEncoder )
+205
+206 def to_dict ( self ) -> dict [ str , Any ]:
+207 """Convert current object to a dict."""
+208
+209 def _serialize ( o ):
+210 if isinstance ( o , EasyPostObject ):
+211 return o . to_dict ()
+212 if isinstance ( o , list ):
+213 return [ _serialize ( r ) for r in o ]
+214 return o
+215
+216 d = { "id" : self . get ( "id" )} if self . get ( "id" ) else {}
+217 for k in sorted ( self . _values ):
+218 v = getattr ( self , k )
+219 v = _serialize ( v )
+220 d [ k ] = v
+221 return d
+
+
+
+
+
+
+
+
+
+ EasyPostObject ( id : str | None = None , parent : object | None = None , name : str | None = None , ** params )
+
+ View Source
+
+
+
+
91 def __init__ (
+ 92 self ,
+ 93 id : Optional [ str ] = None ,
+ 94 parent : Optional [ object ] = None ,
+ 95 name : Optional [ str ] = None ,
+ 96 ** params ,
+ 97 ):
+ 98 self . __dict__ [ "_values" ] = set ()
+ 99 self . __dict__ [ "_immutable_values" ] = { "id" }
+100 self . __dict__ [ "_parent" ] = parent
+101 self . __dict__ [ "_name" ] = name
+102
+103 if id :
+104 self . id = id
+
+
+
+
+
+
+
+
+
+
+ def
+ get (self , k , default : Any = None ) -> Any :
+
+ View Source
+
+
+
+
131 def get ( self , k , default : Any = None ) -> Any :
+132 try :
+133 return self [ k ]
+134 except KeyError :
+135 return default
+
+
+
+
+
+
+
+
+
+
+ def
+ setdefault (self , k , default : Any = None ) -> Any :
+
+ View Source
+
+
+
+
137 def setdefault ( self , k , default : Any = None ) -> Any :
+138 try :
+139 return self [ k ]
+140 except KeyError :
+141 self [ k ] = default
+142 return default
+
+
+
+
+
+
+
+
+
+ keys : list[str]
+
+ View Source
+
+
+
+
147 @property
+148 def keys ( self ) -> list [ str ]:
+149 return self . _values . keys ()
+
+
+
+
+
+
+
+
+
+ values : list[typing.Any]
+
+ View Source
+
+
+
+
151 @property
+152 def values ( self ) -> list [ Any ]:
+153 return self . _values . keys ()
+
+
+
+
+
+
+
+
+
+
@classmethod
+
+
def
+
construct_from ( cls , values : dict [ str , typing . Any ] , parent : object = None , name : str | None = None ) -> object :
+
+
View Source
+
+
+
+
155 @classmethod
+156 def construct_from (
+157 cls ,
+158 values : dict [ str , Any ],
+159 parent : object = None ,
+160 name : Optional [ str ] = None ,
+161 ) -> object :
+162 """Construct an EasyPostObject from values returned by the API."""
+163 instance = cls ( id = values . get ( "id" ), parent = parent , name = name )
+164 instance . convert_each_value ( values = values )
+165
+166 return instance
+
+
+
+
Construct an EasyPostObject from values returned by the API.
+
+
+
+
+
+
+
+
+ def
+ convert_each_value (self , values : dict [ str , typing . Any ] ) -> None :
+
+ View Source
+
+
+
+
168 def convert_each_value ( self , values : dict [ str , Any ]) -> None :
+169 """Convert each value of a response into an EasyPostObject."""
+170 for k , v in sorted ( values . items ()):
+171 if k == "id" and self . id != v :
+172 self . id = v
+173 if k in self . _immutable_values :
+174 continue
+175 self . __dict__ [ k ] = convert_to_easypost_object ( response = v , parent = self , name = k )
+176 self . _values . add ( k )
+
+
+
+
Convert each value of a response into an EasyPostObject.
+
+
+
+
+
+
+
+
+ def
+ to_json (self , indent : int | None = None ) -> str :
+
+ View Source
+
+
+
+
202 def to_json ( self , indent : Optional [ int ] = None ) -> str :
+203 """Convert current object to json string."""
+204 return json . dumps ( obj = self . to_dict (), sort_keys = True , indent = indent , cls = EasyPostObjectEncoder )
+
+
+
+
Convert current object to json string.
+
+
+
+
+
+
+
+
+ def
+ to_dict (self ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
206 def to_dict ( self ) -> dict [ str , Any ]:
+207 """Convert current object to a dict."""
+208
+209 def _serialize ( o ):
+210 if isinstance ( o , EasyPostObject ):
+211 return o . to_dict ()
+212 if isinstance ( o , list ):
+213 return [ _serialize ( r ) for r in o ]
+214 return o
+215
+216 d = { "id" : self . get ( "id" )} if self . get ( "id" ) else {}
+217 for k in sorted ( self . _values ):
+218 v = getattr ( self , k )
+219 v = _serialize ( v )
+220 d [ k ] = v
+221 return d
+
+
+
+
Convert current object to a dict.
+
+
+
+
+
+
+
+
+
+ class
+ EasyPostObjectEncoder (json.encoder.JSONEncoder ):
+
+ View Source
+
+
+
+ 224 class EasyPostObjectEncoder ( json . JSONEncoder ):
+225 def default ( self , obj : Any ) -> Any :
+226 """Convert an EasyPostObject to a dict."""
+227 if isinstance ( obj , EasyPostObject ):
+228 return obj . to_dict ()
+229 else :
+230 return json . JSONEncoder . default ( self , o = obj )
+
+
+
+ Extensible JSON https://json.org encoder for Python data structures.
+
+
Supports the following objects and types by default:
+
+
+-------------------+---------------+
+| Python | JSON |
++===================+===============+
+| dict | object |
++-------------------+---------------+
+| list, tuple | array |
++-------------------+---------------+
+| str | string |
++-------------------+---------------+
+| int, float | number |
++-------------------+---------------+
+| True | true |
++-------------------+---------------+
+| False | false |
++-------------------+---------------+
+| None | null |
++-------------------+---------------+
+
+
To extend this to recognize other objects, subclass and implement a
+.default() method with another method that returns a serializable
+object for o if possible, otherwise it should call the superclass
+implementation (to raise TypeError).
+
+
+
+
+
+
+
+ def
+ default (self , obj : Any ) -> Any :
+
+ View Source
+
+
+
+
225 def default ( self , obj : Any ) -> Any :
+226 """Convert an EasyPostObject to a dict."""
+227 if isinstance ( obj , EasyPostObject ):
+228 return obj . to_dict ()
+229 else :
+230 return json . JSONEncoder . default ( self , o = obj )
+
+
+
+
Convert an EasyPostObject to a dict.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/easypost_object.py b/easypost/easypost_object.py
deleted file mode 100644
index 97ec9147..00000000
--- a/easypost/easypost_object.py
+++ /dev/null
@@ -1,229 +0,0 @@
-import importlib
-import json
-import re
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.constant import NO_ATTRIBUTE_ERROR
-
-EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP: dict[str, Any] = {
- "adr": "Address",
- "ak": "ApiKey",
- "batch": "Batch",
- "brd": "Brand",
- "ca": "CarrierAccount",
- "cfrep": "Report",
- "clm": "Claim",
- "cstinfo": "CustomsInfo",
- "cstitem": "CustomsItem",
- "es": "EndShipper",
- "evt": "Event",
- "hook": "Webhook",
- "ins": "Insurance",
- "order": "Order",
- "payload": "Payload",
- "pickup": "Pickup",
- "pickuprate": "PickupRate",
- "pl": "PostageLabel",
- "plrep": "Report",
- "prcl": "Parcel",
- "rate": "Rate",
- "refrep": "Report",
- "rfnd": "Refund",
- "sf": "ScanForm",
- "shp": "Shipment",
- "shpinvrep": "Report",
- "shprep": "Report",
- "trk": "Tracker",
- "trkrep": "Report",
- "user": "User",
-}
-
-OBJECT_CLASS_NAME_OVERRIDES: dict[str, Any] = {
- "CashFlowReport": "Report",
- "PaymentLogReport": "Report",
- "RefundReport": "Report",
- "ShipmentInvoiceReport": "Report",
- "ShipmentReport": "Report",
- "TrackerReport": "Report",
-}
-
-
-def convert_to_easypost_object(
- response: dict[str, Any],
- parent: object = None,
- name: Optional[str] = None,
-):
- """Convert a response to an EasyPostObject."""
- if isinstance(response, list):
- return [convert_to_easypost_object(response=item, parent=parent) for item in response]
- elif isinstance(response, dict):
- object_type_str = response.get("object", EasyPostObject)
- class_name = OBJECT_CLASS_NAME_OVERRIDES.get(object_type_str, EasyPostObject)
- object_id = response.get("id")
-
- if object_id is not None:
- # If an object ID is present, use it to find the class type instead.
- object_id_prefix = object_id.split("_")[0]
- class_name = EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP.get(object_id_prefix, EasyPostObject)
-
- # Dynamically import class models due to circular imports of EasyPostObject
- class_model = (
- getattr(
- importlib.import_module(f"easypost.models.{re.sub(r'(? None:
- self.__dict__[k] = v
-
- if k not in self._immutable_values:
- self._values.add(k)
- self._unsaved_values.add(k)
- cur = self
- cur_parent = self._parent
-
- while cur_parent:
- if cur._name:
- cur_parent._unsaved_values.add(cur._name)
- cur = cur_parent
- cur_parent = cur._parent
-
- def __getattr__(self, k) -> Any:
- try:
- return self.__dict__[k]
- except KeyError:
- pass
- raise AttributeError(NO_ATTRIBUTE_ERROR.format(type(self).__name__, k))
-
- def __getitem__(self, k):
- return self.__dict__[k]
-
- def get(self, k, default: Any = None) -> Any:
- try:
- return self[k]
- except KeyError:
- return default
-
- def setdefault(self, k, default: Any = None) -> Any:
- try:
- return self[k]
- except KeyError:
- self[k] = default
- return default
-
- def __setitem__(self, k, v) -> None:
- setattr(self, k, v)
-
- @property
- def keys(self) -> list[str]:
- return self._values.keys()
-
- @property
- def values(self) -> list[Any]:
- return self._values.keys()
-
- @classmethod
- def construct_from(
- cls,
- values: dict[str, Any],
- parent: object = None,
- name: Optional[str] = None,
- ) -> object:
- """Construct an EasyPostObject from values returned by the API."""
- instance = cls(id=values.get("id"), parent=parent, name=name)
- instance.convert_each_value(values=values)
-
- return instance
-
- def convert_each_value(self, values: dict[str, Any]) -> None:
- """Convert each value of a response into an EasyPostObject."""
- for k, v in sorted(values.items()):
- if k == "id" and self.id != v:
- self.id = v
- if k in self._immutable_values:
- continue
- self.__dict__[k] = convert_to_easypost_object(response=v, parent=self, name=k)
- self._values.add(k)
-
- def __repr__(self) -> str:
- """String representation of an EasyPostObject."""
- type_string = ""
-
- if isinstance(self.get("object"), str):
- type_string = " %s" % self.get("object").encode("utf8")
-
- json_string = json.dumps(obj=self.to_dict(), sort_keys=True, indent=2, cls=EasyPostObjectEncoder)
-
- return "<%s%s at %s> JSON: %s" % (
- type(self).__name__,
- type_string,
- hex(id(self)),
- json_string,
- )
-
- def __str__(self) -> str:
- return self.to_json(indent=2)
-
- def __eq__(self, other) -> bool:
- if not isinstance(other, EasyPostObject):
- return False
- return self.__str__() == other.__str__()
-
- def to_json(self, indent: Optional[int] = None) -> str:
- """Convert current object to json string."""
- return json.dumps(obj=self.to_dict(), sort_keys=True, indent=indent, cls=EasyPostObjectEncoder)
-
- def to_dict(self) -> dict[str, Any]:
- """Convert current object to a dict."""
-
- def _serialize(o):
- if isinstance(o, EasyPostObject):
- return o.to_dict()
- if isinstance(o, list):
- return [_serialize(r) for r in o]
- return o
-
- d = {"id": self.get("id")} if self.get("id") else {}
- for k in sorted(self._values):
- v = getattr(self, k)
- v = _serialize(v)
- d[k] = v
- return d
-
-
-class EasyPostObjectEncoder(json.JSONEncoder):
- def default(self, obj: Any) -> Any:
- """Convert an EasyPostObject to a dict."""
- if isinstance(obj, EasyPostObject):
- return obj.to_dict()
- else:
- return json.JSONEncoder.default(self, o=obj)
diff --git a/easypost/errors.html b/easypost/errors.html
new file mode 100644
index 00000000..ed652d55
--- /dev/null
+++ b/easypost/errors.html
@@ -0,0 +1,245 @@
+
+
+
+
+
+
+ easypost.errors API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/__init__.py b/easypost/errors/__init__.py
deleted file mode 100644
index 6bb3b63f..00000000
--- a/easypost/errors/__init__.py
+++ /dev/null
@@ -1,3 +0,0 @@
-# flake8: noqa
-from easypost.errors.api import *
-from easypost.errors.general import *
diff --git a/easypost/errors/api.html b/easypost/errors/api.html
new file mode 100644
index 00000000..0fcdb6e9
--- /dev/null
+++ b/easypost/errors/api.html
@@ -0,0 +1,279 @@
+
+
+
+
+
+
+ easypost.errors.api API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/__init__.py b/easypost/errors/api/__init__.py
deleted file mode 100644
index 2e05d262..00000000
--- a/easypost/errors/api/__init__.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# flake8: noqa
-from easypost.errors.api.api_error import ApiError
-from easypost.errors.api.bad_request_error import BadRequestError
-from easypost.errors.api.encoding_error import EncodingError
-from easypost.errors.api.external_api_error import ExternalApiError
-from easypost.errors.api.forbidden_error import ForbiddenError
-from easypost.errors.api.gateway_timeout_error import GatewayTimeoutError
-from easypost.errors.api.http_error import HttpError
-from easypost.errors.api.internal_server_error import InternalServerError
-from easypost.errors.api.invalid_request_error import InvalidRequestError
-from easypost.errors.api.json_error import JsonError
-from easypost.errors.api.method_not_allowed_error import MethodNotAllowedError
-from easypost.errors.api.not_found_error import NotFoundError
-from easypost.errors.api.payment_error import PaymentError
-from easypost.errors.api.rate_limit_error import RateLimitError
-from easypost.errors.api.redirect_error import RedirectError
-from easypost.errors.api.service_unavailable_error import ServiceUnavailableError
-from easypost.errors.api.timeout_error import TimeoutError
-from easypost.errors.api.unauthorized_error import UnauthorizedError
-from easypost.errors.api.unknown_api_error import UnknownApiError
diff --git a/easypost/errors/api/api_error.html b/easypost/errors/api/api_error.html
new file mode 100644
index 00000000..3543af75
--- /dev/null
+++ b/easypost/errors/api/api_error.html
@@ -0,0 +1,519 @@
+
+
+
+
+
+
+ easypost.errors.api.api_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 import json
+ 2 from typing import (
+ 3 Any ,
+ 4 Optional ,
+ 5 Union ,
+ 6 )
+ 7
+ 8 from easypost.errors.general.easypost_error import EasyPostError
+ 9
+10
+11 class ApiError ( EasyPostError ):
+12 """Base error for all errors thrown via the EasyPost API."""
+13
+14 def __init__ (
+15 self ,
+16 message : Union [
+17 dict [ str , Any ], list , str
+18 ], # message should be a string but can sometimes incorrectly come back as a list or object
+19 errors : Optional [ list [ str ]] = None ,
+20 code : Optional [ str ] = None ,
+21 http_status : Optional [ int ] = None ,
+22 http_body : Optional [ Union [ str , bytes ]] = None ,
+23 ):
+24 super () . __init__ ( message ) # type: ignore
+25 message_list : list [ str ] = []
+26 self . _traverse_json_element ( message , message_list )
+27 self . message = ", " . join ( message_list )
+28 self . errors = errors
+29 self . code = code
+30 self . http_status = http_status
+31 self . http_body = http_body
+32
+33 if http_body :
+34 # Setup `json_body` property
+35 try :
+36 self . json_body = json . loads ( http_body )
+37 except Exception :
+38 self . json_body = None
+39
+40 if self . json_body is not None :
+41 # Setup `errors` property
+42 try :
+43 self . errors = self . json_body [ "error" ][ "errors" ]
+44 except Exception :
+45 self . errors = None
+46
+47 # Setup `code` property
+48 try :
+49 self . code = self . json_body [ "error" ][ "code" ]
+50 except Exception :
+51 self . code = None
+52
+53 def _traverse_json_element (
+54 self ,
+55 error_message : Optional [ Union [ dict [ str , Any ], list , str ]],
+56 messages_list : list [ str ],
+57 ) -> None :
+58 """Recursively traverses a JSON object or array and extracts error messages
+59 as strings. Adds the extracted messages to the specified messages_list array.
+60 """
+61 if isinstance ( error_message , dict ):
+62 for value in error_message . values ():
+63 self . _traverse_json_element ( value , messages_list )
+64 elif isinstance ( error_message , list ):
+65 for value in error_message :
+66 self . _traverse_json_element ( value , messages_list )
+67 else :
+68 messages_list . append ( str ( error_message ))
+
+
+
+
+
+
+
+
+ 12 class ApiError ( EasyPostError ):
+13 """Base error for all errors thrown via the EasyPost API."""
+14
+15 def __init__ (
+16 self ,
+17 message : Union [
+18 dict [ str , Any ], list , str
+19 ], # message should be a string but can sometimes incorrectly come back as a list or object
+20 errors : Optional [ list [ str ]] = None ,
+21 code : Optional [ str ] = None ,
+22 http_status : Optional [ int ] = None ,
+23 http_body : Optional [ Union [ str , bytes ]] = None ,
+24 ):
+25 super () . __init__ ( message ) # type: ignore
+26 message_list : list [ str ] = []
+27 self . _traverse_json_element ( message , message_list )
+28 self . message = ", " . join ( message_list )
+29 self . errors = errors
+30 self . code = code
+31 self . http_status = http_status
+32 self . http_body = http_body
+33
+34 if http_body :
+35 # Setup `json_body` property
+36 try :
+37 self . json_body = json . loads ( http_body )
+38 except Exception :
+39 self . json_body = None
+40
+41 if self . json_body is not None :
+42 # Setup `errors` property
+43 try :
+44 self . errors = self . json_body [ "error" ][ "errors" ]
+45 except Exception :
+46 self . errors = None
+47
+48 # Setup `code` property
+49 try :
+50 self . code = self . json_body [ "error" ][ "code" ]
+51 except Exception :
+52 self . code = None
+53
+54 def _traverse_json_element (
+55 self ,
+56 error_message : Optional [ Union [ dict [ str , Any ], list , str ]],
+57 messages_list : list [ str ],
+58 ) -> None :
+59 """Recursively traverses a JSON object or array and extracts error messages
+60 as strings. Adds the extracted messages to the specified messages_list array.
+61 """
+62 if isinstance ( error_message , dict ):
+63 for value in error_message . values ():
+64 self . _traverse_json_element ( value , messages_list )
+65 elif isinstance ( error_message , list ):
+66 for value in error_message :
+67 self . _traverse_json_element ( value , messages_list )
+68 else :
+69 messages_list . append ( str ( error_message ))
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
+
+
+ ApiError ( message : dict [ str , Any ] | list | str , errors : list [ str ] | None = None , code : str | None = None , http_status : int | None = None , http_body : str | bytes | None = None )
+
+ View Source
+
+
+
+
15 def __init__ (
+16 self ,
+17 message : Union [
+18 dict [ str , Any ], list , str
+19 ], # message should be a string but can sometimes incorrectly come back as a list or object
+20 errors : Optional [ list [ str ]] = None ,
+21 code : Optional [ str ] = None ,
+22 http_status : Optional [ int ] = None ,
+23 http_body : Optional [ Union [ str , bytes ]] = None ,
+24 ):
+25 super () . __init__ ( message ) # type: ignore
+26 message_list : list [ str ] = []
+27 self . _traverse_json_element ( message , message_list )
+28 self . message = ", " . join ( message_list )
+29 self . errors = errors
+30 self . code = code
+31 self . http_status = http_status
+32 self . http_body = http_body
+33
+34 if http_body :
+35 # Setup `json_body` property
+36 try :
+37 self . json_body = json . loads ( http_body )
+38 except Exception :
+39 self . json_body = None
+40
+41 if self . json_body is not None :
+42 # Setup `errors` property
+43 try :
+44 self . errors = self . json_body [ "error" ][ "errors" ]
+45 except Exception :
+46 self . errors = None
+47
+48 # Setup `code` property
+49 try :
+50 self . code = self . json_body [ "error" ][ "code" ]
+51 except Exception :
+52 self . code = None
+
+
+
+
+
+
+
+
+ message
+
+
+
+
+
+
+
+
+
+
+ errors
+
+
+
+
+
+
+
+
+
+
+
+ http_status
+
+
+
+
+
+
+
+
+
+
+ http_body
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/api_error.py b/easypost/errors/api/api_error.py
deleted file mode 100644
index e8c75db7..00000000
--- a/easypost/errors/api/api_error.py
+++ /dev/null
@@ -1,68 +0,0 @@
-import json
-from typing import (
- Any,
- Optional,
- Union,
-)
-
-from easypost.errors.general.easypost_error import EasyPostError
-
-
-class ApiError(EasyPostError):
- """Base error for all errors thrown via the EasyPost API."""
-
- def __init__(
- self,
- message: Union[
- dict[str, Any], list, str
- ], # message should be a string but can sometimes incorrectly come back as a list or object
- errors: Optional[list[str]] = None,
- code: Optional[str] = None,
- http_status: Optional[int] = None,
- http_body: Optional[Union[str, bytes]] = None,
- ):
- super().__init__(message) # type: ignore
- message_list: list[str] = []
- self._traverse_json_element(message, message_list)
- self.message = ", ".join(message_list)
- self.errors = errors
- self.code = code
- self.http_status = http_status
- self.http_body = http_body
-
- if http_body:
- # Setup `json_body` property
- try:
- self.json_body = json.loads(http_body)
- except Exception:
- self.json_body = None
-
- if self.json_body is not None:
- # Setup `errors` property
- try:
- self.errors = self.json_body["error"]["errors"]
- except Exception:
- self.errors = None
-
- # Setup `code` property
- try:
- self.code = self.json_body["error"]["code"]
- except Exception:
- self.code = None
-
- def _traverse_json_element(
- self,
- error_message: Optional[Union[dict[str, Any], list, str]],
- messages_list: list[str],
- ) -> None:
- """Recursively traverses a JSON object or array and extracts error messages
- as strings. Adds the extracted messages to the specified messages_list array.
- """
- if isinstance(error_message, dict):
- for value in error_message.values():
- self._traverse_json_element(value, messages_list)
- elif isinstance(error_message, list):
- for value in error_message:
- self._traverse_json_element(value, messages_list)
- else:
- messages_list.append(str(error_message))
diff --git a/easypost/errors/api/bad_request_error.html b/easypost/errors/api/bad_request_error.html
new file mode 100644
index 00000000..ab0baad5
--- /dev/null
+++ b/easypost/errors/api/bad_request_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.bad_request_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class BadRequestError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/bad_request_error.py b/easypost/errors/api/bad_request_error.py
deleted file mode 100644
index 259108a9..00000000
--- a/easypost/errors/api/bad_request_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class BadRequestError(ApiError):
- pass
diff --git a/easypost/errors/api/encoding_error.html b/easypost/errors/api/encoding_error.html
new file mode 100644
index 00000000..31f56b3e
--- /dev/null
+++ b/easypost/errors/api/encoding_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.encoding_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class EncodingError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/encoding_error.py b/easypost/errors/api/encoding_error.py
deleted file mode 100644
index 6145c54b..00000000
--- a/easypost/errors/api/encoding_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class EncodingError(ApiError):
- pass
diff --git a/easypost/errors/api/external_api_error.html b/easypost/errors/api/external_api_error.html
new file mode 100644
index 00000000..3931bd2b
--- /dev/null
+++ b/easypost/errors/api/external_api_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.external_api_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class ExternalApiError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/external_api_error.py b/easypost/errors/api/external_api_error.py
deleted file mode 100644
index 8f60dfdf..00000000
--- a/easypost/errors/api/external_api_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class ExternalApiError(ApiError):
- pass
diff --git a/easypost/errors/api/forbidden_error.html b/easypost/errors/api/forbidden_error.html
new file mode 100644
index 00000000..ed89adfe
--- /dev/null
+++ b/easypost/errors/api/forbidden_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.forbidden_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class ForbiddenError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/forbidden_error.py b/easypost/errors/api/forbidden_error.py
deleted file mode 100644
index 5c3dce0a..00000000
--- a/easypost/errors/api/forbidden_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class ForbiddenError(ApiError):
- pass
diff --git a/easypost/errors/api/gateway_timeout_error.html b/easypost/errors/api/gateway_timeout_error.html
new file mode 100644
index 00000000..deecbe08
--- /dev/null
+++ b/easypost/errors/api/gateway_timeout_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.gateway_timeout_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class GatewayTimeoutError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/gateway_timeout_error.py b/easypost/errors/api/gateway_timeout_error.py
deleted file mode 100644
index 12a2b335..00000000
--- a/easypost/errors/api/gateway_timeout_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class GatewayTimeoutError(ApiError):
- pass
diff --git a/easypost/errors/api/http_error.html b/easypost/errors/api/http_error.html
new file mode 100644
index 00000000..30a3b022
--- /dev/null
+++ b/easypost/errors/api/http_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.http_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class HttpError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/http_error.py b/easypost/errors/api/http_error.py
deleted file mode 100644
index 09f69368..00000000
--- a/easypost/errors/api/http_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class HttpError(ApiError):
- pass
diff --git a/easypost/errors/api/internal_server_error.html b/easypost/errors/api/internal_server_error.html
new file mode 100644
index 00000000..9fca5fbd
--- /dev/null
+++ b/easypost/errors/api/internal_server_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.internal_server_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class InternalServerError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/internal_server_error.py b/easypost/errors/api/internal_server_error.py
deleted file mode 100644
index 507c0803..00000000
--- a/easypost/errors/api/internal_server_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class InternalServerError(ApiError):
- pass
diff --git a/easypost/errors/api/invalid_request_error.html b/easypost/errors/api/invalid_request_error.html
new file mode 100644
index 00000000..45a49249
--- /dev/null
+++ b/easypost/errors/api/invalid_request_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.invalid_request_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class InvalidRequestError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/invalid_request_error.py b/easypost/errors/api/invalid_request_error.py
deleted file mode 100644
index f338b66d..00000000
--- a/easypost/errors/api/invalid_request_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class InvalidRequestError(ApiError):
- pass
diff --git a/easypost/errors/api/json_error.html b/easypost/errors/api/json_error.html
new file mode 100644
index 00000000..aaff521b
--- /dev/null
+++ b/easypost/errors/api/json_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.json_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class JsonError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/json_error.py b/easypost/errors/api/json_error.py
deleted file mode 100644
index afd84902..00000000
--- a/easypost/errors/api/json_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class JsonError(ApiError):
- pass
diff --git a/easypost/errors/api/method_not_allowed_error.html b/easypost/errors/api/method_not_allowed_error.html
new file mode 100644
index 00000000..192770a5
--- /dev/null
+++ b/easypost/errors/api/method_not_allowed_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.method_not_allowed_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class MethodNotAllowedError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/method_not_allowed_error.py b/easypost/errors/api/method_not_allowed_error.py
deleted file mode 100644
index 1bd87087..00000000
--- a/easypost/errors/api/method_not_allowed_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class MethodNotAllowedError(ApiError):
- pass
diff --git a/easypost/errors/api/not_found_error.html b/easypost/errors/api/not_found_error.html
new file mode 100644
index 00000000..94d26589
--- /dev/null
+++ b/easypost/errors/api/not_found_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.not_found_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class NotFoundError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/not_found_error.py b/easypost/errors/api/not_found_error.py
deleted file mode 100644
index d47ce160..00000000
--- a/easypost/errors/api/not_found_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class NotFoundError(ApiError):
- pass
diff --git a/easypost/errors/api/payment_error.html b/easypost/errors/api/payment_error.html
new file mode 100644
index 00000000..bd831a27
--- /dev/null
+++ b/easypost/errors/api/payment_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.payment_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class PaymentError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/payment_error.py b/easypost/errors/api/payment_error.py
deleted file mode 100644
index 5314ff69..00000000
--- a/easypost/errors/api/payment_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class PaymentError(ApiError):
- pass
diff --git a/easypost/errors/api/rate_limit_error.html b/easypost/errors/api/rate_limit_error.html
new file mode 100644
index 00000000..9485eaf0
--- /dev/null
+++ b/easypost/errors/api/rate_limit_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.rate_limit_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class RateLimitError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/rate_limit_error.py b/easypost/errors/api/rate_limit_error.py
deleted file mode 100644
index 4048103c..00000000
--- a/easypost/errors/api/rate_limit_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class RateLimitError(ApiError):
- pass
diff --git a/easypost/errors/api/redirect_error.html b/easypost/errors/api/redirect_error.html
new file mode 100644
index 00000000..506a621c
--- /dev/null
+++ b/easypost/errors/api/redirect_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.redirect_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class RedirectError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/redirect_error.py b/easypost/errors/api/redirect_error.py
deleted file mode 100644
index cb667186..00000000
--- a/easypost/errors/api/redirect_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class RedirectError(ApiError):
- pass
diff --git a/easypost/errors/api/service_unavailable_error.html b/easypost/errors/api/service_unavailable_error.html
new file mode 100644
index 00000000..dbf6d627
--- /dev/null
+++ b/easypost/errors/api/service_unavailable_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.service_unavailable_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class ServiceUnavailableError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/service_unavailable_error.py b/easypost/errors/api/service_unavailable_error.py
deleted file mode 100644
index 31954823..00000000
--- a/easypost/errors/api/service_unavailable_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class ServiceUnavailableError(ApiError):
- pass
diff --git a/easypost/errors/api/timeout_error.html b/easypost/errors/api/timeout_error.html
new file mode 100644
index 00000000..0f5c6ff9
--- /dev/null
+++ b/easypost/errors/api/timeout_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.timeout_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class TimeoutError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/timeout_error.py b/easypost/errors/api/timeout_error.py
deleted file mode 100644
index 20966b0f..00000000
--- a/easypost/errors/api/timeout_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class TimeoutError(ApiError):
- pass
diff --git a/easypost/errors/api/unauthorized_error.html b/easypost/errors/api/unauthorized_error.html
new file mode 100644
index 00000000..e0efaca8
--- /dev/null
+++ b/easypost/errors/api/unauthorized_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.unauthorized_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class UnauthorizedError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/unauthorized_error.py b/easypost/errors/api/unauthorized_error.py
deleted file mode 100644
index ac53b963..00000000
--- a/easypost/errors/api/unauthorized_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class UnauthorizedError(ApiError):
- pass
diff --git a/easypost/errors/api/unknown_api_error.html b/easypost/errors/api/unknown_api_error.html
new file mode 100644
index 00000000..f51b8b90
--- /dev/null
+++ b/easypost/errors/api/unknown_api_error.html
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+ easypost.errors.api.unknown_api_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class UnknownApiError ( ApiError ):
+6 pass
+
+
+
+ Base error for all errors thrown via the EasyPost API.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/api/unknown_api_error.py b/easypost/errors/api/unknown_api_error.py
deleted file mode 100644
index 6a35bd88..00000000
--- a/easypost/errors/api/unknown_api_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.api.api_error import ApiError
-
-
-class UnknownApiError(ApiError):
- pass
diff --git a/easypost/errors/general.html b/easypost/errors/general.html
new file mode 100644
index 00000000..4600001f
--- /dev/null
+++ b/easypost/errors/general.html
@@ -0,0 +1,255 @@
+
+
+
+
+
+
+ easypost.errors.general API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/general/__init__.py b/easypost/errors/general/__init__.py
deleted file mode 100644
index b12ef97a..00000000
--- a/easypost/errors/general/__init__.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# flake8: noqa
-from easypost.errors.general.easypost_error import EasyPostError
-from easypost.errors.general.end_of_pagination_error import EndOfPaginationError
-from easypost.errors.general.filtering_error import FilteringError
-from easypost.errors.general.invalid_object_error import InvalidObjectError
-from easypost.errors.general.invalid_parameter_error import InvalidParameterError
-from easypost.errors.general.missing_parameter_error import MissingParameterError
-from easypost.errors.general.signature_verification_error import SignatureVerificationError
diff --git a/easypost/errors/general/easypost_error.html b/easypost/errors/general/easypost_error.html
new file mode 100644
index 00000000..c5efa359
--- /dev/null
+++ b/easypost/errors/general/easypost_error.html
@@ -0,0 +1,314 @@
+
+
+
+
+
+
+ easypost.errors.general.easypost_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ class
+ EasyPostError (builtins.Exception ):
+
+ View Source
+
+
+
+ 2 class EasyPostError ( Exception ):
+3 """The base error that all other errors from EasyPost inherit."""
+4
+5 def __init__ ( self , message : str ):
+6 self . message = message
+7 super () . __init__ ( message )
+
+
+
+ The base error that all other errors from EasyPost inherit.
+
+
+
+
+
+
+
+ EasyPostError (message : str )
+
+ View Source
+
+
+
+
5 def __init__ ( self , message : str ):
+6 self . message = message
+7 super () . __init__ ( message )
+
+
+
+
+
+
+
+
+ message
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/general/easypost_error.py b/easypost/errors/general/easypost_error.py
deleted file mode 100644
index 90c8d6e7..00000000
--- a/easypost/errors/general/easypost_error.py
+++ /dev/null
@@ -1,6 +0,0 @@
-class EasyPostError(Exception):
- """The base error that all other errors from EasyPost inherit."""
-
- def __init__(self, message: str):
- self.message = message
- super().__init__(message)
diff --git a/easypost/errors/general/end_of_pagination_error.html b/easypost/errors/general/end_of_pagination_error.html
new file mode 100644
index 00000000..145eefbc
--- /dev/null
+++ b/easypost/errors/general/end_of_pagination_error.html
@@ -0,0 +1,283 @@
+
+
+
+
+
+
+ easypost.errors.general.end_of_pagination_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from easypost.errors.general.easypost_error import EasyPostError
+2
+3
+4 class EndOfPaginationError ( EasyPostError ):
+5 pass
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/general/end_of_pagination_error.py b/easypost/errors/general/end_of_pagination_error.py
deleted file mode 100644
index 8f956e6f..00000000
--- a/easypost/errors/general/end_of_pagination_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.general.easypost_error import EasyPostError
-
-
-class EndOfPaginationError(EasyPostError):
- pass
diff --git a/easypost/errors/general/filtering_error.html b/easypost/errors/general/filtering_error.html
new file mode 100644
index 00000000..0958e47e
--- /dev/null
+++ b/easypost/errors/general/filtering_error.html
@@ -0,0 +1,283 @@
+
+
+
+
+
+
+ easypost.errors.general.filtering_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class FilteringError ( EasyPostError ):
+6 pass
+
+
+
+ The base error that all other errors from EasyPost inherit.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/general/filtering_error.py b/easypost/errors/general/filtering_error.py
deleted file mode 100644
index 0b536765..00000000
--- a/easypost/errors/general/filtering_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.general.easypost_error import EasyPostError
-
-
-class FilteringError(EasyPostError):
- pass
diff --git a/easypost/errors/general/invalid_object_error.html b/easypost/errors/general/invalid_object_error.html
new file mode 100644
index 00000000..ed2cf238
--- /dev/null
+++ b/easypost/errors/general/invalid_object_error.html
@@ -0,0 +1,283 @@
+
+
+
+
+
+
+ easypost.errors.general.invalid_object_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class InvalidObjectError ( EasyPostError ):
+6 pass
+
+
+
+ The base error that all other errors from EasyPost inherit.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/general/invalid_object_error.py b/easypost/errors/general/invalid_object_error.py
deleted file mode 100644
index 8c9500f7..00000000
--- a/easypost/errors/general/invalid_object_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.general.easypost_error import EasyPostError
-
-
-class InvalidObjectError(EasyPostError):
- pass
diff --git a/easypost/errors/general/invalid_parameter_error.html b/easypost/errors/general/invalid_parameter_error.html
new file mode 100644
index 00000000..391e8a3f
--- /dev/null
+++ b/easypost/errors/general/invalid_parameter_error.html
@@ -0,0 +1,283 @@
+
+
+
+
+
+
+ easypost.errors.general.invalid_parameter_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class InvalidParameterError ( EasyPostError ):
+6 pass
+
+
+
+ The base error that all other errors from EasyPost inherit.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/general/invalid_parameter_error.py b/easypost/errors/general/invalid_parameter_error.py
deleted file mode 100644
index a9ac7f96..00000000
--- a/easypost/errors/general/invalid_parameter_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.general.easypost_error import EasyPostError
-
-
-class InvalidParameterError(EasyPostError):
- pass
diff --git a/easypost/errors/general/missing_parameter_error.html b/easypost/errors/general/missing_parameter_error.html
new file mode 100644
index 00000000..3fa66f27
--- /dev/null
+++ b/easypost/errors/general/missing_parameter_error.html
@@ -0,0 +1,283 @@
+
+
+
+
+
+
+ easypost.errors.general.missing_parameter_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class MissingParameterError ( EasyPostError ):
+6 pass
+
+
+
+ The base error that all other errors from EasyPost inherit.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/general/missing_parameter_error.py b/easypost/errors/general/missing_parameter_error.py
deleted file mode 100644
index 36c02179..00000000
--- a/easypost/errors/general/missing_parameter_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.general.easypost_error import EasyPostError
-
-
-class MissingParameterError(EasyPostError):
- pass
diff --git a/easypost/errors/general/signature_verification_error.html b/easypost/errors/general/signature_verification_error.html
new file mode 100644
index 00000000..3d6bcd43
--- /dev/null
+++ b/easypost/errors/general/signature_verification_error.html
@@ -0,0 +1,283 @@
+
+
+
+
+
+
+ easypost.errors.general.signature_verification_error API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class SignatureVerificationError ( EasyPostError ):
+6 pass
+
+
+
+ The base error that all other errors from EasyPost inherit.
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/errors/general/signature_verification_error.py b/easypost/errors/general/signature_verification_error.py
deleted file mode 100644
index de806ddc..00000000
--- a/easypost/errors/general/signature_verification_error.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.errors.general.easypost_error import EasyPostError
-
-
-class SignatureVerificationError(EasyPostError):
- pass
diff --git a/easypost/hooks.html b/easypost/hooks.html
new file mode 100644
index 00000000..b6bb5f01
--- /dev/null
+++ b/easypost/hooks.html
@@ -0,0 +1,247 @@
+
+
+
+
+
+
+ easypost.hooks API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/hooks/__init__.py b/easypost/hooks/__init__.py
deleted file mode 100644
index b1c16e07..00000000
--- a/easypost/hooks/__init__.py
+++ /dev/null
@@ -1,4 +0,0 @@
-# flake8: noqa
-from easypost.hooks.event_hook import EventHook
-from easypost.hooks.request_hook import RequestHook
-from easypost.hooks.response_hook import ResponseHook
diff --git a/easypost/hooks/event_hook.html b/easypost/hooks/event_hook.html
new file mode 100644
index 00000000..8893eda5
--- /dev/null
+++ b/easypost/hooks/event_hook.html
@@ -0,0 +1,300 @@
+
+
+
+
+
+
+ easypost.hooks.event_hook API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ class
+ EventHook :
+
+ View Source
+
+
+
+ 2 class EventHook :
+ 3 """The parent event that occurs when a hook is triggered."""
+ 4
+ 5 def __init__ ( self ):
+ 6 self . _event_handlers = []
+ 7
+ 8 def __iadd__ ( self , handler ):
+ 9 self . _event_handlers . append ( handler )
+10 return self
+11
+12 def __isub__ ( self , handler ):
+13 self . _event_handlers . remove ( handler )
+14 return self
+15
+16 def __call__ ( self , * args , ** kwargs ):
+17 for event_handler in self . _event_handlers :
+18 event_handler ( * args , ** kwargs )
+
+
+
+ The parent event that occurs when a hook is triggered.
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/hooks/event_hook.py b/easypost/hooks/event_hook.py
deleted file mode 100644
index 17522d26..00000000
--- a/easypost/hooks/event_hook.py
+++ /dev/null
@@ -1,17 +0,0 @@
-class EventHook:
- """The parent event that occurs when a hook is triggered."""
-
- def __init__(self):
- self._event_handlers = []
-
- def __iadd__(self, handler):
- self._event_handlers.append(handler)
- return self
-
- def __isub__(self, handler):
- self._event_handlers.remove(handler)
- return self
-
- def __call__(self, *args, **kwargs):
- for event_handler in self._event_handlers:
- event_handler(*args, **kwargs)
diff --git a/easypost/hooks/request_hook.html b/easypost/hooks/request_hook.html
new file mode 100644
index 00000000..54b3be99
--- /dev/null
+++ b/easypost/hooks/request_hook.html
@@ -0,0 +1,277 @@
+
+
+
+
+
+
+ easypost.hooks.request_hook API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/hooks/request_hook.py b/easypost/hooks/request_hook.py
deleted file mode 100644
index 99bca31d..00000000
--- a/easypost/hooks/request_hook.py
+++ /dev/null
@@ -1,7 +0,0 @@
-from easypost.hooks import EventHook
-
-
-class RequestHook(EventHook):
- """An event that gets triggered when an HTTP request begins."""
-
- pass
diff --git a/easypost/hooks/response_hook.html b/easypost/hooks/response_hook.html
new file mode 100644
index 00000000..f7209164
--- /dev/null
+++ b/easypost/hooks/response_hook.html
@@ -0,0 +1,277 @@
+
+
+
+
+
+
+ easypost.hooks.response_hook API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/hooks/response_hook.py b/easypost/hooks/response_hook.py
deleted file mode 100644
index 439b2058..00000000
--- a/easypost/hooks/response_hook.py
+++ /dev/null
@@ -1,7 +0,0 @@
-from easypost.hooks import EventHook
-
-
-class ResponseHook(EventHook):
- """An event that gets triggered when an HTTP response is returned."""
-
- pass
diff --git a/easypost/models.html b/easypost/models.html
new file mode 100644
index 00000000..83951061
--- /dev/null
+++ b/easypost/models.html
@@ -0,0 +1,293 @@
+
+
+
+
+
+
+ easypost.models API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/__init__.py b/easypost/models/__init__.py
deleted file mode 100644
index 9df262ba..00000000
--- a/easypost/models/__init__.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# flake8: noqa
-from easypost.models.address import Address
-from easypost.models.api_key import ApiKey
-from easypost.models.batch import Batch
-from easypost.models.billing import Billing
-from easypost.models.brand import Brand
-from easypost.models.carrier_account import CarrierAccount
-from easypost.models.claim import Claim
-from easypost.models.customs_info import CustomsInfo
-from easypost.models.customs_item import CustomsItem
-from easypost.models.end_shipper import EndShipper
-from easypost.models.event import Event
-from easypost.models.insurance import Insurance
-from easypost.models.order import Order
-from easypost.models.parcel import Parcel
-from easypost.models.payload import Payload
-from easypost.models.pickup import Pickup
-from easypost.models.pickup_rate import PickupRate
-from easypost.models.postage_label import PostageLabel
-from easypost.models.rate import Rate
-from easypost.models.refund import Refund
-from easypost.models.report import Report
-from easypost.models.scan_form import ScanForm
-from easypost.models.shipment import Shipment
-from easypost.models.tracker import Tracker
-from easypost.models.user import User
-from easypost.models.webhook import Webhook
diff --git a/easypost/models/address.html b/easypost/models/address.html
new file mode 100644
index 00000000..0b6c3b49
--- /dev/null
+++ b/easypost/models/address.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.address API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class Address ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/address.py b/easypost/models/address.py
deleted file mode 100644
index 328841c7..00000000
--- a/easypost/models/address.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class Address(EasyPostObject):
- pass
diff --git a/easypost/models/api_key.html b/easypost/models/api_key.html
new file mode 100644
index 00000000..bd53e4d1
--- /dev/null
+++ b/easypost/models/api_key.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.api_key API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class ApiKey ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/api_key.py b/easypost/models/api_key.py
deleted file mode 100644
index e35b14e5..00000000
--- a/easypost/models/api_key.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class ApiKey(EasyPostObject):
- pass
diff --git a/easypost/models/batch.html b/easypost/models/batch.html
new file mode 100644
index 00000000..856fe0b2
--- /dev/null
+++ b/easypost/models/batch.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.batch API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class Batch ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/batch.py b/easypost/models/batch.py
deleted file mode 100644
index 44b4ace3..00000000
--- a/easypost/models/batch.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class Batch(EasyPostObject):
- pass
diff --git a/easypost/models/billing.html b/easypost/models/billing.html
new file mode 100644
index 00000000..e7ec4fa3
--- /dev/null
+++ b/easypost/models/billing.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.billing API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class Billing ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/billing.py b/easypost/models/billing.py
deleted file mode 100644
index 57d2528f..00000000
--- a/easypost/models/billing.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class Billing(EasyPostObject):
- pass
diff --git a/easypost/models/brand.html b/easypost/models/brand.html
new file mode 100644
index 00000000..86d04e35
--- /dev/null
+++ b/easypost/models/brand.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.brand API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class Brand ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/brand.py b/easypost/models/brand.py
deleted file mode 100644
index c3df6af0..00000000
--- a/easypost/models/brand.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class Brand(EasyPostObject):
- pass
diff --git a/easypost/models/carrier_account.html b/easypost/models/carrier_account.html
new file mode 100644
index 00000000..f25a7de4
--- /dev/null
+++ b/easypost/models/carrier_account.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.carrier_account API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class CarrierAccount ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/carrier_account.py b/easypost/models/carrier_account.py
deleted file mode 100644
index 6275651c..00000000
--- a/easypost/models/carrier_account.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class CarrierAccount(EasyPostObject):
- pass
diff --git a/easypost/models/claim.html b/easypost/models/claim.html
new file mode 100644
index 00000000..92028852
--- /dev/null
+++ b/easypost/models/claim.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.claim API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class Claim ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/claim.py b/easypost/models/claim.py
deleted file mode 100644
index c0c6dd69..00000000
--- a/easypost/models/claim.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class Claim(EasyPostObject):
- pass
diff --git a/easypost/models/customs_info.html b/easypost/models/customs_info.html
new file mode 100644
index 00000000..deb95ba8
--- /dev/null
+++ b/easypost/models/customs_info.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.customs_info API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class CustomsInfo ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/customs_info.py b/easypost/models/customs_info.py
deleted file mode 100644
index 9b7ebd98..00000000
--- a/easypost/models/customs_info.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class CustomsInfo(EasyPostObject):
- pass
diff --git a/easypost/models/customs_item.html b/easypost/models/customs_item.html
new file mode 100644
index 00000000..880ce683
--- /dev/null
+++ b/easypost/models/customs_item.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.customs_item API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class CustomsItem ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/customs_item.py b/easypost/models/customs_item.py
deleted file mode 100644
index 6b29b123..00000000
--- a/easypost/models/customs_item.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class CustomsItem(EasyPostObject):
- pass
diff --git a/easypost/models/end_shipper.html b/easypost/models/end_shipper.html
new file mode 100644
index 00000000..cedfcd47
--- /dev/null
+++ b/easypost/models/end_shipper.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.end_shipper API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class EndShipper ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/end_shipper.py b/easypost/models/end_shipper.py
deleted file mode 100644
index 7968f43d..00000000
--- a/easypost/models/end_shipper.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class EndShipper(EasyPostObject):
- pass
diff --git a/easypost/models/event.html b/easypost/models/event.html
new file mode 100644
index 00000000..d2243e86
--- /dev/null
+++ b/easypost/models/event.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.event API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class Event ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/event.py b/easypost/models/event.py
deleted file mode 100644
index afe441b2..00000000
--- a/easypost/models/event.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class Event(EasyPostObject):
- pass
diff --git a/easypost/models/insurance.html b/easypost/models/insurance.html
new file mode 100644
index 00000000..c3ca15d3
--- /dev/null
+++ b/easypost/models/insurance.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.insurance API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class Insurance ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/insurance.py b/easypost/models/insurance.py
deleted file mode 100644
index 3392cb3d..00000000
--- a/easypost/models/insurance.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class Insurance(EasyPostObject):
- pass
diff --git a/easypost/models/order.html b/easypost/models/order.html
new file mode 100644
index 00000000..dae0fb71
--- /dev/null
+++ b/easypost/models/order.html
@@ -0,0 +1,329 @@
+
+
+
+
+
+
+ easypost.models.order API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 11 class Order ( EasyPostObject ):
+12 def lowest_rate ( self , carriers : Optional [ list [ str ]] = None , services : Optional [ list [ str ]] = None ) -> Rate :
+13 """Get the lowest rate of this Order."""
+14 lowest_rate = get_lowest_object_rate ( self , carriers , services )
+15
+16 return lowest_rate
+
+
+
+
+
+
+
+
+
+
def
+
lowest_rate ( self , carriers : list [ str ] | None = None , services : list [ str ] | None = None ) -> easypost.models.rate.Rate :
+
+
View Source
+
+
+
+
12 def lowest_rate ( self , carriers : Optional [ list [ str ]] = None , services : Optional [ list [ str ]] = None ) -> Rate :
+13 """Get the lowest rate of this Order."""
+14 lowest_rate = get_lowest_object_rate ( self , carriers , services )
+15
+16 return lowest_rate
+
+
+
+
Get the lowest rate of this Order.
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/order.py b/easypost/models/order.py
deleted file mode 100644
index ac97d2fe..00000000
--- a/easypost/models/order.py
+++ /dev/null
@@ -1,15 +0,0 @@
-from typing import (
- Optional,
-)
-
-from easypost.easypost_object import EasyPostObject
-from easypost.models.rate import Rate
-from easypost.util import get_lowest_object_rate
-
-
-class Order(EasyPostObject):
- def lowest_rate(self, carriers: Optional[list[str]] = None, services: Optional[list[str]] = None) -> Rate:
- """Get the lowest rate of this Order."""
- lowest_rate = get_lowest_object_rate(self, carriers, services)
-
- return lowest_rate
diff --git a/easypost/models/parcel.html b/easypost/models/parcel.html
new file mode 100644
index 00000000..2a050eb3
--- /dev/null
+++ b/easypost/models/parcel.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.parcel API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class Parcel ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/parcel.py b/easypost/models/parcel.py
deleted file mode 100644
index 3c17f701..00000000
--- a/easypost/models/parcel.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class Parcel(EasyPostObject):
- pass
diff --git a/easypost/models/payload.html b/easypost/models/payload.html
new file mode 100644
index 00000000..90fe2fc6
--- /dev/null
+++ b/easypost/models/payload.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.payload API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class Payload ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/payload.py b/easypost/models/payload.py
deleted file mode 100644
index d05268ee..00000000
--- a/easypost/models/payload.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class Payload(EasyPostObject):
- pass
diff --git a/easypost/models/pickup.html b/easypost/models/pickup.html
new file mode 100644
index 00000000..0e9dd781
--- /dev/null
+++ b/easypost/models/pickup.html
@@ -0,0 +1,329 @@
+
+
+
+
+
+
+ easypost.models.pickup API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 11 class Pickup ( EasyPostObject ):
+12 def lowest_rate ( self , carriers : Optional [ list [ str ]] = None , services : Optional [ list [ str ]] = None ) -> Rate :
+13 """Get the lowest rate of this Pickup."""
+14 lowest_rate = get_lowest_object_rate ( self , carriers , services , "pickup_rates" )
+15
+16 return lowest_rate
+
+
+
+
+
+
+
+
+
+
def
+
lowest_rate ( self , carriers : list [ str ] | None = None , services : list [ str ] | None = None ) -> easypost.models.rate.Rate :
+
+
View Source
+
+
+
+
12 def lowest_rate ( self , carriers : Optional [ list [ str ]] = None , services : Optional [ list [ str ]] = None ) -> Rate :
+13 """Get the lowest rate of this Pickup."""
+14 lowest_rate = get_lowest_object_rate ( self , carriers , services , "pickup_rates" )
+15
+16 return lowest_rate
+
+
+
+
Get the lowest rate of this Pickup.
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/pickup.py b/easypost/models/pickup.py
deleted file mode 100644
index f91ba9af..00000000
--- a/easypost/models/pickup.py
+++ /dev/null
@@ -1,15 +0,0 @@
-from typing import (
- Optional,
-)
-
-from easypost.easypost_object import EasyPostObject
-from easypost.models.rate import Rate
-from easypost.util import get_lowest_object_rate
-
-
-class Pickup(EasyPostObject):
- def lowest_rate(self, carriers: Optional[list[str]] = None, services: Optional[list[str]] = None) -> Rate:
- """Get the lowest rate of this Pickup."""
- lowest_rate = get_lowest_object_rate(self, carriers, services, "pickup_rates")
-
- return lowest_rate
diff --git a/easypost/models/pickup_rate.html b/easypost/models/pickup_rate.html
new file mode 100644
index 00000000..8e354bc8
--- /dev/null
+++ b/easypost/models/pickup_rate.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.pickup_rate API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class PickupRate ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/pickup_rate.py b/easypost/models/pickup_rate.py
deleted file mode 100644
index 0d99dbe7..00000000
--- a/easypost/models/pickup_rate.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class PickupRate(EasyPostObject):
- pass
diff --git a/easypost/models/postage_label.html b/easypost/models/postage_label.html
new file mode 100644
index 00000000..4079e063
--- /dev/null
+++ b/easypost/models/postage_label.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.postage_label API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class PostageLabel ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/postage_label.py b/easypost/models/postage_label.py
deleted file mode 100644
index 1ca23195..00000000
--- a/easypost/models/postage_label.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class PostageLabel(EasyPostObject):
- pass
diff --git a/easypost/models/rate.html b/easypost/models/rate.html
new file mode 100644
index 00000000..6e0250bf
--- /dev/null
+++ b/easypost/models/rate.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.rate API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class Rate ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/rate.py b/easypost/models/rate.py
deleted file mode 100644
index a9c44cca..00000000
--- a/easypost/models/rate.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class Rate(EasyPostObject):
- pass
diff --git a/easypost/models/refund.html b/easypost/models/refund.html
new file mode 100644
index 00000000..48a64f77
--- /dev/null
+++ b/easypost/models/refund.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.refund API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class Refund ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/refund.py b/easypost/models/refund.py
deleted file mode 100644
index 4a15ffa3..00000000
--- a/easypost/models/refund.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class Refund(EasyPostObject):
- pass
diff --git a/easypost/models/report.html b/easypost/models/report.html
new file mode 100644
index 00000000..1f240ccf
--- /dev/null
+++ b/easypost/models/report.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.report API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class Report ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/report.py b/easypost/models/report.py
deleted file mode 100644
index 263ad9ce..00000000
--- a/easypost/models/report.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class Report(EasyPostObject):
- pass
diff --git a/easypost/models/scan_form.html b/easypost/models/scan_form.html
new file mode 100644
index 00000000..f99b9fc0
--- /dev/null
+++ b/easypost/models/scan_form.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.scan_form API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/scan_form.py b/easypost/models/scan_form.py
deleted file mode 100644
index 56c4a62a..00000000
--- a/easypost/models/scan_form.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class ScanForm(EasyPostObject):
- pass
diff --git a/easypost/models/shipment.html b/easypost/models/shipment.html
new file mode 100644
index 00000000..91a40d6d
--- /dev/null
+++ b/easypost/models/shipment.html
@@ -0,0 +1,329 @@
+
+
+
+
+
+
+ easypost.models.shipment API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 11 class Shipment ( EasyPostObject ):
+12 def lowest_rate ( self , carriers : Optional [ list [ str ]] = None , services : Optional [ list [ str ]] = None ) -> Rate :
+13 """Get the lowest rate of this shipment."""
+14 lowest_rate = get_lowest_object_rate ( self , carriers , services )
+15
+16 return lowest_rate
+
+
+
+
+
+
+
+
+
+
def
+
lowest_rate ( self , carriers : list [ str ] | None = None , services : list [ str ] | None = None ) -> easypost.models.rate.Rate :
+
+
View Source
+
+
+
+
12 def lowest_rate ( self , carriers : Optional [ list [ str ]] = None , services : Optional [ list [ str ]] = None ) -> Rate :
+13 """Get the lowest rate of this shipment."""
+14 lowest_rate = get_lowest_object_rate ( self , carriers , services )
+15
+16 return lowest_rate
+
+
+
+
Get the lowest rate of this shipment.
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/shipment.py b/easypost/models/shipment.py
deleted file mode 100644
index 5e71b34d..00000000
--- a/easypost/models/shipment.py
+++ /dev/null
@@ -1,15 +0,0 @@
-from typing import (
- Optional,
-)
-
-from easypost.easypost_object import EasyPostObject
-from easypost.models.rate import Rate
-from easypost.util import get_lowest_object_rate
-
-
-class Shipment(EasyPostObject):
- def lowest_rate(self, carriers: Optional[list[str]] = None, services: Optional[list[str]] = None) -> Rate:
- """Get the lowest rate of this shipment."""
- lowest_rate = get_lowest_object_rate(self, carriers, services)
-
- return lowest_rate
diff --git a/easypost/models/tracker.html b/easypost/models/tracker.html
new file mode 100644
index 00000000..08b1ed4c
--- /dev/null
+++ b/easypost/models/tracker.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.tracker API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class Tracker ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/tracker.py b/easypost/models/tracker.py
deleted file mode 100644
index bc09bdbf..00000000
--- a/easypost/models/tracker.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class Tracker(EasyPostObject):
- pass
diff --git a/easypost/models/user.html b/easypost/models/user.html
new file mode 100644
index 00000000..35683bdc
--- /dev/null
+++ b/easypost/models/user.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.user API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class User ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/user.py b/easypost/models/user.py
deleted file mode 100644
index 92e447a2..00000000
--- a/easypost/models/user.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class User(EasyPostObject):
- pass
diff --git a/easypost/models/webhook.html b/easypost/models/webhook.html
new file mode 100644
index 00000000..b1ee2ae4
--- /dev/null
+++ b/easypost/models/webhook.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ easypost.models.webhook API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5 class Webhook ( EasyPostObject ):
+6 pass
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/models/webhook.py b/easypost/models/webhook.py
deleted file mode 100644
index bf5771af..00000000
--- a/easypost/models/webhook.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from easypost.easypost_object import EasyPostObject
-
-
-class Webhook(EasyPostObject):
- pass
diff --git a/easypost/requestor.html b/easypost/requestor.html
new file mode 100644
index 00000000..0dc71d4a
--- /dev/null
+++ b/easypost/requestor.html
@@ -0,0 +1,1562 @@
+
+
+
+
+
+
+ easypost.requestor API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 import datetime
+ 2 import json
+ 3 import platform
+ 4 import time
+ 5 import uuid
+ 6 from enum import Enum
+ 7 from json import JSONDecodeError
+ 8 from typing import (
+ 9 Any ,
+ 10 Optional ,
+ 11 Tuple ,
+ 12 Union ,
+ 13 )
+ 14 from urllib.parse import urlencode
+ 15
+ 16 import requests
+ 17
+ 18 from easypost.constant import (
+ 19 API_VERSION ,
+ 20 COMMUNICATION_ERROR ,
+ 21 INVALID_REQUEST_LIB_ERROR ,
+ 22 INVALID_REQUEST_METHOD_ERROR ,
+ 23 INVALID_REQUEST_PARAMETERS_ERROR ,
+ 24 INVALID_RESPONSE_BODY_ERROR ,
+ 25 SUPPORT_EMAIL ,
+ 26 TIMEOUT_ERROR ,
+ 27 VERSION ,
+ 28 )
+ 29 from easypost.easypost_object import EasyPostObject
+ 30 from easypost.errors import (
+ 31 BadRequestError ,
+ 32 EasyPostError ,
+ 33 ForbiddenError ,
+ 34 GatewayTimeoutError ,
+ 35 HttpError ,
+ 36 InternalServerError ,
+ 37 InvalidRequestError ,
+ 38 JsonError ,
+ 39 MethodNotAllowedError ,
+ 40 NotFoundError ,
+ 41 PaymentError ,
+ 42 RateLimitError ,
+ 43 RedirectError ,
+ 44 ServiceUnavailableError ,
+ 45 TimeoutError ,
+ 46 UnauthorizedError ,
+ 47 UnknownApiError ,
+ 48 )
+ 49
+ 50 STATUS_CODE_TO_ERROR_MAPPING : dict [ int , Any ] = {
+ 51 400 : BadRequestError ,
+ 52 401 : UnauthorizedError ,
+ 53 402 : PaymentError ,
+ 54 403 : ForbiddenError ,
+ 55 404 : NotFoundError ,
+ 56 405 : MethodNotAllowedError ,
+ 57 408 : TimeoutError ,
+ 58 422 : InvalidRequestError ,
+ 59 429 : RateLimitError ,
+ 60 500 : InternalServerError ,
+ 61 503 : ServiceUnavailableError ,
+ 62 504 : GatewayTimeoutError ,
+ 63 }
+ 64
+ 65
+ 66 class RequestMethod ( Enum ):
+ 67 GET = "get"
+ 68 POST = "post"
+ 69 PUT = "put"
+ 70 PATCH = "patch"
+ 71 DELETE = "delete"
+ 72
+ 73
+ 74 class Requestor :
+ 75 def __init__ ( self , client ):
+ 76 self . _client = client
+ 77
+ 78 @classmethod
+ 79 def _objects_to_ids ( cls , param : dict [ str , Any ]) -> dict [ str , Any ]:
+ 80 """If providing an object as a parameter to another object,
+ 81 only pass along the ID so the API will use the object reference correctly.
+ 82 """
+ 83 if isinstance ( param , EasyPostObject ):
+ 84 return { "id" : param . id }
+ 85 elif isinstance ( param , dict ):
+ 86 data = {}
+ 87 for k , v in param . items ():
+ 88 if isinstance ( v , list ):
+ 89 data [ k ] = [ cls . _objects_to_ids ( item ) for item in v ] # type: ignore
+ 90 else :
+ 91 data [ k ] = cls . _objects_to_ids ( v ) # type: ignore
+ 92 return data
+ 93 else :
+ 94 return param
+ 95
+ 96 @staticmethod
+ 97 def form_encode_params (
+ 98 data : dict [ str , Any ],
+ 99 parent_keys : Optional [ list [ str ]] = None ,
+100 parent_dict : Optional [ dict [ str , Any ]] = None ,
+101 ) -> dict :
+102 """Form-encode a multi-layer dictionary to a one-layer dictionary."""
+103 result = parent_dict or {}
+104 keys = parent_keys or []
+105
+106 for key , value in data . items ():
+107 if isinstance ( value , dict ):
+108 keys . append ( key )
+109 result = Requestor . form_encode_params ( data = value , parent_keys = keys , parent_dict = result )
+110 else :
+111 dict_key = Requestor . _build_dict_key ( keys + [ key ])
+112 result [ dict_key ] = value
+113
+114 return result
+115
+116 @staticmethod
+117 def _build_dict_key ( keys : list [ str ]) -> str :
+118 """Build a dict key from a list of keys.
+119 Example: [code, number] -> code[number]
+120 """
+121 result = keys [ 0 ]
+122
+123 for key in keys [ 1 :]:
+124 result += f "[ { key } ]"
+125
+126 return result
+127
+128 def request (
+129 self ,
+130 method : RequestMethod ,
+131 url : str ,
+132 params : Optional [ dict [ str , Any ]] = None ,
+133 beta : bool = False ,
+134 ) -> dict [ str , Any ]:
+135 """Make a request to the EasyPost API."""
+136 if params is None :
+137 params = {}
+138
+139 http_body , http_status = self . request_raw (
+140 method = method ,
+141 url = url ,
+142 params = params ,
+143 beta = beta ,
+144 )
+145
+146 response = self . interpret_response ( http_body = http_body , http_status = http_status )
+147
+148 return response
+149
+150 def request_raw (
+151 self ,
+152 method : RequestMethod ,
+153 url : str ,
+154 params : Optional [ dict [ str , Any ]] = None ,
+155 beta : bool = False ,
+156 ) -> Tuple [ str , int ]:
+157 """Internal logic required to make a request to the EasyPost API."""
+158 abs_url = f " { self . _client . api_base }{ url } "
+159
+160 if beta :
+161 abs_url = abs_url . replace ( API_VERSION , "beta" )
+162
+163 params = self . _objects_to_ids ( param = params or {})
+164
+165 # Fallback values for the user-agent header
+166 user_agent = {
+167 "client_version" : VERSION ,
+168 "implementation" : "NA" ,
+169 "os_arch" : "NA" ,
+170 "os_version" : "NA" ,
+171 "os" : "NA" ,
+172 "python_version" : "NA" ,
+173 }
+174
+175 # Attempt to populate the user-agent header
+176 for attr , func in (
+177 ( "implementation" , platform . python_implementation ),
+178 ( "os_details" , platform . uname ),
+179 ( "python_version" , platform . python_version ),
+180 ):
+181 try :
+182 val = func () # type: ignore
+183 if attr == "os_details" :
+184 user_agent [ "os" ] = val [ 0 ]
+185 user_agent [ "os_version" ] = val [ 2 ]
+186 user_agent [ "os_arch" ] = val [ 4 ]
+187 else :
+188 user_agent [ attr ] = val # type: ignore
+189 except Exception : # nosec
+190 # If we fail to get OS info, do nothing as we already set fallbacks for these values
+191 pass
+192
+193 user_agent = (
+194 f "EasyPost/ { API_VERSION } PythonClient/ { VERSION } Python/ { user_agent [ 'python_version' ] } " # type: ignore
+195 f " OS/ { user_agent [ 'os' ] } OSVersion/ { user_agent [ 'os_version' ] } OSArch/ { user_agent [ 'os_arch' ] } "
+196 f " Implementation/ { user_agent [ 'implementation' ] } "
+197 )
+198
+199 headers = {
+200 "Authorization" : "Bearer %s " % self . _client . api_key ,
+201 "User-Agent" : user_agent ,
+202 }
+203
+204 request_uuid = uuid . uuid4 ()
+205 request_timestamp = datetime . datetime . now ( datetime . timezone . utc )
+206 self . _client . _request_hook (
+207 method = method ,
+208 path = abs_url ,
+209 headers = headers ,
+210 request_body = params ,
+211 request_timestamp = request_timestamp ,
+212 request_uuid = request_uuid ,
+213 )
+214
+215 if self . _client . _request_lib == "urlfetch" :
+216 http_body , http_status , http_headers = self . urlfetch_request (
+217 method = method , abs_url = abs_url , headers = headers , params = params
+218 )
+219 elif self . _client . _request_lib == "requests" :
+220 http_body , http_status , http_headers = self . requests_request (
+221 method = method , abs_url = abs_url , headers = headers , params = params
+222 )
+223 else :
+224 raise EasyPostError ( INVALID_REQUEST_LIB_ERROR . format ( self . _client . _request_lib , SUPPORT_EMAIL ))
+225
+226 response_timestamp = datetime . datetime . now ( datetime . timezone . utc )
+227 self . _client . _response_hook (
+228 http_status = http_status ,
+229 method = method ,
+230 path = abs_url ,
+231 headers = http_headers ,
+232 response_body = http_body ,
+233 request_timestamp = request_timestamp ,
+234 response_timestamp = response_timestamp ,
+235 request_uuid = request_uuid ,
+236 )
+237
+238 return http_body , http_status
+239
+240 def interpret_response ( self , http_body : str , http_status : int ) -> dict [ str , Any ]:
+241 """Interpret the response body we receive from the API."""
+242 if http_status == 204 :
+243 # HTTP 204 does not have any response body and we can just return here
+244 return {}
+245
+246 try :
+247 response = json . loads ( http_body )
+248 except JSONDecodeError :
+249 raise JsonError ( INVALID_RESPONSE_BODY_ERROR . format ( http_body , http_status ))
+250
+251 if http_status < 200 or http_status >= 300 :
+252 self . handle_api_error ( http_status = http_status , http_body = http_body , response = response )
+253
+254 return response
+255
+256 def requests_request (
+257 self ,
+258 method : RequestMethod ,
+259 abs_url : str ,
+260 headers : dict [ str , Any ],
+261 params : dict [ str , Any ],
+262 ) -> Tuple [ str , int , dict [ str , Any ]]:
+263 """Make a request by using the `request` library."""
+264 if method in [ RequestMethod . GET , RequestMethod . DELETE ]:
+265 url_params = params
+266 body = None
+267 elif method in [ RequestMethod . POST , RequestMethod . PATCH , RequestMethod . PUT ]:
+268 url_params = None
+269 body = params
+270 else :
+271 raise EasyPostError ( INVALID_REQUEST_METHOD_ERROR . format ( method , SUPPORT_EMAIL ))
+272
+273 if url_params and method not in [ RequestMethod . GET , RequestMethod . DELETE ]:
+274 raise EasyPostError ( INVALID_REQUEST_PARAMETERS_ERROR )
+275
+276 try :
+277 result = self . _client . _requests_session . request (
+278 method = method . value ,
+279 url = abs_url ,
+280 params = url_params ,
+281 headers = headers ,
+282 json = body ,
+283 timeout = self . _client . timeout ,
+284 verify = True ,
+285 )
+286 http_body = result . text
+287 http_status = result . status_code
+288 http_headers = result . headers
+289 except requests . exceptions . Timeout :
+290 raise TimeoutError ( TIMEOUT_ERROR )
+291 except Exception as e :
+292 raise HttpError ( COMMUNICATION_ERROR . format ( SUPPORT_EMAIL , e ))
+293
+294 return http_body , http_status , http_headers
+295
+296 def urlfetch_request (
+297 self ,
+298 method : RequestMethod ,
+299 abs_url : str ,
+300 headers : dict [ str , Any ],
+301 params : dict [ str , Any ],
+302 ) -> Tuple [ str , int , dict [ str , Any ]]:
+303 """Make a request by using the `urlfetch` library."""
+304 fetch_args = {
+305 "method" : method . value ,
+306 "headers" : headers ,
+307 "validate_certificate" : False ,
+308 "deadline" : self . _client . timeout ,
+309 }
+310
+311 if method in [ RequestMethod . GET , RequestMethod . DELETE ]:
+312 # GET/DELETE requests use query params
+313 fetch_args [ "url" ] = self . add_params_to_url ( url = abs_url , params = params , method = method )
+314 elif method in [ RequestMethod . POST , RequestMethod . PUT ]:
+315 fetch_args [ "url" ] = abs_url
+316 # POST/PUT requests use body params
+317 fetch_args [ "payload" ] = json . dumps ( params , default = self . _utf8 )
+318 else :
+319 raise EasyPostError ( INVALID_REQUEST_METHOD_ERROR . format ( method , SUPPORT_EMAIL ))
+320
+321 try :
+322 from google.appengine.api import urlfetch # type: ignore
+323
+324 result = urlfetch . fetch ( ** fetch_args ) # type: ignore
+325 except Exception as e :
+326 raise HttpError ( COMMUNICATION_ERROR . format ( SUPPORT_EMAIL , e ))
+327
+328 return result . content , result . status_code , result . headers
+329
+330 def handle_api_error ( self , http_status : int , http_body : str , response : dict [ str , Any ]) -> None :
+331 """Handles API errors returned from the EasyPost API."""
+332 try :
+333 error = response [ "error" ]
+334 except ( KeyError , TypeError ):
+335 raise JsonError (
+336 message = INVALID_RESPONSE_BODY_ERROR . format ( http_status , http_body ),
+337 http_status = http_status ,
+338 http_body = http_body ,
+339 )
+340
+341 if http_status >= 300 and http_status < 400 :
+342 raise RedirectError ( message = error , http_status = http_status , http_body = http_body )
+343
+344 error_type = STATUS_CODE_TO_ERROR_MAPPING . get ( http_status , UnknownApiError )
+345
+346 raise error_type (
+347 message = error . get ( "message" , "" ),
+348 http_status = http_status ,
+349 http_body = http_body ,
+350 )
+351
+352 def _utf8 ( self , value : Union [ str , bytes ]) -> str :
+353 # Python3's str(bytestring) returns "b'bytestring'" so we use .decode instead
+354 if isinstance ( value , bytes ):
+355 return value . decode ( encoding = "utf-8" )
+356 return value
+357
+358 def encode_url_params ( self , params : dict [ str , Any ], method : RequestMethod ) -> Union [ str , None ]:
+359 """Encode params for a URL."""
+360 if method not in [ RequestMethod . GET , RequestMethod . DELETE ]:
+361 raise EasyPostError ( INVALID_REQUEST_PARAMETERS_ERROR )
+362
+363 converted_params = []
+364
+365 for key , value in sorted ( params . items ()):
+366 if value is None :
+367 continue # Don't add Nones to the query
+368 elif isinstance ( value , datetime . datetime ):
+369 value = int ( time . mktime ( value . timetuple ())) # to UTC timestamp
+370 converted_params . append (( key , value ))
+371
+372 return urlencode ( query = converted_params )
+373
+374 def add_params_to_url ( self , url : str , params : dict [ str , Any ], method : RequestMethod ) -> str :
+375 """Add params to the URL."""
+376 if method not in [ RequestMethod . GET , RequestMethod . DELETE ]:
+377 raise EasyPostError ( INVALID_REQUEST_PARAMETERS_ERROR )
+378
+379 encoded_params = self . encode_url_params ( params = params , method = method )
+380
+381 if encoded_params :
+382 return " %s ? %s " % ( url , encoded_params )
+383
+384 return url
+
+
+
+
+
+
+
STATUS_CODE_TO_ERROR_MAPPING : dict[int, typing.Any] =
+
+
{400: <class 'easypost.errors.api.bad_request_error.BadRequestError '>, 401: <class 'easypost.errors.api.unauthorized_error.UnauthorizedError '>, 402: <class 'easypost.errors.api.payment_error.PaymentError '>, 403: <class 'easypost.errors.api.forbidden_error.ForbiddenError '>, 404: <class 'easypost.errors.api.not_found_error.NotFoundError '>, 405: <class 'easypost.errors.api.method_not_allowed_error.MethodNotAllowedError '>, 408: <class 'easypost.errors.api.timeout_error.TimeoutError '>, 422: <class 'easypost.errors.api.invalid_request_error.InvalidRequestError '>, 429: <class 'easypost.errors.api.rate_limit_error.RateLimitError '>, 500: <class 'easypost.errors.api.internal_server_error.InternalServerError '>, 503: <class 'easypost.errors.api.service_unavailable_error.ServiceUnavailableError '>, 504: <class 'easypost.errors.api.gateway_timeout_error.GatewayTimeoutError '>}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ class
+ Requestor :
+
+ View Source
+
+
+
+ 75 class Requestor :
+ 76 def __init__ ( self , client ):
+ 77 self . _client = client
+ 78
+ 79 @classmethod
+ 80 def _objects_to_ids ( cls , param : dict [ str , Any ]) -> dict [ str , Any ]:
+ 81 """If providing an object as a parameter to another object,
+ 82 only pass along the ID so the API will use the object reference correctly.
+ 83 """
+ 84 if isinstance ( param , EasyPostObject ):
+ 85 return { "id" : param . id }
+ 86 elif isinstance ( param , dict ):
+ 87 data = {}
+ 88 for k , v in param . items ():
+ 89 if isinstance ( v , list ):
+ 90 data [ k ] = [ cls . _objects_to_ids ( item ) for item in v ] # type: ignore
+ 91 else :
+ 92 data [ k ] = cls . _objects_to_ids ( v ) # type: ignore
+ 93 return data
+ 94 else :
+ 95 return param
+ 96
+ 97 @staticmethod
+ 98 def form_encode_params (
+ 99 data : dict [ str , Any ],
+100 parent_keys : Optional [ list [ str ]] = None ,
+101 parent_dict : Optional [ dict [ str , Any ]] = None ,
+102 ) -> dict :
+103 """Form-encode a multi-layer dictionary to a one-layer dictionary."""
+104 result = parent_dict or {}
+105 keys = parent_keys or []
+106
+107 for key , value in data . items ():
+108 if isinstance ( value , dict ):
+109 keys . append ( key )
+110 result = Requestor . form_encode_params ( data = value , parent_keys = keys , parent_dict = result )
+111 else :
+112 dict_key = Requestor . _build_dict_key ( keys + [ key ])
+113 result [ dict_key ] = value
+114
+115 return result
+116
+117 @staticmethod
+118 def _build_dict_key ( keys : list [ str ]) -> str :
+119 """Build a dict key from a list of keys.
+120 Example: [code, number] -> code[number]
+121 """
+122 result = keys [ 0 ]
+123
+124 for key in keys [ 1 :]:
+125 result += f "[ { key } ]"
+126
+127 return result
+128
+129 def request (
+130 self ,
+131 method : RequestMethod ,
+132 url : str ,
+133 params : Optional [ dict [ str , Any ]] = None ,
+134 beta : bool = False ,
+135 ) -> dict [ str , Any ]:
+136 """Make a request to the EasyPost API."""
+137 if params is None :
+138 params = {}
+139
+140 http_body , http_status = self . request_raw (
+141 method = method ,
+142 url = url ,
+143 params = params ,
+144 beta = beta ,
+145 )
+146
+147 response = self . interpret_response ( http_body = http_body , http_status = http_status )
+148
+149 return response
+150
+151 def request_raw (
+152 self ,
+153 method : RequestMethod ,
+154 url : str ,
+155 params : Optional [ dict [ str , Any ]] = None ,
+156 beta : bool = False ,
+157 ) -> Tuple [ str , int ]:
+158 """Internal logic required to make a request to the EasyPost API."""
+159 abs_url = f " { self . _client . api_base }{ url } "
+160
+161 if beta :
+162 abs_url = abs_url . replace ( API_VERSION , "beta" )
+163
+164 params = self . _objects_to_ids ( param = params or {})
+165
+166 # Fallback values for the user-agent header
+167 user_agent = {
+168 "client_version" : VERSION ,
+169 "implementation" : "NA" ,
+170 "os_arch" : "NA" ,
+171 "os_version" : "NA" ,
+172 "os" : "NA" ,
+173 "python_version" : "NA" ,
+174 }
+175
+176 # Attempt to populate the user-agent header
+177 for attr , func in (
+178 ( "implementation" , platform . python_implementation ),
+179 ( "os_details" , platform . uname ),
+180 ( "python_version" , platform . python_version ),
+181 ):
+182 try :
+183 val = func () # type: ignore
+184 if attr == "os_details" :
+185 user_agent [ "os" ] = val [ 0 ]
+186 user_agent [ "os_version" ] = val [ 2 ]
+187 user_agent [ "os_arch" ] = val [ 4 ]
+188 else :
+189 user_agent [ attr ] = val # type: ignore
+190 except Exception : # nosec
+191 # If we fail to get OS info, do nothing as we already set fallbacks for these values
+192 pass
+193
+194 user_agent = (
+195 f "EasyPost/ { API_VERSION } PythonClient/ { VERSION } Python/ { user_agent [ 'python_version' ] } " # type: ignore
+196 f " OS/ { user_agent [ 'os' ] } OSVersion/ { user_agent [ 'os_version' ] } OSArch/ { user_agent [ 'os_arch' ] } "
+197 f " Implementation/ { user_agent [ 'implementation' ] } "
+198 )
+199
+200 headers = {
+201 "Authorization" : "Bearer %s " % self . _client . api_key ,
+202 "User-Agent" : user_agent ,
+203 }
+204
+205 request_uuid = uuid . uuid4 ()
+206 request_timestamp = datetime . datetime . now ( datetime . timezone . utc )
+207 self . _client . _request_hook (
+208 method = method ,
+209 path = abs_url ,
+210 headers = headers ,
+211 request_body = params ,
+212 request_timestamp = request_timestamp ,
+213 request_uuid = request_uuid ,
+214 )
+215
+216 if self . _client . _request_lib == "urlfetch" :
+217 http_body , http_status , http_headers = self . urlfetch_request (
+218 method = method , abs_url = abs_url , headers = headers , params = params
+219 )
+220 elif self . _client . _request_lib == "requests" :
+221 http_body , http_status , http_headers = self . requests_request (
+222 method = method , abs_url = abs_url , headers = headers , params = params
+223 )
+224 else :
+225 raise EasyPostError ( INVALID_REQUEST_LIB_ERROR . format ( self . _client . _request_lib , SUPPORT_EMAIL ))
+226
+227 response_timestamp = datetime . datetime . now ( datetime . timezone . utc )
+228 self . _client . _response_hook (
+229 http_status = http_status ,
+230 method = method ,
+231 path = abs_url ,
+232 headers = http_headers ,
+233 response_body = http_body ,
+234 request_timestamp = request_timestamp ,
+235 response_timestamp = response_timestamp ,
+236 request_uuid = request_uuid ,
+237 )
+238
+239 return http_body , http_status
+240
+241 def interpret_response ( self , http_body : str , http_status : int ) -> dict [ str , Any ]:
+242 """Interpret the response body we receive from the API."""
+243 if http_status == 204 :
+244 # HTTP 204 does not have any response body and we can just return here
+245 return {}
+246
+247 try :
+248 response = json . loads ( http_body )
+249 except JSONDecodeError :
+250 raise JsonError ( INVALID_RESPONSE_BODY_ERROR . format ( http_body , http_status ))
+251
+252 if http_status < 200 or http_status >= 300 :
+253 self . handle_api_error ( http_status = http_status , http_body = http_body , response = response )
+254
+255 return response
+256
+257 def requests_request (
+258 self ,
+259 method : RequestMethod ,
+260 abs_url : str ,
+261 headers : dict [ str , Any ],
+262 params : dict [ str , Any ],
+263 ) -> Tuple [ str , int , dict [ str , Any ]]:
+264 """Make a request by using the `request` library."""
+265 if method in [ RequestMethod . GET , RequestMethod . DELETE ]:
+266 url_params = params
+267 body = None
+268 elif method in [ RequestMethod . POST , RequestMethod . PATCH , RequestMethod . PUT ]:
+269 url_params = None
+270 body = params
+271 else :
+272 raise EasyPostError ( INVALID_REQUEST_METHOD_ERROR . format ( method , SUPPORT_EMAIL ))
+273
+274 if url_params and method not in [ RequestMethod . GET , RequestMethod . DELETE ]:
+275 raise EasyPostError ( INVALID_REQUEST_PARAMETERS_ERROR )
+276
+277 try :
+278 result = self . _client . _requests_session . request (
+279 method = method . value ,
+280 url = abs_url ,
+281 params = url_params ,
+282 headers = headers ,
+283 json = body ,
+284 timeout = self . _client . timeout ,
+285 verify = True ,
+286 )
+287 http_body = result . text
+288 http_status = result . status_code
+289 http_headers = result . headers
+290 except requests . exceptions . Timeout :
+291 raise TimeoutError ( TIMEOUT_ERROR )
+292 except Exception as e :
+293 raise HttpError ( COMMUNICATION_ERROR . format ( SUPPORT_EMAIL , e ))
+294
+295 return http_body , http_status , http_headers
+296
+297 def urlfetch_request (
+298 self ,
+299 method : RequestMethod ,
+300 abs_url : str ,
+301 headers : dict [ str , Any ],
+302 params : dict [ str , Any ],
+303 ) -> Tuple [ str , int , dict [ str , Any ]]:
+304 """Make a request by using the `urlfetch` library."""
+305 fetch_args = {
+306 "method" : method . value ,
+307 "headers" : headers ,
+308 "validate_certificate" : False ,
+309 "deadline" : self . _client . timeout ,
+310 }
+311
+312 if method in [ RequestMethod . GET , RequestMethod . DELETE ]:
+313 # GET/DELETE requests use query params
+314 fetch_args [ "url" ] = self . add_params_to_url ( url = abs_url , params = params , method = method )
+315 elif method in [ RequestMethod . POST , RequestMethod . PUT ]:
+316 fetch_args [ "url" ] = abs_url
+317 # POST/PUT requests use body params
+318 fetch_args [ "payload" ] = json . dumps ( params , default = self . _utf8 )
+319 else :
+320 raise EasyPostError ( INVALID_REQUEST_METHOD_ERROR . format ( method , SUPPORT_EMAIL ))
+321
+322 try :
+323 from google.appengine.api import urlfetch # type: ignore
+324
+325 result = urlfetch . fetch ( ** fetch_args ) # type: ignore
+326 except Exception as e :
+327 raise HttpError ( COMMUNICATION_ERROR . format ( SUPPORT_EMAIL , e ))
+328
+329 return result . content , result . status_code , result . headers
+330
+331 def handle_api_error ( self , http_status : int , http_body : str , response : dict [ str , Any ]) -> None :
+332 """Handles API errors returned from the EasyPost API."""
+333 try :
+334 error = response [ "error" ]
+335 except ( KeyError , TypeError ):
+336 raise JsonError (
+337 message = INVALID_RESPONSE_BODY_ERROR . format ( http_status , http_body ),
+338 http_status = http_status ,
+339 http_body = http_body ,
+340 )
+341
+342 if http_status >= 300 and http_status < 400 :
+343 raise RedirectError ( message = error , http_status = http_status , http_body = http_body )
+344
+345 error_type = STATUS_CODE_TO_ERROR_MAPPING . get ( http_status , UnknownApiError )
+346
+347 raise error_type (
+348 message = error . get ( "message" , "" ),
+349 http_status = http_status ,
+350 http_body = http_body ,
+351 )
+352
+353 def _utf8 ( self , value : Union [ str , bytes ]) -> str :
+354 # Python3's str(bytestring) returns "b'bytestring'" so we use .decode instead
+355 if isinstance ( value , bytes ):
+356 return value . decode ( encoding = "utf-8" )
+357 return value
+358
+359 def encode_url_params ( self , params : dict [ str , Any ], method : RequestMethod ) -> Union [ str , None ]:
+360 """Encode params for a URL."""
+361 if method not in [ RequestMethod . GET , RequestMethod . DELETE ]:
+362 raise EasyPostError ( INVALID_REQUEST_PARAMETERS_ERROR )
+363
+364 converted_params = []
+365
+366 for key , value in sorted ( params . items ()):
+367 if value is None :
+368 continue # Don't add Nones to the query
+369 elif isinstance ( value , datetime . datetime ):
+370 value = int ( time . mktime ( value . timetuple ())) # to UTC timestamp
+371 converted_params . append (( key , value ))
+372
+373 return urlencode ( query = converted_params )
+374
+375 def add_params_to_url ( self , url : str , params : dict [ str , Any ], method : RequestMethod ) -> str :
+376 """Add params to the URL."""
+377 if method not in [ RequestMethod . GET , RequestMethod . DELETE ]:
+378 raise EasyPostError ( INVALID_REQUEST_PARAMETERS_ERROR )
+379
+380 encoded_params = self . encode_url_params ( params = params , method = method )
+381
+382 if encoded_params :
+383 return " %s ? %s " % ( url , encoded_params )
+384
+385 return url
+
+
+
+
+
+
+
+
+
+ Requestor (client )
+
+ View Source
+
+
+
+
76 def __init__ ( self , client ):
+77 self . _client = client
+
+
+
+
+
+
+
+
+
+
+
+
def
+
request ( self , method : RequestMethod , url : str , params : dict [ str , Any ] | None = None , beta : bool = False ) -> dict [ str , typing . Any ] :
+
+
View Source
+
+
+
+
129 def request (
+130 self ,
+131 method : RequestMethod ,
+132 url : str ,
+133 params : Optional [ dict [ str , Any ]] = None ,
+134 beta : bool = False ,
+135 ) -> dict [ str , Any ]:
+136 """Make a request to the EasyPost API."""
+137 if params is None :
+138 params = {}
+139
+140 http_body , http_status = self . request_raw (
+141 method = method ,
+142 url = url ,
+143 params = params ,
+144 beta = beta ,
+145 )
+146
+147 response = self . interpret_response ( http_body = http_body , http_status = http_status )
+148
+149 return response
+
+
+
+
Make a request to the EasyPost API.
+
+
+
+
+
+
+
+
+
def
+
request_raw ( self , method : RequestMethod , url : str , params : dict [ str , Any ] | None = None , beta : bool = False ) -> Tuple [ str , int ] :
+
+
View Source
+
+
+
+
151 def request_raw (
+152 self ,
+153 method : RequestMethod ,
+154 url : str ,
+155 params : Optional [ dict [ str , Any ]] = None ,
+156 beta : bool = False ,
+157 ) -> Tuple [ str , int ]:
+158 """Internal logic required to make a request to the EasyPost API."""
+159 abs_url = f " { self . _client . api_base }{ url } "
+160
+161 if beta :
+162 abs_url = abs_url . replace ( API_VERSION , "beta" )
+163
+164 params = self . _objects_to_ids ( param = params or {})
+165
+166 # Fallback values for the user-agent header
+167 user_agent = {
+168 "client_version" : VERSION ,
+169 "implementation" : "NA" ,
+170 "os_arch" : "NA" ,
+171 "os_version" : "NA" ,
+172 "os" : "NA" ,
+173 "python_version" : "NA" ,
+174 }
+175
+176 # Attempt to populate the user-agent header
+177 for attr , func in (
+178 ( "implementation" , platform . python_implementation ),
+179 ( "os_details" , platform . uname ),
+180 ( "python_version" , platform . python_version ),
+181 ):
+182 try :
+183 val = func () # type: ignore
+184 if attr == "os_details" :
+185 user_agent [ "os" ] = val [ 0 ]
+186 user_agent [ "os_version" ] = val [ 2 ]
+187 user_agent [ "os_arch" ] = val [ 4 ]
+188 else :
+189 user_agent [ attr ] = val # type: ignore
+190 except Exception : # nosec
+191 # If we fail to get OS info, do nothing as we already set fallbacks for these values
+192 pass
+193
+194 user_agent = (
+195 f "EasyPost/ { API_VERSION } PythonClient/ { VERSION } Python/ { user_agent [ 'python_version' ] } " # type: ignore
+196 f " OS/ { user_agent [ 'os' ] } OSVersion/ { user_agent [ 'os_version' ] } OSArch/ { user_agent [ 'os_arch' ] } "
+197 f " Implementation/ { user_agent [ 'implementation' ] } "
+198 )
+199
+200 headers = {
+201 "Authorization" : "Bearer %s " % self . _client . api_key ,
+202 "User-Agent" : user_agent ,
+203 }
+204
+205 request_uuid = uuid . uuid4 ()
+206 request_timestamp = datetime . datetime . now ( datetime . timezone . utc )
+207 self . _client . _request_hook (
+208 method = method ,
+209 path = abs_url ,
+210 headers = headers ,
+211 request_body = params ,
+212 request_timestamp = request_timestamp ,
+213 request_uuid = request_uuid ,
+214 )
+215
+216 if self . _client . _request_lib == "urlfetch" :
+217 http_body , http_status , http_headers = self . urlfetch_request (
+218 method = method , abs_url = abs_url , headers = headers , params = params
+219 )
+220 elif self . _client . _request_lib == "requests" :
+221 http_body , http_status , http_headers = self . requests_request (
+222 method = method , abs_url = abs_url , headers = headers , params = params
+223 )
+224 else :
+225 raise EasyPostError ( INVALID_REQUEST_LIB_ERROR . format ( self . _client . _request_lib , SUPPORT_EMAIL ))
+226
+227 response_timestamp = datetime . datetime . now ( datetime . timezone . utc )
+228 self . _client . _response_hook (
+229 http_status = http_status ,
+230 method = method ,
+231 path = abs_url ,
+232 headers = http_headers ,
+233 response_body = http_body ,
+234 request_timestamp = request_timestamp ,
+235 response_timestamp = response_timestamp ,
+236 request_uuid = request_uuid ,
+237 )
+238
+239 return http_body , http_status
+
+
+
+
Internal logic required to make a request to the EasyPost API.
+
+
+
+
+
+
+
+
+ def
+ interpret_response (self , http_body : str , http_status : int ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
241 def interpret_response ( self , http_body : str , http_status : int ) -> dict [ str , Any ]:
+242 """Interpret the response body we receive from the API."""
+243 if http_status == 204 :
+244 # HTTP 204 does not have any response body and we can just return here
+245 return {}
+246
+247 try :
+248 response = json . loads ( http_body )
+249 except JSONDecodeError :
+250 raise JsonError ( INVALID_RESPONSE_BODY_ERROR . format ( http_body , http_status ))
+251
+252 if http_status < 200 or http_status >= 300 :
+253 self . handle_api_error ( http_status = http_status , http_body = http_body , response = response )
+254
+255 return response
+
+
+
+
Interpret the response body we receive from the API.
+
+
+
+
+
+
+
+
+
def
+
requests_request ( self , method : RequestMethod , abs_url : str , headers : dict [ str , typing . Any ] , params : dict [ str , typing . Any ] ) -> Tuple [ str , int , dict [ str , Any ]] :
+
+
View Source
+
+
+
+
257 def requests_request (
+258 self ,
+259 method : RequestMethod ,
+260 abs_url : str ,
+261 headers : dict [ str , Any ],
+262 params : dict [ str , Any ],
+263 ) -> Tuple [ str , int , dict [ str , Any ]]:
+264 """Make a request by using the `request` library."""
+265 if method in [ RequestMethod . GET , RequestMethod . DELETE ]:
+266 url_params = params
+267 body = None
+268 elif method in [ RequestMethod . POST , RequestMethod . PATCH , RequestMethod . PUT ]:
+269 url_params = None
+270 body = params
+271 else :
+272 raise EasyPostError ( INVALID_REQUEST_METHOD_ERROR . format ( method , SUPPORT_EMAIL ))
+273
+274 if url_params and method not in [ RequestMethod . GET , RequestMethod . DELETE ]:
+275 raise EasyPostError ( INVALID_REQUEST_PARAMETERS_ERROR )
+276
+277 try :
+278 result = self . _client . _requests_session . request (
+279 method = method . value ,
+280 url = abs_url ,
+281 params = url_params ,
+282 headers = headers ,
+283 json = body ,
+284 timeout = self . _client . timeout ,
+285 verify = True ,
+286 )
+287 http_body = result . text
+288 http_status = result . status_code
+289 http_headers = result . headers
+290 except requests . exceptions . Timeout :
+291 raise TimeoutError ( TIMEOUT_ERROR )
+292 except Exception as e :
+293 raise HttpError ( COMMUNICATION_ERROR . format ( SUPPORT_EMAIL , e ))
+294
+295 return http_body , http_status , http_headers
+
+
+
+
Make a request by using the request library.
+
+
+
+
+
+
+
+
+
def
+
urlfetch_request ( self , method : RequestMethod , abs_url : str , headers : dict [ str , typing . Any ] , params : dict [ str , typing . Any ] ) -> Tuple [ str , int , dict [ str , Any ]] :
+
+
View Source
+
+
+
+
297 def urlfetch_request (
+298 self ,
+299 method : RequestMethod ,
+300 abs_url : str ,
+301 headers : dict [ str , Any ],
+302 params : dict [ str , Any ],
+303 ) -> Tuple [ str , int , dict [ str , Any ]]:
+304 """Make a request by using the `urlfetch` library."""
+305 fetch_args = {
+306 "method" : method . value ,
+307 "headers" : headers ,
+308 "validate_certificate" : False ,
+309 "deadline" : self . _client . timeout ,
+310 }
+311
+312 if method in [ RequestMethod . GET , RequestMethod . DELETE ]:
+313 # GET/DELETE requests use query params
+314 fetch_args [ "url" ] = self . add_params_to_url ( url = abs_url , params = params , method = method )
+315 elif method in [ RequestMethod . POST , RequestMethod . PUT ]:
+316 fetch_args [ "url" ] = abs_url
+317 # POST/PUT requests use body params
+318 fetch_args [ "payload" ] = json . dumps ( params , default = self . _utf8 )
+319 else :
+320 raise EasyPostError ( INVALID_REQUEST_METHOD_ERROR . format ( method , SUPPORT_EMAIL ))
+321
+322 try :
+323 from google.appengine.api import urlfetch # type: ignore
+324
+325 result = urlfetch . fetch ( ** fetch_args ) # type: ignore
+326 except Exception as e :
+327 raise HttpError ( COMMUNICATION_ERROR . format ( SUPPORT_EMAIL , e ))
+328
+329 return result . content , result . status_code , result . headers
+
+
+
+
Make a request by using the urlfetch library.
+
+
+
+
+
+
+
+
+ def
+ handle_api_error ( self , http_status : int , http_body : str , response : dict [ str , typing . Any ] ) -> None :
+
+ View Source
+
+
+
+
331 def handle_api_error ( self , http_status : int , http_body : str , response : dict [ str , Any ]) -> None :
+332 """Handles API errors returned from the EasyPost API."""
+333 try :
+334 error = response [ "error" ]
+335 except ( KeyError , TypeError ):
+336 raise JsonError (
+337 message = INVALID_RESPONSE_BODY_ERROR . format ( http_status , http_body ),
+338 http_status = http_status ,
+339 http_body = http_body ,
+340 )
+341
+342 if http_status >= 300 and http_status < 400 :
+343 raise RedirectError ( message = error , http_status = http_status , http_body = http_body )
+344
+345 error_type = STATUS_CODE_TO_ERROR_MAPPING . get ( http_status , UnknownApiError )
+346
+347 raise error_type (
+348 message = error . get ( "message" , "" ),
+349 http_status = http_status ,
+350 http_body = http_body ,
+351 )
+
+
+
+
Handles API errors returned from the EasyPost API.
+
+
+
+
+
+
+
+
+
def
+
encode_url_params ( self , params : dict [ str , typing . Any ] , method : RequestMethod ) -> str | None :
+
+
View Source
+
+
+
+
359 def encode_url_params ( self , params : dict [ str , Any ], method : RequestMethod ) -> Union [ str , None ]:
+360 """Encode params for a URL."""
+361 if method not in [ RequestMethod . GET , RequestMethod . DELETE ]:
+362 raise EasyPostError ( INVALID_REQUEST_PARAMETERS_ERROR )
+363
+364 converted_params = []
+365
+366 for key , value in sorted ( params . items ()):
+367 if value is None :
+368 continue # Don't add Nones to the query
+369 elif isinstance ( value , datetime . datetime ):
+370 value = int ( time . mktime ( value . timetuple ())) # to UTC timestamp
+371 converted_params . append (( key , value ))
+372
+373 return urlencode ( query = converted_params )
+
+
+
+
Encode params for a URL.
+
+
+
+
+
+
+
+
+
def
+
add_params_to_url ( self , url : str , params : dict [ str , typing . Any ] , method : RequestMethod ) -> str :
+
+
View Source
+
+
+
+
375 def add_params_to_url ( self , url : str , params : dict [ str , Any ], method : RequestMethod ) -> str :
+376 """Add params to the URL."""
+377 if method not in [ RequestMethod . GET , RequestMethod . DELETE ]:
+378 raise EasyPostError ( INVALID_REQUEST_PARAMETERS_ERROR )
+379
+380 encoded_params = self . encode_url_params ( params = params , method = method )
+381
+382 if encoded_params :
+383 return " %s ? %s " % ( url , encoded_params )
+384
+385 return url
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/requestor.py b/easypost/requestor.py
deleted file mode 100644
index 4f024f2f..00000000
--- a/easypost/requestor.py
+++ /dev/null
@@ -1,384 +0,0 @@
-import datetime
-import json
-import platform
-import time
-import uuid
-from enum import Enum
-from json import JSONDecodeError
-from typing import (
- Any,
- Optional,
- Tuple,
- Union,
-)
-from urllib.parse import urlencode
-
-import requests
-
-from easypost.constant import (
- API_VERSION,
- COMMUNICATION_ERROR,
- INVALID_REQUEST_LIB_ERROR,
- INVALID_REQUEST_METHOD_ERROR,
- INVALID_REQUEST_PARAMETERS_ERROR,
- INVALID_RESPONSE_BODY_ERROR,
- SUPPORT_EMAIL,
- TIMEOUT_ERROR,
- VERSION,
-)
-from easypost.easypost_object import EasyPostObject
-from easypost.errors import (
- BadRequestError,
- EasyPostError,
- ForbiddenError,
- GatewayTimeoutError,
- HttpError,
- InternalServerError,
- InvalidRequestError,
- JsonError,
- MethodNotAllowedError,
- NotFoundError,
- PaymentError,
- RateLimitError,
- RedirectError,
- ServiceUnavailableError,
- TimeoutError,
- UnauthorizedError,
- UnknownApiError,
-)
-
-STATUS_CODE_TO_ERROR_MAPPING: dict[int, Any] = {
- 400: BadRequestError,
- 401: UnauthorizedError,
- 402: PaymentError,
- 403: ForbiddenError,
- 404: NotFoundError,
- 405: MethodNotAllowedError,
- 408: TimeoutError,
- 422: InvalidRequestError,
- 429: RateLimitError,
- 500: InternalServerError,
- 503: ServiceUnavailableError,
- 504: GatewayTimeoutError,
-}
-
-
-class RequestMethod(Enum):
- GET = "get"
- POST = "post"
- PUT = "put"
- PATCH = "patch"
- DELETE = "delete"
-
-
-class Requestor:
- def __init__(self, client):
- self._client = client
-
- @classmethod
- def _objects_to_ids(cls, param: dict[str, Any]) -> dict[str, Any]:
- """If providing an object as a parameter to another object,
- only pass along the ID so the API will use the object reference correctly.
- """
- if isinstance(param, EasyPostObject):
- return {"id": param.id}
- elif isinstance(param, dict):
- data = {}
- for k, v in param.items():
- if isinstance(v, list):
- data[k] = [cls._objects_to_ids(item) for item in v] # type: ignore
- else:
- data[k] = cls._objects_to_ids(v) # type: ignore
- return data
- else:
- return param
-
- @staticmethod
- def form_encode_params(
- data: dict[str, Any],
- parent_keys: Optional[list[str]] = None,
- parent_dict: Optional[dict[str, Any]] = None,
- ) -> dict:
- """Form-encode a multi-layer dictionary to a one-layer dictionary."""
- result = parent_dict or {}
- keys = parent_keys or []
-
- for key, value in data.items():
- if isinstance(value, dict):
- keys.append(key)
- result = Requestor.form_encode_params(data=value, parent_keys=keys, parent_dict=result)
- else:
- dict_key = Requestor._build_dict_key(keys + [key])
- result[dict_key] = value
-
- return result
-
- @staticmethod
- def _build_dict_key(keys: list[str]) -> str:
- """Build a dict key from a list of keys.
- Example: [code, number] -> code[number]
- """
- result = keys[0]
-
- for key in keys[1:]:
- result += f"[{key}]"
-
- return result
-
- def request(
- self,
- method: RequestMethod,
- url: str,
- params: Optional[dict[str, Any]] = None,
- beta: bool = False,
- ) -> dict[str, Any]:
- """Make a request to the EasyPost API."""
- if params is None:
- params = {}
-
- http_body, http_status = self.request_raw(
- method=method,
- url=url,
- params=params,
- beta=beta,
- )
-
- response = self.interpret_response(http_body=http_body, http_status=http_status)
-
- return response
-
- def request_raw(
- self,
- method: RequestMethod,
- url: str,
- params: Optional[dict[str, Any]] = None,
- beta: bool = False,
- ) -> Tuple[str, int]:
- """Internal logic required to make a request to the EasyPost API."""
- abs_url = f"{self._client.api_base}{url}"
-
- if beta:
- abs_url = abs_url.replace(API_VERSION, "beta")
-
- params = self._objects_to_ids(param=params or {})
-
- # Fallback values for the user-agent header
- user_agent = {
- "client_version": VERSION,
- "implementation": "NA",
- "os_arch": "NA",
- "os_version": "NA",
- "os": "NA",
- "python_version": "NA",
- }
-
- # Attempt to populate the user-agent header
- for attr, func in (
- ("implementation", platform.python_implementation),
- ("os_details", platform.uname),
- ("python_version", platform.python_version),
- ):
- try:
- val = func() # type: ignore
- if attr == "os_details":
- user_agent["os"] = val[0]
- user_agent["os_version"] = val[2]
- user_agent["os_arch"] = val[4]
- else:
- user_agent[attr] = val # type: ignore
- except Exception: # nosec
- # If we fail to get OS info, do nothing as we already set fallbacks for these values
- pass
-
- user_agent = (
- f"EasyPost/{API_VERSION} PythonClient/{VERSION} Python/{user_agent['python_version']}" # type: ignore
- f" OS/{user_agent['os']} OSVersion/{user_agent['os_version']} OSArch/{user_agent['os_arch']}"
- f" Implementation/{user_agent['implementation']}"
- )
-
- headers = {
- "Authorization": "Bearer %s" % self._client.api_key,
- "User-Agent": user_agent,
- }
-
- request_uuid = uuid.uuid4()
- request_timestamp = datetime.datetime.now(datetime.timezone.utc)
- self._client._request_hook(
- method=method,
- path=abs_url,
- headers=headers,
- request_body=params,
- request_timestamp=request_timestamp,
- request_uuid=request_uuid,
- )
-
- if self._client._request_lib == "urlfetch":
- http_body, http_status, http_headers = self.urlfetch_request(
- method=method, abs_url=abs_url, headers=headers, params=params
- )
- elif self._client._request_lib == "requests":
- http_body, http_status, http_headers = self.requests_request(
- method=method, abs_url=abs_url, headers=headers, params=params
- )
- else:
- raise EasyPostError(INVALID_REQUEST_LIB_ERROR.format(self._client._request_lib, SUPPORT_EMAIL))
-
- response_timestamp = datetime.datetime.now(datetime.timezone.utc)
- self._client._response_hook(
- http_status=http_status,
- method=method,
- path=abs_url,
- headers=http_headers,
- response_body=http_body,
- request_timestamp=request_timestamp,
- response_timestamp=response_timestamp,
- request_uuid=request_uuid,
- )
-
- return http_body, http_status
-
- def interpret_response(self, http_body: str, http_status: int) -> dict[str, Any]:
- """Interpret the response body we receive from the API."""
- if http_status == 204:
- # HTTP 204 does not have any response body and we can just return here
- return {}
-
- try:
- response = json.loads(http_body)
- except JSONDecodeError:
- raise JsonError(INVALID_RESPONSE_BODY_ERROR.format(http_body, http_status))
-
- if http_status < 200 or http_status >= 300:
- self.handle_api_error(http_status=http_status, http_body=http_body, response=response)
-
- return response
-
- def requests_request(
- self,
- method: RequestMethod,
- abs_url: str,
- headers: dict[str, Any],
- params: dict[str, Any],
- ) -> Tuple[str, int, dict[str, Any]]:
- """Make a request by using the `request` library."""
- if method in [RequestMethod.GET, RequestMethod.DELETE]:
- url_params = params
- body = None
- elif method in [RequestMethod.POST, RequestMethod.PATCH, RequestMethod.PUT]:
- url_params = None
- body = params
- else:
- raise EasyPostError(INVALID_REQUEST_METHOD_ERROR.format(method, SUPPORT_EMAIL))
-
- if url_params and method not in [RequestMethod.GET, RequestMethod.DELETE]:
- raise EasyPostError(INVALID_REQUEST_PARAMETERS_ERROR)
-
- try:
- result = self._client._requests_session.request(
- method=method.value,
- url=abs_url,
- params=url_params,
- headers=headers,
- json=body,
- timeout=self._client.timeout,
- verify=True,
- )
- http_body = result.text
- http_status = result.status_code
- http_headers = result.headers
- except requests.exceptions.Timeout:
- raise TimeoutError(TIMEOUT_ERROR)
- except Exception as e:
- raise HttpError(COMMUNICATION_ERROR.format(SUPPORT_EMAIL, e))
-
- return http_body, http_status, http_headers
-
- def urlfetch_request(
- self,
- method: RequestMethod,
- abs_url: str,
- headers: dict[str, Any],
- params: dict[str, Any],
- ) -> Tuple[str, int, dict[str, Any]]:
- """Make a request by using the `urlfetch` library."""
- fetch_args = {
- "method": method.value,
- "headers": headers,
- "validate_certificate": False,
- "deadline": self._client.timeout,
- }
-
- if method in [RequestMethod.GET, RequestMethod.DELETE]:
- # GET/DELETE requests use query params
- fetch_args["url"] = self.add_params_to_url(url=abs_url, params=params, method=method)
- elif method in [RequestMethod.POST, RequestMethod.PUT]:
- fetch_args["url"] = abs_url
- # POST/PUT requests use body params
- fetch_args["payload"] = json.dumps(params, default=self._utf8)
- else:
- raise EasyPostError(INVALID_REQUEST_METHOD_ERROR.format(method, SUPPORT_EMAIL))
-
- try:
- from google.appengine.api import urlfetch # type: ignore
-
- result = urlfetch.fetch(**fetch_args) # type: ignore
- except Exception as e:
- raise HttpError(COMMUNICATION_ERROR.format(SUPPORT_EMAIL, e))
-
- return result.content, result.status_code, result.headers
-
- def handle_api_error(self, http_status: int, http_body: str, response: dict[str, Any]) -> None:
- """Handles API errors returned from the EasyPost API."""
- try:
- error = response["error"]
- except (KeyError, TypeError):
- raise JsonError(
- message=INVALID_RESPONSE_BODY_ERROR.format(http_status, http_body),
- http_status=http_status,
- http_body=http_body,
- )
-
- if http_status >= 300 and http_status < 400:
- raise RedirectError(message=error, http_status=http_status, http_body=http_body)
-
- error_type = STATUS_CODE_TO_ERROR_MAPPING.get(http_status, UnknownApiError)
-
- raise error_type(
- message=error.get("message", ""),
- http_status=http_status,
- http_body=http_body,
- )
-
- def _utf8(self, value: Union[str, bytes]) -> str:
- # Python3's str(bytestring) returns "b'bytestring'" so we use .decode instead
- if isinstance(value, bytes):
- return value.decode(encoding="utf-8")
- return value
-
- def encode_url_params(self, params: dict[str, Any], method: RequestMethod) -> Union[str, None]:
- """Encode params for a URL."""
- if method not in [RequestMethod.GET, RequestMethod.DELETE]:
- raise EasyPostError(INVALID_REQUEST_PARAMETERS_ERROR)
-
- converted_params = []
-
- for key, value in sorted(params.items()):
- if value is None:
- continue # Don't add Nones to the query
- elif isinstance(value, datetime.datetime):
- value = int(time.mktime(value.timetuple())) # to UTC timestamp
- converted_params.append((key, value))
-
- return urlencode(query=converted_params)
-
- def add_params_to_url(self, url: str, params: dict[str, Any], method: RequestMethod) -> str:
- """Add params to the URL."""
- if method not in [RequestMethod.GET, RequestMethod.DELETE]:
- raise EasyPostError(INVALID_REQUEST_PARAMETERS_ERROR)
-
- encoded_params = self.encode_url_params(params=params, method=method)
-
- if encoded_params:
- return "%s?%s" % (url, encoded_params)
-
- return url
diff --git a/easypost/services.html b/easypost/services.html
new file mode 100644
index 00000000..a589f687
--- /dev/null
+++ b/easypost/services.html
@@ -0,0 +1,304 @@
+
+
+
+
+
+
+ easypost.services API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/__init__.py b/easypost/services/__init__.py
deleted file mode 100644
index 61385d14..00000000
--- a/easypost/services/__init__.py
+++ /dev/null
@@ -1,32 +0,0 @@
-# flake8: noqa
-from easypost.services.address_service import AddressService
-from easypost.services.api_key_service import ApiKeyService
-from easypost.services.batch_service import BatchService
-from easypost.services.beta_rate_service import BetaRateService
-from easypost.services.beta_referral_customer_service import BetaReferralCustomerService
-from easypost.services.billing_service import BillingService
-from easypost.services.carrier_account_service import CarrierAccountService
-from easypost.services.carrier_metadata_service import CarrierMetadataService
-from easypost.services.claim_service import ClaimService
-from easypost.services.customer_portal_service import CustomerPortalService
-from easypost.services.customs_info_service import CustomsInfoService
-from easypost.services.customs_item_service import CustomsItemService
-from easypost.services.embeddable_service import EmbeddableService
-from easypost.services.end_shipper_service import EndShipperService
-from easypost.services.event_service import EventService
-from easypost.services.fedex_registration_service import FedExRegistrationService
-from easypost.services.insurance_service import InsuranceService
-from easypost.services.luma_service import LumaService
-from easypost.services.order_service import OrderService
-from easypost.services.parcel_service import ParcelService
-from easypost.services.pickup_service import PickupService
-from easypost.services.rate_service import RateService
-from easypost.services.referral_customer_service import ReferralCustomerService
-from easypost.services.refund_service import RefundService
-from easypost.services.report_service import ReportService
-from easypost.services.scan_form_service import ScanFormService
-from easypost.services.shipment_service import ShipmentService
-from easypost.services.smartrate_service import SmartRateService
-from easypost.services.tracker_service import TrackerService
-from easypost.services.user_service import UserService
-from easypost.services.webhook_service import WebhookService
diff --git a/easypost/services/address_service.html b/easypost/services/address_service.html
new file mode 100644
index 00000000..08cc7e8f
--- /dev/null
+++ b/easypost/services/address_service.html
@@ -0,0 +1,655 @@
+
+
+
+
+
+
+ easypost.services.address_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 Optional ,
+ 4 )
+ 5
+ 6 from easypost.easypost_object import convert_to_easypost_object
+ 7 from easypost.models import Address
+ 8 from easypost.requestor import (
+ 9 RequestMethod ,
+10 Requestor ,
+11 )
+12 from easypost.services.base_service import BaseService
+13
+14
+15 class AddressService ( BaseService ):
+16 def __init__ ( self , client ):
+17 self . _client = client
+18 self . _model_class = Address . __name__
+19
+20 def create (
+21 self ,
+22 verify : Optional [ bool ] = None ,
+23 verify_strict : Optional [ bool ] = None ,
+24 verify_carrier : Optional [ str ] = None ,
+25 ** params ,
+26 ) -> Address :
+27 """Create an Address."""
+28 url = self . _class_url ( self . _model_class )
+29 wrapped_params = { self . _snakecase_name ( self . _model_class ): params } # type: dict[str, Any]
+30
+31 if verify :
+32 wrapped_params [ "verify" ] = verify
+33 if verify_strict :
+34 wrapped_params [ "verify_strict" ] = verify_strict
+35 if verify_carrier :
+36 wrapped_params [ "verify_carrier" ] = verify_carrier
+37
+38 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+39
+40 return convert_to_easypost_object ( response = response )
+41
+42 def all ( self , ** params ) -> dict [ str , Any ]:
+43 """Retrieve a list of Addresses."""
+44 filters = {
+45 "key" : "addresses" ,
+46 }
+47
+48 return self . _all_resources ( self . _model_class , filters , ** params )
+49
+50 def retrieve ( self , id ) -> Address :
+51 """Retrieve an Address."""
+52 return self . _retrieve_resource ( self . _model_class , id )
+53
+54 def create_and_verify ( self , verify_carrier : Optional [ str ] = None , ** params ) -> Address :
+55 """Create and verify an Address in one call."""
+56 url = f " { self . _class_url ( 'address' ) } /create_and_verify"
+57 wrapped_params = { self . _snakecase_name ( self . _model_class ): params } # type: dict[str, Any]
+58
+59 if verify_carrier :
+60 wrapped_params [ "verify_carrier" ] = verify_carrier
+61
+62 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+63
+64 return convert_to_easypost_object ( response = response [ "address" ])
+65
+66 def verify ( self , id ) -> Address :
+67 """Verify an already created Address."""
+68 url = f " { self . _instance_url ( 'address' , id ) } /verify"
+69
+70 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url )
+71
+72 return convert_to_easypost_object ( response = response [ "address" ])
+73
+74 def get_next_page (
+75 self ,
+76 addresses : dict [ str , Any ],
+77 page_size : int ,
+78 optional_params : Optional [ dict [ str , Any ]] = None ,
+79 ) -> dict [ str , Any ]:
+80 """Retrieve the next page of the list Addresses response."""
+81 self . _check_has_next_page ( collection = addresses )
+82
+83 params = {
+84 "before_id" : addresses [ "addresses" ][ - 1 ] . id ,
+85 "page_size" : page_size ,
+86 }
+87
+88 if optional_params :
+89 params . update ( optional_params )
+90
+91 return self . all ( ** params )
+
+
+
+
+
+
+
+
+ 16 class AddressService ( BaseService ):
+17 def __init__ ( self , client ):
+18 self . _client = client
+19 self . _model_class = Address . __name__
+20
+21 def create (
+22 self ,
+23 verify : Optional [ bool ] = None ,
+24 verify_strict : Optional [ bool ] = None ,
+25 verify_carrier : Optional [ str ] = None ,
+26 ** params ,
+27 ) -> Address :
+28 """Create an Address."""
+29 url = self . _class_url ( self . _model_class )
+30 wrapped_params = { self . _snakecase_name ( self . _model_class ): params } # type: dict[str, Any]
+31
+32 if verify :
+33 wrapped_params [ "verify" ] = verify
+34 if verify_strict :
+35 wrapped_params [ "verify_strict" ] = verify_strict
+36 if verify_carrier :
+37 wrapped_params [ "verify_carrier" ] = verify_carrier
+38
+39 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+40
+41 return convert_to_easypost_object ( response = response )
+42
+43 def all ( self , ** params ) -> dict [ str , Any ]:
+44 """Retrieve a list of Addresses."""
+45 filters = {
+46 "key" : "addresses" ,
+47 }
+48
+49 return self . _all_resources ( self . _model_class , filters , ** params )
+50
+51 def retrieve ( self , id ) -> Address :
+52 """Retrieve an Address."""
+53 return self . _retrieve_resource ( self . _model_class , id )
+54
+55 def create_and_verify ( self , verify_carrier : Optional [ str ] = None , ** params ) -> Address :
+56 """Create and verify an Address in one call."""
+57 url = f " { self . _class_url ( 'address' ) } /create_and_verify"
+58 wrapped_params = { self . _snakecase_name ( self . _model_class ): params } # type: dict[str, Any]
+59
+60 if verify_carrier :
+61 wrapped_params [ "verify_carrier" ] = verify_carrier
+62
+63 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+64
+65 return convert_to_easypost_object ( response = response [ "address" ])
+66
+67 def verify ( self , id ) -> Address :
+68 """Verify an already created Address."""
+69 url = f " { self . _instance_url ( 'address' , id ) } /verify"
+70
+71 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url )
+72
+73 return convert_to_easypost_object ( response = response [ "address" ])
+74
+75 def get_next_page (
+76 self ,
+77 addresses : dict [ str , Any ],
+78 page_size : int ,
+79 optional_params : Optional [ dict [ str , Any ]] = None ,
+80 ) -> dict [ str , Any ]:
+81 """Retrieve the next page of the list Addresses response."""
+82 self . _check_has_next_page ( collection = addresses )
+83
+84 params = {
+85 "before_id" : addresses [ "addresses" ][ - 1 ] . id ,
+86 "page_size" : page_size ,
+87 }
+88
+89 if optional_params :
+90 params . update ( optional_params )
+91
+92 return self . all ( ** params )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ AddressService (client )
+
+ View Source
+
+
+
+
17 def __init__ ( self , client ):
+18 self . _client = client
+19 self . _model_class = Address . __name__
+
+
+
+
+
+
+
+
+
+
+
def
+
create ( self , verify : bool | None = None , verify_strict : bool | None = None , verify_carrier : str | None = None , ** params ) -> easypost.models.address.Address :
+
+
View Source
+
+
+
+
21 def create (
+22 self ,
+23 verify : Optional [ bool ] = None ,
+24 verify_strict : Optional [ bool ] = None ,
+25 verify_carrier : Optional [ str ] = None ,
+26 ** params ,
+27 ) -> Address :
+28 """Create an Address."""
+29 url = self . _class_url ( self . _model_class )
+30 wrapped_params = { self . _snakecase_name ( self . _model_class ): params } # type: dict[str, Any]
+31
+32 if verify :
+33 wrapped_params [ "verify" ] = verify
+34 if verify_strict :
+35 wrapped_params [ "verify_strict" ] = verify_strict
+36 if verify_carrier :
+37 wrapped_params [ "verify_carrier" ] = verify_carrier
+38
+39 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+40
+41 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
43 def all ( self , ** params ) -> dict [ str , Any ]:
+44 """Retrieve a list of Addresses."""
+45 filters = {
+46 "key" : "addresses" ,
+47 }
+48
+49 return self . _all_resources ( self . _model_class , filters , ** params )
+
+
+
+
Retrieve a list of Addresses.
+
+
+
+
+
+
+
+
+
51 def retrieve ( self , id ) -> Address :
+52 """Retrieve an Address."""
+53 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
+
55 def create_and_verify ( self , verify_carrier : Optional [ str ] = None , ** params ) -> Address :
+56 """Create and verify an Address in one call."""
+57 url = f " { self . _class_url ( 'address' ) } /create_and_verify"
+58 wrapped_params = { self . _snakecase_name ( self . _model_class ): params } # type: dict[str, Any]
+59
+60 if verify_carrier :
+61 wrapped_params [ "verify_carrier" ] = verify_carrier
+62
+63 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+64
+65 return convert_to_easypost_object ( response = response [ "address" ])
+
+
+
+
Create and verify an Address in one call.
+
+
+
+
+
+
+
+
+
67 def verify ( self , id ) -> Address :
+68 """Verify an already created Address."""
+69 url = f " { self . _instance_url ( 'address' , id ) } /verify"
+70
+71 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url )
+72
+73 return convert_to_easypost_object ( response = response [ "address" ])
+
+
+
+
Verify an already created Address.
+
+
+
+
+
+
+
+
+ def
+ get_next_page ( self , addresses : dict [ str , typing . Any ] , page_size : int , optional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
75 def get_next_page (
+76 self ,
+77 addresses : dict [ str , Any ],
+78 page_size : int ,
+79 optional_params : Optional [ dict [ str , Any ]] = None ,
+80 ) -> dict [ str , Any ]:
+81 """Retrieve the next page of the list Addresses response."""
+82 self . _check_has_next_page ( collection = addresses )
+83
+84 params = {
+85 "before_id" : addresses [ "addresses" ][ - 1 ] . id ,
+86 "page_size" : page_size ,
+87 }
+88
+89 if optional_params :
+90 params . update ( optional_params )
+91
+92 return self . all ( ** params )
+
+
+
+
Retrieve the next page of the list Addresses response.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/address_service.py b/easypost/services/address_service.py
deleted file mode 100644
index bea69baa..00000000
--- a/easypost/services/address_service.py
+++ /dev/null
@@ -1,91 +0,0 @@
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import Address
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class AddressService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Address.__name__
-
- def create(
- self,
- verify: Optional[bool] = None,
- verify_strict: Optional[bool] = None,
- verify_carrier: Optional[str] = None,
- **params,
- ) -> Address:
- """Create an Address."""
- url = self._class_url(self._model_class)
- wrapped_params = {self._snakecase_name(self._model_class): params} # type: dict[str, Any]
-
- if verify:
- wrapped_params["verify"] = verify
- if verify_strict:
- wrapped_params["verify_strict"] = verify_strict
- if verify_carrier:
- wrapped_params["verify_carrier"] = verify_carrier
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=wrapped_params)
-
- return convert_to_easypost_object(response=response)
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of Addresses."""
- filters = {
- "key": "addresses",
- }
-
- return self._all_resources(self._model_class, filters, **params)
-
- def retrieve(self, id) -> Address:
- """Retrieve an Address."""
- return self._retrieve_resource(self._model_class, id)
-
- def create_and_verify(self, verify_carrier: Optional[str] = None, **params) -> Address:
- """Create and verify an Address in one call."""
- url = f"{self._class_url('address')}/create_and_verify"
- wrapped_params = {self._snakecase_name(self._model_class): params} # type: dict[str, Any]
-
- if verify_carrier:
- wrapped_params["verify_carrier"] = verify_carrier
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=wrapped_params)
-
- return convert_to_easypost_object(response=response["address"])
-
- def verify(self, id) -> Address:
- """Verify an already created Address."""
- url = f"{self._instance_url('address', id)}/verify"
-
- response = Requestor(self._client).request(method=RequestMethod.GET, url=url)
-
- return convert_to_easypost_object(response=response["address"])
-
- def get_next_page(
- self,
- addresses: dict[str, Any],
- page_size: int,
- optional_params: Optional[dict[str, Any]] = None,
- ) -> dict[str, Any]:
- """Retrieve the next page of the list Addresses response."""
- self._check_has_next_page(collection=addresses)
-
- params = {
- "before_id": addresses["addresses"][-1].id,
- "page_size": page_size,
- }
-
- if optional_params:
- params.update(optional_params)
-
- return self.all(**params)
diff --git a/easypost/services/api_key_service.html b/easypost/services/api_key_service.html
new file mode 100644
index 00000000..bd38e809
--- /dev/null
+++ b/easypost/services/api_key_service.html
@@ -0,0 +1,591 @@
+
+
+
+
+
+
+ easypost.services.api_key_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import Any
+ 2
+ 3 from easypost.constant import NO_USER_FOUND
+ 4 from easypost.easypost_object import convert_to_easypost_object
+ 5 from easypost.errors import FilteringError
+ 6 from easypost.models import ApiKey
+ 7 from easypost.requestor import RequestMethod , Requestor
+ 8 from easypost.services.base_service import BaseService
+ 9
+10
+11 class ApiKeyService ( BaseService ):
+12 def __init__ ( self , client ):
+13 self . _client = client
+14 self . _model_class = ApiKey . __name__
+15
+16 def retrieve_api_keys_for_user ( self , id : str ) -> list [ ApiKey ]:
+17 """Retrieve a list of API keys (works for the authenticated User or a child User)."""
+18 api_keys = self . all ()
+19
+20 if api_keys [ "id" ] == id :
+21 # This function was called on the authenticated user
+22 return api_keys [ "keys" ]
+23
+24 # This function was called on a child user (authenticated as parent, only return
+25 # this child user's details).
+26 for child in api_keys [ "children" ]:
+27 if child . id == id :
+28 return child . keys
+29
+30 raise FilteringError ( message = NO_USER_FOUND )
+31
+32 def all ( self ) -> dict [ str , Any ]:
+33 """Retrieve a list of all API keys."""
+34 url = "/api_keys"
+35
+36 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url )
+37
+38 return convert_to_easypost_object ( response = response )
+39
+40 def create ( self , mode : str ) -> ApiKey :
+41 """Create an API key for a child or referral customer user."""
+42 url = "/api_keys"
+43 params = { "mode" : mode }
+44
+45 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+46
+47 return convert_to_easypost_object ( response = response )
+48
+49 def delete ( self , id : str ) -> None :
+50 """Delete an API key for a child or referral customer user."""
+51 self . _delete_resource ( self . _model_class , id )
+52
+53 def enable ( self , id : str ) -> ApiKey :
+54 """Enable a child or referral customer API key."""
+55 url = f "/api_keys/ { id } /enable"
+56
+57 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url )
+58
+59 return convert_to_easypost_object ( response = response )
+60
+61 def disable ( self , id : str ) -> ApiKey :
+62 """Disable a child or referral customer API key."""
+63 url = f "/api_keys/ { id } /disable"
+64
+65 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url )
+66
+67 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+ 12 class ApiKeyService ( BaseService ):
+13 def __init__ ( self , client ):
+14 self . _client = client
+15 self . _model_class = ApiKey . __name__
+16
+17 def retrieve_api_keys_for_user ( self , id : str ) -> list [ ApiKey ]:
+18 """Retrieve a list of API keys (works for the authenticated User or a child User)."""
+19 api_keys = self . all ()
+20
+21 if api_keys [ "id" ] == id :
+22 # This function was called on the authenticated user
+23 return api_keys [ "keys" ]
+24
+25 # This function was called on a child user (authenticated as parent, only return
+26 # this child user's details).
+27 for child in api_keys [ "children" ]:
+28 if child . id == id :
+29 return child . keys
+30
+31 raise FilteringError ( message = NO_USER_FOUND )
+32
+33 def all ( self ) -> dict [ str , Any ]:
+34 """Retrieve a list of all API keys."""
+35 url = "/api_keys"
+36
+37 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url )
+38
+39 return convert_to_easypost_object ( response = response )
+40
+41 def create ( self , mode : str ) -> ApiKey :
+42 """Create an API key for a child or referral customer user."""
+43 url = "/api_keys"
+44 params = { "mode" : mode }
+45
+46 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+47
+48 return convert_to_easypost_object ( response = response )
+49
+50 def delete ( self , id : str ) -> None :
+51 """Delete an API key for a child or referral customer user."""
+52 self . _delete_resource ( self . _model_class , id )
+53
+54 def enable ( self , id : str ) -> ApiKey :
+55 """Enable a child or referral customer API key."""
+56 url = f "/api_keys/ { id } /enable"
+57
+58 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url )
+59
+60 return convert_to_easypost_object ( response = response )
+61
+62 def disable ( self , id : str ) -> ApiKey :
+63 """Disable a child or referral customer API key."""
+64 url = f "/api_keys/ { id } /disable"
+65
+66 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url )
+67
+68 return convert_to_easypost_object ( response = response )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ ApiKeyService (client )
+
+ View Source
+
+
+
+
13 def __init__ ( self , client ):
+14 self . _client = client
+15 self . _model_class = ApiKey . __name__
+
+
+
+
+
+
+
+
+
+
+
17 def retrieve_api_keys_for_user ( self , id : str ) -> list [ ApiKey ]:
+18 """Retrieve a list of API keys (works for the authenticated User or a child User)."""
+19 api_keys = self . all ()
+20
+21 if api_keys [ "id" ] == id :
+22 # This function was called on the authenticated user
+23 return api_keys [ "keys" ]
+24
+25 # This function was called on a child user (authenticated as parent, only return
+26 # this child user's details).
+27 for child in api_keys [ "children" ]:
+28 if child . id == id :
+29 return child . keys
+30
+31 raise FilteringError ( message = NO_USER_FOUND )
+
+
+
+
Retrieve a list of API keys (works for the authenticated User or a child User).
+
+
+
+
+
+
+
+
+ def
+ all (self ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
33 def all ( self ) -> dict [ str , Any ]:
+34 """Retrieve a list of all API keys."""
+35 url = "/api_keys"
+36
+37 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url )
+38
+39 return convert_to_easypost_object ( response = response )
+
+
+
+
Retrieve a list of all API keys.
+
+
+
+
+
+
+
+
+
41 def create ( self , mode : str ) -> ApiKey :
+42 """Create an API key for a child or referral customer user."""
+43 url = "/api_keys"
+44 params = { "mode" : mode }
+45
+46 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+47
+48 return convert_to_easypost_object ( response = response )
+
+
+
+
Create an API key for a child or referral customer user.
+
+
+
+
+
+
+
+
+ def
+ delete (self , id : str ) -> None :
+
+ View Source
+
+
+
+
50 def delete ( self , id : str ) -> None :
+51 """Delete an API key for a child or referral customer user."""
+52 self . _delete_resource ( self . _model_class , id )
+
+
+
+
Delete an API key for a child or referral customer user.
+
+
+
+
+
+
+
+
+
54 def enable ( self , id : str ) -> ApiKey :
+55 """Enable a child or referral customer API key."""
+56 url = f "/api_keys/ { id } /enable"
+57
+58 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url )
+59
+60 return convert_to_easypost_object ( response = response )
+
+
+
+
Enable a child or referral customer API key.
+
+
+
+
+
+
+
+
+
62 def disable ( self , id : str ) -> ApiKey :
+63 """Disable a child or referral customer API key."""
+64 url = f "/api_keys/ { id } /disable"
+65
+66 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url )
+67
+68 return convert_to_easypost_object ( response = response )
+
+
+
+
Disable a child or referral customer API key.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/api_key_service.py b/easypost/services/api_key_service.py
deleted file mode 100644
index f59247d2..00000000
--- a/easypost/services/api_key_service.py
+++ /dev/null
@@ -1,67 +0,0 @@
-from typing import Any
-
-from easypost.constant import NO_USER_FOUND
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.errors import FilteringError
-from easypost.models import ApiKey
-from easypost.requestor import RequestMethod, Requestor
-from easypost.services.base_service import BaseService
-
-
-class ApiKeyService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = ApiKey.__name__
-
- def retrieve_api_keys_for_user(self, id: str) -> list[ApiKey]:
- """Retrieve a list of API keys (works for the authenticated User or a child User)."""
- api_keys = self.all()
-
- if api_keys["id"] == id:
- # This function was called on the authenticated user
- return api_keys["keys"]
-
- # This function was called on a child user (authenticated as parent, only return
- # this child user's details).
- for child in api_keys["children"]:
- if child.id == id:
- return child.keys
-
- raise FilteringError(message=NO_USER_FOUND)
-
- def all(self) -> dict[str, Any]:
- """Retrieve a list of all API keys."""
- url = "/api_keys"
-
- response = Requestor(self._client).request(method=RequestMethod.GET, url=url)
-
- return convert_to_easypost_object(response=response)
-
- def create(self, mode: str) -> ApiKey:
- """Create an API key for a child or referral customer user."""
- url = "/api_keys"
- params = {"mode": mode}
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def delete(self, id: str) -> None:
- """Delete an API key for a child or referral customer user."""
- self._delete_resource(self._model_class, id)
-
- def enable(self, id: str) -> ApiKey:
- """Enable a child or referral customer API key."""
- url = f"/api_keys/{id}/enable"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url)
-
- return convert_to_easypost_object(response=response)
-
- def disable(self, id: str) -> ApiKey:
- """Disable a child or referral customer API key."""
- url = f"/api_keys/{id}/disable"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url)
-
- return convert_to_easypost_object(response=response)
diff --git a/easypost/services/base_service.html b/easypost/services/base_service.html
new file mode 100644
index 00000000..c0b4d918
--- /dev/null
+++ b/easypost/services/base_service.html
@@ -0,0 +1,471 @@
+
+
+
+
+
+
+ easypost.services.base_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 import re
+ 2 from typing import (
+ 3 Any ,
+ 4 Optional ,
+ 5 )
+ 6
+ 7 from easypost.constant import (
+ 8 _FILTERS_KEY ,
+ 9 NO_MORE_PAGES_ERROR ,
+ 10 )
+ 11 from easypost.easypost_object import convert_to_easypost_object
+ 12 from easypost.errors import EndOfPaginationError
+ 13 from easypost.requestor import (
+ 14 RequestMethod ,
+ 15 Requestor ,
+ 16 )
+ 17
+ 18
+ 19 class BaseService :
+ 20 """The base service that all other services inherit containing shared logic."""
+ 21
+ 22 def __init__ ( self , client ):
+ 23 self . _client = client
+ 24
+ 25 def _snakecase_name ( self , class_name : str ) -> str :
+ 26 """Return the class name as snake_case."""
+ 27 return re . sub ( r "(?<!^)(?=[A-Z])" , "_" , class_name ) . lower ()
+ 28
+ 29 def _class_url ( self , class_name : str ) -> str :
+ 30 """Generate a URL based on class name."""
+ 31 transformed_class_name = self . _snakecase_name ( class_name )
+ 32 if transformed_class_name [ - 1 :] in ( "s" , "h" ):
+ 33 return f "/ { transformed_class_name } es"
+ 34 else :
+ 35 return f "/ { transformed_class_name } s"
+ 36
+ 37 def _instance_url ( self , class_name : str , id : str ) -> str :
+ 38 """Generate an instance URL based on a class name and ID."""
+ 39 return f " { self . _class_url ( class_name ) } / { id } "
+ 40
+ 41 def _create_resource ( self , class_name : str , beta : bool = False , ** params ) -> Any :
+ 42 """Create an EasyPost object via the EasyPost API."""
+ 43 url = self . _class_url ( class_name )
+ 44 wrapped_params = { self . _snakecase_name ( class_name ): params }
+ 45
+ 46 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params , beta = beta )
+ 47
+ 48 return convert_to_easypost_object ( response = response )
+ 49
+ 50 def _all_resources (
+ 51 self ,
+ 52 class_name : str ,
+ 53 filters : Optional [ dict [ str , Any ]] = None ,
+ 54 beta : bool = False ,
+ 55 ** params ,
+ 56 ) -> Any :
+ 57 """Retrieve a list of EasyPostObjects from the EasyPost API."""
+ 58 url = self . _class_url ( class_name )
+ 59 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params , beta = beta )
+ 60
+ 61 if filters : # presence of filters indicates we are dealing with a paginated response
+ 62 response [ _FILTERS_KEY ] = filters # Save the filters used to reference in potential get_next_page call
+ 63
+ 64 return convert_to_easypost_object ( response = response )
+ 65
+ 66 def _retrieve_resource ( self , class_name : str , id : str , beta : bool = False ) -> Any :
+ 67 """Retrieve an object from the EasyPost API."""
+ 68 url = self . _instance_url ( class_name , id )
+ 69
+ 70 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , beta = beta )
+ 71
+ 72 return convert_to_easypost_object ( response = response )
+ 73
+ 74 def _update_resource (
+ 75 self ,
+ 76 class_name : str ,
+ 77 id : str ,
+ 78 method : RequestMethod = RequestMethod . PATCH ,
+ 79 beta : bool = False ,
+ 80 ** params ,
+ 81 ) -> Any :
+ 82 """Update an EasyPost object via the EasyPost API."""
+ 83 url = self . _instance_url ( class_name , id )
+ 84 wrapped_params = { self . _snakecase_name ( class_name ): params }
+ 85
+ 86 response = Requestor ( self . _client ) . request ( method = method , url = url , params = wrapped_params , beta = beta )
+ 87
+ 88 return convert_to_easypost_object ( response = response )
+ 89
+ 90 def _delete_resource ( self , class_name : str , id : str , beta : bool = False ) -> Any :
+ 91 """Delete an EasyPost object via the EasyPost API."""
+ 92 url = self . _instance_url ( class_name , id )
+ 93
+ 94 response = Requestor ( self . _client ) . request ( method = RequestMethod . DELETE , url = url , beta = beta )
+ 95
+ 96 return convert_to_easypost_object ( response = response )
+ 97
+ 98 def _check_has_next_page ( self , collection : dict [ str , Any ]) -> None :
+ 99 """Raise exception if there is no next page of a collection."""
+100 if not collection . get ( "has_more" , False ):
+101 raise EndOfPaginationError ( NO_MORE_PAGES_ERROR )
+
+
+
+
+
+
+
+
+ class
+ BaseService :
+
+ View Source
+
+
+
+ 20 class BaseService :
+ 21 """The base service that all other services inherit containing shared logic."""
+ 22
+ 23 def __init__ ( self , client ):
+ 24 self . _client = client
+ 25
+ 26 def _snakecase_name ( self , class_name : str ) -> str :
+ 27 """Return the class name as snake_case."""
+ 28 return re . sub ( r "(?<!^)(?=[A-Z])" , "_" , class_name ) . lower ()
+ 29
+ 30 def _class_url ( self , class_name : str ) -> str :
+ 31 """Generate a URL based on class name."""
+ 32 transformed_class_name = self . _snakecase_name ( class_name )
+ 33 if transformed_class_name [ - 1 :] in ( "s" , "h" ):
+ 34 return f "/ { transformed_class_name } es"
+ 35 else :
+ 36 return f "/ { transformed_class_name } s"
+ 37
+ 38 def _instance_url ( self , class_name : str , id : str ) -> str :
+ 39 """Generate an instance URL based on a class name and ID."""
+ 40 return f " { self . _class_url ( class_name ) } / { id } "
+ 41
+ 42 def _create_resource ( self , class_name : str , beta : bool = False , ** params ) -> Any :
+ 43 """Create an EasyPost object via the EasyPost API."""
+ 44 url = self . _class_url ( class_name )
+ 45 wrapped_params = { self . _snakecase_name ( class_name ): params }
+ 46
+ 47 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params , beta = beta )
+ 48
+ 49 return convert_to_easypost_object ( response = response )
+ 50
+ 51 def _all_resources (
+ 52 self ,
+ 53 class_name : str ,
+ 54 filters : Optional [ dict [ str , Any ]] = None ,
+ 55 beta : bool = False ,
+ 56 ** params ,
+ 57 ) -> Any :
+ 58 """Retrieve a list of EasyPostObjects from the EasyPost API."""
+ 59 url = self . _class_url ( class_name )
+ 60 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params , beta = beta )
+ 61
+ 62 if filters : # presence of filters indicates we are dealing with a paginated response
+ 63 response [ _FILTERS_KEY ] = filters # Save the filters used to reference in potential get_next_page call
+ 64
+ 65 return convert_to_easypost_object ( response = response )
+ 66
+ 67 def _retrieve_resource ( self , class_name : str , id : str , beta : bool = False ) -> Any :
+ 68 """Retrieve an object from the EasyPost API."""
+ 69 url = self . _instance_url ( class_name , id )
+ 70
+ 71 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , beta = beta )
+ 72
+ 73 return convert_to_easypost_object ( response = response )
+ 74
+ 75 def _update_resource (
+ 76 self ,
+ 77 class_name : str ,
+ 78 id : str ,
+ 79 method : RequestMethod = RequestMethod . PATCH ,
+ 80 beta : bool = False ,
+ 81 ** params ,
+ 82 ) -> Any :
+ 83 """Update an EasyPost object via the EasyPost API."""
+ 84 url = self . _instance_url ( class_name , id )
+ 85 wrapped_params = { self . _snakecase_name ( class_name ): params }
+ 86
+ 87 response = Requestor ( self . _client ) . request ( method = method , url = url , params = wrapped_params , beta = beta )
+ 88
+ 89 return convert_to_easypost_object ( response = response )
+ 90
+ 91 def _delete_resource ( self , class_name : str , id : str , beta : bool = False ) -> Any :
+ 92 """Delete an EasyPost object via the EasyPost API."""
+ 93 url = self . _instance_url ( class_name , id )
+ 94
+ 95 response = Requestor ( self . _client ) . request ( method = RequestMethod . DELETE , url = url , beta = beta )
+ 96
+ 97 return convert_to_easypost_object ( response = response )
+ 98
+ 99 def _check_has_next_page ( self , collection : dict [ str , Any ]) -> None :
+100 """Raise exception if there is no next page of a collection."""
+101 if not collection . get ( "has_more" , False ):
+102 raise EndOfPaginationError ( NO_MORE_PAGES_ERROR )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ BaseService (client )
+
+ View Source
+
+
+
+
23 def __init__ ( self , client ):
+24 self . _client = client
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/base_service.py b/easypost/services/base_service.py
deleted file mode 100644
index 7dc643e0..00000000
--- a/easypost/services/base_service.py
+++ /dev/null
@@ -1,101 +0,0 @@
-import re
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.constant import (
- _FILTERS_KEY,
- NO_MORE_PAGES_ERROR,
-)
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.errors import EndOfPaginationError
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-
-
-class BaseService:
- """The base service that all other services inherit containing shared logic."""
-
- def __init__(self, client):
- self._client = client
-
- def _snakecase_name(self, class_name: str) -> str:
- """Return the class name as snake_case."""
- return re.sub(r"(? str:
- """Generate a URL based on class name."""
- transformed_class_name = self._snakecase_name(class_name)
- if transformed_class_name[-1:] in ("s", "h"):
- return f"/{transformed_class_name}es"
- else:
- return f"/{transformed_class_name}s"
-
- def _instance_url(self, class_name: str, id: str) -> str:
- """Generate an instance URL based on a class name and ID."""
- return f"{self._class_url(class_name)}/{id}"
-
- def _create_resource(self, class_name: str, beta: bool = False, **params) -> Any:
- """Create an EasyPost object via the EasyPost API."""
- url = self._class_url(class_name)
- wrapped_params = {self._snakecase_name(class_name): params}
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=wrapped_params, beta=beta)
-
- return convert_to_easypost_object(response=response)
-
- def _all_resources(
- self,
- class_name: str,
- filters: Optional[dict[str, Any]] = None,
- beta: bool = False,
- **params,
- ) -> Any:
- """Retrieve a list of EasyPostObjects from the EasyPost API."""
- url = self._class_url(class_name)
- response = Requestor(self._client).request(method=RequestMethod.GET, url=url, params=params, beta=beta)
-
- if filters: # presence of filters indicates we are dealing with a paginated response
- response[_FILTERS_KEY] = filters # Save the filters used to reference in potential get_next_page call
-
- return convert_to_easypost_object(response=response)
-
- def _retrieve_resource(self, class_name: str, id: str, beta: bool = False) -> Any:
- """Retrieve an object from the EasyPost API."""
- url = self._instance_url(class_name, id)
-
- response = Requestor(self._client).request(method=RequestMethod.GET, url=url, beta=beta)
-
- return convert_to_easypost_object(response=response)
-
- def _update_resource(
- self,
- class_name: str,
- id: str,
- method: RequestMethod = RequestMethod.PATCH,
- beta: bool = False,
- **params,
- ) -> Any:
- """Update an EasyPost object via the EasyPost API."""
- url = self._instance_url(class_name, id)
- wrapped_params = {self._snakecase_name(class_name): params}
-
- response = Requestor(self._client).request(method=method, url=url, params=wrapped_params, beta=beta)
-
- return convert_to_easypost_object(response=response)
-
- def _delete_resource(self, class_name: str, id: str, beta: bool = False) -> Any:
- """Delete an EasyPost object via the EasyPost API."""
- url = self._instance_url(class_name, id)
-
- response = Requestor(self._client).request(method=RequestMethod.DELETE, url=url, beta=beta)
-
- return convert_to_easypost_object(response=response)
-
- def _check_has_next_page(self, collection: dict[str, Any]) -> None:
- """Raise exception if there is no next page of a collection."""
- if not collection.get("has_more", False):
- raise EndOfPaginationError(NO_MORE_PAGES_ERROR)
diff --git a/easypost/services/batch_service.html b/easypost/services/batch_service.html
new file mode 100644
index 00000000..4ef216f9
--- /dev/null
+++ b/easypost/services/batch_service.html
@@ -0,0 +1,745 @@
+
+
+
+
+
+
+ easypost.services.batch_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 Optional ,
+ 4 )
+ 5
+ 6 from easypost.easypost_object import convert_to_easypost_object
+ 7 from easypost.models import Batch
+ 8 from easypost.requestor import (
+ 9 RequestMethod ,
+10 Requestor ,
+11 )
+12 from easypost.services.base_service import BaseService
+13
+14
+15 class BatchService ( BaseService ):
+16 def __init__ ( self , client ):
+17 self . _client = client
+18 self . _model_class = Batch . __name__
+19
+20 def create ( self , ** params ) -> Batch :
+21 """Create a Batch."""
+22 return self . _create_resource ( self . _model_class , ** params )
+23
+24 def all ( self , ** params ) -> dict [ str , Any ]:
+25 """Retrieve a list of Batches."""
+26 filters = {
+27 "key" : "batches" ,
+28 }
+29
+30 return self . _all_resources ( self . _model_class , filters , ** params )
+31
+32 def retrieve ( self , id : str ) -> Batch :
+33 """Retrieve a Batch."""
+34 return self . _retrieve_resource ( self . _model_class , id )
+35
+36 def buy ( self , id : str , ** params ) -> Batch :
+37 """Buy a Batch."""
+38 url = f " { self . _instance_url ( self . _model_class , id ) } /buy"
+39
+40 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+41
+42 return convert_to_easypost_object ( response = response )
+43
+44 def label ( self , id : str , ** params ) -> Batch :
+45 """Create a Batch label."""
+46 url = f " { self . _instance_url ( self . _model_class , id ) } /label"
+47
+48 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+49
+50 return convert_to_easypost_object ( response = response )
+51
+52 def remove_shipments ( self , id : str , ** params ) -> Batch :
+53 """Remove Shipments from a Batch."""
+54 url = f " { self . _instance_url ( self . _model_class , id ) } /remove_shipments"
+55
+56 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+57
+58 return convert_to_easypost_object ( response = response )
+59
+60 def add_shipments ( self , id : str , ** params ) -> Batch :
+61 """Add Shipments to a Batch."""
+62 url = f " { self . _instance_url ( self . _model_class , id ) } /add_shipments"
+63
+64 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+65
+66 return convert_to_easypost_object ( response = response )
+67
+68 def create_scan_form ( self , id : str , ** params ) -> Batch :
+69 """Create a ScanForm for a Batch."""
+70 url = f " { self . _instance_url ( self . _model_class , id ) } /scan_form"
+71
+72 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+73
+74 return convert_to_easypost_object ( response = response )
+75
+76 def get_next_page (
+77 self ,
+78 batches : dict [ str , Any ],
+79 page_size : int ,
+80 optional_params : Optional [ dict [ str , Any ]] = None ,
+81 ) -> dict [ str , Any ]:
+82 """
+83 Retrieve the next page of the list Batch response.
+84
+85 NOTE: This function has known issues with retrieving pages in order due to server-side issues.
+86 It is not recommended to be used currently.
+87 """
+88 # API doesn't return batches newest to oldest, so these parameters don't work as expected
+89 self . _check_has_next_page ( collection = batches )
+90
+91 params = {
+92 "before_id" : batches [ "batches" ][ - 1 ] . id ,
+93 "page_size" : page_size ,
+94 }
+95
+96 if optional_params :
+97 params . update ( optional_params )
+98
+99 return self . all ( ** params )
+
+
+
+
+
+
+
+
+ 16 class BatchService ( BaseService ):
+ 17 def __init__ ( self , client ):
+ 18 self . _client = client
+ 19 self . _model_class = Batch . __name__
+ 20
+ 21 def create ( self , ** params ) -> Batch :
+ 22 """Create a Batch."""
+ 23 return self . _create_resource ( self . _model_class , ** params )
+ 24
+ 25 def all ( self , ** params ) -> dict [ str , Any ]:
+ 26 """Retrieve a list of Batches."""
+ 27 filters = {
+ 28 "key" : "batches" ,
+ 29 }
+ 30
+ 31 return self . _all_resources ( self . _model_class , filters , ** params )
+ 32
+ 33 def retrieve ( self , id : str ) -> Batch :
+ 34 """Retrieve a Batch."""
+ 35 return self . _retrieve_resource ( self . _model_class , id )
+ 36
+ 37 def buy ( self , id : str , ** params ) -> Batch :
+ 38 """Buy a Batch."""
+ 39 url = f " { self . _instance_url ( self . _model_class , id ) } /buy"
+ 40
+ 41 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+ 42
+ 43 return convert_to_easypost_object ( response = response )
+ 44
+ 45 def label ( self , id : str , ** params ) -> Batch :
+ 46 """Create a Batch label."""
+ 47 url = f " { self . _instance_url ( self . _model_class , id ) } /label"
+ 48
+ 49 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+ 50
+ 51 return convert_to_easypost_object ( response = response )
+ 52
+ 53 def remove_shipments ( self , id : str , ** params ) -> Batch :
+ 54 """Remove Shipments from a Batch."""
+ 55 url = f " { self . _instance_url ( self . _model_class , id ) } /remove_shipments"
+ 56
+ 57 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+ 58
+ 59 return convert_to_easypost_object ( response = response )
+ 60
+ 61 def add_shipments ( self , id : str , ** params ) -> Batch :
+ 62 """Add Shipments to a Batch."""
+ 63 url = f " { self . _instance_url ( self . _model_class , id ) } /add_shipments"
+ 64
+ 65 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+ 66
+ 67 return convert_to_easypost_object ( response = response )
+ 68
+ 69 def create_scan_form ( self , id : str , ** params ) -> Batch :
+ 70 """Create a ScanForm for a Batch."""
+ 71 url = f " { self . _instance_url ( self . _model_class , id ) } /scan_form"
+ 72
+ 73 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+ 74
+ 75 return convert_to_easypost_object ( response = response )
+ 76
+ 77 def get_next_page (
+ 78 self ,
+ 79 batches : dict [ str , Any ],
+ 80 page_size : int ,
+ 81 optional_params : Optional [ dict [ str , Any ]] = None ,
+ 82 ) -> dict [ str , Any ]:
+ 83 """
+ 84 Retrieve the next page of the list Batch response.
+ 85
+ 86 NOTE: This function has known issues with retrieving pages in order due to server-side issues.
+ 87 It is not recommended to be used currently.
+ 88 """
+ 89 # API doesn't return batches newest to oldest, so these parameters don't work as expected
+ 90 self . _check_has_next_page ( collection = batches )
+ 91
+ 92 params = {
+ 93 "before_id" : batches [ "batches" ][ - 1 ] . id ,
+ 94 "page_size" : page_size ,
+ 95 }
+ 96
+ 97 if optional_params :
+ 98 params . update ( optional_params )
+ 99
+100 return self . all ( ** params )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ BatchService (client )
+
+ View Source
+
+
+
+
17 def __init__ ( self , client ):
+18 self . _client = client
+19 self . _model_class = Batch . __name__
+
+
+
+
+
+
+
+
+
+
+
21 def create ( self , ** params ) -> Batch :
+22 """Create a Batch."""
+23 return self . _create_resource ( self . _model_class , ** params )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
25 def all ( self , ** params ) -> dict [ str , Any ]:
+26 """Retrieve a list of Batches."""
+27 filters = {
+28 "key" : "batches" ,
+29 }
+30
+31 return self . _all_resources ( self . _model_class , filters , ** params )
+
+
+
+
Retrieve a list of Batches.
+
+
+
+
+
+
+
+
+
33 def retrieve ( self , id : str ) -> Batch :
+34 """Retrieve a Batch."""
+35 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
+
37 def buy ( self , id : str , ** params ) -> Batch :
+38 """Buy a Batch."""
+39 url = f " { self . _instance_url ( self . _model_class , id ) } /buy"
+40
+41 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+42
+43 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
+
45 def label ( self , id : str , ** params ) -> Batch :
+46 """Create a Batch label."""
+47 url = f " { self . _instance_url ( self . _model_class , id ) } /label"
+48
+49 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+50
+51 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
+
53 def remove_shipments ( self , id : str , ** params ) -> Batch :
+54 """Remove Shipments from a Batch."""
+55 url = f " { self . _instance_url ( self . _model_class , id ) } /remove_shipments"
+56
+57 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+58
+59 return convert_to_easypost_object ( response = response )
+
+
+
+
Remove Shipments from a Batch.
+
+
+
+
+
+
+
+
+
61 def add_shipments ( self , id : str , ** params ) -> Batch :
+62 """Add Shipments to a Batch."""
+63 url = f " { self . _instance_url ( self . _model_class , id ) } /add_shipments"
+64
+65 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+66
+67 return convert_to_easypost_object ( response = response )
+
+
+
+
Add Shipments to a Batch.
+
+
+
+
+
+
+
+
+
+ def
+ get_next_page ( self , batches : dict [ str , typing . Any ] , page_size : int , optional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
77 def get_next_page (
+ 78 self ,
+ 79 batches : dict [ str , Any ],
+ 80 page_size : int ,
+ 81 optional_params : Optional [ dict [ str , Any ]] = None ,
+ 82 ) -> dict [ str , Any ]:
+ 83 """
+ 84 Retrieve the next page of the list Batch response.
+ 85
+ 86 NOTE: This function has known issues with retrieving pages in order due to server-side issues.
+ 87 It is not recommended to be used currently.
+ 88 """
+ 89 # API doesn't return batches newest to oldest, so these parameters don't work as expected
+ 90 self . _check_has_next_page ( collection = batches )
+ 91
+ 92 params = {
+ 93 "before_id" : batches [ "batches" ][ - 1 ] . id ,
+ 94 "page_size" : page_size ,
+ 95 }
+ 96
+ 97 if optional_params :
+ 98 params . update ( optional_params )
+ 99
+100 return self . all ( ** params )
+
+
+
+
Retrieve the next page of the list Batch response.
+
+
NOTE: This function has known issues with retrieving pages in order due to server-side issues.
+It is not recommended to be used currently.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/batch_service.py b/easypost/services/batch_service.py
deleted file mode 100644
index 4352f617..00000000
--- a/easypost/services/batch_service.py
+++ /dev/null
@@ -1,99 +0,0 @@
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import Batch
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class BatchService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Batch.__name__
-
- def create(self, **params) -> Batch:
- """Create a Batch."""
- return self._create_resource(self._model_class, **params)
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of Batches."""
- filters = {
- "key": "batches",
- }
-
- return self._all_resources(self._model_class, filters, **params)
-
- def retrieve(self, id: str) -> Batch:
- """Retrieve a Batch."""
- return self._retrieve_resource(self._model_class, id)
-
- def buy(self, id: str, **params) -> Batch:
- """Buy a Batch."""
- url = f"{self._instance_url(self._model_class, id)}/buy"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def label(self, id: str, **params) -> Batch:
- """Create a Batch label."""
- url = f"{self._instance_url(self._model_class, id)}/label"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def remove_shipments(self, id: str, **params) -> Batch:
- """Remove Shipments from a Batch."""
- url = f"{self._instance_url(self._model_class, id)}/remove_shipments"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def add_shipments(self, id: str, **params) -> Batch:
- """Add Shipments to a Batch."""
- url = f"{self._instance_url(self._model_class, id)}/add_shipments"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def create_scan_form(self, id: str, **params) -> Batch:
- """Create a ScanForm for a Batch."""
- url = f"{self._instance_url(self._model_class, id)}/scan_form"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def get_next_page(
- self,
- batches: dict[str, Any],
- page_size: int,
- optional_params: Optional[dict[str, Any]] = None,
- ) -> dict[str, Any]:
- """
- Retrieve the next page of the list Batch response.
-
- NOTE: This function has known issues with retrieving pages in order due to server-side issues.
- It is not recommended to be used currently.
- """
- # API doesn't return batches newest to oldest, so these parameters don't work as expected
- self._check_has_next_page(collection=batches)
-
- params = {
- "before_id": batches["batches"][-1].id,
- "page_size": page_size,
- }
-
- if optional_params:
- params.update(optional_params)
-
- return self.all(**params)
diff --git a/easypost/services/beta_rate_service.html b/easypost/services/beta_rate_service.html
new file mode 100644
index 00000000..d3913c3f
--- /dev/null
+++ b/easypost/services/beta_rate_service.html
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+ easypost.services.beta_rate_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 )
+ 4
+ 5 from easypost.easypost_object import convert_to_easypost_object
+ 6 from easypost.models import Rate
+ 7 from easypost.requestor import (
+ 8 RequestMethod ,
+ 9 Requestor ,
+10 )
+11 from easypost.services.base_service import BaseService
+12
+13
+14 class BetaRateService ( BaseService ):
+15 def __init__ ( self , client ):
+16 self . _client = client
+17 self . _model_class = Rate . __name__
+18
+19 def retrieve_stateless_rates ( self , ** params ) -> dict [ str , Any ]:
+20 """Retrieves stateless rates by passing shipment data."""
+21 url = self . _class_url ( self . _model_class )
+22 wrapped_params = { "shipment" : params }
+23
+24 response = Requestor ( self . _client ) . request (
+25 method = RequestMethod . POST ,
+26 url = url ,
+27 params = wrapped_params ,
+28 beta = True ,
+29 )
+30
+31 return convert_to_easypost_object ( response = response . get ( "rates" , None ))
+
+
+
+
+
+
+
+
+ 15 class BetaRateService ( BaseService ):
+16 def __init__ ( self , client ):
+17 self . _client = client
+18 self . _model_class = Rate . __name__
+19
+20 def retrieve_stateless_rates ( self , ** params ) -> dict [ str , Any ]:
+21 """Retrieves stateless rates by passing shipment data."""
+22 url = self . _class_url ( self . _model_class )
+23 wrapped_params = { "shipment" : params }
+24
+25 response = Requestor ( self . _client ) . request (
+26 method = RequestMethod . POST ,
+27 url = url ,
+28 params = wrapped_params ,
+29 beta = True ,
+30 )
+31
+32 return convert_to_easypost_object ( response = response . get ( "rates" , None ))
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ BetaRateService (client )
+
+ View Source
+
+
+
+
16 def __init__ ( self , client ):
+17 self . _client = client
+18 self . _model_class = Rate . __name__
+
+
+
+
+
+
+
+
+
+
+ def
+ retrieve_stateless_rates (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
20 def retrieve_stateless_rates ( self , ** params ) -> dict [ str , Any ]:
+21 """Retrieves stateless rates by passing shipment data."""
+22 url = self . _class_url ( self . _model_class )
+23 wrapped_params = { "shipment" : params }
+24
+25 response = Requestor ( self . _client ) . request (
+26 method = RequestMethod . POST ,
+27 url = url ,
+28 params = wrapped_params ,
+29 beta = True ,
+30 )
+31
+32 return convert_to_easypost_object ( response = response . get ( "rates" , None ))
+
+
+
+
Retrieves stateless rates by passing shipment data.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/beta_rate_service.py b/easypost/services/beta_rate_service.py
deleted file mode 100644
index 82e05356..00000000
--- a/easypost/services/beta_rate_service.py
+++ /dev/null
@@ -1,31 +0,0 @@
-from typing import (
- Any,
-)
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import Rate
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class BetaRateService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Rate.__name__
-
- def retrieve_stateless_rates(self, **params) -> dict[str, Any]:
- """Retrieves stateless rates by passing shipment data."""
- url = self._class_url(self._model_class)
- wrapped_params = {"shipment": params}
-
- response = Requestor(self._client).request(
- method=RequestMethod.POST,
- url=url,
- params=wrapped_params,
- beta=True,
- )
-
- return convert_to_easypost_object(response=response.get("rates", None))
diff --git a/easypost/services/beta_referral_customer_service.html b/easypost/services/beta_referral_customer_service.html
new file mode 100644
index 00000000..c53a91c3
--- /dev/null
+++ b/easypost/services/beta_referral_customer_service.html
@@ -0,0 +1,635 @@
+
+
+
+
+
+
+ easypost.services.beta_referral_customer_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+easypost .services .beta_referral_customer_service
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 Optional ,
+ 4 )
+ 5
+ 6 from easypost.easypost_object import convert_to_easypost_object
+ 7 from easypost.requestor import (
+ 8 RequestMethod ,
+ 9 Requestor ,
+10 )
+11 from easypost.services.base_service import BaseService
+12
+13
+14 class BetaReferralCustomerService ( BaseService ):
+15 def add_payment_method (
+16 self ,
+17 stripe_customer_id : str ,
+18 payment_method_reference : str ,
+19 priority : str = "primary" ,
+20 ) -> dict [ str , Any ]:
+21 """Add a Stripe payment method to your EasyPost account.
+22
+23 This endpoint uses a user's personal Stripe account. The `stripe_customer_id`
+24 and `payment_method_reference` IDs both come from Stripe. By adding these to
+25 EasyPost, we will associate your Stripe payment method with either your primary
+26 or secondary EasyPost payment method.
+27 """
+28 params = {
+29 "payment_method" : {
+30 "stripe_customer_id" : stripe_customer_id ,
+31 "payment_method_reference" : payment_method_reference ,
+32 "priority" : priority ,
+33 }
+34 }
+35
+36 response = Requestor ( self . _client ) . request (
+37 method = RequestMethod . POST ,
+38 url = "/referral_customers/payment_method" ,
+39 params = params ,
+40 beta = True ,
+41 )
+42
+43 return convert_to_easypost_object ( response = response )
+44
+45 def refund_by_amount ( self , refund_amount : int ) -> dict [ str , Any ]:
+46 """Refund a ReferralCustomer wallet by specifying an amount."""
+47 params = { "refund_amount" : refund_amount }
+48
+49 response = Requestor ( self . _client ) . request (
+50 method = RequestMethod . POST ,
+51 url = "/referral_customers/refunds" ,
+52 params = params ,
+53 beta = True ,
+54 )
+55
+56 return convert_to_easypost_object ( response = response )
+57
+58 def refund_by_payment_log ( self , payment_log_id : str ) -> dict [ str , Any ]:
+59 """Refund a ReferralCustomer wallet by specifying a payment log ID to completely refund."""
+60 params = { "payment_log_id" : payment_log_id }
+61
+62 response = Requestor ( self . _client ) . request (
+63 method = RequestMethod . POST ,
+64 url = "/referral_customers/refunds" ,
+65 params = params ,
+66 beta = True ,
+67 )
+68
+69 return convert_to_easypost_object ( response = response )
+70
+71 def create_credit_card_client_secret ( self ) -> dict [ str , Any ]:
+72 """Creates a client secret to use with Stripe when adding a credit card."""
+73 response = Requestor ( self . _client ) . request (
+74 method = RequestMethod . POST ,
+75 url = "/setup_intents" ,
+76 beta = True ,
+77 )
+78
+79 return convert_to_easypost_object ( response = response )
+80
+81 def create_bank_account_client_secret ( self , return_url : Optional [ str ] = None ) -> dict [ str , Any ]:
+82 """Creates a client secret to use with Stripe when adding a bank account."""
+83 params = { "return_url" : return_url }
+84
+85 response = Requestor ( self . _client ) . request (
+86 method = RequestMethod . POST ,
+87 url = "/financial_connections_sessions" ,
+88 params = params if return_url else None ,
+89 beta = True ,
+90 )
+91
+92 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+ 15 class BetaReferralCustomerService ( BaseService ):
+16 def add_payment_method (
+17 self ,
+18 stripe_customer_id : str ,
+19 payment_method_reference : str ,
+20 priority : str = "primary" ,
+21 ) -> dict [ str , Any ]:
+22 """Add a Stripe payment method to your EasyPost account.
+23
+24 This endpoint uses a user's personal Stripe account. The `stripe_customer_id`
+25 and `payment_method_reference` IDs both come from Stripe. By adding these to
+26 EasyPost, we will associate your Stripe payment method with either your primary
+27 or secondary EasyPost payment method.
+28 """
+29 params = {
+30 "payment_method" : {
+31 "stripe_customer_id" : stripe_customer_id ,
+32 "payment_method_reference" : payment_method_reference ,
+33 "priority" : priority ,
+34 }
+35 }
+36
+37 response = Requestor ( self . _client ) . request (
+38 method = RequestMethod . POST ,
+39 url = "/referral_customers/payment_method" ,
+40 params = params ,
+41 beta = True ,
+42 )
+43
+44 return convert_to_easypost_object ( response = response )
+45
+46 def refund_by_amount ( self , refund_amount : int ) -> dict [ str , Any ]:
+47 """Refund a ReferralCustomer wallet by specifying an amount."""
+48 params = { "refund_amount" : refund_amount }
+49
+50 response = Requestor ( self . _client ) . request (
+51 method = RequestMethod . POST ,
+52 url = "/referral_customers/refunds" ,
+53 params = params ,
+54 beta = True ,
+55 )
+56
+57 return convert_to_easypost_object ( response = response )
+58
+59 def refund_by_payment_log ( self , payment_log_id : str ) -> dict [ str , Any ]:
+60 """Refund a ReferralCustomer wallet by specifying a payment log ID to completely refund."""
+61 params = { "payment_log_id" : payment_log_id }
+62
+63 response = Requestor ( self . _client ) . request (
+64 method = RequestMethod . POST ,
+65 url = "/referral_customers/refunds" ,
+66 params = params ,
+67 beta = True ,
+68 )
+69
+70 return convert_to_easypost_object ( response = response )
+71
+72 def create_credit_card_client_secret ( self ) -> dict [ str , Any ]:
+73 """Creates a client secret to use with Stripe when adding a credit card."""
+74 response = Requestor ( self . _client ) . request (
+75 method = RequestMethod . POST ,
+76 url = "/setup_intents" ,
+77 beta = True ,
+78 )
+79
+80 return convert_to_easypost_object ( response = response )
+81
+82 def create_bank_account_client_secret ( self , return_url : Optional [ str ] = None ) -> dict [ str , Any ]:
+83 """Creates a client secret to use with Stripe when adding a bank account."""
+84 params = { "return_url" : return_url }
+85
+86 response = Requestor ( self . _client ) . request (
+87 method = RequestMethod . POST ,
+88 url = "/financial_connections_sessions" ,
+89 params = params if return_url else None ,
+90 beta = True ,
+91 )
+92
+93 return convert_to_easypost_object ( response = response )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ def
+ add_payment_method ( self , stripe_customer_id : str , payment_method_reference : str , priority : str = 'primary' ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
16 def add_payment_method (
+17 self ,
+18 stripe_customer_id : str ,
+19 payment_method_reference : str ,
+20 priority : str = "primary" ,
+21 ) -> dict [ str , Any ]:
+22 """Add a Stripe payment method to your EasyPost account.
+23
+24 This endpoint uses a user's personal Stripe account. The `stripe_customer_id`
+25 and `payment_method_reference` IDs both come from Stripe. By adding these to
+26 EasyPost, we will associate your Stripe payment method with either your primary
+27 or secondary EasyPost payment method.
+28 """
+29 params = {
+30 "payment_method" : {
+31 "stripe_customer_id" : stripe_customer_id ,
+32 "payment_method_reference" : payment_method_reference ,
+33 "priority" : priority ,
+34 }
+35 }
+36
+37 response = Requestor ( self . _client ) . request (
+38 method = RequestMethod . POST ,
+39 url = "/referral_customers/payment_method" ,
+40 params = params ,
+41 beta = True ,
+42 )
+43
+44 return convert_to_easypost_object ( response = response )
+
+
+
+
Add a Stripe payment method to your EasyPost account.
+
+
This endpoint uses a user's personal Stripe account. The stripe_customer_id
+and payment_method_reference IDs both come from Stripe. By adding these to
+EasyPost, we will associate your Stripe payment method with either your primary
+or secondary EasyPost payment method.
+
+
+
+
+
+
+
+
+ def
+ refund_by_amount (self , refund_amount : int ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
46 def refund_by_amount ( self , refund_amount : int ) -> dict [ str , Any ]:
+47 """Refund a ReferralCustomer wallet by specifying an amount."""
+48 params = { "refund_amount" : refund_amount }
+49
+50 response = Requestor ( self . _client ) . request (
+51 method = RequestMethod . POST ,
+52 url = "/referral_customers/refunds" ,
+53 params = params ,
+54 beta = True ,
+55 )
+56
+57 return convert_to_easypost_object ( response = response )
+
+
+
+
Refund a ReferralCustomer wallet by specifying an amount.
+
+
+
+
+
+
+
+
+ def
+ refund_by_payment_log (self , payment_log_id : str ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
59 def refund_by_payment_log ( self , payment_log_id : str ) -> dict [ str , Any ]:
+60 """Refund a ReferralCustomer wallet by specifying a payment log ID to completely refund."""
+61 params = { "payment_log_id" : payment_log_id }
+62
+63 response = Requestor ( self . _client ) . request (
+64 method = RequestMethod . POST ,
+65 url = "/referral_customers/refunds" ,
+66 params = params ,
+67 beta = True ,
+68 )
+69
+70 return convert_to_easypost_object ( response = response )
+
+
+
+
Refund a ReferralCustomer wallet by specifying a payment log ID to completely refund.
+
+
+
+
+
+
+
+
+ def
+ create_credit_card_client_secret (self ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
72 def create_credit_card_client_secret ( self ) -> dict [ str , Any ]:
+73 """Creates a client secret to use with Stripe when adding a credit card."""
+74 response = Requestor ( self . _client ) . request (
+75 method = RequestMethod . POST ,
+76 url = "/setup_intents" ,
+77 beta = True ,
+78 )
+79
+80 return convert_to_easypost_object ( response = response )
+
+
+
+
Creates a client secret to use with Stripe when adding a credit card.
+
+
+
+
+
+
+
+
+ def
+ create_bank_account_client_secret (self , return_url : str | None = None ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
82 def create_bank_account_client_secret ( self , return_url : Optional [ str ] = None ) -> dict [ str , Any ]:
+83 """Creates a client secret to use with Stripe when adding a bank account."""
+84 params = { "return_url" : return_url }
+85
+86 response = Requestor ( self . _client ) . request (
+87 method = RequestMethod . POST ,
+88 url = "/financial_connections_sessions" ,
+89 params = params if return_url else None ,
+90 beta = True ,
+91 )
+92
+93 return convert_to_easypost_object ( response = response )
+
+
+
+
Creates a client secret to use with Stripe when adding a bank account.
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/beta_referral_customer_service.py b/easypost/services/beta_referral_customer_service.py
deleted file mode 100644
index d13843b8..00000000
--- a/easypost/services/beta_referral_customer_service.py
+++ /dev/null
@@ -1,92 +0,0 @@
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class BetaReferralCustomerService(BaseService):
- def add_payment_method(
- self,
- stripe_customer_id: str,
- payment_method_reference: str,
- priority: str = "primary",
- ) -> dict[str, Any]:
- """Add a Stripe payment method to your EasyPost account.
-
- This endpoint uses a user's personal Stripe account. The `stripe_customer_id`
- and `payment_method_reference` IDs both come from Stripe. By adding these to
- EasyPost, we will associate your Stripe payment method with either your primary
- or secondary EasyPost payment method.
- """
- params = {
- "payment_method": {
- "stripe_customer_id": stripe_customer_id,
- "payment_method_reference": payment_method_reference,
- "priority": priority,
- }
- }
-
- response = Requestor(self._client).request(
- method=RequestMethod.POST,
- url="/referral_customers/payment_method",
- params=params,
- beta=True,
- )
-
- return convert_to_easypost_object(response=response)
-
- def refund_by_amount(self, refund_amount: int) -> dict[str, Any]:
- """Refund a ReferralCustomer wallet by specifying an amount."""
- params = {"refund_amount": refund_amount}
-
- response = Requestor(self._client).request(
- method=RequestMethod.POST,
- url="/referral_customers/refunds",
- params=params,
- beta=True,
- )
-
- return convert_to_easypost_object(response=response)
-
- def refund_by_payment_log(self, payment_log_id: str) -> dict[str, Any]:
- """Refund a ReferralCustomer wallet by specifying a payment log ID to completely refund."""
- params = {"payment_log_id": payment_log_id}
-
- response = Requestor(self._client).request(
- method=RequestMethod.POST,
- url="/referral_customers/refunds",
- params=params,
- beta=True,
- )
-
- return convert_to_easypost_object(response=response)
-
- def create_credit_card_client_secret(self) -> dict[str, Any]:
- """Creates a client secret to use with Stripe when adding a credit card."""
- response = Requestor(self._client).request(
- method=RequestMethod.POST,
- url="/setup_intents",
- beta=True,
- )
-
- return convert_to_easypost_object(response=response)
-
- def create_bank_account_client_secret(self, return_url: Optional[str] = None) -> dict[str, Any]:
- """Creates a client secret to use with Stripe when adding a bank account."""
- params = {"return_url": return_url}
-
- response = Requestor(self._client).request(
- method=RequestMethod.POST,
- url="/financial_connections_sessions",
- params=params if return_url else None,
- beta=True,
- )
-
- return convert_to_easypost_object(response=response)
diff --git a/easypost/services/billing_service.html b/easypost/services/billing_service.html
new file mode 100644
index 00000000..fbbf66e3
--- /dev/null
+++ b/easypost/services/billing_service.html
@@ -0,0 +1,517 @@
+
+
+
+
+
+
+ easypost.services.billing_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 )
+ 4
+ 5 from easypost.constant import (
+ 6 INVALID_PAYMENT_METHOD_ERROR ,
+ 7 NO_BILLING_ERROR ,
+ 8 )
+ 9 from easypost.easypost_object import convert_to_easypost_object
+10 from easypost.errors import InvalidObjectError
+11 from easypost.models import Billing
+12 from easypost.requestor import (
+13 RequestMethod ,
+14 Requestor ,
+15 )
+16 from easypost.services.base_service import BaseService
+17
+18
+19 class BillingService ( BaseService ):
+20 def __init__ ( self , client ):
+21 self . _client = client
+22 self . _model_class = Billing . __name__
+23
+24 def fund_wallet ( self , amount : str , priority : str = "primary" ) -> None :
+25 """Fund your EasyPost wallet by charging your primary or secondary payment method on file."""
+26 endpoint , payment_method_id = self . _get_payment_method_info ( priority = priority )
+27
+28 url = f " { endpoint } / { payment_method_id } /charges"
+29 wrapped_params = { "amount" : amount }
+30
+31 Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+32
+33 def delete_payment_method ( self , priority : str ) -> None :
+34 """Delete a payment method."""
+35 endpoint , payment_method_id = self . _get_payment_method_info ( priority = priority )
+36
+37 url = f " { endpoint } / { payment_method_id } "
+38
+39 Requestor ( self . _client ) . request ( method = RequestMethod . DELETE , url = url )
+40
+41 def retrieve_payment_methods ( self , ** params ) -> dict [ str , Any ]:
+42 """Retrieve payment methods."""
+43 response = Requestor ( self . _client ) . request (
+44 method = RequestMethod . GET ,
+45 url = "/payment_methods" ,
+46 params = params ,
+47 )
+48
+49 if response . get ( "id" ) is None :
+50 raise InvalidObjectError ( message = NO_BILLING_ERROR )
+51
+52 return convert_to_easypost_object ( response = response )
+53
+54 def _get_payment_method_info ( self , priority : str = "primary" ) -> list [ str ]:
+55 """Get payment method info (type of the payment method and ID of the payment method)"""
+56 payment_methods = self . retrieve_payment_methods ()
+57
+58 payment_method_map = {
+59 "primary" : "primary_payment_method" ,
+60 "secondary" : "secondary_payment_method" ,
+61 }
+62
+63 payment_method_to_use = payment_method_map . get ( priority )
+64
+65 if payment_method_to_use and payment_methods [ payment_method_to_use ]:
+66 payment_method_id = payment_methods [ payment_method_to_use ][ "id" ]
+67 payment_method_object_type = payment_methods [ payment_method_to_use ] . get ( "object" , None )
+68 if payment_method_object_type == "CreditCard" :
+69 endpoint = "/credit_cards"
+70 elif payment_method_object_type == "BankAccount" :
+71 endpoint = "/bank_accounts"
+72 else :
+73 raise InvalidObjectError ( message = INVALID_PAYMENT_METHOD_ERROR )
+74 else :
+75 raise InvalidObjectError ( message = INVALID_PAYMENT_METHOD_ERROR )
+76
+77 return [ endpoint , payment_method_id ]
+
+
+
+
+
+
+
+
+ 20 class BillingService ( BaseService ):
+21 def __init__ ( self , client ):
+22 self . _client = client
+23 self . _model_class = Billing . __name__
+24
+25 def fund_wallet ( self , amount : str , priority : str = "primary" ) -> None :
+26 """Fund your EasyPost wallet by charging your primary or secondary payment method on file."""
+27 endpoint , payment_method_id = self . _get_payment_method_info ( priority = priority )
+28
+29 url = f " { endpoint } / { payment_method_id } /charges"
+30 wrapped_params = { "amount" : amount }
+31
+32 Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+33
+34 def delete_payment_method ( self , priority : str ) -> None :
+35 """Delete a payment method."""
+36 endpoint , payment_method_id = self . _get_payment_method_info ( priority = priority )
+37
+38 url = f " { endpoint } / { payment_method_id } "
+39
+40 Requestor ( self . _client ) . request ( method = RequestMethod . DELETE , url = url )
+41
+42 def retrieve_payment_methods ( self , ** params ) -> dict [ str , Any ]:
+43 """Retrieve payment methods."""
+44 response = Requestor ( self . _client ) . request (
+45 method = RequestMethod . GET ,
+46 url = "/payment_methods" ,
+47 params = params ,
+48 )
+49
+50 if response . get ( "id" ) is None :
+51 raise InvalidObjectError ( message = NO_BILLING_ERROR )
+52
+53 return convert_to_easypost_object ( response = response )
+54
+55 def _get_payment_method_info ( self , priority : str = "primary" ) -> list [ str ]:
+56 """Get payment method info (type of the payment method and ID of the payment method)"""
+57 payment_methods = self . retrieve_payment_methods ()
+58
+59 payment_method_map = {
+60 "primary" : "primary_payment_method" ,
+61 "secondary" : "secondary_payment_method" ,
+62 }
+63
+64 payment_method_to_use = payment_method_map . get ( priority )
+65
+66 if payment_method_to_use and payment_methods [ payment_method_to_use ]:
+67 payment_method_id = payment_methods [ payment_method_to_use ][ "id" ]
+68 payment_method_object_type = payment_methods [ payment_method_to_use ] . get ( "object" , None )
+69 if payment_method_object_type == "CreditCard" :
+70 endpoint = "/credit_cards"
+71 elif payment_method_object_type == "BankAccount" :
+72 endpoint = "/bank_accounts"
+73 else :
+74 raise InvalidObjectError ( message = INVALID_PAYMENT_METHOD_ERROR )
+75 else :
+76 raise InvalidObjectError ( message = INVALID_PAYMENT_METHOD_ERROR )
+77
+78 return [ endpoint , payment_method_id ]
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ BillingService (client )
+
+ View Source
+
+
+
+
21 def __init__ ( self , client ):
+22 self . _client = client
+23 self . _model_class = Billing . __name__
+
+
+
+
+
+
+
+
+
+
+ def
+ fund_wallet (self , amount : str , priority : str = 'primary' ) -> None :
+
+ View Source
+
+
+
+
25 def fund_wallet ( self , amount : str , priority : str = "primary" ) -> None :
+26 """Fund your EasyPost wallet by charging your primary or secondary payment method on file."""
+27 endpoint , payment_method_id = self . _get_payment_method_info ( priority = priority )
+28
+29 url = f " { endpoint } / { payment_method_id } /charges"
+30 wrapped_params = { "amount" : amount }
+31
+32 Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+
+
+
+
Fund your EasyPost wallet by charging your primary or secondary payment method on file.
+
+
+
+
+
+
+
+
+ def
+ delete_payment_method (self , priority : str ) -> None :
+
+ View Source
+
+
+
+
34 def delete_payment_method ( self , priority : str ) -> None :
+35 """Delete a payment method."""
+36 endpoint , payment_method_id = self . _get_payment_method_info ( priority = priority )
+37
+38 url = f " { endpoint } / { payment_method_id } "
+39
+40 Requestor ( self . _client ) . request ( method = RequestMethod . DELETE , url = url )
+
+
+
+
Delete a payment method.
+
+
+
+
+
+
+
+
+ def
+ retrieve_payment_methods (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
42 def retrieve_payment_methods ( self , ** params ) -> dict [ str , Any ]:
+43 """Retrieve payment methods."""
+44 response = Requestor ( self . _client ) . request (
+45 method = RequestMethod . GET ,
+46 url = "/payment_methods" ,
+47 params = params ,
+48 )
+49
+50 if response . get ( "id" ) is None :
+51 raise InvalidObjectError ( message = NO_BILLING_ERROR )
+52
+53 return convert_to_easypost_object ( response = response )
+
+
+
+
Retrieve payment methods.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/billing_service.py b/easypost/services/billing_service.py
deleted file mode 100644
index 7d80d994..00000000
--- a/easypost/services/billing_service.py
+++ /dev/null
@@ -1,77 +0,0 @@
-from typing import (
- Any,
-)
-
-from easypost.constant import (
- INVALID_PAYMENT_METHOD_ERROR,
- NO_BILLING_ERROR,
-)
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.errors import InvalidObjectError
-from easypost.models import Billing
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class BillingService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Billing.__name__
-
- def fund_wallet(self, amount: str, priority: str = "primary") -> None:
- """Fund your EasyPost wallet by charging your primary or secondary payment method on file."""
- endpoint, payment_method_id = self._get_payment_method_info(priority=priority)
-
- url = f"{endpoint}/{payment_method_id}/charges"
- wrapped_params = {"amount": amount}
-
- Requestor(self._client).request(method=RequestMethod.POST, url=url, params=wrapped_params)
-
- def delete_payment_method(self, priority: str) -> None:
- """Delete a payment method."""
- endpoint, payment_method_id = self._get_payment_method_info(priority=priority)
-
- url = f"{endpoint}/{payment_method_id}"
-
- Requestor(self._client).request(method=RequestMethod.DELETE, url=url)
-
- def retrieve_payment_methods(self, **params) -> dict[str, Any]:
- """Retrieve payment methods."""
- response = Requestor(self._client).request(
- method=RequestMethod.GET,
- url="/payment_methods",
- params=params,
- )
-
- if response.get("id") is None:
- raise InvalidObjectError(message=NO_BILLING_ERROR)
-
- return convert_to_easypost_object(response=response)
-
- def _get_payment_method_info(self, priority: str = "primary") -> list[str]:
- """Get payment method info (type of the payment method and ID of the payment method)"""
- payment_methods = self.retrieve_payment_methods()
-
- payment_method_map = {
- "primary": "primary_payment_method",
- "secondary": "secondary_payment_method",
- }
-
- payment_method_to_use = payment_method_map.get(priority)
-
- if payment_method_to_use and payment_methods[payment_method_to_use]:
- payment_method_id = payment_methods[payment_method_to_use]["id"]
- payment_method_object_type = payment_methods[payment_method_to_use].get("object", None)
- if payment_method_object_type == "CreditCard":
- endpoint = "/credit_cards"
- elif payment_method_object_type == "BankAccount":
- endpoint = "/bank_accounts"
- else:
- raise InvalidObjectError(message=INVALID_PAYMENT_METHOD_ERROR)
- else:
- raise InvalidObjectError(message=INVALID_PAYMENT_METHOD_ERROR)
-
- return [endpoint, payment_method_id]
diff --git a/easypost/services/carrier_account_service.html b/easypost/services/carrier_account_service.html
new file mode 100644
index 00000000..80032b82
--- /dev/null
+++ b/easypost/services/carrier_account_service.html
@@ -0,0 +1,574 @@
+
+
+
+
+
+
+ easypost.services.carrier_account_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 Optional ,
+ 4 )
+ 5
+ 6 from easypost.constant import (
+ 7 _CARRIER_ACCOUNT_CREATE_ENDPOINT_TYPES ,
+ 8 MISSING_PARAMETER_ERROR ,
+ 9 )
+10 from easypost.easypost_object import convert_to_easypost_object
+11 from easypost.errors import MissingParameterError
+12 from easypost.models import CarrierAccount
+13 from easypost.requestor import (
+14 RequestMethod ,
+15 Requestor ,
+16 )
+17 from easypost.services.base_service import BaseService
+18
+19
+20 class CarrierAccountService ( BaseService ):
+21 def __init__ ( self , client ):
+22 self . _client = client
+23 self . _model_class = CarrierAccount . __name__
+24
+25 def create ( self , ** params ) -> CarrierAccount :
+26 """Create a CarrierAccount."""
+27 carrier_account_type = params . get ( "type" )
+28
+29 if carrier_account_type is None :
+30 raise MissingParameterError ( MISSING_PARAMETER_ERROR . format ( "type" ))
+31
+32 url = self . _select_carrier_account_creation_endpoint ( carrier_account_type = carrier_account_type )
+33 if url == "/carrier_accounts/register_oauth" :
+34 wrapped_params = { "carrier_account_oauth_registrations" : params }
+35 else :
+36 wrapped_params = { self . _snakecase_name ( self . _model_class ): params }
+37
+38 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+39
+40 return convert_to_easypost_object ( response = response )
+41
+42 def all ( self , ** params ) -> list [ dict [ str , Any ]]:
+43 """Retrieve a list of CarrierAccounts."""
+44 return self . _all_resources ( self . _model_class , ** params )
+45
+46 def retrieve ( self , id : str ) -> CarrierAccount :
+47 """Retrieve a CarrierAccount."""
+48 return self . _retrieve_resource ( self . _model_class , id )
+49
+50 def update ( self , id : str , ** params ) -> CarrierAccount :
+51 """Update a CarrierAccount."""
+52 return self . _update_resource ( self . _model_class , id , ** params )
+53
+54 def delete ( self , id : str ) -> None :
+55 """Delete a CarrierAccount."""
+56 self . _delete_resource ( self . _model_class , id )
+57
+58 def types ( self ) -> list [ dict [ str , Any ]]:
+59 """Get the types of CarrierAccounts available to the User."""
+60 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = "/carrier_types" )
+61
+62 return convert_to_easypost_object ( response = response )
+63
+64 def _select_carrier_account_creation_endpoint ( self , carrier_account_type : Optional [ Any ]) -> str :
+65 """Determines which API endpoint to use for the creation call."""
+66 for endpoint , carrier_account_types in _CARRIER_ACCOUNT_CREATE_ENDPOINT_TYPES . items ():
+67 if carrier_account_type in carrier_account_types :
+68 return endpoint
+69
+70 return "/carrier_accounts"
+
+
+
+
+
+
+
+
+ 21 class CarrierAccountService ( BaseService ):
+22 def __init__ ( self , client ):
+23 self . _client = client
+24 self . _model_class = CarrierAccount . __name__
+25
+26 def create ( self , ** params ) -> CarrierAccount :
+27 """Create a CarrierAccount."""
+28 carrier_account_type = params . get ( "type" )
+29
+30 if carrier_account_type is None :
+31 raise MissingParameterError ( MISSING_PARAMETER_ERROR . format ( "type" ))
+32
+33 url = self . _select_carrier_account_creation_endpoint ( carrier_account_type = carrier_account_type )
+34 if url == "/carrier_accounts/register_oauth" :
+35 wrapped_params = { "carrier_account_oauth_registrations" : params }
+36 else :
+37 wrapped_params = { self . _snakecase_name ( self . _model_class ): params }
+38
+39 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+40
+41 return convert_to_easypost_object ( response = response )
+42
+43 def all ( self , ** params ) -> list [ dict [ str , Any ]]:
+44 """Retrieve a list of CarrierAccounts."""
+45 return self . _all_resources ( self . _model_class , ** params )
+46
+47 def retrieve ( self , id : str ) -> CarrierAccount :
+48 """Retrieve a CarrierAccount."""
+49 return self . _retrieve_resource ( self . _model_class , id )
+50
+51 def update ( self , id : str , ** params ) -> CarrierAccount :
+52 """Update a CarrierAccount."""
+53 return self . _update_resource ( self . _model_class , id , ** params )
+54
+55 def delete ( self , id : str ) -> None :
+56 """Delete a CarrierAccount."""
+57 self . _delete_resource ( self . _model_class , id )
+58
+59 def types ( self ) -> list [ dict [ str , Any ]]:
+60 """Get the types of CarrierAccounts available to the User."""
+61 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = "/carrier_types" )
+62
+63 return convert_to_easypost_object ( response = response )
+64
+65 def _select_carrier_account_creation_endpoint ( self , carrier_account_type : Optional [ Any ]) -> str :
+66 """Determines which API endpoint to use for the creation call."""
+67 for endpoint , carrier_account_types in _CARRIER_ACCOUNT_CREATE_ENDPOINT_TYPES . items ():
+68 if carrier_account_type in carrier_account_types :
+69 return endpoint
+70
+71 return "/carrier_accounts"
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ CarrierAccountService (client )
+
+ View Source
+
+
+
+
22 def __init__ ( self , client ):
+23 self . _client = client
+24 self . _model_class = CarrierAccount . __name__
+
+
+
+
+
+
+
+
+
+
+
26 def create ( self , ** params ) -> CarrierAccount :
+27 """Create a CarrierAccount."""
+28 carrier_account_type = params . get ( "type" )
+29
+30 if carrier_account_type is None :
+31 raise MissingParameterError ( MISSING_PARAMETER_ERROR . format ( "type" ))
+32
+33 url = self . _select_carrier_account_creation_endpoint ( carrier_account_type = carrier_account_type )
+34 if url == "/carrier_accounts/register_oauth" :
+35 wrapped_params = { "carrier_account_oauth_registrations" : params }
+36 else :
+37 wrapped_params = { self . _snakecase_name ( self . _model_class ): params }
+38
+39 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+40
+41 return convert_to_easypost_object ( response = response )
+
+
+
+
Create a CarrierAccount.
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> list [ dict [ str , typing . Any ]] :
+
+ View Source
+
+
+
+
43 def all ( self , ** params ) -> list [ dict [ str , Any ]]:
+44 """Retrieve a list of CarrierAccounts."""
+45 return self . _all_resources ( self . _model_class , ** params )
+
+
+
+
Retrieve a list of CarrierAccounts.
+
+
+
+
+
+
+
+
+
47 def retrieve ( self , id : str ) -> CarrierAccount :
+48 """Retrieve a CarrierAccount."""
+49 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
Retrieve a CarrierAccount.
+
+
+
+
+
+
+
+
+
51 def update ( self , id : str , ** params ) -> CarrierAccount :
+52 """Update a CarrierAccount."""
+53 return self . _update_resource ( self . _model_class , id , ** params )
+
+
+
+
Update a CarrierAccount.
+
+
+
+
+
+
+
+
+ def
+ delete (self , id : str ) -> None :
+
+ View Source
+
+
+
+
55 def delete ( self , id : str ) -> None :
+56 """Delete a CarrierAccount."""
+57 self . _delete_resource ( self . _model_class , id )
+
+
+
+
Delete a CarrierAccount.
+
+
+
+
+
+
+
+
+ def
+ types (self ) -> list [ dict [ str , typing . Any ]] :
+
+ View Source
+
+
+
+
59 def types ( self ) -> list [ dict [ str , Any ]]:
+60 """Get the types of CarrierAccounts available to the User."""
+61 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = "/carrier_types" )
+62
+63 return convert_to_easypost_object ( response = response )
+
+
+
+
Get the types of CarrierAccounts available to the User.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/carrier_account_service.py b/easypost/services/carrier_account_service.py
deleted file mode 100644
index 9f5d9e1f..00000000
--- a/easypost/services/carrier_account_service.py
+++ /dev/null
@@ -1,70 +0,0 @@
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.constant import (
- _CARRIER_ACCOUNT_CREATE_ENDPOINT_TYPES,
- MISSING_PARAMETER_ERROR,
-)
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.errors import MissingParameterError
-from easypost.models import CarrierAccount
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class CarrierAccountService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = CarrierAccount.__name__
-
- def create(self, **params) -> CarrierAccount:
- """Create a CarrierAccount."""
- carrier_account_type = params.get("type")
-
- if carrier_account_type is None:
- raise MissingParameterError(MISSING_PARAMETER_ERROR.format("type"))
-
- url = self._select_carrier_account_creation_endpoint(carrier_account_type=carrier_account_type)
- if url == "/carrier_accounts/register_oauth":
- wrapped_params = {"carrier_account_oauth_registrations": params}
- else:
- wrapped_params = {self._snakecase_name(self._model_class): params}
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=wrapped_params)
-
- return convert_to_easypost_object(response=response)
-
- def all(self, **params) -> list[dict[str, Any]]:
- """Retrieve a list of CarrierAccounts."""
- return self._all_resources(self._model_class, **params)
-
- def retrieve(self, id: str) -> CarrierAccount:
- """Retrieve a CarrierAccount."""
- return self._retrieve_resource(self._model_class, id)
-
- def update(self, id: str, **params) -> CarrierAccount:
- """Update a CarrierAccount."""
- return self._update_resource(self._model_class, id, **params)
-
- def delete(self, id: str) -> None:
- """Delete a CarrierAccount."""
- self._delete_resource(self._model_class, id)
-
- def types(self) -> list[dict[str, Any]]:
- """Get the types of CarrierAccounts available to the User."""
- response = Requestor(self._client).request(method=RequestMethod.GET, url="/carrier_types")
-
- return convert_to_easypost_object(response=response)
-
- def _select_carrier_account_creation_endpoint(self, carrier_account_type: Optional[Any]) -> str:
- """Determines which API endpoint to use for the creation call."""
- for endpoint, carrier_account_types in _CARRIER_ACCOUNT_CREATE_ENDPOINT_TYPES.items():
- if carrier_account_type in carrier_account_types:
- return endpoint
-
- return "/carrier_accounts"
diff --git a/easypost/services/carrier_metadata_service.html b/easypost/services/carrier_metadata_service.html
new file mode 100644
index 00000000..bea022f2
--- /dev/null
+++ b/easypost/services/carrier_metadata_service.html
@@ -0,0 +1,384 @@
+
+
+
+
+
+
+ easypost.services.carrier_metadata_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 Optional ,
+ 4 )
+ 5
+ 6 from easypost.easypost_object import convert_to_easypost_object
+ 7 from easypost.requestor import (
+ 8 RequestMethod ,
+ 9 Requestor ,
+10 )
+11 from easypost.services.base_service import BaseService
+12
+13
+14 class CarrierMetadataService ( BaseService ):
+15 def __init__ ( self , client ):
+16 self . _client = client
+17
+18 def retrieve (
+19 self ,
+20 carriers : Optional [ list [ str ]] = None ,
+21 types : Optional [ list [ str ]] = None ,
+22 ) -> list [ dict [ str , Any ]]:
+23 """Get metadata for all carriers on the EasyPost platform or specify optional filters."""
+24 params = {
+25 "carriers" : "," . join ( carriers ) if carriers else None ,
+26 "types" : "," . join ( types ) if types else None ,
+27 }
+28
+29 response = Requestor ( self . _client ) . request (
+30 method = RequestMethod . GET ,
+31 url = "/metadata/carriers" ,
+32 params = params ,
+33 )
+34
+35 return convert_to_easypost_object ( response = response . get ( "carriers" , []))
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/carrier_metadata_service.py b/easypost/services/carrier_metadata_service.py
deleted file mode 100644
index d5f13497..00000000
--- a/easypost/services/carrier_metadata_service.py
+++ /dev/null
@@ -1,35 +0,0 @@
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class CarrierMetadataService(BaseService):
- def __init__(self, client):
- self._client = client
-
- def retrieve(
- self,
- carriers: Optional[list[str]] = None,
- types: Optional[list[str]] = None,
- ) -> list[dict[str, Any]]:
- """Get metadata for all carriers on the EasyPost platform or specify optional filters."""
- params = {
- "carriers": ",".join(carriers) if carriers else None,
- "types": ",".join(types) if types else None,
- }
-
- response = Requestor(self._client).request(
- method=RequestMethod.GET,
- url="/metadata/carriers",
- params=params,
- )
-
- return convert_to_easypost_object(response=response.get("carriers", []))
diff --git a/easypost/services/claim_service.html b/easypost/services/claim_service.html
new file mode 100644
index 00000000..6df1473e
--- /dev/null
+++ b/easypost/services/claim_service.html
@@ -0,0 +1,568 @@
+
+
+
+
+
+
+ easypost.services.claim_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 Optional ,
+ 4 )
+ 5
+ 6 from easypost.easypost_object import convert_to_easypost_object
+ 7 from easypost.models import Claim
+ 8 from easypost.requestor import (
+ 9 RequestMethod ,
+10 Requestor ,
+11 )
+12 from easypost.services.base_service import BaseService
+13
+14
+15 class ClaimService ( BaseService ):
+16 def __init__ ( self , client ):
+17 self . _client = client
+18 self . _model_class = Claim . __name__
+19
+20 def create ( self , ** params ) -> Claim :
+21 """Create a Claim."""
+22 url = "/claims"
+23
+24 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params , beta = False )
+25
+26 return convert_to_easypost_object ( response = response )
+27
+28 def all ( self , ** params ) -> dict [ str , Any ]:
+29 """Retrieve a list of Claims."""
+30 filters = {
+31 "key" : "claims" ,
+32 }
+33
+34 return self . _all_resources ( class_name = self . _model_class , filters = filters , beta = False , ** params )
+35
+36 def retrieve ( self , id : str ) -> Claim :
+37 """Retrieve a Claim."""
+38 return self . _retrieve_resource ( class_name = self . _model_class , id = id , beta = False )
+39
+40 def get_next_page (
+41 self ,
+42 claims : dict [ str , Any ],
+43 page_size : int ,
+44 optional_params : Optional [ dict [ str , Any ]] = None ,
+45 ) -> dict [ str , Any ]:
+46 """Retrieve the next page of the list Claim response."""
+47 self . _check_has_next_page ( collection = claims )
+48
+49 params = {
+50 "before_id" : claims [ "claims" ][ - 1 ] . id ,
+51 "page_size" : page_size ,
+52 }
+53
+54 if optional_params :
+55 params . update ( optional_params )
+56
+57 return self . all ( ** params )
+58
+59 def cancel ( self , id : str ) -> Claim :
+60 """Cancel a Claim."""
+61 url = f "/claims/ { id } /cancel"
+62
+63 response = Requestor ( self . _client ) . request (
+64 method = RequestMethod . POST ,
+65 url = url ,
+66 beta = False ,
+67 )
+68
+69 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+ 16 class ClaimService ( BaseService ):
+17 def __init__ ( self , client ):
+18 self . _client = client
+19 self . _model_class = Claim . __name__
+20
+21 def create ( self , ** params ) -> Claim :
+22 """Create a Claim."""
+23 url = "/claims"
+24
+25 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params , beta = False )
+26
+27 return convert_to_easypost_object ( response = response )
+28
+29 def all ( self , ** params ) -> dict [ str , Any ]:
+30 """Retrieve a list of Claims."""
+31 filters = {
+32 "key" : "claims" ,
+33 }
+34
+35 return self . _all_resources ( class_name = self . _model_class , filters = filters , beta = False , ** params )
+36
+37 def retrieve ( self , id : str ) -> Claim :
+38 """Retrieve a Claim."""
+39 return self . _retrieve_resource ( class_name = self . _model_class , id = id , beta = False )
+40
+41 def get_next_page (
+42 self ,
+43 claims : dict [ str , Any ],
+44 page_size : int ,
+45 optional_params : Optional [ dict [ str , Any ]] = None ,
+46 ) -> dict [ str , Any ]:
+47 """Retrieve the next page of the list Claim response."""
+48 self . _check_has_next_page ( collection = claims )
+49
+50 params = {
+51 "before_id" : claims [ "claims" ][ - 1 ] . id ,
+52 "page_size" : page_size ,
+53 }
+54
+55 if optional_params :
+56 params . update ( optional_params )
+57
+58 return self . all ( ** params )
+59
+60 def cancel ( self , id : str ) -> Claim :
+61 """Cancel a Claim."""
+62 url = f "/claims/ { id } /cancel"
+63
+64 response = Requestor ( self . _client ) . request (
+65 method = RequestMethod . POST ,
+66 url = url ,
+67 beta = False ,
+68 )
+69
+70 return convert_to_easypost_object ( response = response )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ ClaimService (client )
+
+ View Source
+
+
+
+
17 def __init__ ( self , client ):
+18 self . _client = client
+19 self . _model_class = Claim . __name__
+
+
+
+
+
+
+
+
+
+
+
21 def create ( self , ** params ) -> Claim :
+22 """Create a Claim."""
+23 url = "/claims"
+24
+25 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params , beta = False )
+26
+27 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
29 def all ( self , ** params ) -> dict [ str , Any ]:
+30 """Retrieve a list of Claims."""
+31 filters = {
+32 "key" : "claims" ,
+33 }
+34
+35 return self . _all_resources ( class_name = self . _model_class , filters = filters , beta = False , ** params )
+
+
+
+
Retrieve a list of Claims.
+
+
+
+
+
+
+
+
+
37 def retrieve ( self , id : str ) -> Claim :
+38 """Retrieve a Claim."""
+39 return self . _retrieve_resource ( class_name = self . _model_class , id = id , beta = False )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ get_next_page ( self , claims : dict [ str , typing . Any ] , page_size : int , optional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
41 def get_next_page (
+42 self ,
+43 claims : dict [ str , Any ],
+44 page_size : int ,
+45 optional_params : Optional [ dict [ str , Any ]] = None ,
+46 ) -> dict [ str , Any ]:
+47 """Retrieve the next page of the list Claim response."""
+48 self . _check_has_next_page ( collection = claims )
+49
+50 params = {
+51 "before_id" : claims [ "claims" ][ - 1 ] . id ,
+52 "page_size" : page_size ,
+53 }
+54
+55 if optional_params :
+56 params . update ( optional_params )
+57
+58 return self . all ( ** params )
+
+
+
+
Retrieve the next page of the list Claim response.
+
+
+
+
+
+
+
+
+
60 def cancel ( self , id : str ) -> Claim :
+61 """Cancel a Claim."""
+62 url = f "/claims/ { id } /cancel"
+63
+64 response = Requestor ( self . _client ) . request (
+65 method = RequestMethod . POST ,
+66 url = url ,
+67 beta = False ,
+68 )
+69
+70 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/claim_service.py b/easypost/services/claim_service.py
deleted file mode 100644
index c7925b04..00000000
--- a/easypost/services/claim_service.py
+++ /dev/null
@@ -1,69 +0,0 @@
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import Claim
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class ClaimService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Claim.__name__
-
- def create(self, **params) -> Claim:
- """Create a Claim."""
- url = "/claims"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params, beta=False)
-
- return convert_to_easypost_object(response=response)
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of Claims."""
- filters = {
- "key": "claims",
- }
-
- return self._all_resources(class_name=self._model_class, filters=filters, beta=False, **params)
-
- def retrieve(self, id: str) -> Claim:
- """Retrieve a Claim."""
- return self._retrieve_resource(class_name=self._model_class, id=id, beta=False)
-
- def get_next_page(
- self,
- claims: dict[str, Any],
- page_size: int,
- optional_params: Optional[dict[str, Any]] = None,
- ) -> dict[str, Any]:
- """Retrieve the next page of the list Claim response."""
- self._check_has_next_page(collection=claims)
-
- params = {
- "before_id": claims["claims"][-1].id,
- "page_size": page_size,
- }
-
- if optional_params:
- params.update(optional_params)
-
- return self.all(**params)
-
- def cancel(self, id: str) -> Claim:
- """Cancel a Claim."""
- url = f"/claims/{id}/cancel"
-
- response = Requestor(self._client).request(
- method=RequestMethod.POST,
- url=url,
- beta=False,
- )
-
- return convert_to_easypost_object(response=response)
diff --git a/easypost/services/customer_portal_service.html b/easypost/services/customer_portal_service.html
new file mode 100644
index 00000000..f785ab31
--- /dev/null
+++ b/easypost/services/customer_portal_service.html
@@ -0,0 +1,354 @@
+
+
+
+
+
+
+ easypost.services.customer_portal_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 12 class CustomerPortalService ( BaseService ):
+13 def __init__ ( self , client ):
+14 self . _client = client
+15
+16 def create_account_link ( self , ** params ) -> dict [ str , Any ]:
+17 """Create a Portal Session."""
+18 response = Requestor ( self . _client ) . request (
+19 method = RequestMethod . POST ,
+20 url = "/customer_portal/account_link" ,
+21 params = params ,
+22 )
+23
+24 return convert_to_easypost_object ( response = response )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ CustomerPortalService (client )
+
+ View Source
+
+
+
+
13 def __init__ ( self , client ):
+14 self . _client = client
+
+
+
+
+
+
+
+
+
+
+ def
+ create_account_link (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
16 def create_account_link ( self , ** params ) -> dict [ str , Any ]:
+17 """Create a Portal Session."""
+18 response = Requestor ( self . _client ) . request (
+19 method = RequestMethod . POST ,
+20 url = "/customer_portal/account_link" ,
+21 params = params ,
+22 )
+23
+24 return convert_to_easypost_object ( response = response )
+
+
+
+
Create a Portal Session.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/customer_portal_service.py b/easypost/services/customer_portal_service.py
deleted file mode 100644
index 1e168e32..00000000
--- a/easypost/services/customer_portal_service.py
+++ /dev/null
@@ -1,23 +0,0 @@
-from typing import Any
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class CustomerPortalService(BaseService):
- def __init__(self, client):
- self._client = client
-
- def create_account_link(self, **params) -> dict[str, Any]:
- """Create a Portal Session."""
- response = Requestor(self._client).request(
- method=RequestMethod.POST,
- url="/customer_portal/account_link",
- params=params,
- )
-
- return convert_to_easypost_object(response=response)
diff --git a/easypost/services/customs_info_service.html b/easypost/services/customs_info_service.html
new file mode 100644
index 00000000..9e73726e
--- /dev/null
+++ b/easypost/services/customs_info_service.html
@@ -0,0 +1,366 @@
+
+
+
+
+
+
+ easypost.services.customs_info_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 6 class CustomsInfoService ( BaseService ):
+ 7 def __init__ ( self , client ):
+ 8 self . _client = client
+ 9 self . _model_class = CustomsInfo . __name__
+10
+11 def create ( self , ** params ) -> CustomsInfo :
+12 """Create a CustomsInfo."""
+13 return self . _create_resource ( self . _model_class , ** params )
+14
+15 def retrieve ( self , id : str ) -> CustomsInfo :
+16 """Retrieve a CustomsInfo."""
+17 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ CustomsInfoService (client )
+
+ View Source
+
+
+
+
7 def __init__ ( self , client ):
+8 self . _client = client
+9 self . _model_class = CustomsInfo . __name__
+
+
+
+
+
+
+
+
+
+
+
11 def create ( self , ** params ) -> CustomsInfo :
+12 """Create a CustomsInfo."""
+13 return self . _create_resource ( self . _model_class , ** params )
+
+
+
+
+
+
+
+
+
+
+
+
15 def retrieve ( self , id : str ) -> CustomsInfo :
+16 """Retrieve a CustomsInfo."""
+17 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
Retrieve a CustomsInfo.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/customs_info_service.py b/easypost/services/customs_info_service.py
deleted file mode 100644
index 65c994d5..00000000
--- a/easypost/services/customs_info_service.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from easypost.models import CustomsInfo
-from easypost.services.base_service import BaseService
-
-
-class CustomsInfoService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = CustomsInfo.__name__
-
- def create(self, **params) -> CustomsInfo:
- """Create a CustomsInfo."""
- return self._create_resource(self._model_class, **params)
-
- def retrieve(self, id: str) -> CustomsInfo:
- """Retrieve a CustomsInfo."""
- return self._retrieve_resource(self._model_class, id)
diff --git a/easypost/services/customs_item_service.html b/easypost/services/customs_item_service.html
new file mode 100644
index 00000000..c6d07a42
--- /dev/null
+++ b/easypost/services/customs_item_service.html
@@ -0,0 +1,366 @@
+
+
+
+
+
+
+ easypost.services.customs_item_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 6 class CustomsItemService ( BaseService ):
+ 7 def __init__ ( self , client ):
+ 8 self . _client = client
+ 9 self . _model_class = CustomsItem . __name__
+10
+11 def create ( self , ** params ) -> CustomsItem :
+12 """Create a CustomsItem."""
+13 return self . _create_resource ( self . _model_class , ** params )
+14
+15 def retrieve ( self , id : str ) -> CustomsItem :
+16 """Retrieve a CustomsItem."""
+17 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ CustomsItemService (client )
+
+ View Source
+
+
+
+
7 def __init__ ( self , client ):
+8 self . _client = client
+9 self . _model_class = CustomsItem . __name__
+
+
+
+
+
+
+
+
+
+
+
11 def create ( self , ** params ) -> CustomsItem :
+12 """Create a CustomsItem."""
+13 return self . _create_resource ( self . _model_class , ** params )
+
+
+
+
+
+
+
+
+
+
+
+
15 def retrieve ( self , id : str ) -> CustomsItem :
+16 """Retrieve a CustomsItem."""
+17 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
Retrieve a CustomsItem.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/customs_item_service.py b/easypost/services/customs_item_service.py
deleted file mode 100644
index a072f3d3..00000000
--- a/easypost/services/customs_item_service.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from easypost.models import CustomsItem
-from easypost.services.base_service import BaseService
-
-
-class CustomsItemService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = CustomsItem.__name__
-
- def create(self, **params) -> CustomsItem:
- """Create a CustomsItem."""
- return self._create_resource(self._model_class, **params)
-
- def retrieve(self, id: str) -> CustomsItem:
- """Retrieve a CustomsItem."""
- return self._retrieve_resource(self._model_class, id)
diff --git a/easypost/services/embeddable_service.html b/easypost/services/embeddable_service.html
new file mode 100644
index 00000000..01454366
--- /dev/null
+++ b/easypost/services/embeddable_service.html
@@ -0,0 +1,354 @@
+
+
+
+
+
+
+ easypost.services.embeddable_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 12 class EmbeddableService ( BaseService ):
+13 def __init__ ( self , client ):
+14 self . _client = client
+15
+16 def create_session ( self , ** params ) -> dict [ str , Any ]:
+17 """Create an Embeddables Session."""
+18 response = Requestor ( self . _client ) . request (
+19 method = RequestMethod . POST ,
+20 url = "/embeddables/session" ,
+21 params = params ,
+22 )
+23
+24 return convert_to_easypost_object ( response = response )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ EmbeddableService (client )
+
+ View Source
+
+
+
+
13 def __init__ ( self , client ):
+14 self . _client = client
+
+
+
+
+
+
+
+
+
+
+ def
+ create_session (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
16 def create_session ( self , ** params ) -> dict [ str , Any ]:
+17 """Create an Embeddables Session."""
+18 response = Requestor ( self . _client ) . request (
+19 method = RequestMethod . POST ,
+20 url = "/embeddables/session" ,
+21 params = params ,
+22 )
+23
+24 return convert_to_easypost_object ( response = response )
+
+
+
+
Create an Embeddables Session.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/embeddable_service.py b/easypost/services/embeddable_service.py
deleted file mode 100644
index 36205d4e..00000000
--- a/easypost/services/embeddable_service.py
+++ /dev/null
@@ -1,23 +0,0 @@
-from typing import Any
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class EmbeddableService(BaseService):
- def __init__(self, client):
- self._client = client
-
- def create_session(self, **params) -> dict[str, Any]:
- """Create an Embeddables Session."""
- response = Requestor(self._client).request(
- method=RequestMethod.POST,
- url="/embeddables/session",
- params=params,
- )
-
- return convert_to_easypost_object(response=response)
diff --git a/easypost/services/end_shipper_service.html b/easypost/services/end_shipper_service.html
new file mode 100644
index 00000000..c3878d90
--- /dev/null
+++ b/easypost/services/end_shipper_service.html
@@ -0,0 +1,488 @@
+
+
+
+
+
+
+ easypost.services.end_shipper_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 )
+ 4
+ 5 from easypost.easypost_object import convert_to_easypost_object
+ 6 from easypost.models import (
+ 7 Address ,
+ 8 EndShipper ,
+ 9 )
+10 from easypost.requestor import (
+11 RequestMethod ,
+12 Requestor ,
+13 )
+14 from easypost.services.base_service import BaseService
+15
+16
+17 class EndShipperService ( BaseService ):
+18 def __init__ ( self , client ):
+19 self . _client = client
+20 self . _model_class = Address . __name__
+21 self . _service_class = EndShipper . __name__
+22
+23 def create ( self , ** params ) -> Address :
+24 """Create an EndShipper."""
+25 url = self . _class_url ( self . _service_class )
+26 wrapped_params = { self . _snakecase_name ( self . _model_class ): params }
+27
+28 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+29
+30 return convert_to_easypost_object ( response = response )
+31
+32 def all ( self , ** params ) -> dict [ str , Any ]:
+33 """Retrieve a list of EndShippers."""
+34 return self . _all_resources ( self . _service_class , ** params )
+35
+36 def retrieve ( self , id : str ) -> Address :
+37 """Retrieve an EndShipper."""
+38 return self . _retrieve_resource ( self . _service_class , id )
+39
+40 def update ( self , id : str , ** params ) -> Address :
+41 """Update an EndShipper object.
+42
+43 This function requires all parameters to be present for an EndShipper.
+44 """
+45 url = self . _instance_url ( self . _service_class , id )
+46 wrapped_params = { self . _snakecase_name ( self . _model_class ): params }
+47
+48 response = Requestor ( self . _client ) . request ( method = RequestMethod . PUT , url = url , params = wrapped_params )
+49
+50 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+ 18 class EndShipperService ( BaseService ):
+19 def __init__ ( self , client ):
+20 self . _client = client
+21 self . _model_class = Address . __name__
+22 self . _service_class = EndShipper . __name__
+23
+24 def create ( self , ** params ) -> Address :
+25 """Create an EndShipper."""
+26 url = self . _class_url ( self . _service_class )
+27 wrapped_params = { self . _snakecase_name ( self . _model_class ): params }
+28
+29 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+30
+31 return convert_to_easypost_object ( response = response )
+32
+33 def all ( self , ** params ) -> dict [ str , Any ]:
+34 """Retrieve a list of EndShippers."""
+35 return self . _all_resources ( self . _service_class , ** params )
+36
+37 def retrieve ( self , id : str ) -> Address :
+38 """Retrieve an EndShipper."""
+39 return self . _retrieve_resource ( self . _service_class , id )
+40
+41 def update ( self , id : str , ** params ) -> Address :
+42 """Update an EndShipper object.
+43
+44 This function requires all parameters to be present for an EndShipper.
+45 """
+46 url = self . _instance_url ( self . _service_class , id )
+47 wrapped_params = { self . _snakecase_name ( self . _model_class ): params }
+48
+49 response = Requestor ( self . _client ) . request ( method = RequestMethod . PUT , url = url , params = wrapped_params )
+50
+51 return convert_to_easypost_object ( response = response )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ EndShipperService (client )
+
+ View Source
+
+
+
+
19 def __init__ ( self , client ):
+20 self . _client = client
+21 self . _model_class = Address . __name__
+22 self . _service_class = EndShipper . __name__
+
+
+
+
+
+
+
+
+
+
+
24 def create ( self , ** params ) -> Address :
+25 """Create an EndShipper."""
+26 url = self . _class_url ( self . _service_class )
+27 wrapped_params = { self . _snakecase_name ( self . _model_class ): params }
+28
+29 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+30
+31 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
33 def all ( self , ** params ) -> dict [ str , Any ]:
+34 """Retrieve a list of EndShippers."""
+35 return self . _all_resources ( self . _service_class , ** params )
+
+
+
+
Retrieve a list of EndShippers.
+
+
+
+
+
+
+
+
+
37 def retrieve ( self , id : str ) -> Address :
+38 """Retrieve an EndShipper."""
+39 return self . _retrieve_resource ( self . _service_class , id )
+
+
+
+
Retrieve an EndShipper.
+
+
+
+
+
+
+
+
+
41 def update ( self , id : str , ** params ) -> Address :
+42 """Update an EndShipper object.
+43
+44 This function requires all parameters to be present for an EndShipper.
+45 """
+46 url = self . _instance_url ( self . _service_class , id )
+47 wrapped_params = { self . _snakecase_name ( self . _model_class ): params }
+48
+49 response = Requestor ( self . _client ) . request ( method = RequestMethod . PUT , url = url , params = wrapped_params )
+50
+51 return convert_to_easypost_object ( response = response )
+
+
+
+
Update an EndShipper object.
+
+
This function requires all parameters to be present for an EndShipper.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/end_shipper_service.py b/easypost/services/end_shipper_service.py
deleted file mode 100644
index 7fd70d76..00000000
--- a/easypost/services/end_shipper_service.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from typing import (
- Any,
-)
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import (
- Address,
- EndShipper,
-)
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class EndShipperService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Address.__name__
- self._service_class = EndShipper.__name__
-
- def create(self, **params) -> Address:
- """Create an EndShipper."""
- url = self._class_url(self._service_class)
- wrapped_params = {self._snakecase_name(self._model_class): params}
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=wrapped_params)
-
- return convert_to_easypost_object(response=response)
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of EndShippers."""
- return self._all_resources(self._service_class, **params)
-
- def retrieve(self, id: str) -> Address:
- """Retrieve an EndShipper."""
- return self._retrieve_resource(self._service_class, id)
-
- def update(self, id: str, **params) -> Address:
- """Update an EndShipper object.
-
- This function requires all parameters to be present for an EndShipper.
- """
- url = self._instance_url(self._service_class, id)
- wrapped_params = {self._snakecase_name(self._model_class): params}
-
- response = Requestor(self._client).request(method=RequestMethod.PUT, url=url, params=wrapped_params)
-
- return convert_to_easypost_object(response=response)
diff --git a/easypost/services/event_service.html b/easypost/services/event_service.html
new file mode 100644
index 00000000..591b720e
--- /dev/null
+++ b/easypost/services/event_service.html
@@ -0,0 +1,592 @@
+
+
+
+
+
+
+ easypost.services.event_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 Optional ,
+ 4 )
+ 5
+ 6 from easypost.easypost_object import convert_to_easypost_object
+ 7 from easypost.models import (
+ 8 Event ,
+ 9 Payload ,
+10 )
+11 from easypost.requestor import (
+12 RequestMethod ,
+13 Requestor ,
+14 )
+15 from easypost.services.base_service import BaseService
+16
+17
+18 class EventService ( BaseService ):
+19 def __init__ ( self , client ):
+20 self . _client = client
+21 self . _model_class = Event . __name__
+22
+23 def create ( self , ** params ) -> Event :
+24 """Create an Event."""
+25 return self . _create_resource ( self . _model_class , ** params )
+26
+27 def all ( self , ** params ) -> dict [ str , Any ]:
+28 """Retrieve a list of Events."""
+29 filters = {
+30 "key" : "events" ,
+31 }
+32
+33 return self . _all_resources ( self . _model_class , filters , ** params )
+34
+35 def retrieve ( self , id : str ) -> Event :
+36 """Retrieve an Event."""
+37 return self . _retrieve_resource ( self . _model_class , id )
+38
+39 def retrieve_all_payloads ( self , event_id : str , ** params ) -> dict [ str , Any ]:
+40 """Retrieve a list of Payloads for an Event."""
+41 url = f " { self . _class_url ( self . _model_class ) } / { event_id } /payloads"
+42
+43 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+44
+45 return convert_to_easypost_object ( response = response )
+46
+47 def retrieve_payload ( self , event_id : str , payload_id : str , ** params ) -> Payload :
+48 """Retrieve a Payload of an Event."""
+49 url = f " { self . _class_url ( self . _model_class ) } / { event_id } /payloads/ { payload_id } "
+50
+51 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+52
+53 return convert_to_easypost_object ( response = response )
+54
+55 def get_next_page (
+56 self ,
+57 events : dict [ str , Any ],
+58 page_size : int ,
+59 optional_params : Optional [ dict [ str , Any ]] = None ,
+60 ) -> dict [ str , Any ]:
+61 """Retrieve the next page of the list Events response."""
+62 self . _check_has_next_page ( collection = events )
+63
+64 params = {
+65 "before_id" : events [ "events" ][ - 1 ] . id ,
+66 "page_size" : page_size ,
+67 }
+68
+69 if optional_params :
+70 params . update ( optional_params )
+71
+72 return self . all ( ** params )
+
+
+
+
+
+
+
+
+ 19 class EventService ( BaseService ):
+20 def __init__ ( self , client ):
+21 self . _client = client
+22 self . _model_class = Event . __name__
+23
+24 def create ( self , ** params ) -> Event :
+25 """Create an Event."""
+26 return self . _create_resource ( self . _model_class , ** params )
+27
+28 def all ( self , ** params ) -> dict [ str , Any ]:
+29 """Retrieve a list of Events."""
+30 filters = {
+31 "key" : "events" ,
+32 }
+33
+34 return self . _all_resources ( self . _model_class , filters , ** params )
+35
+36 def retrieve ( self , id : str ) -> Event :
+37 """Retrieve an Event."""
+38 return self . _retrieve_resource ( self . _model_class , id )
+39
+40 def retrieve_all_payloads ( self , event_id : str , ** params ) -> dict [ str , Any ]:
+41 """Retrieve a list of Payloads for an Event."""
+42 url = f " { self . _class_url ( self . _model_class ) } / { event_id } /payloads"
+43
+44 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+45
+46 return convert_to_easypost_object ( response = response )
+47
+48 def retrieve_payload ( self , event_id : str , payload_id : str , ** params ) -> Payload :
+49 """Retrieve a Payload of an Event."""
+50 url = f " { self . _class_url ( self . _model_class ) } / { event_id } /payloads/ { payload_id } "
+51
+52 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+53
+54 return convert_to_easypost_object ( response = response )
+55
+56 def get_next_page (
+57 self ,
+58 events : dict [ str , Any ],
+59 page_size : int ,
+60 optional_params : Optional [ dict [ str , Any ]] = None ,
+61 ) -> dict [ str , Any ]:
+62 """Retrieve the next page of the list Events response."""
+63 self . _check_has_next_page ( collection = events )
+64
+65 params = {
+66 "before_id" : events [ "events" ][ - 1 ] . id ,
+67 "page_size" : page_size ,
+68 }
+69
+70 if optional_params :
+71 params . update ( optional_params )
+72
+73 return self . all ( ** params )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ EventService (client )
+
+ View Source
+
+
+
+
20 def __init__ ( self , client ):
+21 self . _client = client
+22 self . _model_class = Event . __name__
+
+
+
+
+
+
+
+
+
+
+
24 def create ( self , ** params ) -> Event :
+25 """Create an Event."""
+26 return self . _create_resource ( self . _model_class , ** params )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
28 def all ( self , ** params ) -> dict [ str , Any ]:
+29 """Retrieve a list of Events."""
+30 filters = {
+31 "key" : "events" ,
+32 }
+33
+34 return self . _all_resources ( self . _model_class , filters , ** params )
+
+
+
+
Retrieve a list of Events.
+
+
+
+
+
+
+
+
+
36 def retrieve ( self , id : str ) -> Event :
+37 """Retrieve an Event."""
+38 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ retrieve_all_payloads (self , event_id : str , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
40 def retrieve_all_payloads ( self , event_id : str , ** params ) -> dict [ str , Any ]:
+41 """Retrieve a list of Payloads for an Event."""
+42 url = f " { self . _class_url ( self . _model_class ) } / { event_id } /payloads"
+43
+44 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+45
+46 return convert_to_easypost_object ( response = response )
+
+
+
+
Retrieve a list of Payloads for an Event.
+
+
+
+
+
+
+
+
+
48 def retrieve_payload ( self , event_id : str , payload_id : str , ** params ) -> Payload :
+49 """Retrieve a Payload of an Event."""
+50 url = f " { self . _class_url ( self . _model_class ) } / { event_id } /payloads/ { payload_id } "
+51
+52 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+53
+54 return convert_to_easypost_object ( response = response )
+
+
+
+
Retrieve a Payload of an Event.
+
+
+
+
+
+
+
+
+ def
+ get_next_page ( self , events : dict [ str , typing . Any ] , page_size : int , optional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
56 def get_next_page (
+57 self ,
+58 events : dict [ str , Any ],
+59 page_size : int ,
+60 optional_params : Optional [ dict [ str , Any ]] = None ,
+61 ) -> dict [ str , Any ]:
+62 """Retrieve the next page of the list Events response."""
+63 self . _check_has_next_page ( collection = events )
+64
+65 params = {
+66 "before_id" : events [ "events" ][ - 1 ] . id ,
+67 "page_size" : page_size ,
+68 }
+69
+70 if optional_params :
+71 params . update ( optional_params )
+72
+73 return self . all ( ** params )
+
+
+
+
Retrieve the next page of the list Events response.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/event_service.py b/easypost/services/event_service.py
deleted file mode 100644
index 8d0aad3f..00000000
--- a/easypost/services/event_service.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import (
- Event,
- Payload,
-)
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class EventService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Event.__name__
-
- def create(self, **params) -> Event:
- """Create an Event."""
- return self._create_resource(self._model_class, **params)
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of Events."""
- filters = {
- "key": "events",
- }
-
- return self._all_resources(self._model_class, filters, **params)
-
- def retrieve(self, id: str) -> Event:
- """Retrieve an Event."""
- return self._retrieve_resource(self._model_class, id)
-
- def retrieve_all_payloads(self, event_id: str, **params) -> dict[str, Any]:
- """Retrieve a list of Payloads for an Event."""
- url = f"{self._class_url(self._model_class)}/{event_id}/payloads"
-
- response = Requestor(self._client).request(method=RequestMethod.GET, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def retrieve_payload(self, event_id: str, payload_id: str, **params) -> Payload:
- """Retrieve a Payload of an Event."""
- url = f"{self._class_url(self._model_class)}/{event_id}/payloads/{payload_id}"
-
- response = Requestor(self._client).request(method=RequestMethod.GET, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def get_next_page(
- self,
- events: dict[str, Any],
- page_size: int,
- optional_params: Optional[dict[str, Any]] = None,
- ) -> dict[str, Any]:
- """Retrieve the next page of the list Events response."""
- self._check_has_next_page(collection=events)
-
- params = {
- "before_id": events["events"][-1].id,
- "page_size": page_size,
- }
-
- if optional_params:
- params.update(optional_params)
-
- return self.all(**params)
diff --git a/easypost/services/fedex_registration_service.html b/easypost/services/fedex_registration_service.html
new file mode 100644
index 00000000..15b0a81a
--- /dev/null
+++ b/easypost/services/fedex_registration_service.html
@@ -0,0 +1,608 @@
+
+
+
+
+
+
+ easypost.services.fedex_registration_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 import uuid
+ 2 from typing import Any
+ 3
+ 4 from easypost.easypost_object import convert_to_easypost_object
+ 5 from easypost.requestor import RequestMethod , Requestor
+ 6 from easypost.services.base_service import BaseService
+ 7
+ 8
+ 9 class FedExRegistrationService ( BaseService ):
+ 10 def __init__ ( self , client ):
+ 11 self . _client = client
+ 12
+ 13 def register_address ( self , fedex_account_number : str , ** params ) -> dict [ str , Any ]:
+ 14 """Register the billing address for a FedEx account."""
+ 15 wrapped_params = self . _wrap_address_validation ( params )
+ 16 url = f "/fedex_registrations/ { fedex_account_number } /address"
+ 17
+ 18 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+ 19
+ 20 return convert_to_easypost_object ( response = response )
+ 21
+ 22 def request_pin ( self , fedex_account_number : str , pin_method_option : str , ** params ) -> dict [ str , Any ]:
+ 23 """Request a PIN for FedEx account verification."""
+ 24 wrapped_params = self . _wrap_pin_validation ( params )
+ 25 wrapped_params [ "pin_method" ] = { "option" : pin_method_option }
+ 26 url = f "/fedex_registrations/ { fedex_account_number } /pin"
+ 27
+ 28 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+ 29
+ 30 return convert_to_easypost_object ( response = response )
+ 31
+ 32 def validate_pin ( self , fedex_account_number : str , ** params ) -> dict [ str , Any ]:
+ 33 """Validate the PIN entered by the user for FedEx account verification."""
+ 34 wrapped_params = self . _wrap_pin_validation ( params )
+ 35 url = f "/fedex_registrations/ { fedex_account_number } /pin/validate"
+ 36
+ 37 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+ 38
+ 39 return convert_to_easypost_object ( response = response )
+ 40
+ 41 def submit_invoice ( self , fedex_account_number : str , ** params ) -> dict [ str , Any ]:
+ 42 """Submit invoice information to complete FedEx account registration."""
+ 43 wrapped_params = self . _wrap_invoice_validation ( params )
+ 44 url = f "/fedex_registrations/ { fedex_account_number } /invoice"
+ 45
+ 46 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+ 47
+ 48 return convert_to_easypost_object ( response = response )
+ 49
+ 50 def _wrap_address_validation ( self , params : dict [ str , Any ]) -> dict [ str , Any ]:
+ 51 """Wraps address validation parameters and ensures the "name" field exists.
+ 52 If not present, generates a UUID (with hyphens removed) as the name.
+ 53 """
+ 54 wrapped_params = {}
+ 55
+ 56 if "address_validation" in params :
+ 57 address_validation = params [ "address_validation" ] . copy ()
+ 58 self . _ensure_name_field ( address_validation )
+ 59 wrapped_params [ "address_validation" ] = address_validation
+ 60
+ 61 if "easypost_details" in params :
+ 62 wrapped_params [ "easypost_details" ] = params [ "easypost_details" ]
+ 63
+ 64 return wrapped_params
+ 65
+ 66 def _wrap_pin_validation ( self , params : dict [ str , Any ]) -> dict [ str , Any ]:
+ 67 """Wraps PIN validation parameters and ensures the "name" field exists.
+ 68 If not present, generates a UUID (with hyphens removed) as the name.
+ 69 """
+ 70 wrapped_params = {}
+ 71
+ 72 if "pin_validation" in params :
+ 73 pin_validation = params [ "pin_validation" ] . copy ()
+ 74 self . _ensure_name_field ( pin_validation )
+ 75 wrapped_params [ "pin_validation" ] = pin_validation
+ 76
+ 77 if "easypost_details" in params :
+ 78 wrapped_params [ "easypost_details" ] = params [ "easypost_details" ]
+ 79
+ 80 return wrapped_params
+ 81
+ 82 def _wrap_invoice_validation ( self , params : dict [ str , Any ]) -> dict [ str , Any ]:
+ 83 """Wraps invoice validation parameters and ensures the "name" field exists.
+ 84 If not present, generates a UUID (with hyphens removed) as the name.
+ 85 """
+ 86 wrapped_params = {}
+ 87
+ 88 if "invoice_validation" in params :
+ 89 invoice_validation = params [ "invoice_validation" ] . copy ()
+ 90 self . _ensure_name_field ( invoice_validation )
+ 91 wrapped_params [ "invoice_validation" ] = invoice_validation
+ 92
+ 93 if "easypost_details" in params :
+ 94 wrapped_params [ "easypost_details" ] = params [ "easypost_details" ]
+ 95
+ 96 return wrapped_params
+ 97
+ 98 def _ensure_name_field ( self , mapping : dict [ str , Any ]) -> None :
+ 99 """Ensures the "name" field exists in the provided map.
+100 If not present, generates a UUID (with hyphens removed) as the name.
+101 This follows the pattern used in the web UI implementation.
+102 """
+103 if "name" not in mapping or mapping [ "name" ] is None :
+104 mapping [ "name" ] = str ( uuid . uuid4 ()) . replace ( "-" , "" )
+
+
+
+
+
+
+
+
+ 10 class FedExRegistrationService ( BaseService ):
+ 11 def __init__ ( self , client ):
+ 12 self . _client = client
+ 13
+ 14 def register_address ( self , fedex_account_number : str , ** params ) -> dict [ str , Any ]:
+ 15 """Register the billing address for a FedEx account."""
+ 16 wrapped_params = self . _wrap_address_validation ( params )
+ 17 url = f "/fedex_registrations/ { fedex_account_number } /address"
+ 18
+ 19 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+ 20
+ 21 return convert_to_easypost_object ( response = response )
+ 22
+ 23 def request_pin ( self , fedex_account_number : str , pin_method_option : str , ** params ) -> dict [ str , Any ]:
+ 24 """Request a PIN for FedEx account verification."""
+ 25 wrapped_params = self . _wrap_pin_validation ( params )
+ 26 wrapped_params [ "pin_method" ] = { "option" : pin_method_option }
+ 27 url = f "/fedex_registrations/ { fedex_account_number } /pin"
+ 28
+ 29 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+ 30
+ 31 return convert_to_easypost_object ( response = response )
+ 32
+ 33 def validate_pin ( self , fedex_account_number : str , ** params ) -> dict [ str , Any ]:
+ 34 """Validate the PIN entered by the user for FedEx account verification."""
+ 35 wrapped_params = self . _wrap_pin_validation ( params )
+ 36 url = f "/fedex_registrations/ { fedex_account_number } /pin/validate"
+ 37
+ 38 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+ 39
+ 40 return convert_to_easypost_object ( response = response )
+ 41
+ 42 def submit_invoice ( self , fedex_account_number : str , ** params ) -> dict [ str , Any ]:
+ 43 """Submit invoice information to complete FedEx account registration."""
+ 44 wrapped_params = self . _wrap_invoice_validation ( params )
+ 45 url = f "/fedex_registrations/ { fedex_account_number } /invoice"
+ 46
+ 47 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+ 48
+ 49 return convert_to_easypost_object ( response = response )
+ 50
+ 51 def _wrap_address_validation ( self , params : dict [ str , Any ]) -> dict [ str , Any ]:
+ 52 """Wraps address validation parameters and ensures the "name" field exists.
+ 53 If not present, generates a UUID (with hyphens removed) as the name.
+ 54 """
+ 55 wrapped_params = {}
+ 56
+ 57 if "address_validation" in params :
+ 58 address_validation = params [ "address_validation" ] . copy ()
+ 59 self . _ensure_name_field ( address_validation )
+ 60 wrapped_params [ "address_validation" ] = address_validation
+ 61
+ 62 if "easypost_details" in params :
+ 63 wrapped_params [ "easypost_details" ] = params [ "easypost_details" ]
+ 64
+ 65 return wrapped_params
+ 66
+ 67 def _wrap_pin_validation ( self , params : dict [ str , Any ]) -> dict [ str , Any ]:
+ 68 """Wraps PIN validation parameters and ensures the "name" field exists.
+ 69 If not present, generates a UUID (with hyphens removed) as the name.
+ 70 """
+ 71 wrapped_params = {}
+ 72
+ 73 if "pin_validation" in params :
+ 74 pin_validation = params [ "pin_validation" ] . copy ()
+ 75 self . _ensure_name_field ( pin_validation )
+ 76 wrapped_params [ "pin_validation" ] = pin_validation
+ 77
+ 78 if "easypost_details" in params :
+ 79 wrapped_params [ "easypost_details" ] = params [ "easypost_details" ]
+ 80
+ 81 return wrapped_params
+ 82
+ 83 def _wrap_invoice_validation ( self , params : dict [ str , Any ]) -> dict [ str , Any ]:
+ 84 """Wraps invoice validation parameters and ensures the "name" field exists.
+ 85 If not present, generates a UUID (with hyphens removed) as the name.
+ 86 """
+ 87 wrapped_params = {}
+ 88
+ 89 if "invoice_validation" in params :
+ 90 invoice_validation = params [ "invoice_validation" ] . copy ()
+ 91 self . _ensure_name_field ( invoice_validation )
+ 92 wrapped_params [ "invoice_validation" ] = invoice_validation
+ 93
+ 94 if "easypost_details" in params :
+ 95 wrapped_params [ "easypost_details" ] = params [ "easypost_details" ]
+ 96
+ 97 return wrapped_params
+ 98
+ 99 def _ensure_name_field ( self , mapping : dict [ str , Any ]) -> None :
+100 """Ensures the "name" field exists in the provided map.
+101 If not present, generates a UUID (with hyphens removed) as the name.
+102 This follows the pattern used in the web UI implementation.
+103 """
+104 if "name" not in mapping or mapping [ "name" ] is None :
+105 mapping [ "name" ] = str ( uuid . uuid4 ()) . replace ( "-" , "" )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ FedExRegistrationService (client )
+
+ View Source
+
+
+
+
11 def __init__ ( self , client ):
+12 self . _client = client
+
+
+
+
+
+
+
+
+
+
+ def
+ register_address (self , fedex_account_number : str , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
14 def register_address ( self , fedex_account_number : str , ** params ) -> dict [ str , Any ]:
+15 """Register the billing address for a FedEx account."""
+16 wrapped_params = self . _wrap_address_validation ( params )
+17 url = f "/fedex_registrations/ { fedex_account_number } /address"
+18
+19 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+20
+21 return convert_to_easypost_object ( response = response )
+
+
+
+
Register the billing address for a FedEx account.
+
+
+
+
+
+
+
+
+ def
+ request_pin ( self , fedex_account_number : str , pin_method_option : str , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
23 def request_pin ( self , fedex_account_number : str , pin_method_option : str , ** params ) -> dict [ str , Any ]:
+24 """Request a PIN for FedEx account verification."""
+25 wrapped_params = self . _wrap_pin_validation ( params )
+26 wrapped_params [ "pin_method" ] = { "option" : pin_method_option }
+27 url = f "/fedex_registrations/ { fedex_account_number } /pin"
+28
+29 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+30
+31 return convert_to_easypost_object ( response = response )
+
+
+
+
Request a PIN for FedEx account verification.
+
+
+
+
+
+
+
+
+ def
+ validate_pin (self , fedex_account_number : str , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
33 def validate_pin ( self , fedex_account_number : str , ** params ) -> dict [ str , Any ]:
+34 """Validate the PIN entered by the user for FedEx account verification."""
+35 wrapped_params = self . _wrap_pin_validation ( params )
+36 url = f "/fedex_registrations/ { fedex_account_number } /pin/validate"
+37
+38 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+39
+40 return convert_to_easypost_object ( response = response )
+
+
+
+
Validate the PIN entered by the user for FedEx account verification.
+
+
+
+
+
+
+
+
+ def
+ submit_invoice (self , fedex_account_number : str , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
42 def submit_invoice ( self , fedex_account_number : str , ** params ) -> dict [ str , Any ]:
+43 """Submit invoice information to complete FedEx account registration."""
+44 wrapped_params = self . _wrap_invoice_validation ( params )
+45 url = f "/fedex_registrations/ { fedex_account_number } /invoice"
+46
+47 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+48
+49 return convert_to_easypost_object ( response = response )
+
+
+
+
Submit invoice information to complete FedEx account registration.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/fedex_registration_service.py b/easypost/services/fedex_registration_service.py
deleted file mode 100644
index ed73910b..00000000
--- a/easypost/services/fedex_registration_service.py
+++ /dev/null
@@ -1,104 +0,0 @@
-import uuid
-from typing import Any
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.requestor import RequestMethod, Requestor
-from easypost.services.base_service import BaseService
-
-
-class FedExRegistrationService(BaseService):
- def __init__(self, client):
- self._client = client
-
- def register_address(self, fedex_account_number: str, **params) -> dict[str, Any]:
- """Register the billing address for a FedEx account."""
- wrapped_params = self._wrap_address_validation(params)
- url = f"/fedex_registrations/{fedex_account_number}/address"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=wrapped_params)
-
- return convert_to_easypost_object(response=response)
-
- def request_pin(self, fedex_account_number: str, pin_method_option: str, **params) -> dict[str, Any]:
- """Request a PIN for FedEx account verification."""
- wrapped_params = self._wrap_pin_validation(params)
- wrapped_params["pin_method"] = {"option": pin_method_option}
- url = f"/fedex_registrations/{fedex_account_number}/pin"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=wrapped_params)
-
- return convert_to_easypost_object(response=response)
-
- def validate_pin(self, fedex_account_number: str, **params) -> dict[str, Any]:
- """Validate the PIN entered by the user for FedEx account verification."""
- wrapped_params = self._wrap_pin_validation(params)
- url = f"/fedex_registrations/{fedex_account_number}/pin/validate"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=wrapped_params)
-
- return convert_to_easypost_object(response=response)
-
- def submit_invoice(self, fedex_account_number: str, **params) -> dict[str, Any]:
- """Submit invoice information to complete FedEx account registration."""
- wrapped_params = self._wrap_invoice_validation(params)
- url = f"/fedex_registrations/{fedex_account_number}/invoice"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=wrapped_params)
-
- return convert_to_easypost_object(response=response)
-
- def _wrap_address_validation(self, params: dict[str, Any]) -> dict[str, Any]:
- """Wraps address validation parameters and ensures the "name" field exists.
- If not present, generates a UUID (with hyphens removed) as the name.
- """
- wrapped_params = {}
-
- if "address_validation" in params:
- address_validation = params["address_validation"].copy()
- self._ensure_name_field(address_validation)
- wrapped_params["address_validation"] = address_validation
-
- if "easypost_details" in params:
- wrapped_params["easypost_details"] = params["easypost_details"]
-
- return wrapped_params
-
- def _wrap_pin_validation(self, params: dict[str, Any]) -> dict[str, Any]:
- """Wraps PIN validation parameters and ensures the "name" field exists.
- If not present, generates a UUID (with hyphens removed) as the name.
- """
- wrapped_params = {}
-
- if "pin_validation" in params:
- pin_validation = params["pin_validation"].copy()
- self._ensure_name_field(pin_validation)
- wrapped_params["pin_validation"] = pin_validation
-
- if "easypost_details" in params:
- wrapped_params["easypost_details"] = params["easypost_details"]
-
- return wrapped_params
-
- def _wrap_invoice_validation(self, params: dict[str, Any]) -> dict[str, Any]:
- """Wraps invoice validation parameters and ensures the "name" field exists.
- If not present, generates a UUID (with hyphens removed) as the name.
- """
- wrapped_params = {}
-
- if "invoice_validation" in params:
- invoice_validation = params["invoice_validation"].copy()
- self._ensure_name_field(invoice_validation)
- wrapped_params["invoice_validation"] = invoice_validation
-
- if "easypost_details" in params:
- wrapped_params["easypost_details"] = params["easypost_details"]
-
- return wrapped_params
-
- def _ensure_name_field(self, mapping: dict[str, Any]) -> None:
- """Ensures the "name" field exists in the provided map.
- If not present, generates a UUID (with hyphens removed) as the name.
- This follows the pattern used in the web UI implementation.
- """
- if "name" not in mapping or mapping["name"] is None:
- mapping["name"] = str(uuid.uuid4()).replace("-", "")
diff --git a/easypost/services/insurance_service.html b/easypost/services/insurance_service.html
new file mode 100644
index 00000000..e47886ce
--- /dev/null
+++ b/easypost/services/insurance_service.html
@@ -0,0 +1,545 @@
+
+
+
+
+
+
+ easypost.services.insurance_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 Optional ,
+ 4 )
+ 5
+ 6 from easypost.easypost_object import convert_to_easypost_object
+ 7 from easypost.models import Insurance
+ 8 from easypost.requestor import (
+ 9 RequestMethod ,
+10 Requestor ,
+11 )
+12 from easypost.services.base_service import BaseService
+13
+14
+15 class InsuranceService ( BaseService ):
+16 def __init__ ( self , client ):
+17 self . _client = client
+18 self . _model_class = Insurance . __name__
+19
+20 def create ( self , ** params ) -> Insurance :
+21 """Create an Insurance."""
+22 return self . _create_resource ( self . _model_class , ** params )
+23
+24 def all ( self , ** params ) -> dict [ str , Any ]:
+25 """Retrieve a list of Insurances."""
+26 filters = {
+27 "key" : "insurances" ,
+28 }
+29
+30 return self . _all_resources ( self . _model_class , filters , ** params )
+31
+32 def retrieve ( self , id : str ) -> Insurance :
+33 """Retrieve an Insurance."""
+34 return self . _retrieve_resource ( self . _model_class , id )
+35
+36 def get_next_page (
+37 self ,
+38 insurances : dict [ str , Any ],
+39 page_size : int ,
+40 optional_params : Optional [ dict [ str , Any ]] = None ,
+41 ) -> dict [ str , Any ]:
+42 """Retrieve the next page of the list Insurance response."""
+43 self . _check_has_next_page ( collection = insurances )
+44
+45 params = {
+46 "before_id" : insurances [ "insurances" ][ - 1 ] . id ,
+47 "page_size" : page_size ,
+48 }
+49
+50 if optional_params :
+51 params . update ( optional_params )
+52
+53 return self . all ( ** params )
+54
+55 def refund ( self , id : str ) -> Insurance :
+56 url = f "/insurances/ { id } /refund"
+57 response = Requestor ( self . _client ) . request (
+58 method = RequestMethod . POST ,
+59 url = url ,
+60 )
+61
+62 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+ 16 class InsuranceService ( BaseService ):
+17 def __init__ ( self , client ):
+18 self . _client = client
+19 self . _model_class = Insurance . __name__
+20
+21 def create ( self , ** params ) -> Insurance :
+22 """Create an Insurance."""
+23 return self . _create_resource ( self . _model_class , ** params )
+24
+25 def all ( self , ** params ) -> dict [ str , Any ]:
+26 """Retrieve a list of Insurances."""
+27 filters = {
+28 "key" : "insurances" ,
+29 }
+30
+31 return self . _all_resources ( self . _model_class , filters , ** params )
+32
+33 def retrieve ( self , id : str ) -> Insurance :
+34 """Retrieve an Insurance."""
+35 return self . _retrieve_resource ( self . _model_class , id )
+36
+37 def get_next_page (
+38 self ,
+39 insurances : dict [ str , Any ],
+40 page_size : int ,
+41 optional_params : Optional [ dict [ str , Any ]] = None ,
+42 ) -> dict [ str , Any ]:
+43 """Retrieve the next page of the list Insurance response."""
+44 self . _check_has_next_page ( collection = insurances )
+45
+46 params = {
+47 "before_id" : insurances [ "insurances" ][ - 1 ] . id ,
+48 "page_size" : page_size ,
+49 }
+50
+51 if optional_params :
+52 params . update ( optional_params )
+53
+54 return self . all ( ** params )
+55
+56 def refund ( self , id : str ) -> Insurance :
+57 url = f "/insurances/ { id } /refund"
+58 response = Requestor ( self . _client ) . request (
+59 method = RequestMethod . POST ,
+60 url = url ,
+61 )
+62
+63 return convert_to_easypost_object ( response = response )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ InsuranceService (client )
+
+ View Source
+
+
+
+
17 def __init__ ( self , client ):
+18 self . _client = client
+19 self . _model_class = Insurance . __name__
+
+
+
+
+
+
+
+
+
+
+
21 def create ( self , ** params ) -> Insurance :
+22 """Create an Insurance."""
+23 return self . _create_resource ( self . _model_class , ** params )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
25 def all ( self , ** params ) -> dict [ str , Any ]:
+26 """Retrieve a list of Insurances."""
+27 filters = {
+28 "key" : "insurances" ,
+29 }
+30
+31 return self . _all_resources ( self . _model_class , filters , ** params )
+
+
+
+
Retrieve a list of Insurances.
+
+
+
+
+
+
+
+
+
33 def retrieve ( self , id : str ) -> Insurance :
+34 """Retrieve an Insurance."""
+35 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ get_next_page ( self , insurances : dict [ str , typing . Any ] , page_size : int , optional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
37 def get_next_page (
+38 self ,
+39 insurances : dict [ str , Any ],
+40 page_size : int ,
+41 optional_params : Optional [ dict [ str , Any ]] = None ,
+42 ) -> dict [ str , Any ]:
+43 """Retrieve the next page of the list Insurance response."""
+44 self . _check_has_next_page ( collection = insurances )
+45
+46 params = {
+47 "before_id" : insurances [ "insurances" ][ - 1 ] . id ,
+48 "page_size" : page_size ,
+49 }
+50
+51 if optional_params :
+52 params . update ( optional_params )
+53
+54 return self . all ( ** params )
+
+
+
+
Retrieve the next page of the list Insurance response.
+
+
+
+
+
+
+
+
+
56 def refund ( self , id : str ) -> Insurance :
+57 url = f "/insurances/ { id } /refund"
+58 response = Requestor ( self . _client ) . request (
+59 method = RequestMethod . POST ,
+60 url = url ,
+61 )
+62
+63 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/insurance_service.py b/easypost/services/insurance_service.py
deleted file mode 100644
index c60ea30f..00000000
--- a/easypost/services/insurance_service.py
+++ /dev/null
@@ -1,62 +0,0 @@
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import Insurance
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class InsuranceService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Insurance.__name__
-
- def create(self, **params) -> Insurance:
- """Create an Insurance."""
- return self._create_resource(self._model_class, **params)
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of Insurances."""
- filters = {
- "key": "insurances",
- }
-
- return self._all_resources(self._model_class, filters, **params)
-
- def retrieve(self, id: str) -> Insurance:
- """Retrieve an Insurance."""
- return self._retrieve_resource(self._model_class, id)
-
- def get_next_page(
- self,
- insurances: dict[str, Any],
- page_size: int,
- optional_params: Optional[dict[str, Any]] = None,
- ) -> dict[str, Any]:
- """Retrieve the next page of the list Insurance response."""
- self._check_has_next_page(collection=insurances)
-
- params = {
- "before_id": insurances["insurances"][-1].id,
- "page_size": page_size,
- }
-
- if optional_params:
- params.update(optional_params)
-
- return self.all(**params)
-
- def refund(self, id: str) -> Insurance:
- url = f"/insurances/{id}/refund"
- response = Requestor(self._client).request(
- method=RequestMethod.POST,
- url=url,
- )
-
- return convert_to_easypost_object(response=response)
diff --git a/easypost/services/luma_service.html b/easypost/services/luma_service.html
new file mode 100644
index 00000000..ba784eb9
--- /dev/null
+++ b/easypost/services/luma_service.html
@@ -0,0 +1,374 @@
+
+
+
+
+
+
+ easypost.services.luma_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 )
+ 4
+ 5 from easypost.easypost_object import convert_to_easypost_object
+ 6 from easypost.models import (
+ 7 Shipment ,
+ 8 )
+ 9 from easypost.requestor import (
+10 RequestMethod ,
+11 Requestor ,
+12 )
+13 from easypost.services.base_service import BaseService
+14
+15
+16 class LumaService ( BaseService ):
+17 def __init__ ( self , client ):
+18 self . _client = client
+19 self . _model_class = "Luma"
+20
+21 def get_promise (
+22 self ,
+23 ** params : dict [ str , Any ],
+24 ) -> Shipment :
+25 """Get service recommendations from Luma that meet the criteria of your ruleset."""
+26 url = "/luma/promise"
+27 wrapped_params = {
+28 self . _snakecase_name ( "Shipment" ): params ,
+29 }
+30
+31 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+32
+33 return convert_to_easypost_object ( response = response . get ( "luma_info" , {}))
+
+
+
+
+
+
+
+
+ 17 class LumaService ( BaseService ):
+18 def __init__ ( self , client ):
+19 self . _client = client
+20 self . _model_class = "Luma"
+21
+22 def get_promise (
+23 self ,
+24 ** params : dict [ str , Any ],
+25 ) -> Shipment :
+26 """Get service recommendations from Luma that meet the criteria of your ruleset."""
+27 url = "/luma/promise"
+28 wrapped_params = {
+29 self . _snakecase_name ( "Shipment" ): params ,
+30 }
+31
+32 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+33
+34 return convert_to_easypost_object ( response = response . get ( "luma_info" , {}))
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ LumaService (client )
+
+ View Source
+
+
+
+
18 def __init__ ( self , client ):
+19 self . _client = client
+20 self . _model_class = "Luma"
+
+
+
+
+
+
+
+
+
+
+
22 def get_promise (
+23 self ,
+24 ** params : dict [ str , Any ],
+25 ) -> Shipment :
+26 """Get service recommendations from Luma that meet the criteria of your ruleset."""
+27 url = "/luma/promise"
+28 wrapped_params = {
+29 self . _snakecase_name ( "Shipment" ): params ,
+30 }
+31
+32 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+33
+34 return convert_to_easypost_object ( response = response . get ( "luma_info" , {}))
+
+
+
+
Get service recommendations from Luma that meet the criteria of your ruleset.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/luma_service.py b/easypost/services/luma_service.py
deleted file mode 100644
index 12024515..00000000
--- a/easypost/services/luma_service.py
+++ /dev/null
@@ -1,33 +0,0 @@
-from typing import (
- Any,
-)
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import (
- Shipment,
-)
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class LumaService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = "Luma"
-
- def get_promise(
- self,
- **params: dict[str, Any],
- ) -> Shipment:
- """Get service recommendations from Luma that meet the criteria of your ruleset."""
- url = "/luma/promise"
- wrapped_params = {
- self._snakecase_name("Shipment"): params,
- }
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=wrapped_params)
-
- return convert_to_easypost_object(response=response.get("luma_info", {}))
diff --git a/easypost/services/order_service.html b/easypost/services/order_service.html
new file mode 100644
index 00000000..9a4f8325
--- /dev/null
+++ b/easypost/services/order_service.html
@@ -0,0 +1,461 @@
+
+
+
+
+
+
+ easypost.services.order_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from easypost.easypost_object import convert_to_easypost_object
+ 2 from easypost.models import Order
+ 3 from easypost.requestor import (
+ 4 RequestMethod ,
+ 5 Requestor ,
+ 6 )
+ 7 from easypost.services.base_service import BaseService
+ 8
+ 9
+10 class OrderService ( BaseService ):
+11 def __init__ ( self , client ):
+12 self . _client = client
+13 self . _model_class = Order . __name__
+14
+15 def create ( self , ** params ) -> Order :
+16 """Create an Order."""
+17 return self . _create_resource ( self . _model_class , ** params )
+18
+19 def retrieve ( self , id : str ) -> Order :
+20 """Retrieve an Order."""
+21 return self . _retrieve_resource ( self . _model_class , id )
+22
+23 def get_rates ( self , id : str ) -> Order :
+24 """Get rates for an Order."""
+25 url = f " { self . _instance_url ( self . _model_class , id ) } /rates"
+26
+27 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url )
+28
+29 return convert_to_easypost_object ( response = response )
+30
+31 def buy ( self , id : str , ** params ) -> Order :
+32 """Buy an Order."""
+33 url = f " { self . _instance_url ( self . _model_class , id ) } /buy"
+34
+35 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+36
+37 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+ 11 class OrderService ( BaseService ):
+12 def __init__ ( self , client ):
+13 self . _client = client
+14 self . _model_class = Order . __name__
+15
+16 def create ( self , ** params ) -> Order :
+17 """Create an Order."""
+18 return self . _create_resource ( self . _model_class , ** params )
+19
+20 def retrieve ( self , id : str ) -> Order :
+21 """Retrieve an Order."""
+22 return self . _retrieve_resource ( self . _model_class , id )
+23
+24 def get_rates ( self , id : str ) -> Order :
+25 """Get rates for an Order."""
+26 url = f " { self . _instance_url ( self . _model_class , id ) } /rates"
+27
+28 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url )
+29
+30 return convert_to_easypost_object ( response = response )
+31
+32 def buy ( self , id : str , ** params ) -> Order :
+33 """Buy an Order."""
+34 url = f " { self . _instance_url ( self . _model_class , id ) } /buy"
+35
+36 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+37
+38 return convert_to_easypost_object ( response = response )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ OrderService (client )
+
+ View Source
+
+
+
+
12 def __init__ ( self , client ):
+13 self . _client = client
+14 self . _model_class = Order . __name__
+
+
+
+
+
+
+
+
+
+
+
16 def create ( self , ** params ) -> Order :
+17 """Create an Order."""
+18 return self . _create_resource ( self . _model_class , ** params )
+
+
+
+
+
+
+
+
+
+
+
+
20 def retrieve ( self , id : str ) -> Order :
+21 """Retrieve an Order."""
+22 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
+
24 def get_rates ( self , id : str ) -> Order :
+25 """Get rates for an Order."""
+26 url = f " { self . _instance_url ( self . _model_class , id ) } /rates"
+27
+28 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url )
+29
+30 return convert_to_easypost_object ( response = response )
+
+
+
+
Get rates for an Order.
+
+
+
+
+
+
+
+
+
32 def buy ( self , id : str , ** params ) -> Order :
+33 """Buy an Order."""
+34 url = f " { self . _instance_url ( self . _model_class , id ) } /buy"
+35
+36 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+37
+38 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/order_service.py b/easypost/services/order_service.py
deleted file mode 100644
index 0624b6ee..00000000
--- a/easypost/services/order_service.py
+++ /dev/null
@@ -1,37 +0,0 @@
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import Order
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class OrderService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Order.__name__
-
- def create(self, **params) -> Order:
- """Create an Order."""
- return self._create_resource(self._model_class, **params)
-
- def retrieve(self, id: str) -> Order:
- """Retrieve an Order."""
- return self._retrieve_resource(self._model_class, id)
-
- def get_rates(self, id: str) -> Order:
- """Get rates for an Order."""
- url = f"{self._instance_url(self._model_class, id)}/rates"
-
- response = Requestor(self._client).request(method=RequestMethod.GET, url=url)
-
- return convert_to_easypost_object(response=response)
-
- def buy(self, id: str, **params) -> Order:
- """Buy an Order."""
- url = f"{self._instance_url(self._model_class, id)}/buy"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
diff --git a/easypost/services/parcel_service.html b/easypost/services/parcel_service.html
new file mode 100644
index 00000000..af9754d4
--- /dev/null
+++ b/easypost/services/parcel_service.html
@@ -0,0 +1,366 @@
+
+
+
+
+
+
+ easypost.services.parcel_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 6 class ParcelService ( BaseService ):
+ 7 def __init__ ( self , client ):
+ 8 self . _client = client
+ 9 self . _model_class = Parcel . __name__
+10
+11 def create ( self , ** params ) -> Parcel :
+12 """Create a Parcel."""
+13 return self . _create_resource ( self . _model_class , ** params )
+14
+15 def retrieve ( self , id : str ) -> Parcel :
+16 """Retrieve a Parcel."""
+17 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ ParcelService (client )
+
+ View Source
+
+
+
+
7 def __init__ ( self , client ):
+8 self . _client = client
+9 self . _model_class = Parcel . __name__
+
+
+
+
+
+
+
+
+
+
+
11 def create ( self , ** params ) -> Parcel :
+12 """Create a Parcel."""
+13 return self . _create_resource ( self . _model_class , ** params )
+
+
+
+
+
+
+
+
+
+
+
+
15 def retrieve ( self , id : str ) -> Parcel :
+16 """Retrieve a Parcel."""
+17 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/parcel_service.py b/easypost/services/parcel_service.py
deleted file mode 100644
index 6b71781f..00000000
--- a/easypost/services/parcel_service.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from easypost.models import Parcel
-from easypost.services.base_service import BaseService
-
-
-class ParcelService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Parcel.__name__
-
- def create(self, **params) -> Parcel:
- """Create a Parcel."""
- return self._create_resource(self._model_class, **params)
-
- def retrieve(self, id: str) -> Parcel:
- """Retrieve a Parcel."""
- return self._retrieve_resource(self._model_class, id)
diff --git a/easypost/services/pickup_service.html b/easypost/services/pickup_service.html
new file mode 100644
index 00000000..935718fe
--- /dev/null
+++ b/easypost/services/pickup_service.html
@@ -0,0 +1,589 @@
+
+
+
+
+
+
+ easypost.services.pickup_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 Optional ,
+ 4 )
+ 5
+ 6 from easypost.easypost_object import convert_to_easypost_object
+ 7 from easypost.models import Pickup
+ 8 from easypost.requestor import (
+ 9 RequestMethod ,
+10 Requestor ,
+11 )
+12 from easypost.services.base_service import BaseService
+13
+14
+15 class PickupService ( BaseService ):
+16 def __init__ ( self , client ):
+17 self . _client = client
+18 self . _model_class = Pickup . __name__
+19
+20 def create ( self , ** params ) -> Pickup :
+21 """Create a Pickup."""
+22 return self . _create_resource ( self . _model_class , ** params )
+23
+24 def all ( self , ** params ) -> dict [ str , Any ]:
+25 """Retrieve a list of Pickups."""
+26 filters = {
+27 "key" : "pickups" ,
+28 }
+29
+30 return self . _all_resources ( self . _model_class , filters , ** params )
+31
+32 def retrieve ( self , id : str ) -> Pickup :
+33 """Retrieve a Pickup."""
+34 return self . _retrieve_resource ( self . _model_class , id )
+35
+36 def get_next_page (
+37 self ,
+38 pickups : dict [ str , Any ],
+39 page_size : int ,
+40 optional_params : Optional [ dict [ str , Any ]] = None ,
+41 ) -> dict [ str , Any ]:
+42 """Retrieve the next page of the list Pickup response."""
+43 self . _check_has_next_page ( collection = pickups )
+44
+45 params = {
+46 "before_id" : pickups [ "pickups" ][ - 1 ] . id ,
+47 "page_size" : page_size ,
+48 }
+49
+50 if optional_params :
+51 params . update ( optional_params )
+52
+53 return self . all ( ** params )
+54
+55 def buy ( self , id : str , ** params ) -> Pickup :
+56 """Buy a Pickup."""
+57 url = f " { self . _instance_url ( self . _model_class , id ) } /buy"
+58
+59 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+60
+61 return convert_to_easypost_object ( response = response )
+62
+63 def cancel ( self , id : str , ** params ) -> Pickup :
+64 """Cancel a Pickup."""
+65 url = f " { self . _instance_url ( self . _model_class , id ) } /cancel"
+66
+67 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+68
+69 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+ 16 class PickupService ( BaseService ):
+17 def __init__ ( self , client ):
+18 self . _client = client
+19 self . _model_class = Pickup . __name__
+20
+21 def create ( self , ** params ) -> Pickup :
+22 """Create a Pickup."""
+23 return self . _create_resource ( self . _model_class , ** params )
+24
+25 def all ( self , ** params ) -> dict [ str , Any ]:
+26 """Retrieve a list of Pickups."""
+27 filters = {
+28 "key" : "pickups" ,
+29 }
+30
+31 return self . _all_resources ( self . _model_class , filters , ** params )
+32
+33 def retrieve ( self , id : str ) -> Pickup :
+34 """Retrieve a Pickup."""
+35 return self . _retrieve_resource ( self . _model_class , id )
+36
+37 def get_next_page (
+38 self ,
+39 pickups : dict [ str , Any ],
+40 page_size : int ,
+41 optional_params : Optional [ dict [ str , Any ]] = None ,
+42 ) -> dict [ str , Any ]:
+43 """Retrieve the next page of the list Pickup response."""
+44 self . _check_has_next_page ( collection = pickups )
+45
+46 params = {
+47 "before_id" : pickups [ "pickups" ][ - 1 ] . id ,
+48 "page_size" : page_size ,
+49 }
+50
+51 if optional_params :
+52 params . update ( optional_params )
+53
+54 return self . all ( ** params )
+55
+56 def buy ( self , id : str , ** params ) -> Pickup :
+57 """Buy a Pickup."""
+58 url = f " { self . _instance_url ( self . _model_class , id ) } /buy"
+59
+60 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+61
+62 return convert_to_easypost_object ( response = response )
+63
+64 def cancel ( self , id : str , ** params ) -> Pickup :
+65 """Cancel a Pickup."""
+66 url = f " { self . _instance_url ( self . _model_class , id ) } /cancel"
+67
+68 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+69
+70 return convert_to_easypost_object ( response = response )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ PickupService (client )
+
+ View Source
+
+
+
+
17 def __init__ ( self , client ):
+18 self . _client = client
+19 self . _model_class = Pickup . __name__
+
+
+
+
+
+
+
+
+
+
+
21 def create ( self , ** params ) -> Pickup :
+22 """Create a Pickup."""
+23 return self . _create_resource ( self . _model_class , ** params )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
25 def all ( self , ** params ) -> dict [ str , Any ]:
+26 """Retrieve a list of Pickups."""
+27 filters = {
+28 "key" : "pickups" ,
+29 }
+30
+31 return self . _all_resources ( self . _model_class , filters , ** params )
+
+
+
+
Retrieve a list of Pickups.
+
+
+
+
+
+
+
+
+
33 def retrieve ( self , id : str ) -> Pickup :
+34 """Retrieve a Pickup."""
+35 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ get_next_page ( self , pickups : dict [ str , typing . Any ] , page_size : int , optional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
37 def get_next_page (
+38 self ,
+39 pickups : dict [ str , Any ],
+40 page_size : int ,
+41 optional_params : Optional [ dict [ str , Any ]] = None ,
+42 ) -> dict [ str , Any ]:
+43 """Retrieve the next page of the list Pickup response."""
+44 self . _check_has_next_page ( collection = pickups )
+45
+46 params = {
+47 "before_id" : pickups [ "pickups" ][ - 1 ] . id ,
+48 "page_size" : page_size ,
+49 }
+50
+51 if optional_params :
+52 params . update ( optional_params )
+53
+54 return self . all ( ** params )
+
+
+
+
Retrieve the next page of the list Pickup response.
+
+
+
+
+
+
+
+
+
56 def buy ( self , id : str , ** params ) -> Pickup :
+57 """Buy a Pickup."""
+58 url = f " { self . _instance_url ( self . _model_class , id ) } /buy"
+59
+60 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+61
+62 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
+
64 def cancel ( self , id : str , ** params ) -> Pickup :
+65 """Cancel a Pickup."""
+66 url = f " { self . _instance_url ( self . _model_class , id ) } /cancel"
+67
+68 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+69
+70 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/pickup_service.py b/easypost/services/pickup_service.py
deleted file mode 100644
index b38291ca..00000000
--- a/easypost/services/pickup_service.py
+++ /dev/null
@@ -1,69 +0,0 @@
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import Pickup
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class PickupService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Pickup.__name__
-
- def create(self, **params) -> Pickup:
- """Create a Pickup."""
- return self._create_resource(self._model_class, **params)
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of Pickups."""
- filters = {
- "key": "pickups",
- }
-
- return self._all_resources(self._model_class, filters, **params)
-
- def retrieve(self, id: str) -> Pickup:
- """Retrieve a Pickup."""
- return self._retrieve_resource(self._model_class, id)
-
- def get_next_page(
- self,
- pickups: dict[str, Any],
- page_size: int,
- optional_params: Optional[dict[str, Any]] = None,
- ) -> dict[str, Any]:
- """Retrieve the next page of the list Pickup response."""
- self._check_has_next_page(collection=pickups)
-
- params = {
- "before_id": pickups["pickups"][-1].id,
- "page_size": page_size,
- }
-
- if optional_params:
- params.update(optional_params)
-
- return self.all(**params)
-
- def buy(self, id: str, **params) -> Pickup:
- """Buy a Pickup."""
- url = f"{self._instance_url(self._model_class, id)}/buy"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def cancel(self, id: str, **params) -> Pickup:
- """Cancel a Pickup."""
- url = f"{self._instance_url(self._model_class, id)}/cancel"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
diff --git a/easypost/services/rate_service.html b/easypost/services/rate_service.html
new file mode 100644
index 00000000..aa4c3933
--- /dev/null
+++ b/easypost/services/rate_service.html
@@ -0,0 +1,333 @@
+
+
+
+
+
+
+ easypost.services.rate_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 6 class RateService ( BaseService ):
+ 7 def __init__ ( self , client ):
+ 8 self . _client = client
+ 9 self . _model_class = Rate . __name__
+10
+11 def retrieve ( self , id : str ) -> Rate :
+12 """Retrieve a Rate."""
+13 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ RateService (client )
+
+ View Source
+
+
+
+
7 def __init__ ( self , client ):
+8 self . _client = client
+9 self . _model_class = Rate . __name__
+
+
+
+
+
+
+
+
+
+
+
11 def retrieve ( self , id : str ) -> Rate :
+12 """Retrieve a Rate."""
+13 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/rate_service.py b/easypost/services/rate_service.py
deleted file mode 100644
index 00f8e1bf..00000000
--- a/easypost/services/rate_service.py
+++ /dev/null
@@ -1,12 +0,0 @@
-from easypost.models import Rate
-from easypost.services.base_service import BaseService
-
-
-class RateService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Rate.__name__
-
- def retrieve(self, id: str) -> Rate:
- """Retrieve a Rate."""
- return self._retrieve_resource(self._model_class, id)
diff --git a/easypost/services/referral_customer_service.html b/easypost/services/referral_customer_service.html
new file mode 100644
index 00000000..5936a64d
--- /dev/null
+++ b/easypost/services/referral_customer_service.html
@@ -0,0 +1,879 @@
+
+
+
+
+
+
+ easypost.services.referral_customer_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from copy import deepcopy
+ 2 from typing import (
+ 3 Any ,
+ 4 Optional ,
+ 5 )
+ 6
+ 7 from easypost.constant import (
+ 8 _FILTERS_KEY ,
+ 9 )
+ 10 from easypost.easypost_object import convert_to_easypost_object
+ 11 from easypost.models import User
+ 12 from easypost.requestor import (
+ 13 RequestMethod ,
+ 14 Requestor ,
+ 15 )
+ 16 from easypost.services.base_service import BaseService
+ 17
+ 18
+ 19 class ReferralCustomerService ( BaseService ):
+ 20 def __init__ ( self , client ):
+ 21 self . _client = client
+ 22 self . _model_class = User . __name__
+ 23
+ 24 def create ( self , ** params ) -> User :
+ 25 """Create a referral customer.
+ 26
+ 27 This function requires the Partner User's API key.
+ 28 """
+ 29 wrapped_params = { "user" : params }
+ 30
+ 31 response = Requestor ( self . _client ) . request (
+ 32 method = RequestMethod . POST ,
+ 33 url = "/referral_customers" ,
+ 34 params = wrapped_params ,
+ 35 )
+ 36
+ 37 return convert_to_easypost_object ( response = response )
+ 38
+ 39 def update_email ( self , id : str , email : str ) -> None :
+ 40 """Update a referral customer.
+ 41
+ 42 This function requires the Partner User's API key.
+ 43 """
+ 44 url = f "/referral_customers/ { id } "
+ 45 wrapped_params = {
+ 46 "user" : {
+ 47 "email" : email ,
+ 48 }
+ 49 }
+ 50
+ 51 Requestor ( self . _client ) . request (
+ 52 method = RequestMethod . PUT ,
+ 53 url = url ,
+ 54 params = wrapped_params ,
+ 55 )
+ 56
+ 57 def all ( self , ** params ) -> dict [ str , Any ]:
+ 58 """Retrieve a list of referral customers.
+ 59
+ 60 This function requires the Partner User's API key.
+ 61 """
+ 62 filters = {
+ 63 "key" : "referral_customers" ,
+ 64 }
+ 65
+ 66 url = "/referral_customers"
+ 67
+ 68 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+ 69
+ 70 response [ _FILTERS_KEY ] = filters # Save the filters used to reference in potential get_next_page call
+ 71
+ 72 return convert_to_easypost_object ( response = response )
+ 73
+ 74 def get_next_page (
+ 75 self ,
+ 76 referral_customers : dict [ str , Any ],
+ 77 page_size : int ,
+ 78 optional_params : Optional [ dict [ str , Any ]] = None ,
+ 79 ) -> dict [ str , Any ]:
+ 80 """Retrieve next page of referral customers."""
+ 81 self . _check_has_next_page ( collection = referral_customers )
+ 82
+ 83 params = {
+ 84 "before_id" : referral_customers [ "referral_customers" ][ - 1 ] . id ,
+ 85 "page_size" : page_size ,
+ 86 }
+ 87
+ 88 if optional_params :
+ 89 params . update ( optional_params )
+ 90
+ 91 return self . all ( ** params )
+ 92
+ 93 def add_credit_card_from_stripe (
+ 94 self ,
+ 95 referral_api_key : str ,
+ 96 payment_method_id : str ,
+ 97 priority : str = "primary" ,
+ 98 ) -> dict [ str , Any ]:
+ 99 """Add a credit card to EasyPost for a ReferralCustomer with a payment method ID from Stripe.
+100
+101 This function requires the ReferralCustomer User's API key.
+102 """
+103 params = {
+104 "credit_card" : {
+105 "payment_method_id" : payment_method_id ,
+106 "priority" : priority ,
+107 }
+108 }
+109
+110 # Override the API key to use the referral's for this single request
+111 referral_client = deepcopy ( self . _client )
+112 referral_client . api_key = referral_api_key
+113
+114 response = Requestor ( referral_client ) . request (
+115 method = RequestMethod . POST ,
+116 params = params ,
+117 url = "/credit_cards" ,
+118 )
+119
+120 return convert_to_easypost_object ( response )
+121
+122 def add_bank_account_from_stripe (
+123 self ,
+124 referral_api_key : str ,
+125 financial_connections_id : str ,
+126 mandate_data : dict [ str , Any ],
+127 priority : str = "primary" ,
+128 ) -> dict [ str , Any ]:
+129 """Add a bank account to EasyPost for a ReferralCustomer.
+130
+131 This function requires the ReferralCustomer User's API key.
+132 """
+133 params = {
+134 "financial_connections_id" : financial_connections_id ,
+135 "mandate_data" : mandate_data ,
+136 "priority" : priority ,
+137 }
+138
+139 # Override the API key to use the referral's for this single request
+140 referral_client = deepcopy ( self . _client )
+141 referral_client . api_key = referral_api_key
+142
+143 response = Requestor ( referral_client ) . request (
+144 method = RequestMethod . POST ,
+145 params = params ,
+146 url = "/bank_accounts" ,
+147 )
+148
+149 return convert_to_easypost_object ( response )
+150
+151 def retrieve_easypost_stripe_api_key ( self ) -> str :
+152 """Retrieve EasyPost's Stripe public API key."""
+153 public_key = Requestor ( self . _client ) . request (
+154 method = RequestMethod . GET ,
+155 url = "/partners/stripe_public_key" ,
+156 )
+157
+158 return public_key . get ( "public_key" , "" )
+
+
+
+
+
+
+
+
+ 20 class ReferralCustomerService ( BaseService ):
+ 21 def __init__ ( self , client ):
+ 22 self . _client = client
+ 23 self . _model_class = User . __name__
+ 24
+ 25 def create ( self , ** params ) -> User :
+ 26 """Create a referral customer.
+ 27
+ 28 This function requires the Partner User's API key.
+ 29 """
+ 30 wrapped_params = { "user" : params }
+ 31
+ 32 response = Requestor ( self . _client ) . request (
+ 33 method = RequestMethod . POST ,
+ 34 url = "/referral_customers" ,
+ 35 params = wrapped_params ,
+ 36 )
+ 37
+ 38 return convert_to_easypost_object ( response = response )
+ 39
+ 40 def update_email ( self , id : str , email : str ) -> None :
+ 41 """Update a referral customer.
+ 42
+ 43 This function requires the Partner User's API key.
+ 44 """
+ 45 url = f "/referral_customers/ { id } "
+ 46 wrapped_params = {
+ 47 "user" : {
+ 48 "email" : email ,
+ 49 }
+ 50 }
+ 51
+ 52 Requestor ( self . _client ) . request (
+ 53 method = RequestMethod . PUT ,
+ 54 url = url ,
+ 55 params = wrapped_params ,
+ 56 )
+ 57
+ 58 def all ( self , ** params ) -> dict [ str , Any ]:
+ 59 """Retrieve a list of referral customers.
+ 60
+ 61 This function requires the Partner User's API key.
+ 62 """
+ 63 filters = {
+ 64 "key" : "referral_customers" ,
+ 65 }
+ 66
+ 67 url = "/referral_customers"
+ 68
+ 69 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+ 70
+ 71 response [ _FILTERS_KEY ] = filters # Save the filters used to reference in potential get_next_page call
+ 72
+ 73 return convert_to_easypost_object ( response = response )
+ 74
+ 75 def get_next_page (
+ 76 self ,
+ 77 referral_customers : dict [ str , Any ],
+ 78 page_size : int ,
+ 79 optional_params : Optional [ dict [ str , Any ]] = None ,
+ 80 ) -> dict [ str , Any ]:
+ 81 """Retrieve next page of referral customers."""
+ 82 self . _check_has_next_page ( collection = referral_customers )
+ 83
+ 84 params = {
+ 85 "before_id" : referral_customers [ "referral_customers" ][ - 1 ] . id ,
+ 86 "page_size" : page_size ,
+ 87 }
+ 88
+ 89 if optional_params :
+ 90 params . update ( optional_params )
+ 91
+ 92 return self . all ( ** params )
+ 93
+ 94 def add_credit_card_from_stripe (
+ 95 self ,
+ 96 referral_api_key : str ,
+ 97 payment_method_id : str ,
+ 98 priority : str = "primary" ,
+ 99 ) -> dict [ str , Any ]:
+100 """Add a credit card to EasyPost for a ReferralCustomer with a payment method ID from Stripe.
+101
+102 This function requires the ReferralCustomer User's API key.
+103 """
+104 params = {
+105 "credit_card" : {
+106 "payment_method_id" : payment_method_id ,
+107 "priority" : priority ,
+108 }
+109 }
+110
+111 # Override the API key to use the referral's for this single request
+112 referral_client = deepcopy ( self . _client )
+113 referral_client . api_key = referral_api_key
+114
+115 response = Requestor ( referral_client ) . request (
+116 method = RequestMethod . POST ,
+117 params = params ,
+118 url = "/credit_cards" ,
+119 )
+120
+121 return convert_to_easypost_object ( response )
+122
+123 def add_bank_account_from_stripe (
+124 self ,
+125 referral_api_key : str ,
+126 financial_connections_id : str ,
+127 mandate_data : dict [ str , Any ],
+128 priority : str = "primary" ,
+129 ) -> dict [ str , Any ]:
+130 """Add a bank account to EasyPost for a ReferralCustomer.
+131
+132 This function requires the ReferralCustomer User's API key.
+133 """
+134 params = {
+135 "financial_connections_id" : financial_connections_id ,
+136 "mandate_data" : mandate_data ,
+137 "priority" : priority ,
+138 }
+139
+140 # Override the API key to use the referral's for this single request
+141 referral_client = deepcopy ( self . _client )
+142 referral_client . api_key = referral_api_key
+143
+144 response = Requestor ( referral_client ) . request (
+145 method = RequestMethod . POST ,
+146 params = params ,
+147 url = "/bank_accounts" ,
+148 )
+149
+150 return convert_to_easypost_object ( response )
+151
+152 def retrieve_easypost_stripe_api_key ( self ) -> str :
+153 """Retrieve EasyPost's Stripe public API key."""
+154 public_key = Requestor ( self . _client ) . request (
+155 method = RequestMethod . GET ,
+156 url = "/partners/stripe_public_key" ,
+157 )
+158
+159 return public_key . get ( "public_key" , "" )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ ReferralCustomerService (client )
+
+ View Source
+
+
+
+
21 def __init__ ( self , client ):
+22 self . _client = client
+23 self . _model_class = User . __name__
+
+
+
+
+
+
+
+
+
+
+
25 def create ( self , ** params ) -> User :
+26 """Create a referral customer.
+27
+28 This function requires the Partner User's API key.
+29 """
+30 wrapped_params = { "user" : params }
+31
+32 response = Requestor ( self . _client ) . request (
+33 method = RequestMethod . POST ,
+34 url = "/referral_customers" ,
+35 params = wrapped_params ,
+36 )
+37
+38 return convert_to_easypost_object ( response = response )
+
+
+
+
Create a referral customer.
+
+
This function requires the Partner User's API key.
+
+
+
+
+
+
+
+
+ def
+ update_email (self , id : str , email : str ) -> None :
+
+ View Source
+
+
+
+
40 def update_email ( self , id : str , email : str ) -> None :
+41 """Update a referral customer.
+42
+43 This function requires the Partner User's API key.
+44 """
+45 url = f "/referral_customers/ { id } "
+46 wrapped_params = {
+47 "user" : {
+48 "email" : email ,
+49 }
+50 }
+51
+52 Requestor ( self . _client ) . request (
+53 method = RequestMethod . PUT ,
+54 url = url ,
+55 params = wrapped_params ,
+56 )
+
+
+
+
Update a referral customer.
+
+
This function requires the Partner User's API key.
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
58 def all ( self , ** params ) -> dict [ str , Any ]:
+59 """Retrieve a list of referral customers.
+60
+61 This function requires the Partner User's API key.
+62 """
+63 filters = {
+64 "key" : "referral_customers" ,
+65 }
+66
+67 url = "/referral_customers"
+68
+69 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+70
+71 response [ _FILTERS_KEY ] = filters # Save the filters used to reference in potential get_next_page call
+72
+73 return convert_to_easypost_object ( response = response )
+
+
+
+
Retrieve a list of referral customers.
+
+
This function requires the Partner User's API key.
+
+
+
+
+
+
+
+
+ def
+ get_next_page ( self , referral_customers : dict [ str , typing . Any ] , page_size : int , optional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
75 def get_next_page (
+76 self ,
+77 referral_customers : dict [ str , Any ],
+78 page_size : int ,
+79 optional_params : Optional [ dict [ str , Any ]] = None ,
+80 ) -> dict [ str , Any ]:
+81 """Retrieve next page of referral customers."""
+82 self . _check_has_next_page ( collection = referral_customers )
+83
+84 params = {
+85 "before_id" : referral_customers [ "referral_customers" ][ - 1 ] . id ,
+86 "page_size" : page_size ,
+87 }
+88
+89 if optional_params :
+90 params . update ( optional_params )
+91
+92 return self . all ( ** params )
+
+
+
+
Retrieve next page of referral customers.
+
+
+
+
+
+
+
+
+ def
+ add_credit_card_from_stripe ( self , referral_api_key : str , payment_method_id : str , priority : str = 'primary' ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
94 def add_credit_card_from_stripe (
+ 95 self ,
+ 96 referral_api_key : str ,
+ 97 payment_method_id : str ,
+ 98 priority : str = "primary" ,
+ 99 ) -> dict [ str , Any ]:
+100 """Add a credit card to EasyPost for a ReferralCustomer with a payment method ID from Stripe.
+101
+102 This function requires the ReferralCustomer User's API key.
+103 """
+104 params = {
+105 "credit_card" : {
+106 "payment_method_id" : payment_method_id ,
+107 "priority" : priority ,
+108 }
+109 }
+110
+111 # Override the API key to use the referral's for this single request
+112 referral_client = deepcopy ( self . _client )
+113 referral_client . api_key = referral_api_key
+114
+115 response = Requestor ( referral_client ) . request (
+116 method = RequestMethod . POST ,
+117 params = params ,
+118 url = "/credit_cards" ,
+119 )
+120
+121 return convert_to_easypost_object ( response )
+
+
+
+
Add a credit card to EasyPost for a ReferralCustomer with a payment method ID from Stripe.
+
+
This function requires the ReferralCustomer User's API key.
+
+
+
+
+
+
+
+
+ def
+ add_bank_account_from_stripe ( self , referral_api_key : str , financial_connections_id : str , mandate_data : dict [ str , typing . Any ] , priority : str = 'primary' ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
123 def add_bank_account_from_stripe (
+124 self ,
+125 referral_api_key : str ,
+126 financial_connections_id : str ,
+127 mandate_data : dict [ str , Any ],
+128 priority : str = "primary" ,
+129 ) -> dict [ str , Any ]:
+130 """Add a bank account to EasyPost for a ReferralCustomer.
+131
+132 This function requires the ReferralCustomer User's API key.
+133 """
+134 params = {
+135 "financial_connections_id" : financial_connections_id ,
+136 "mandate_data" : mandate_data ,
+137 "priority" : priority ,
+138 }
+139
+140 # Override the API key to use the referral's for this single request
+141 referral_client = deepcopy ( self . _client )
+142 referral_client . api_key = referral_api_key
+143
+144 response = Requestor ( referral_client ) . request (
+145 method = RequestMethod . POST ,
+146 params = params ,
+147 url = "/bank_accounts" ,
+148 )
+149
+150 return convert_to_easypost_object ( response )
+
+
+
+
Add a bank account to EasyPost for a ReferralCustomer.
+
+
This function requires the ReferralCustomer User's API key.
+
+
+
+
+
+
+
+
+ def
+ retrieve_easypost_stripe_api_key (self ) -> str :
+
+ View Source
+
+
+
+
152 def retrieve_easypost_stripe_api_key ( self ) -> str :
+153 """Retrieve EasyPost's Stripe public API key."""
+154 public_key = Requestor ( self . _client ) . request (
+155 method = RequestMethod . GET ,
+156 url = "/partners/stripe_public_key" ,
+157 )
+158
+159 return public_key . get ( "public_key" , "" )
+
+
+
+
Retrieve EasyPost's Stripe public API key.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/referral_customer_service.py b/easypost/services/referral_customer_service.py
deleted file mode 100644
index 236715ba..00000000
--- a/easypost/services/referral_customer_service.py
+++ /dev/null
@@ -1,158 +0,0 @@
-from copy import deepcopy
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.constant import (
- _FILTERS_KEY,
-)
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import User
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class ReferralCustomerService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = User.__name__
-
- def create(self, **params) -> User:
- """Create a referral customer.
-
- This function requires the Partner User's API key.
- """
- wrapped_params = {"user": params}
-
- response = Requestor(self._client).request(
- method=RequestMethod.POST,
- url="/referral_customers",
- params=wrapped_params,
- )
-
- return convert_to_easypost_object(response=response)
-
- def update_email(self, id: str, email: str) -> None:
- """Update a referral customer.
-
- This function requires the Partner User's API key.
- """
- url = f"/referral_customers/{id}"
- wrapped_params = {
- "user": {
- "email": email,
- }
- }
-
- Requestor(self._client).request(
- method=RequestMethod.PUT,
- url=url,
- params=wrapped_params,
- )
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of referral customers.
-
- This function requires the Partner User's API key.
- """
- filters = {
- "key": "referral_customers",
- }
-
- url = "/referral_customers"
-
- response = Requestor(self._client).request(method=RequestMethod.GET, url=url, params=params)
-
- response[_FILTERS_KEY] = filters # Save the filters used to reference in potential get_next_page call
-
- return convert_to_easypost_object(response=response)
-
- def get_next_page(
- self,
- referral_customers: dict[str, Any],
- page_size: int,
- optional_params: Optional[dict[str, Any]] = None,
- ) -> dict[str, Any]:
- """Retrieve next page of referral customers."""
- self._check_has_next_page(collection=referral_customers)
-
- params = {
- "before_id": referral_customers["referral_customers"][-1].id,
- "page_size": page_size,
- }
-
- if optional_params:
- params.update(optional_params)
-
- return self.all(**params)
-
- def add_credit_card_from_stripe(
- self,
- referral_api_key: str,
- payment_method_id: str,
- priority: str = "primary",
- ) -> dict[str, Any]:
- """Add a credit card to EasyPost for a ReferralCustomer with a payment method ID from Stripe.
-
- This function requires the ReferralCustomer User's API key.
- """
- params = {
- "credit_card": {
- "payment_method_id": payment_method_id,
- "priority": priority,
- }
- }
-
- # Override the API key to use the referral's for this single request
- referral_client = deepcopy(self._client)
- referral_client.api_key = referral_api_key
-
- response = Requestor(referral_client).request(
- method=RequestMethod.POST,
- params=params,
- url="/credit_cards",
- )
-
- return convert_to_easypost_object(response)
-
- def add_bank_account_from_stripe(
- self,
- referral_api_key: str,
- financial_connections_id: str,
- mandate_data: dict[str, Any],
- priority: str = "primary",
- ) -> dict[str, Any]:
- """Add a bank account to EasyPost for a ReferralCustomer.
-
- This function requires the ReferralCustomer User's API key.
- """
- params = {
- "financial_connections_id": financial_connections_id,
- "mandate_data": mandate_data,
- "priority": priority,
- }
-
- # Override the API key to use the referral's for this single request
- referral_client = deepcopy(self._client)
- referral_client.api_key = referral_api_key
-
- response = Requestor(referral_client).request(
- method=RequestMethod.POST,
- params=params,
- url="/bank_accounts",
- )
-
- return convert_to_easypost_object(response)
-
- def retrieve_easypost_stripe_api_key(self) -> str:
- """Retrieve EasyPost's Stripe public API key."""
- public_key = Requestor(self._client).request(
- method=RequestMethod.GET,
- url="/partners/stripe_public_key",
- )
-
- return public_key.get("public_key", "")
diff --git a/easypost/services/refund_service.html b/easypost/services/refund_service.html
new file mode 100644
index 00000000..3e5c96be
--- /dev/null
+++ b/easypost/services/refund_service.html
@@ -0,0 +1,494 @@
+
+
+
+
+
+
+ easypost.services.refund_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 Optional ,
+ 4 )
+ 5
+ 6 from easypost.models import Refund
+ 7 from easypost.services.base_service import BaseService
+ 8
+ 9
+10 class RefundService ( BaseService ):
+11 def __init__ ( self , client ):
+12 self . _client = client
+13 self . _model_class = Refund . __name__
+14
+15 def create ( self , ** params ) -> Refund :
+16 """Create a Shipment Refund."""
+17 return self . _create_resource ( self . _model_class , ** params )
+18
+19 def all ( self , ** params ) -> dict [ str , Any ]:
+20 """Retrieve a list of Shipment Refunds."""
+21 filters = {
+22 "key" : "refunds" ,
+23 }
+24
+25 return self . _all_resources ( self . _model_class , filters , ** params )
+26
+27 def retrieve ( self , id : str ) -> Refund :
+28 """Retrieve a Shipment Refund."""
+29 return self . _retrieve_resource ( self . _model_class , id )
+30
+31 def get_next_page (
+32 self ,
+33 refunds : dict [ str , Any ],
+34 page_size : int ,
+35 optional_params : Optional [ dict [ str , Any ]] = None ,
+36 ) -> dict [ str , Any ]:
+37 """Retrieve the next page of the list Refund response."""
+38 self . _check_has_next_page ( collection = refunds )
+39
+40 params = {
+41 "before_id" : refunds [ "refunds" ][ - 1 ] . id ,
+42 "page_size" : page_size ,
+43 }
+44
+45 if optional_params :
+46 params . update ( optional_params )
+47
+48 return self . all ( ** params )
+
+
+
+
+
+
+
+
+ 11 class RefundService ( BaseService ):
+12 def __init__ ( self , client ):
+13 self . _client = client
+14 self . _model_class = Refund . __name__
+15
+16 def create ( self , ** params ) -> Refund :
+17 """Create a Shipment Refund."""
+18 return self . _create_resource ( self . _model_class , ** params )
+19
+20 def all ( self , ** params ) -> dict [ str , Any ]:
+21 """Retrieve a list of Shipment Refunds."""
+22 filters = {
+23 "key" : "refunds" ,
+24 }
+25
+26 return self . _all_resources ( self . _model_class , filters , ** params )
+27
+28 def retrieve ( self , id : str ) -> Refund :
+29 """Retrieve a Shipment Refund."""
+30 return self . _retrieve_resource ( self . _model_class , id )
+31
+32 def get_next_page (
+33 self ,
+34 refunds : dict [ str , Any ],
+35 page_size : int ,
+36 optional_params : Optional [ dict [ str , Any ]] = None ,
+37 ) -> dict [ str , Any ]:
+38 """Retrieve the next page of the list Refund response."""
+39 self . _check_has_next_page ( collection = refunds )
+40
+41 params = {
+42 "before_id" : refunds [ "refunds" ][ - 1 ] . id ,
+43 "page_size" : page_size ,
+44 }
+45
+46 if optional_params :
+47 params . update ( optional_params )
+48
+49 return self . all ( ** params )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ RefundService (client )
+
+ View Source
+
+
+
+
12 def __init__ ( self , client ):
+13 self . _client = client
+14 self . _model_class = Refund . __name__
+
+
+
+
+
+
+
+
+
+
+
16 def create ( self , ** params ) -> Refund :
+17 """Create a Shipment Refund."""
+18 return self . _create_resource ( self . _model_class , ** params )
+
+
+
+
Create a Shipment Refund.
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
20 def all ( self , ** params ) -> dict [ str , Any ]:
+21 """Retrieve a list of Shipment Refunds."""
+22 filters = {
+23 "key" : "refunds" ,
+24 }
+25
+26 return self . _all_resources ( self . _model_class , filters , ** params )
+
+
+
+
Retrieve a list of Shipment Refunds.
+
+
+
+
+
+
+
+
+
28 def retrieve ( self , id : str ) -> Refund :
+29 """Retrieve a Shipment Refund."""
+30 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
Retrieve a Shipment Refund.
+
+
+
+
+
+
+
+
+ def
+ get_next_page ( self , refunds : dict [ str , typing . Any ] , page_size : int , optional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
32 def get_next_page (
+33 self ,
+34 refunds : dict [ str , Any ],
+35 page_size : int ,
+36 optional_params : Optional [ dict [ str , Any ]] = None ,
+37 ) -> dict [ str , Any ]:
+38 """Retrieve the next page of the list Refund response."""
+39 self . _check_has_next_page ( collection = refunds )
+40
+41 params = {
+42 "before_id" : refunds [ "refunds" ][ - 1 ] . id ,
+43 "page_size" : page_size ,
+44 }
+45
+46 if optional_params :
+47 params . update ( optional_params )
+48
+49 return self . all ( ** params )
+
+
+
+
Retrieve the next page of the list Refund response.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/refund_service.py b/easypost/services/refund_service.py
deleted file mode 100644
index e9f2fee5..00000000
--- a/easypost/services/refund_service.py
+++ /dev/null
@@ -1,48 +0,0 @@
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.models import Refund
-from easypost.services.base_service import BaseService
-
-
-class RefundService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Refund.__name__
-
- def create(self, **params) -> Refund:
- """Create a Shipment Refund."""
- return self._create_resource(self._model_class, **params)
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of Shipment Refunds."""
- filters = {
- "key": "refunds",
- }
-
- return self._all_resources(self._model_class, filters, **params)
-
- def retrieve(self, id: str) -> Refund:
- """Retrieve a Shipment Refund."""
- return self._retrieve_resource(self._model_class, id)
-
- def get_next_page(
- self,
- refunds: dict[str, Any],
- page_size: int,
- optional_params: Optional[dict[str, Any]] = None,
- ) -> dict[str, Any]:
- """Retrieve the next page of the list Refund response."""
- self._check_has_next_page(collection=refunds)
-
- params = {
- "before_id": refunds["refunds"][-1].id,
- "page_size": page_size,
- }
-
- if optional_params:
- params.update(optional_params)
-
- return self.all(**params)
diff --git a/easypost/services/report_service.html b/easypost/services/report_service.html
new file mode 100644
index 00000000..2592a60a
--- /dev/null
+++ b/easypost/services/report_service.html
@@ -0,0 +1,570 @@
+
+
+
+
+
+
+ easypost.services.report_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 Optional ,
+ 4 )
+ 5
+ 6 from easypost.constant import (
+ 7 _FILTERS_KEY ,
+ 8 MISSING_PARAMETER_ERROR ,
+ 9 )
+10 from easypost.easypost_object import convert_to_easypost_object
+11 from easypost.errors import MissingParameterError
+12 from easypost.models import Report
+13 from easypost.requestor import (
+14 RequestMethod ,
+15 Requestor ,
+16 )
+17 from easypost.services.base_service import BaseService
+18
+19
+20 class ReportService ( BaseService ):
+21 def __init__ ( self , client ):
+22 self . _client = client
+23 self . _model_class = Report . __name__
+24
+25 def create ( self , ** params ) -> Report :
+26 """Create a Report."""
+27 report_type = params . pop ( "type" )
+28
+29 if report_type is None :
+30 raise MissingParameterError ( MISSING_PARAMETER_ERROR . format ( "type" ))
+31
+32 url = f " { self . _class_url ( self . _model_class ) } / { report_type } "
+33
+34 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+35
+36 return convert_to_easypost_object ( response = response )
+37
+38 def all ( self , ** params ) -> dict [ str , Any ]:
+39 """Retrieve a list of Reports."""
+40 # Capture some of the parameters used for later reference
+41 filters = {
+42 "key" : "reports" ,
+43 "type" : params . get ( "type" , None ),
+44 }
+45
+46 report_type = params . pop ( "type" )
+47 if report_type is None :
+48 raise MissingParameterError ( MISSING_PARAMETER_ERROR . format ( "type" ))
+49
+50 url = f " { self . _class_url ( self . _model_class ) } / { report_type } "
+51
+52 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+53
+54 response [ _FILTERS_KEY ] = filters # Save the filters used to reference in potential get_next_page call
+55
+56 return convert_to_easypost_object ( response = response )
+57
+58 def retrieve ( self , id : str ) -> Report :
+59 """Retrieve a Report."""
+60 return self . _retrieve_resource ( self . _model_class , id )
+61
+62 def get_next_page (
+63 self ,
+64 reports : dict [ str , Any ],
+65 page_size : Optional [ int ] = None ,
+66 optional_params : Optional [ dict [ str , Any ]] = None ,
+67 ) -> dict [ str , Any ]:
+68 """Retrieve the next page of the list Report response."""
+69 self . _check_has_next_page ( collection = reports )
+70
+71 params = {
+72 "before_id" : reports [ "reports" ][ - 1 ] . id ,
+73 "page_size" : page_size ,
+74 "type" : reports . get ( _FILTERS_KEY , {}) . get ( "type" ), # Use the same type as the last page
+75 }
+76
+77 if optional_params :
+78 params . update ( optional_params )
+79
+80 return self . all ( ** params )
+
+
+
+
+
+
+
+
+ 21 class ReportService ( BaseService ):
+22 def __init__ ( self , client ):
+23 self . _client = client
+24 self . _model_class = Report . __name__
+25
+26 def create ( self , ** params ) -> Report :
+27 """Create a Report."""
+28 report_type = params . pop ( "type" )
+29
+30 if report_type is None :
+31 raise MissingParameterError ( MISSING_PARAMETER_ERROR . format ( "type" ))
+32
+33 url = f " { self . _class_url ( self . _model_class ) } / { report_type } "
+34
+35 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+36
+37 return convert_to_easypost_object ( response = response )
+38
+39 def all ( self , ** params ) -> dict [ str , Any ]:
+40 """Retrieve a list of Reports."""
+41 # Capture some of the parameters used for later reference
+42 filters = {
+43 "key" : "reports" ,
+44 "type" : params . get ( "type" , None ),
+45 }
+46
+47 report_type = params . pop ( "type" )
+48 if report_type is None :
+49 raise MissingParameterError ( MISSING_PARAMETER_ERROR . format ( "type" ))
+50
+51 url = f " { self . _class_url ( self . _model_class ) } / { report_type } "
+52
+53 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+54
+55 response [ _FILTERS_KEY ] = filters # Save the filters used to reference in potential get_next_page call
+56
+57 return convert_to_easypost_object ( response = response )
+58
+59 def retrieve ( self , id : str ) -> Report :
+60 """Retrieve a Report."""
+61 return self . _retrieve_resource ( self . _model_class , id )
+62
+63 def get_next_page (
+64 self ,
+65 reports : dict [ str , Any ],
+66 page_size : Optional [ int ] = None ,
+67 optional_params : Optional [ dict [ str , Any ]] = None ,
+68 ) -> dict [ str , Any ]:
+69 """Retrieve the next page of the list Report response."""
+70 self . _check_has_next_page ( collection = reports )
+71
+72 params = {
+73 "before_id" : reports [ "reports" ][ - 1 ] . id ,
+74 "page_size" : page_size ,
+75 "type" : reports . get ( _FILTERS_KEY , {}) . get ( "type" ), # Use the same type as the last page
+76 }
+77
+78 if optional_params :
+79 params . update ( optional_params )
+80
+81 return self . all ( ** params )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ ReportService (client )
+
+ View Source
+
+
+
+
22 def __init__ ( self , client ):
+23 self . _client = client
+24 self . _model_class = Report . __name__
+
+
+
+
+
+
+
+
+
+
+
26 def create ( self , ** params ) -> Report :
+27 """Create a Report."""
+28 report_type = params . pop ( "type" )
+29
+30 if report_type is None :
+31 raise MissingParameterError ( MISSING_PARAMETER_ERROR . format ( "type" ))
+32
+33 url = f " { self . _class_url ( self . _model_class ) } / { report_type } "
+34
+35 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+36
+37 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
39 def all ( self , ** params ) -> dict [ str , Any ]:
+40 """Retrieve a list of Reports."""
+41 # Capture some of the parameters used for later reference
+42 filters = {
+43 "key" : "reports" ,
+44 "type" : params . get ( "type" , None ),
+45 }
+46
+47 report_type = params . pop ( "type" )
+48 if report_type is None :
+49 raise MissingParameterError ( MISSING_PARAMETER_ERROR . format ( "type" ))
+50
+51 url = f " { self . _class_url ( self . _model_class ) } / { report_type } "
+52
+53 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+54
+55 response [ _FILTERS_KEY ] = filters # Save the filters used to reference in potential get_next_page call
+56
+57 return convert_to_easypost_object ( response = response )
+
+
+
+
Retrieve a list of Reports.
+
+
+
+
+
+
+
+
+
59 def retrieve ( self , id : str ) -> Report :
+60 """Retrieve a Report."""
+61 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ get_next_page ( self , reports : dict [ str , typing . Any ] , page_size : int | None = None , optional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
63 def get_next_page (
+64 self ,
+65 reports : dict [ str , Any ],
+66 page_size : Optional [ int ] = None ,
+67 optional_params : Optional [ dict [ str , Any ]] = None ,
+68 ) -> dict [ str , Any ]:
+69 """Retrieve the next page of the list Report response."""
+70 self . _check_has_next_page ( collection = reports )
+71
+72 params = {
+73 "before_id" : reports [ "reports" ][ - 1 ] . id ,
+74 "page_size" : page_size ,
+75 "type" : reports . get ( _FILTERS_KEY , {}) . get ( "type" ), # Use the same type as the last page
+76 }
+77
+78 if optional_params :
+79 params . update ( optional_params )
+80
+81 return self . all ( ** params )
+
+
+
+
Retrieve the next page of the list Report response.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/report_service.py b/easypost/services/report_service.py
deleted file mode 100644
index ac2c2182..00000000
--- a/easypost/services/report_service.py
+++ /dev/null
@@ -1,80 +0,0 @@
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.constant import (
- _FILTERS_KEY,
- MISSING_PARAMETER_ERROR,
-)
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.errors import MissingParameterError
-from easypost.models import Report
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class ReportService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Report.__name__
-
- def create(self, **params) -> Report:
- """Create a Report."""
- report_type = params.pop("type")
-
- if report_type is None:
- raise MissingParameterError(MISSING_PARAMETER_ERROR.format("type"))
-
- url = f"{self._class_url(self._model_class)}/{report_type}"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of Reports."""
- # Capture some of the parameters used for later reference
- filters = {
- "key": "reports",
- "type": params.get("type", None),
- }
-
- report_type = params.pop("type")
- if report_type is None:
- raise MissingParameterError(MISSING_PARAMETER_ERROR.format("type"))
-
- url = f"{self._class_url(self._model_class)}/{report_type}"
-
- response = Requestor(self._client).request(method=RequestMethod.GET, url=url, params=params)
-
- response[_FILTERS_KEY] = filters # Save the filters used to reference in potential get_next_page call
-
- return convert_to_easypost_object(response=response)
-
- def retrieve(self, id: str) -> Report:
- """Retrieve a Report."""
- return self._retrieve_resource(self._model_class, id)
-
- def get_next_page(
- self,
- reports: dict[str, Any],
- page_size: Optional[int] = None,
- optional_params: Optional[dict[str, Any]] = None,
- ) -> dict[str, Any]:
- """Retrieve the next page of the list Report response."""
- self._check_has_next_page(collection=reports)
-
- params = {
- "before_id": reports["reports"][-1].id,
- "page_size": page_size,
- "type": reports.get(_FILTERS_KEY, {}).get("type"), # Use the same type as the last page
- }
-
- if optional_params:
- params.update(optional_params)
-
- return self.all(**params)
diff --git a/easypost/services/scan_form_service.html b/easypost/services/scan_form_service.html
new file mode 100644
index 00000000..2ec42a96
--- /dev/null
+++ b/easypost/services/scan_form_service.html
@@ -0,0 +1,494 @@
+
+
+
+
+
+
+ easypost.services.scan_form_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 Optional ,
+ 4 )
+ 5
+ 6 from easypost.models import ScanForm
+ 7 from easypost.services.base_service import BaseService
+ 8
+ 9
+10 class ScanFormService ( BaseService ):
+11 def __init__ ( self , client ):
+12 self . _client = client
+13 self . _model_class = ScanForm . __name__
+14
+15 def create ( self , ** params ) -> ScanForm :
+16 """Create a ScanForm."""
+17 return self . _create_resource ( self . _model_class , ** params )
+18
+19 def all ( self , ** params ) -> dict [ str , Any ]:
+20 """Retrieve a list of ScanForms."""
+21 filters = {
+22 "key" : "scan_forms" ,
+23 }
+24
+25 return self . _all_resources ( self . _model_class , filters , ** params )
+26
+27 def retrieve ( self , id : str ) -> ScanForm :
+28 """Retrieve a ScanForm."""
+29 return self . _retrieve_resource ( self . _model_class , id )
+30
+31 def get_next_page (
+32 self ,
+33 scan_forms : dict [ str , Any ],
+34 page_size : int ,
+35 optional_params : Optional [ dict [ str , Any ]] = None ,
+36 ) -> dict [ str , Any ]:
+37 """Retrieve the next page of the list ScanForm response."""
+38 self . _check_has_next_page ( collection = scan_forms )
+39
+40 params = {
+41 "before_id" : scan_forms [ "scan_forms" ][ - 1 ] . id ,
+42 "page_size" : page_size ,
+43 }
+44
+45 if optional_params :
+46 params . update ( optional_params )
+47
+48 return self . all ( ** params )
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/scan_form_service.py b/easypost/services/scan_form_service.py
deleted file mode 100644
index fe5590a5..00000000
--- a/easypost/services/scan_form_service.py
+++ /dev/null
@@ -1,48 +0,0 @@
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.models import ScanForm
-from easypost.services.base_service import BaseService
-
-
-class ScanFormService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = ScanForm.__name__
-
- def create(self, **params) -> ScanForm:
- """Create a ScanForm."""
- return self._create_resource(self._model_class, **params)
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of ScanForms."""
- filters = {
- "key": "scan_forms",
- }
-
- return self._all_resources(self._model_class, filters, **params)
-
- def retrieve(self, id: str) -> ScanForm:
- """Retrieve a ScanForm."""
- return self._retrieve_resource(self._model_class, id)
-
- def get_next_page(
- self,
- scan_forms: dict[str, Any],
- page_size: int,
- optional_params: Optional[dict[str, Any]] = None,
- ) -> dict[str, Any]:
- """Retrieve the next page of the list ScanForm response."""
- self._check_has_next_page(collection=scan_forms)
-
- params = {
- "before_id": scan_forms["scan_forms"][-1].id,
- "page_size": page_size,
- }
-
- if optional_params:
- params.update(optional_params)
-
- return self.all(**params)
diff --git a/easypost/services/shipment_service.html b/easypost/services/shipment_service.html
new file mode 100644
index 00000000..ff594aeb
--- /dev/null
+++ b/easypost/services/shipment_service.html
@@ -0,0 +1,1150 @@
+
+
+
+
+
+
+ easypost.services.shipment_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 Optional ,
+ 4 )
+ 5
+ 6 from easypost.constant import _FILTERS_KEY
+ 7 from easypost.easypost_object import convert_to_easypost_object
+ 8 from easypost.models import (
+ 9 Rate ,
+ 10 Shipment ,
+ 11 )
+ 12 from easypost.requestor import (
+ 13 RequestMethod ,
+ 14 Requestor ,
+ 15 )
+ 16 from easypost.services.base_service import BaseService
+ 17 from easypost.util import get_lowest_smart_rate
+ 18
+ 19
+ 20 class ShipmentService ( BaseService ):
+ 21 def __init__ ( self , client ):
+ 22 self . _client = client
+ 23 self . _model_class = Shipment . __name__
+ 24
+ 25 def create ( self , ** params ) -> Shipment :
+ 26 """Create a Shipment."""
+ 27 url = self . _class_url ( self . _model_class )
+ 28 wrapped_params = {
+ 29 self . _snakecase_name ( self . _model_class ): params ,
+ 30 }
+ 31
+ 32 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+ 33
+ 34 return convert_to_easypost_object ( response = response )
+ 35
+ 36 def all ( self , ** params ) -> dict [ str , Any ]:
+ 37 """Retrieve a list of Shipments."""
+ 38 filters = {
+ 39 "key" : "shipments" ,
+ 40 "include_children" : params . get ( "include_children" ),
+ 41 "purchased" : params . get ( "purchased" ),
+ 42 }
+ 43
+ 44 return self . _all_resources ( self . _model_class , filters , ** params )
+ 45
+ 46 def retrieve ( self , id : str ) -> Shipment :
+ 47 """Retrieve a Shipment."""
+ 48 return self . _retrieve_resource ( self . _model_class , id )
+ 49
+ 50 def get_next_page (
+ 51 self ,
+ 52 shipments : dict [ str , Any ],
+ 53 page_size : int ,
+ 54 optional_params : Optional [ dict [ str , Any ]] = None ,
+ 55 ) -> dict [ str , Any ]:
+ 56 """Get next page of shipment collection."""
+ 57 self . _check_has_next_page ( collection = shipments )
+ 58
+ 59 params = {
+ 60 "before_id" : shipments [ "shipments" ][ - 1 ] . id ,
+ 61 "page_size" : page_size ,
+ 62 # Use the same include_children as the last page
+ 63 "include_children" : shipments . get ( _FILTERS_KEY , {}) . get ( "include_children" ),
+ 64 # Use the same purchased as the last page
+ 65 "purchased" : shipments . get ( _FILTERS_KEY , {}) . get ( "purchased" ),
+ 66 }
+ 67
+ 68 if optional_params :
+ 69 params . update ( optional_params )
+ 70
+ 71 return self . all ( ** params )
+ 72
+ 73 def regenerate_rates ( self , id : str ) -> dict [ str , list [ Rate ]]:
+ 74 """Regenerate Rates for a Shipment."""
+ 75 url = f " { self . _instance_url ( self . _model_class , id ) } /rerate"
+ 76
+ 77 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url )
+ 78
+ 79 return convert_to_easypost_object ( response = response )
+ 80
+ 81 def get_smart_rates ( self , id : str ) -> list [ Rate ]:
+ 82 """Get SmartRates for a Shipment."""
+ 83 url = f " { self . _instance_url ( self . _model_class , id ) } /smartrate"
+ 84
+ 85 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url )
+ 86
+ 87 return convert_to_easypost_object ( response = response . get ( "result" , []))
+ 88
+ 89 def buy (
+ 90 self ,
+ 91 id : str ,
+ 92 end_shipper_id : Optional [ str ] = None ,
+ 93 ** params ,
+ 94 ) -> Shipment :
+ 95 """Buy a Shipment."""
+ 96 url = f " { self . _instance_url ( self . _model_class , id ) } /buy"
+ 97 if end_shipper_id :
+ 98 params [ "end_shipper_id" ] = end_shipper_id
+ 99
+100 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+101
+102 return convert_to_easypost_object ( response = response )
+103
+104 def refund ( self , id : str , ** params ) -> Shipment :
+105 """Refund a Shipment."""
+106 url = f " { self . _instance_url ( self . _model_class , id ) } /refund"
+107
+108 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+109
+110 return convert_to_easypost_object ( response = response )
+111
+112 def insure ( self , id : str , ** params ) -> Shipment :
+113 """Insure a Shipment."""
+114 url = f " { self . _instance_url ( self . _model_class , id ) } /insure"
+115
+116 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+117
+118 return convert_to_easypost_object ( response = response )
+119
+120 def label ( self , id : str , ** params ) -> Shipment :
+121 """Convert the label format of a Shipment."""
+122 url = f " { self . _instance_url ( self . _model_class , id ) } /label"
+123
+124 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+125
+126 return convert_to_easypost_object ( response = response )
+127
+128 def lowest_smart_rate ( self , id : str , delivery_days : int , delivery_accuracy : str ) -> Rate :
+129 """Get the lowest SmartRate of a Shipment."""
+130 smartrates = self . get_smart_rates ( id )
+131 lowest_smart_rate = get_lowest_smart_rate ( smartrates , delivery_days , delivery_accuracy . lower ())
+132
+133 return lowest_smart_rate
+134
+135 def generate_form ( self , id : str , form_type : str , form_options : Optional [ dict [ str , Any ]] = {}) -> Shipment :
+136 """Generate a form for a Shipment."""
+137 params = { "type" : form_type }
+138 params . update ( form_options ) # type: ignore
+139 wrapped_params = { "form" : params }
+140 url = f " { self . _instance_url ( self . _model_class , id ) } /forms"
+141
+142 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+143
+144 return convert_to_easypost_object ( response = response )
+145
+146 def retrieve_estimated_delivery_date ( self , id : str , planned_ship_date : str ) -> list [ dict [ str , Any ]]:
+147 """Retrieves the estimated delivery date of each Rate via SmartRate."""
+148 url = f " { self . _instance_url ( self . _model_class , id ) } /smartrate/delivery_date"
+149 wrapped_params = { "planned_ship_date" : planned_ship_date }
+150
+151 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = wrapped_params )
+152
+153 return convert_to_easypost_object ( response = response . get ( "rates" , []))
+154
+155 def recommend_ship_date ( self , id : str , desired_delivery_date : str ) -> list [ dict [ str , Any ]]:
+156 """Retrieve a recommended ship date for an existing Shipment via the Precision Shipping API,
+157 based on a specific desired delivery date.
+158 """
+159 url = f " { self . _instance_url ( self . _model_class , id ) } /smartrate/precision_shipping"
+160 params = { "desired_delivery_date" : desired_delivery_date }
+161 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+162
+163 return convert_to_easypost_object ( response = response . get ( "rates" , []))
+164
+165 def create_and_buy_luma (
+166 self ,
+167 ** params : dict [ str , Any ],
+168 ) -> Shipment :
+169 """Create and buy a Luma Shipment in one call."""
+170 url = f " { self . _class_url ( self . _model_class ) } /luma"
+171 wrapped_params = {
+172 self . _snakecase_name ( self . _model_class ): params ,
+173 }
+174
+175 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+176
+177 return convert_to_easypost_object ( response = response )
+178
+179 def buy_luma (
+180 self ,
+181 id : str ,
+182 ** params : dict [ str , Any ],
+183 ) -> Shipment :
+184 """Buy a Shipment with Luma."""
+185 url = f " { self . _instance_url ( self . _model_class , id ) } /luma"
+186
+187 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+188
+189 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+ 21 class ShipmentService ( BaseService ):
+ 22 def __init__ ( self , client ):
+ 23 self . _client = client
+ 24 self . _model_class = Shipment . __name__
+ 25
+ 26 def create ( self , ** params ) -> Shipment :
+ 27 """Create a Shipment."""
+ 28 url = self . _class_url ( self . _model_class )
+ 29 wrapped_params = {
+ 30 self . _snakecase_name ( self . _model_class ): params ,
+ 31 }
+ 32
+ 33 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+ 34
+ 35 return convert_to_easypost_object ( response = response )
+ 36
+ 37 def all ( self , ** params ) -> dict [ str , Any ]:
+ 38 """Retrieve a list of Shipments."""
+ 39 filters = {
+ 40 "key" : "shipments" ,
+ 41 "include_children" : params . get ( "include_children" ),
+ 42 "purchased" : params . get ( "purchased" ),
+ 43 }
+ 44
+ 45 return self . _all_resources ( self . _model_class , filters , ** params )
+ 46
+ 47 def retrieve ( self , id : str ) -> Shipment :
+ 48 """Retrieve a Shipment."""
+ 49 return self . _retrieve_resource ( self . _model_class , id )
+ 50
+ 51 def get_next_page (
+ 52 self ,
+ 53 shipments : dict [ str , Any ],
+ 54 page_size : int ,
+ 55 optional_params : Optional [ dict [ str , Any ]] = None ,
+ 56 ) -> dict [ str , Any ]:
+ 57 """Get next page of shipment collection."""
+ 58 self . _check_has_next_page ( collection = shipments )
+ 59
+ 60 params = {
+ 61 "before_id" : shipments [ "shipments" ][ - 1 ] . id ,
+ 62 "page_size" : page_size ,
+ 63 # Use the same include_children as the last page
+ 64 "include_children" : shipments . get ( _FILTERS_KEY , {}) . get ( "include_children" ),
+ 65 # Use the same purchased as the last page
+ 66 "purchased" : shipments . get ( _FILTERS_KEY , {}) . get ( "purchased" ),
+ 67 }
+ 68
+ 69 if optional_params :
+ 70 params . update ( optional_params )
+ 71
+ 72 return self . all ( ** params )
+ 73
+ 74 def regenerate_rates ( self , id : str ) -> dict [ str , list [ Rate ]]:
+ 75 """Regenerate Rates for a Shipment."""
+ 76 url = f " { self . _instance_url ( self . _model_class , id ) } /rerate"
+ 77
+ 78 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url )
+ 79
+ 80 return convert_to_easypost_object ( response = response )
+ 81
+ 82 def get_smart_rates ( self , id : str ) -> list [ Rate ]:
+ 83 """Get SmartRates for a Shipment."""
+ 84 url = f " { self . _instance_url ( self . _model_class , id ) } /smartrate"
+ 85
+ 86 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url )
+ 87
+ 88 return convert_to_easypost_object ( response = response . get ( "result" , []))
+ 89
+ 90 def buy (
+ 91 self ,
+ 92 id : str ,
+ 93 end_shipper_id : Optional [ str ] = None ,
+ 94 ** params ,
+ 95 ) -> Shipment :
+ 96 """Buy a Shipment."""
+ 97 url = f " { self . _instance_url ( self . _model_class , id ) } /buy"
+ 98 if end_shipper_id :
+ 99 params [ "end_shipper_id" ] = end_shipper_id
+100
+101 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+102
+103 return convert_to_easypost_object ( response = response )
+104
+105 def refund ( self , id : str , ** params ) -> Shipment :
+106 """Refund a Shipment."""
+107 url = f " { self . _instance_url ( self . _model_class , id ) } /refund"
+108
+109 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+110
+111 return convert_to_easypost_object ( response = response )
+112
+113 def insure ( self , id : str , ** params ) -> Shipment :
+114 """Insure a Shipment."""
+115 url = f " { self . _instance_url ( self . _model_class , id ) } /insure"
+116
+117 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+118
+119 return convert_to_easypost_object ( response = response )
+120
+121 def label ( self , id : str , ** params ) -> Shipment :
+122 """Convert the label format of a Shipment."""
+123 url = f " { self . _instance_url ( self . _model_class , id ) } /label"
+124
+125 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+126
+127 return convert_to_easypost_object ( response = response )
+128
+129 def lowest_smart_rate ( self , id : str , delivery_days : int , delivery_accuracy : str ) -> Rate :
+130 """Get the lowest SmartRate of a Shipment."""
+131 smartrates = self . get_smart_rates ( id )
+132 lowest_smart_rate = get_lowest_smart_rate ( smartrates , delivery_days , delivery_accuracy . lower ())
+133
+134 return lowest_smart_rate
+135
+136 def generate_form ( self , id : str , form_type : str , form_options : Optional [ dict [ str , Any ]] = {}) -> Shipment :
+137 """Generate a form for a Shipment."""
+138 params = { "type" : form_type }
+139 params . update ( form_options ) # type: ignore
+140 wrapped_params = { "form" : params }
+141 url = f " { self . _instance_url ( self . _model_class , id ) } /forms"
+142
+143 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+144
+145 return convert_to_easypost_object ( response = response )
+146
+147 def retrieve_estimated_delivery_date ( self , id : str , planned_ship_date : str ) -> list [ dict [ str , Any ]]:
+148 """Retrieves the estimated delivery date of each Rate via SmartRate."""
+149 url = f " { self . _instance_url ( self . _model_class , id ) } /smartrate/delivery_date"
+150 wrapped_params = { "planned_ship_date" : planned_ship_date }
+151
+152 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = wrapped_params )
+153
+154 return convert_to_easypost_object ( response = response . get ( "rates" , []))
+155
+156 def recommend_ship_date ( self , id : str , desired_delivery_date : str ) -> list [ dict [ str , Any ]]:
+157 """Retrieve a recommended ship date for an existing Shipment via the Precision Shipping API,
+158 based on a specific desired delivery date.
+159 """
+160 url = f " { self . _instance_url ( self . _model_class , id ) } /smartrate/precision_shipping"
+161 params = { "desired_delivery_date" : desired_delivery_date }
+162 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+163
+164 return convert_to_easypost_object ( response = response . get ( "rates" , []))
+165
+166 def create_and_buy_luma (
+167 self ,
+168 ** params : dict [ str , Any ],
+169 ) -> Shipment :
+170 """Create and buy a Luma Shipment in one call."""
+171 url = f " { self . _class_url ( self . _model_class ) } /luma"
+172 wrapped_params = {
+173 self . _snakecase_name ( self . _model_class ): params ,
+174 }
+175
+176 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+177
+178 return convert_to_easypost_object ( response = response )
+179
+180 def buy_luma (
+181 self ,
+182 id : str ,
+183 ** params : dict [ str , Any ],
+184 ) -> Shipment :
+185 """Buy a Shipment with Luma."""
+186 url = f " { self . _instance_url ( self . _model_class , id ) } /luma"
+187
+188 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+189
+190 return convert_to_easypost_object ( response = response )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ ShipmentService (client )
+
+ View Source
+
+
+
+
22 def __init__ ( self , client ):
+23 self . _client = client
+24 self . _model_class = Shipment . __name__
+
+
+
+
+
+
+
+
+
+
+
26 def create ( self , ** params ) -> Shipment :
+27 """Create a Shipment."""
+28 url = self . _class_url ( self . _model_class )
+29 wrapped_params = {
+30 self . _snakecase_name ( self . _model_class ): params ,
+31 }
+32
+33 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+34
+35 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
37 def all ( self , ** params ) -> dict [ str , Any ]:
+38 """Retrieve a list of Shipments."""
+39 filters = {
+40 "key" : "shipments" ,
+41 "include_children" : params . get ( "include_children" ),
+42 "purchased" : params . get ( "purchased" ),
+43 }
+44
+45 return self . _all_resources ( self . _model_class , filters , ** params )
+
+
+
+
Retrieve a list of Shipments.
+
+
+
+
+
+
+
+
+
47 def retrieve ( self , id : str ) -> Shipment :
+48 """Retrieve a Shipment."""
+49 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ get_next_page ( self , shipments : dict [ str , typing . Any ] , page_size : int , optional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
51 def get_next_page (
+52 self ,
+53 shipments : dict [ str , Any ],
+54 page_size : int ,
+55 optional_params : Optional [ dict [ str , Any ]] = None ,
+56 ) -> dict [ str , Any ]:
+57 """Get next page of shipment collection."""
+58 self . _check_has_next_page ( collection = shipments )
+59
+60 params = {
+61 "before_id" : shipments [ "shipments" ][ - 1 ] . id ,
+62 "page_size" : page_size ,
+63 # Use the same include_children as the last page
+64 "include_children" : shipments . get ( _FILTERS_KEY , {}) . get ( "include_children" ),
+65 # Use the same purchased as the last page
+66 "purchased" : shipments . get ( _FILTERS_KEY , {}) . get ( "purchased" ),
+67 }
+68
+69 if optional_params :
+70 params . update ( optional_params )
+71
+72 return self . all ( ** params )
+
+
+
+
Get next page of shipment collection.
+
+
+
+
+
+
+
+
+
74 def regenerate_rates ( self , id : str ) -> dict [ str , list [ Rate ]]:
+75 """Regenerate Rates for a Shipment."""
+76 url = f " { self . _instance_url ( self . _model_class , id ) } /rerate"
+77
+78 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url )
+79
+80 return convert_to_easypost_object ( response = response )
+
+
+
+
Regenerate Rates for a Shipment.
+
+
+
+
+
+
+
+
+
82 def get_smart_rates ( self , id : str ) -> list [ Rate ]:
+83 """Get SmartRates for a Shipment."""
+84 url = f " { self . _instance_url ( self . _model_class , id ) } /smartrate"
+85
+86 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url )
+87
+88 return convert_to_easypost_object ( response = response . get ( "result" , []))
+
+
+
+
Get SmartRates for a Shipment.
+
+
+
+
+
+
+
+
+
90 def buy (
+ 91 self ,
+ 92 id : str ,
+ 93 end_shipper_id : Optional [ str ] = None ,
+ 94 ** params ,
+ 95 ) -> Shipment :
+ 96 """Buy a Shipment."""
+ 97 url = f " { self . _instance_url ( self . _model_class , id ) } /buy"
+ 98 if end_shipper_id :
+ 99 params [ "end_shipper_id" ] = end_shipper_id
+100
+101 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+102
+103 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
+
105 def refund ( self , id : str , ** params ) -> Shipment :
+106 """Refund a Shipment."""
+107 url = f " { self . _instance_url ( self . _model_class , id ) } /refund"
+108
+109 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+110
+111 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
+
113 def insure ( self , id : str , ** params ) -> Shipment :
+114 """Insure a Shipment."""
+115 url = f " { self . _instance_url ( self . _model_class , id ) } /insure"
+116
+117 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+118
+119 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
+
121 def label ( self , id : str , ** params ) -> Shipment :
+122 """Convert the label format of a Shipment."""
+123 url = f " { self . _instance_url ( self . _model_class , id ) } /label"
+124
+125 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+126
+127 return convert_to_easypost_object ( response = response )
+
+
+
+
Convert the label format of a Shipment.
+
+
+
+
+
+
+
+
+
def
+
lowest_smart_rate ( self , id : str , delivery_days : int , delivery_accuracy : str ) -> easypost.models.rate.Rate :
+
+
View Source
+
+
+
+
129 def lowest_smart_rate ( self , id : str , delivery_days : int , delivery_accuracy : str ) -> Rate :
+130 """Get the lowest SmartRate of a Shipment."""
+131 smartrates = self . get_smart_rates ( id )
+132 lowest_smart_rate = get_lowest_smart_rate ( smartrates , delivery_days , delivery_accuracy . lower ())
+133
+134 return lowest_smart_rate
+
+
+
+
Get the lowest SmartRate of a Shipment.
+
+
+
+
+
+
+
+
+
+ def
+ retrieve_estimated_delivery_date (self , id : str , planned_ship_date : str ) -> list [ dict [ str , typing . Any ]] :
+
+ View Source
+
+
+
+
147 def retrieve_estimated_delivery_date ( self , id : str , planned_ship_date : str ) -> list [ dict [ str , Any ]]:
+148 """Retrieves the estimated delivery date of each Rate via SmartRate."""
+149 url = f " { self . _instance_url ( self . _model_class , id ) } /smartrate/delivery_date"
+150 wrapped_params = { "planned_ship_date" : planned_ship_date }
+151
+152 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = wrapped_params )
+153
+154 return convert_to_easypost_object ( response = response . get ( "rates" , []))
+
+
+
+
Retrieves the estimated delivery date of each Rate via SmartRate.
+
+
+
+
+
+
+
+
+ def
+ recommend_ship_date (self , id : str , desired_delivery_date : str ) -> list [ dict [ str , typing . Any ]] :
+
+ View Source
+
+
+
+
156 def recommend_ship_date ( self , id : str , desired_delivery_date : str ) -> list [ dict [ str , Any ]]:
+157 """Retrieve a recommended ship date for an existing Shipment via the Precision Shipping API,
+158 based on a specific desired delivery date.
+159 """
+160 url = f " { self . _instance_url ( self . _model_class , id ) } /smartrate/precision_shipping"
+161 params = { "desired_delivery_date" : desired_delivery_date }
+162 response = Requestor ( self . _client ) . request ( method = RequestMethod . GET , url = url , params = params )
+163
+164 return convert_to_easypost_object ( response = response . get ( "rates" , []))
+
+
+
+
Retrieve a recommended ship date for an existing Shipment via the Precision Shipping API,
+based on a specific desired delivery date.
+
+
+
+
+
+
+
+
+
166 def create_and_buy_luma (
+167 self ,
+168 ** params : dict [ str , Any ],
+169 ) -> Shipment :
+170 """Create and buy a Luma Shipment in one call."""
+171 url = f " { self . _class_url ( self . _model_class ) } /luma"
+172 wrapped_params = {
+173 self . _snakecase_name ( self . _model_class ): params ,
+174 }
+175
+176 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = wrapped_params )
+177
+178 return convert_to_easypost_object ( response = response )
+
+
+
+
Create and buy a Luma Shipment in one call.
+
+
+
+
+
+
+
+
+
180 def buy_luma (
+181 self ,
+182 id : str ,
+183 ** params : dict [ str , Any ],
+184 ) -> Shipment :
+185 """Buy a Shipment with Luma."""
+186 url = f " { self . _instance_url ( self . _model_class , id ) } /luma"
+187
+188 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+189
+190 return convert_to_easypost_object ( response = response )
+
+
+
+
Buy a Shipment with Luma.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/shipment_service.py b/easypost/services/shipment_service.py
deleted file mode 100644
index 91a622db..00000000
--- a/easypost/services/shipment_service.py
+++ /dev/null
@@ -1,189 +0,0 @@
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.constant import _FILTERS_KEY
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import (
- Rate,
- Shipment,
-)
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-from easypost.util import get_lowest_smart_rate
-
-
-class ShipmentService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Shipment.__name__
-
- def create(self, **params) -> Shipment:
- """Create a Shipment."""
- url = self._class_url(self._model_class)
- wrapped_params = {
- self._snakecase_name(self._model_class): params,
- }
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=wrapped_params)
-
- return convert_to_easypost_object(response=response)
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of Shipments."""
- filters = {
- "key": "shipments",
- "include_children": params.get("include_children"),
- "purchased": params.get("purchased"),
- }
-
- return self._all_resources(self._model_class, filters, **params)
-
- def retrieve(self, id: str) -> Shipment:
- """Retrieve a Shipment."""
- return self._retrieve_resource(self._model_class, id)
-
- def get_next_page(
- self,
- shipments: dict[str, Any],
- page_size: int,
- optional_params: Optional[dict[str, Any]] = None,
- ) -> dict[str, Any]:
- """Get next page of shipment collection."""
- self._check_has_next_page(collection=shipments)
-
- params = {
- "before_id": shipments["shipments"][-1].id,
- "page_size": page_size,
- # Use the same include_children as the last page
- "include_children": shipments.get(_FILTERS_KEY, {}).get("include_children"),
- # Use the same purchased as the last page
- "purchased": shipments.get(_FILTERS_KEY, {}).get("purchased"),
- }
-
- if optional_params:
- params.update(optional_params)
-
- return self.all(**params)
-
- def regenerate_rates(self, id: str) -> dict[str, list[Rate]]:
- """Regenerate Rates for a Shipment."""
- url = f"{self._instance_url(self._model_class, id)}/rerate"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url)
-
- return convert_to_easypost_object(response=response)
-
- def get_smart_rates(self, id: str) -> list[Rate]:
- """Get SmartRates for a Shipment."""
- url = f"{self._instance_url(self._model_class, id)}/smartrate"
-
- response = Requestor(self._client).request(method=RequestMethod.GET, url=url)
-
- return convert_to_easypost_object(response=response.get("result", []))
-
- def buy(
- self,
- id: str,
- end_shipper_id: Optional[str] = None,
- **params,
- ) -> Shipment:
- """Buy a Shipment."""
- url = f"{self._instance_url(self._model_class, id)}/buy"
- if end_shipper_id:
- params["end_shipper_id"] = end_shipper_id
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def refund(self, id: str, **params) -> Shipment:
- """Refund a Shipment."""
- url = f"{self._instance_url(self._model_class, id)}/refund"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def insure(self, id: str, **params) -> Shipment:
- """Insure a Shipment."""
- url = f"{self._instance_url(self._model_class, id)}/insure"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def label(self, id: str, **params) -> Shipment:
- """Convert the label format of a Shipment."""
- url = f"{self._instance_url(self._model_class, id)}/label"
-
- response = Requestor(self._client).request(method=RequestMethod.GET, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def lowest_smart_rate(self, id: str, delivery_days: int, delivery_accuracy: str) -> Rate:
- """Get the lowest SmartRate of a Shipment."""
- smartrates = self.get_smart_rates(id)
- lowest_smart_rate = get_lowest_smart_rate(smartrates, delivery_days, delivery_accuracy.lower())
-
- return lowest_smart_rate
-
- def generate_form(self, id: str, form_type: str, form_options: Optional[dict[str, Any]] = {}) -> Shipment:
- """Generate a form for a Shipment."""
- params = {"type": form_type}
- params.update(form_options) # type: ignore
- wrapped_params = {"form": params}
- url = f"{self._instance_url(self._model_class, id)}/forms"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=wrapped_params)
-
- return convert_to_easypost_object(response=response)
-
- def retrieve_estimated_delivery_date(self, id: str, planned_ship_date: str) -> list[dict[str, Any]]:
- """Retrieves the estimated delivery date of each Rate via SmartRate."""
- url = f"{self._instance_url(self._model_class, id)}/smartrate/delivery_date"
- wrapped_params = {"planned_ship_date": planned_ship_date}
-
- response = Requestor(self._client).request(method=RequestMethod.GET, url=url, params=wrapped_params)
-
- return convert_to_easypost_object(response=response.get("rates", []))
-
- def recommend_ship_date(self, id: str, desired_delivery_date: str) -> list[dict[str, Any]]:
- """Retrieve a recommended ship date for an existing Shipment via the Precision Shipping API,
- based on a specific desired delivery date.
- """
- url = f"{self._instance_url(self._model_class, id)}/smartrate/precision_shipping"
- params = {"desired_delivery_date": desired_delivery_date}
- response = Requestor(self._client).request(method=RequestMethod.GET, url=url, params=params)
-
- return convert_to_easypost_object(response=response.get("rates", []))
-
- def create_and_buy_luma(
- self,
- **params: dict[str, Any],
- ) -> Shipment:
- """Create and buy a Luma Shipment in one call."""
- url = f"{self._class_url(self._model_class)}/luma"
- wrapped_params = {
- self._snakecase_name(self._model_class): params,
- }
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=wrapped_params)
-
- return convert_to_easypost_object(response=response)
-
- def buy_luma(
- self,
- id: str,
- **params: dict[str, Any],
- ) -> Shipment:
- """Buy a Shipment with Luma."""
- url = f"{self._instance_url(self._model_class, id)}/luma"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
diff --git a/easypost/services/smartrate_service.html b/easypost/services/smartrate_service.html
new file mode 100644
index 00000000..b8da058a
--- /dev/null
+++ b/easypost/services/smartrate_service.html
@@ -0,0 +1,412 @@
+
+
+
+
+
+
+ easypost.services.smartrate_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 )
+ 4
+ 5 from easypost.easypost_object import convert_to_easypost_object
+ 6 from easypost.requestor import (
+ 7 RequestMethod ,
+ 8 Requestor ,
+ 9 )
+10 from easypost.services.base_service import BaseService
+11
+12
+13 class SmartRateService ( BaseService ):
+14 def __init__ ( self , client ):
+15 self . _client = client
+16 self . _model_class = "SmartRate"
+17
+18 def estimate_delivery_date ( self , ** params ) -> list [ dict [ str , Any ]]:
+19 """Retrieve the estimated delivery date of each carrier-service level combination via the
+20 Smart Deliver By API, based on a specific ship date and origin-destination postal code pair.
+21 """
+22 url = "/smartrate/deliver_by"
+23
+24 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+25
+26 return convert_to_easypost_object ( response = response )
+27
+28 def recommend_ship_date ( self , ** params ) -> list [ dict [ str , Any ]]:
+29 """Retrieve a recommended ship date for each carrier-service level combination via the
+30 Smart Deliver On API, based on a specific delivery date and origin-destination postal code pair.
+31 """
+32 url = "/smartrate/deliver_on"
+33
+34 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+35
+36 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+ 14 class SmartRateService ( BaseService ):
+15 def __init__ ( self , client ):
+16 self . _client = client
+17 self . _model_class = "SmartRate"
+18
+19 def estimate_delivery_date ( self , ** params ) -> list [ dict [ str , Any ]]:
+20 """Retrieve the estimated delivery date of each carrier-service level combination via the
+21 Smart Deliver By API, based on a specific ship date and origin-destination postal code pair.
+22 """
+23 url = "/smartrate/deliver_by"
+24
+25 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+26
+27 return convert_to_easypost_object ( response = response )
+28
+29 def recommend_ship_date ( self , ** params ) -> list [ dict [ str , Any ]]:
+30 """Retrieve a recommended ship date for each carrier-service level combination via the
+31 Smart Deliver On API, based on a specific delivery date and origin-destination postal code pair.
+32 """
+33 url = "/smartrate/deliver_on"
+34
+35 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+36
+37 return convert_to_easypost_object ( response = response )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ SmartRateService (client )
+
+ View Source
+
+
+
+
15 def __init__ ( self , client ):
+16 self . _client = client
+17 self . _model_class = "SmartRate"
+
+
+
+
+
+
+
+
+
+
+ def
+ estimate_delivery_date (self , ** params ) -> list [ dict [ str , typing . Any ]] :
+
+ View Source
+
+
+
+
19 def estimate_delivery_date ( self , ** params ) -> list [ dict [ str , Any ]]:
+20 """Retrieve the estimated delivery date of each carrier-service level combination via the
+21 Smart Deliver By API, based on a specific ship date and origin-destination postal code pair.
+22 """
+23 url = "/smartrate/deliver_by"
+24
+25 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+26
+27 return convert_to_easypost_object ( response = response )
+
+
+
+
Retrieve the estimated delivery date of each carrier-service level combination via the
+Smart Deliver By API, based on a specific ship date and origin-destination postal code pair.
+
+
+
+
+
+
+
+
+ def
+ recommend_ship_date (self , ** params ) -> list [ dict [ str , typing . Any ]] :
+
+ View Source
+
+
+
+
29 def recommend_ship_date ( self , ** params ) -> list [ dict [ str , Any ]]:
+30 """Retrieve a recommended ship date for each carrier-service level combination via the
+31 Smart Deliver On API, based on a specific delivery date and origin-destination postal code pair.
+32 """
+33 url = "/smartrate/deliver_on"
+34
+35 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+36
+37 return convert_to_easypost_object ( response = response )
+
+
+
+
Retrieve a recommended ship date for each carrier-service level combination via the
+Smart Deliver On API, based on a specific delivery date and origin-destination postal code pair.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/smartrate_service.py b/easypost/services/smartrate_service.py
deleted file mode 100644
index 9bb30f68..00000000
--- a/easypost/services/smartrate_service.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from typing import (
- Any,
-)
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class SmartRateService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = "SmartRate"
-
- def estimate_delivery_date(self, **params) -> list[dict[str, Any]]:
- """Retrieve the estimated delivery date of each carrier-service level combination via the
- Smart Deliver By API, based on a specific ship date and origin-destination postal code pair.
- """
- url = "/smartrate/deliver_by"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def recommend_ship_date(self, **params) -> list[dict[str, Any]]:
- """Retrieve a recommended ship date for each carrier-service level combination via the
- Smart Deliver On API, based on a specific delivery date and origin-destination postal code pair.
- """
- url = "/smartrate/deliver_on"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
diff --git a/easypost/services/tracker_service.html b/easypost/services/tracker_service.html
new file mode 100644
index 00000000..3408e4de
--- /dev/null
+++ b/easypost/services/tracker_service.html
@@ -0,0 +1,602 @@
+
+
+
+
+
+
+ easypost.services.tracker_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import Any , Optional
+ 2
+ 3 from easypost.constant import _FILTERS_KEY
+ 4 from easypost.easypost_object import convert_to_easypost_object
+ 5 from easypost.models import Tracker
+ 6 from easypost.requestor import RequestMethod , Requestor
+ 7 from easypost.services.base_service import BaseService
+ 8
+ 9
+10 class TrackerService ( BaseService ):
+11 def __init__ ( self , client ):
+12 self . _client = client
+13 self . _model_class = Tracker . __name__
+14
+15 def create ( self , ** params ) -> Tracker :
+16 """Create a Tracker."""
+17 return self . _create_resource ( self . _model_class , ** params )
+18
+19 def all ( self , ** params ) -> dict [ str , Any ]:
+20 """Retrieve a list of Trackers."""
+21 filters = {
+22 "key" : "trackers" ,
+23 "tracking_code" : params . get ( "tracking_code" ),
+24 "tracking_codes" : params . get ( "tracking_codes" ),
+25 "carrier" : params . get ( "carrier" ),
+26 }
+27 # Make Ruby on Rails happy with proper URL encoding
+28 if params . get ( "tracking_codes" ):
+29 params [ "tracking_codes[]" ] = params . pop ( "tracking_codes" )
+30
+31 return self . _all_resources ( self . _model_class , filters , ** params )
+32
+33 def retrieve_batch ( self , ** params ) -> Tracker :
+34 """Retrieve a batch of Trackers."""
+35 url = "/trackers/batch"
+36
+37 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+38
+39 return convert_to_easypost_object ( response = response )
+40
+41 def retrieve ( self , id : str ) -> Tracker :
+42 """Retrieve a Tracker."""
+43 return self . _retrieve_resource ( self . _model_class , id )
+44
+45 def get_next_page (
+46 self ,
+47 trackers : dict [ str , Any ],
+48 page_size : int ,
+49 optional_params : Optional [ dict [ str , Any ]] = None ,
+50 ) -> dict [ str , Any ]:
+51 """Retrieve the next page of the list Tracker response."""
+52 self . _check_has_next_page ( collection = trackers )
+53
+54 params = {
+55 "before_id" : trackers [ "trackers" ][ - 1 ] . id ,
+56 "page_size" : page_size ,
+57 "tracking_code" : trackers . get ( _FILTERS_KEY , {}) . get (
+58 "tracking_code"
+59 ), # Use the same tracking_code as the last page
+60 "carrier" : trackers . get ( _FILTERS_KEY , {}) . get ( "carrier" ), # Use the same carrier as the last page
+61 }
+62
+63 if optional_params :
+64 params . update ( optional_params )
+65
+66 return self . all ( ** params )
+67
+68 def delete ( self , id : str ) -> None :
+69 """Delete a Tracker."""
+70 self . _delete_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+ 11 class TrackerService ( BaseService ):
+12 def __init__ ( self , client ):
+13 self . _client = client
+14 self . _model_class = Tracker . __name__
+15
+16 def create ( self , ** params ) -> Tracker :
+17 """Create a Tracker."""
+18 return self . _create_resource ( self . _model_class , ** params )
+19
+20 def all ( self , ** params ) -> dict [ str , Any ]:
+21 """Retrieve a list of Trackers."""
+22 filters = {
+23 "key" : "trackers" ,
+24 "tracking_code" : params . get ( "tracking_code" ),
+25 "tracking_codes" : params . get ( "tracking_codes" ),
+26 "carrier" : params . get ( "carrier" ),
+27 }
+28 # Make Ruby on Rails happy with proper URL encoding
+29 if params . get ( "tracking_codes" ):
+30 params [ "tracking_codes[]" ] = params . pop ( "tracking_codes" )
+31
+32 return self . _all_resources ( self . _model_class , filters , ** params )
+33
+34 def retrieve_batch ( self , ** params ) -> Tracker :
+35 """Retrieve a batch of Trackers."""
+36 url = "/trackers/batch"
+37
+38 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+39
+40 return convert_to_easypost_object ( response = response )
+41
+42 def retrieve ( self , id : str ) -> Tracker :
+43 """Retrieve a Tracker."""
+44 return self . _retrieve_resource ( self . _model_class , id )
+45
+46 def get_next_page (
+47 self ,
+48 trackers : dict [ str , Any ],
+49 page_size : int ,
+50 optional_params : Optional [ dict [ str , Any ]] = None ,
+51 ) -> dict [ str , Any ]:
+52 """Retrieve the next page of the list Tracker response."""
+53 self . _check_has_next_page ( collection = trackers )
+54
+55 params = {
+56 "before_id" : trackers [ "trackers" ][ - 1 ] . id ,
+57 "page_size" : page_size ,
+58 "tracking_code" : trackers . get ( _FILTERS_KEY , {}) . get (
+59 "tracking_code"
+60 ), # Use the same tracking_code as the last page
+61 "carrier" : trackers . get ( _FILTERS_KEY , {}) . get ( "carrier" ), # Use the same carrier as the last page
+62 }
+63
+64 if optional_params :
+65 params . update ( optional_params )
+66
+67 return self . all ( ** params )
+68
+69 def delete ( self , id : str ) -> None :
+70 """Delete a Tracker."""
+71 self . _delete_resource ( self . _model_class , id )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ TrackerService (client )
+
+ View Source
+
+
+
+
12 def __init__ ( self , client ):
+13 self . _client = client
+14 self . _model_class = Tracker . __name__
+
+
+
+
+
+
+
+
+
+
+
16 def create ( self , ** params ) -> Tracker :
+17 """Create a Tracker."""
+18 return self . _create_resource ( self . _model_class , ** params )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
20 def all ( self , ** params ) -> dict [ str , Any ]:
+21 """Retrieve a list of Trackers."""
+22 filters = {
+23 "key" : "trackers" ,
+24 "tracking_code" : params . get ( "tracking_code" ),
+25 "tracking_codes" : params . get ( "tracking_codes" ),
+26 "carrier" : params . get ( "carrier" ),
+27 }
+28 # Make Ruby on Rails happy with proper URL encoding
+29 if params . get ( "tracking_codes" ):
+30 params [ "tracking_codes[]" ] = params . pop ( "tracking_codes" )
+31
+32 return self . _all_resources ( self . _model_class , filters , ** params )
+
+
+
+
Retrieve a list of Trackers.
+
+
+
+
+
+
+
+
+
34 def retrieve_batch ( self , ** params ) -> Tracker :
+35 """Retrieve a batch of Trackers."""
+36 url = "/trackers/batch"
+37
+38 response = Requestor ( self . _client ) . request ( method = RequestMethod . POST , url = url , params = params )
+39
+40 return convert_to_easypost_object ( response = response )
+
+
+
+
Retrieve a batch of Trackers.
+
+
+
+
+
+
+
+
+
42 def retrieve ( self , id : str ) -> Tracker :
+43 """Retrieve a Tracker."""
+44 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ get_next_page ( self , trackers : dict [ str , typing . Any ] , page_size : int , optional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
46 def get_next_page (
+47 self ,
+48 trackers : dict [ str , Any ],
+49 page_size : int ,
+50 optional_params : Optional [ dict [ str , Any ]] = None ,
+51 ) -> dict [ str , Any ]:
+52 """Retrieve the next page of the list Tracker response."""
+53 self . _check_has_next_page ( collection = trackers )
+54
+55 params = {
+56 "before_id" : trackers [ "trackers" ][ - 1 ] . id ,
+57 "page_size" : page_size ,
+58 "tracking_code" : trackers . get ( _FILTERS_KEY , {}) . get (
+59 "tracking_code"
+60 ), # Use the same tracking_code as the last page
+61 "carrier" : trackers . get ( _FILTERS_KEY , {}) . get ( "carrier" ), # Use the same carrier as the last page
+62 }
+63
+64 if optional_params :
+65 params . update ( optional_params )
+66
+67 return self . all ( ** params )
+
+
+
+
Retrieve the next page of the list Tracker response.
+
+
+
+
+
+
+
+
+ def
+ delete (self , id : str ) -> None :
+
+ View Source
+
+
+
+
69 def delete ( self , id : str ) -> None :
+70 """Delete a Tracker."""
+71 self . _delete_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/tracker_service.py b/easypost/services/tracker_service.py
deleted file mode 100644
index eed418d0..00000000
--- a/easypost/services/tracker_service.py
+++ /dev/null
@@ -1,70 +0,0 @@
-from typing import Any, Optional
-
-from easypost.constant import _FILTERS_KEY
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import Tracker
-from easypost.requestor import RequestMethod, Requestor
-from easypost.services.base_service import BaseService
-
-
-class TrackerService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Tracker.__name__
-
- def create(self, **params) -> Tracker:
- """Create a Tracker."""
- return self._create_resource(self._model_class, **params)
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of Trackers."""
- filters = {
- "key": "trackers",
- "tracking_code": params.get("tracking_code"),
- "tracking_codes": params.get("tracking_codes"),
- "carrier": params.get("carrier"),
- }
- # Make Ruby on Rails happy with proper URL encoding
- if params.get("tracking_codes"):
- params["tracking_codes[]"] = params.pop("tracking_codes")
-
- return self._all_resources(self._model_class, filters, **params)
-
- def retrieve_batch(self, **params) -> Tracker:
- """Retrieve a batch of Trackers."""
- url = "/trackers/batch"
-
- response = Requestor(self._client).request(method=RequestMethod.POST, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def retrieve(self, id: str) -> Tracker:
- """Retrieve a Tracker."""
- return self._retrieve_resource(self._model_class, id)
-
- def get_next_page(
- self,
- trackers: dict[str, Any],
- page_size: int,
- optional_params: Optional[dict[str, Any]] = None,
- ) -> dict[str, Any]:
- """Retrieve the next page of the list Tracker response."""
- self._check_has_next_page(collection=trackers)
-
- params = {
- "before_id": trackers["trackers"][-1].id,
- "page_size": page_size,
- "tracking_code": trackers.get(_FILTERS_KEY, {}).get(
- "tracking_code"
- ), # Use the same tracking_code as the last page
- "carrier": trackers.get(_FILTERS_KEY, {}).get("carrier"), # Use the same carrier as the last page
- }
-
- if optional_params:
- params.update(optional_params)
-
- return self.all(**params)
-
- def delete(self, id: str) -> None:
- """Delete a Tracker."""
- self._delete_resource(self._model_class, id)
diff --git a/easypost/services/user_service.html b/easypost/services/user_service.html
new file mode 100644
index 00000000..f845ed22
--- /dev/null
+++ b/easypost/services/user_service.html
@@ -0,0 +1,759 @@
+
+
+
+
+
+
+ easypost.services.user_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 Optional ,
+ 4 )
+ 5
+ 6 from easypost.easypost_object import convert_to_easypost_object
+ 7 from easypost.models import User
+ 8 from easypost.requestor import (
+ 9 RequestMethod ,
+ 10 Requestor ,
+ 11 )
+ 12 from easypost.services.base_service import BaseService
+ 13
+ 14
+ 15 class UserService ( BaseService ):
+ 16 def __init__ ( self , client ):
+ 17 self . _client = client
+ 18 self . _model_class = User . __name__
+ 19
+ 20 def create ( self , ** params ) -> User :
+ 21 """Create a User."""
+ 22 return self . _create_resource ( self . _model_class , ** params )
+ 23
+ 24 def all ( self , ** params ) -> dict [ str , Any ]:
+ 25 """Retrieve a list of Users."""
+ 26 return self . _all_resources ( self . _model_class , ** params )
+ 27
+ 28 def retrieve ( self , id : Optional [ str ] = None ) -> User :
+ 29 """Retrieve a User.
+ 30
+ 31 If no id is passed, retrieve the authenticated User.
+ 32 """
+ 33 if id :
+ 34 url = self . _instance_url ( self . _model_class , id )
+ 35 else :
+ 36 url = self . _class_url ( self . _model_class )
+ 37
+ 38 response = Requestor ( self . _client ) . request (
+ 39 method = RequestMethod . GET ,
+ 40 url = url ,
+ 41 )
+ 42
+ 43 return convert_to_easypost_object ( response = response )
+ 44
+ 45 def update ( self , id : str , ** params ) -> User :
+ 46 """Update a User."""
+ 47 return self . _update_resource ( self . _model_class , id , ** params )
+ 48
+ 49 def delete ( self , id : str ) -> None :
+ 50 """Delete a User."""
+ 51 self . _delete_resource ( self . _model_class , id )
+ 52
+ 53 def retrieve_me ( self ) -> User :
+ 54 """Retrieve the authenticated User."""
+ 55 url = self . _class_url ( self . _model_class )
+ 56
+ 57 response = Requestor ( self . _client ) . request (
+ 58 method = RequestMethod . GET ,
+ 59 url = url ,
+ 60 )
+ 61
+ 62 return convert_to_easypost_object ( response = response )
+ 63
+ 64 def update_brand ( self , id : str , ** params ) -> User :
+ 65 """Update a User's Brand."""
+ 66 url = self . _instance_url ( self . _model_class , id ) + "/brand"
+ 67
+ 68 response = Requestor ( self . _client ) . request (
+ 69 method = RequestMethod . PATCH ,
+ 70 url = url ,
+ 71 params = params ,
+ 72 )
+ 73
+ 74 return convert_to_easypost_object ( response = response )
+ 75
+ 76 def all_children ( self , ** params ) -> dict [ str , Any ]:
+ 77 """Retrieve a paginated list of children from the API."""
+ 78 url = "/users/children"
+ 79 response = Requestor ( self . _client ) . request (
+ 80 method = RequestMethod . GET ,
+ 81 url = url ,
+ 82 params = params ,
+ 83 )
+ 84
+ 85 return convert_to_easypost_object ( response = response )
+ 86
+ 87 def get_next_page_of_children (
+ 88 self ,
+ 89 children : dict [ str , Any ],
+ 90 page_size : int ,
+ 91 optional_params : Optional [ dict [ str , Any ]] = None ,
+ 92 ) -> dict [ str , Any ]:
+ 93 """Retrieve the next page of the list Children response."""
+ 94 self . _check_has_next_page ( collection = children )
+ 95
+ 96 params = {
+ 97 "after_id" : children [ "children" ][ - 1 ] . id ,
+ 98 "page_size" : page_size ,
+ 99 }
+100
+101 if optional_params :
+102 params . update ( optional_params )
+103
+104 return self . all_children ( ** params )
+
+
+
+
+
+
+
+
+ 16 class UserService ( BaseService ):
+ 17 def __init__ ( self , client ):
+ 18 self . _client = client
+ 19 self . _model_class = User . __name__
+ 20
+ 21 def create ( self , ** params ) -> User :
+ 22 """Create a User."""
+ 23 return self . _create_resource ( self . _model_class , ** params )
+ 24
+ 25 def all ( self , ** params ) -> dict [ str , Any ]:
+ 26 """Retrieve a list of Users."""
+ 27 return self . _all_resources ( self . _model_class , ** params )
+ 28
+ 29 def retrieve ( self , id : Optional [ str ] = None ) -> User :
+ 30 """Retrieve a User.
+ 31
+ 32 If no id is passed, retrieve the authenticated User.
+ 33 """
+ 34 if id :
+ 35 url = self . _instance_url ( self . _model_class , id )
+ 36 else :
+ 37 url = self . _class_url ( self . _model_class )
+ 38
+ 39 response = Requestor ( self . _client ) . request (
+ 40 method = RequestMethod . GET ,
+ 41 url = url ,
+ 42 )
+ 43
+ 44 return convert_to_easypost_object ( response = response )
+ 45
+ 46 def update ( self , id : str , ** params ) -> User :
+ 47 """Update a User."""
+ 48 return self . _update_resource ( self . _model_class , id , ** params )
+ 49
+ 50 def delete ( self , id : str ) -> None :
+ 51 """Delete a User."""
+ 52 self . _delete_resource ( self . _model_class , id )
+ 53
+ 54 def retrieve_me ( self ) -> User :
+ 55 """Retrieve the authenticated User."""
+ 56 url = self . _class_url ( self . _model_class )
+ 57
+ 58 response = Requestor ( self . _client ) . request (
+ 59 method = RequestMethod . GET ,
+ 60 url = url ,
+ 61 )
+ 62
+ 63 return convert_to_easypost_object ( response = response )
+ 64
+ 65 def update_brand ( self , id : str , ** params ) -> User :
+ 66 """Update a User's Brand."""
+ 67 url = self . _instance_url ( self . _model_class , id ) + "/brand"
+ 68
+ 69 response = Requestor ( self . _client ) . request (
+ 70 method = RequestMethod . PATCH ,
+ 71 url = url ,
+ 72 params = params ,
+ 73 )
+ 74
+ 75 return convert_to_easypost_object ( response = response )
+ 76
+ 77 def all_children ( self , ** params ) -> dict [ str , Any ]:
+ 78 """Retrieve a paginated list of children from the API."""
+ 79 url = "/users/children"
+ 80 response = Requestor ( self . _client ) . request (
+ 81 method = RequestMethod . GET ,
+ 82 url = url ,
+ 83 params = params ,
+ 84 )
+ 85
+ 86 return convert_to_easypost_object ( response = response )
+ 87
+ 88 def get_next_page_of_children (
+ 89 self ,
+ 90 children : dict [ str , Any ],
+ 91 page_size : int ,
+ 92 optional_params : Optional [ dict [ str , Any ]] = None ,
+ 93 ) -> dict [ str , Any ]:
+ 94 """Retrieve the next page of the list Children response."""
+ 95 self . _check_has_next_page ( collection = children )
+ 96
+ 97 params = {
+ 98 "after_id" : children [ "children" ][ - 1 ] . id ,
+ 99 "page_size" : page_size ,
+100 }
+101
+102 if optional_params :
+103 params . update ( optional_params )
+104
+105 return self . all_children ( ** params )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ UserService (client )
+
+ View Source
+
+
+
+
17 def __init__ ( self , client ):
+18 self . _client = client
+19 self . _model_class = User . __name__
+
+
+
+
+
+
+
+
+
+
+
21 def create ( self , ** params ) -> User :
+22 """Create a User."""
+23 return self . _create_resource ( self . _model_class , ** params )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
25 def all ( self , ** params ) -> dict [ str , Any ]:
+26 """Retrieve a list of Users."""
+27 return self . _all_resources ( self . _model_class , ** params )
+
+
+
+
Retrieve a list of Users.
+
+
+
+
+
+
+
+
+
29 def retrieve ( self , id : Optional [ str ] = None ) -> User :
+30 """Retrieve a User.
+31
+32 If no id is passed, retrieve the authenticated User.
+33 """
+34 if id :
+35 url = self . _instance_url ( self . _model_class , id )
+36 else :
+37 url = self . _class_url ( self . _model_class )
+38
+39 response = Requestor ( self . _client ) . request (
+40 method = RequestMethod . GET ,
+41 url = url ,
+42 )
+43
+44 return convert_to_easypost_object ( response = response )
+
+
+
+
Retrieve a User.
+
+
If no id is passed, retrieve the authenticated User.
+
+
+
+
+
+
+
+
+
46 def update ( self , id : str , ** params ) -> User :
+47 """Update a User."""
+48 return self . _update_resource ( self . _model_class , id , ** params )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ delete (self , id : str ) -> None :
+
+ View Source
+
+
+
+
50 def delete ( self , id : str ) -> None :
+51 """Delete a User."""
+52 self . _delete_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
+
54 def retrieve_me ( self ) -> User :
+55 """Retrieve the authenticated User."""
+56 url = self . _class_url ( self . _model_class )
+57
+58 response = Requestor ( self . _client ) . request (
+59 method = RequestMethod . GET ,
+60 url = url ,
+61 )
+62
+63 return convert_to_easypost_object ( response = response )
+
+
+
+
Retrieve the authenticated User.
+
+
+
+
+
+
+
+
+
65 def update_brand ( self , id : str , ** params ) -> User :
+66 """Update a User's Brand."""
+67 url = self . _instance_url ( self . _model_class , id ) + "/brand"
+68
+69 response = Requestor ( self . _client ) . request (
+70 method = RequestMethod . PATCH ,
+71 url = url ,
+72 params = params ,
+73 )
+74
+75 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ all_children (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
77 def all_children ( self , ** params ) -> dict [ str , Any ]:
+78 """Retrieve a paginated list of children from the API."""
+79 url = "/users/children"
+80 response = Requestor ( self . _client ) . request (
+81 method = RequestMethod . GET ,
+82 url = url ,
+83 params = params ,
+84 )
+85
+86 return convert_to_easypost_object ( response = response )
+
+
+
+
Retrieve a paginated list of children from the API.
+
+
+
+
+
+
+
+
+ def
+ get_next_page_of_children ( self , children : dict [ str , typing . Any ] , page_size : int , optional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
88 def get_next_page_of_children (
+ 89 self ,
+ 90 children : dict [ str , Any ],
+ 91 page_size : int ,
+ 92 optional_params : Optional [ dict [ str , Any ]] = None ,
+ 93 ) -> dict [ str , Any ]:
+ 94 """Retrieve the next page of the list Children response."""
+ 95 self . _check_has_next_page ( collection = children )
+ 96
+ 97 params = {
+ 98 "after_id" : children [ "children" ][ - 1 ] . id ,
+ 99 "page_size" : page_size ,
+100 }
+101
+102 if optional_params :
+103 params . update ( optional_params )
+104
+105 return self . all_children ( ** params )
+
+
+
+
Retrieve the next page of the list Children response.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/user_service.py b/easypost/services/user_service.py
deleted file mode 100644
index dfeea029..00000000
--- a/easypost/services/user_service.py
+++ /dev/null
@@ -1,104 +0,0 @@
-from typing import (
- Any,
- Optional,
-)
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import User
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class UserService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = User.__name__
-
- def create(self, **params) -> User:
- """Create a User."""
- return self._create_resource(self._model_class, **params)
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of Users."""
- return self._all_resources(self._model_class, **params)
-
- def retrieve(self, id: Optional[str] = None) -> User:
- """Retrieve a User.
-
- If no id is passed, retrieve the authenticated User.
- """
- if id:
- url = self._instance_url(self._model_class, id)
- else:
- url = self._class_url(self._model_class)
-
- response = Requestor(self._client).request(
- method=RequestMethod.GET,
- url=url,
- )
-
- return convert_to_easypost_object(response=response)
-
- def update(self, id: str, **params) -> User:
- """Update a User."""
- return self._update_resource(self._model_class, id, **params)
-
- def delete(self, id: str) -> None:
- """Delete a User."""
- self._delete_resource(self._model_class, id)
-
- def retrieve_me(self) -> User:
- """Retrieve the authenticated User."""
- url = self._class_url(self._model_class)
-
- response = Requestor(self._client).request(
- method=RequestMethod.GET,
- url=url,
- )
-
- return convert_to_easypost_object(response=response)
-
- def update_brand(self, id: str, **params) -> User:
- """Update a User's Brand."""
- url = self._instance_url(self._model_class, id) + "/brand"
-
- response = Requestor(self._client).request(
- method=RequestMethod.PATCH,
- url=url,
- params=params,
- )
-
- return convert_to_easypost_object(response=response)
-
- def all_children(self, **params) -> dict[str, Any]:
- """Retrieve a paginated list of children from the API."""
- url = "/users/children"
- response = Requestor(self._client).request(
- method=RequestMethod.GET,
- url=url,
- params=params,
- )
-
- return convert_to_easypost_object(response=response)
-
- def get_next_page_of_children(
- self,
- children: dict[str, Any],
- page_size: int,
- optional_params: Optional[dict[str, Any]] = None,
- ) -> dict[str, Any]:
- """Retrieve the next page of the list Children response."""
- self._check_has_next_page(collection=children)
-
- params = {
- "after_id": children["children"][-1].id,
- "page_size": page_size,
- }
-
- if optional_params:
- params.update(optional_params)
-
- return self.all_children(**params)
diff --git a/easypost/services/webhook_service.html b/easypost/services/webhook_service.html
new file mode 100644
index 00000000..1d69550b
--- /dev/null
+++ b/easypost/services/webhook_service.html
@@ -0,0 +1,486 @@
+
+
+
+
+
+
+ easypost.services.webhook_service API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 from typing import (
+ 2 Any ,
+ 3 )
+ 4
+ 5 from easypost.easypost_object import convert_to_easypost_object
+ 6 from easypost.models import Webhook
+ 7 from easypost.requestor import (
+ 8 RequestMethod ,
+ 9 Requestor ,
+10 )
+11 from easypost.services.base_service import BaseService
+12
+13
+14 class WebhookService ( BaseService ):
+15 def __init__ ( self , client ):
+16 self . _client = client
+17 self . _model_class = Webhook . __name__
+18
+19 def create ( self , ** params ) -> Webhook :
+20 """Create a Webhook."""
+21 return self . _create_resource ( self . _model_class , ** params )
+22
+23 def all ( self , ** params ) -> dict [ str , Any ]:
+24 """Retrieve a list of Webhooks."""
+25 return self . _all_resources ( self . _model_class , ** params )
+26
+27 def retrieve ( self , id : str ) -> Webhook :
+28 """Retrieve a Webhook."""
+29 return self . _retrieve_resource ( self . _model_class , id )
+30
+31 def update ( self , id : str , ** params ) -> Webhook :
+32 """Update a Webhook."""
+33 url = self . _instance_url ( self . _model_class , id )
+34
+35 response = Requestor ( self . _client ) . request ( method = RequestMethod . PATCH , url = url , params = params )
+36
+37 return convert_to_easypost_object ( response = response )
+38
+39 def delete ( self , id : str ) -> None :
+40 """Delete a Webhook."""
+41 self . _delete_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+ 15 class WebhookService ( BaseService ):
+16 def __init__ ( self , client ):
+17 self . _client = client
+18 self . _model_class = Webhook . __name__
+19
+20 def create ( self , ** params ) -> Webhook :
+21 """Create a Webhook."""
+22 return self . _create_resource ( self . _model_class , ** params )
+23
+24 def all ( self , ** params ) -> dict [ str , Any ]:
+25 """Retrieve a list of Webhooks."""
+26 return self . _all_resources ( self . _model_class , ** params )
+27
+28 def retrieve ( self , id : str ) -> Webhook :
+29 """Retrieve a Webhook."""
+30 return self . _retrieve_resource ( self . _model_class , id )
+31
+32 def update ( self , id : str , ** params ) -> Webhook :
+33 """Update a Webhook."""
+34 url = self . _instance_url ( self . _model_class , id )
+35
+36 response = Requestor ( self . _client ) . request ( method = RequestMethod . PATCH , url = url , params = params )
+37
+38 return convert_to_easypost_object ( response = response )
+39
+40 def delete ( self , id : str ) -> None :
+41 """Delete a Webhook."""
+42 self . _delete_resource ( self . _model_class , id )
+
+
+
+ The base service that all other services inherit containing shared logic.
+
+
+
+
+
+
+
+ WebhookService (client )
+
+ View Source
+
+
+
+
16 def __init__ ( self , client ):
+17 self . _client = client
+18 self . _model_class = Webhook . __name__
+
+
+
+
+
+
+
+
+
+
+
20 def create ( self , ** params ) -> Webhook :
+21 """Create a Webhook."""
+22 return self . _create_resource ( self . _model_class , ** params )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ all (self , ** params ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+
24 def all ( self , ** params ) -> dict [ str , Any ]:
+25 """Retrieve a list of Webhooks."""
+26 return self . _all_resources ( self . _model_class , ** params )
+
+
+
+
Retrieve a list of Webhooks.
+
+
+
+
+
+
+
+
+
28 def retrieve ( self , id : str ) -> Webhook :
+29 """Retrieve a Webhook."""
+30 return self . _retrieve_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
+
32 def update ( self , id : str , ** params ) -> Webhook :
+33 """Update a Webhook."""
+34 url = self . _instance_url ( self . _model_class , id )
+35
+36 response = Requestor ( self . _client ) . request ( method = RequestMethod . PATCH , url = url , params = params )
+37
+38 return convert_to_easypost_object ( response = response )
+
+
+
+
+
+
+
+
+
+
+
+ def
+ delete (self , id : str ) -> None :
+
+ View Source
+
+
+
+
40 def delete ( self , id : str ) -> None :
+41 """Delete a Webhook."""
+42 self . _delete_resource ( self . _model_class , id )
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/services/webhook_service.py b/easypost/services/webhook_service.py
deleted file mode 100644
index 13cdbba4..00000000
--- a/easypost/services/webhook_service.py
+++ /dev/null
@@ -1,41 +0,0 @@
-from typing import (
- Any,
-)
-
-from easypost.easypost_object import convert_to_easypost_object
-from easypost.models import Webhook
-from easypost.requestor import (
- RequestMethod,
- Requestor,
-)
-from easypost.services.base_service import BaseService
-
-
-class WebhookService(BaseService):
- def __init__(self, client):
- self._client = client
- self._model_class = Webhook.__name__
-
- def create(self, **params) -> Webhook:
- """Create a Webhook."""
- return self._create_resource(self._model_class, **params)
-
- def all(self, **params) -> dict[str, Any]:
- """Retrieve a list of Webhooks."""
- return self._all_resources(self._model_class, **params)
-
- def retrieve(self, id: str) -> Webhook:
- """Retrieve a Webhook."""
- return self._retrieve_resource(self._model_class, id)
-
- def update(self, id: str, **params) -> Webhook:
- """Update a Webhook."""
- url = self._instance_url(self._model_class, id)
-
- response = Requestor(self._client).request(method=RequestMethod.PATCH, url=url, params=params)
-
- return convert_to_easypost_object(response=response)
-
- def delete(self, id: str) -> None:
- """Delete a Webhook."""
- self._delete_resource(self._model_class, id)
diff --git a/easypost/util.html b/easypost/util.html
new file mode 100644
index 00000000..4e9e01f2
--- /dev/null
+++ b/easypost/util.html
@@ -0,0 +1,606 @@
+
+
+
+
+
+
+ easypost.util API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View Source
+
+ 1 import hashlib
+ 2 import hmac
+ 3 import json
+ 4 import unicodedata
+ 5 from typing import (
+ 6 Any ,
+ 7 Optional ,
+ 8 Union ,
+ 9 )
+ 10
+ 11 from easypost.constant import (
+ 12 INVALID_DELIVER_ACCURACY_ERROR ,
+ 13 INVALID_SIGNATURE_ERROR ,
+ 14 INVALID_WEBHOOK_VALIDATION_ERROR ,
+ 15 NO_RATES_ERROR ,
+ 16 )
+ 17 from easypost.easypost_object import (
+ 18 EasyPostObject ,
+ 19 convert_to_easypost_object ,
+ 20 )
+ 21 from easypost.errors import (
+ 22 FilteringError ,
+ 23 InvalidParameterError ,
+ 24 SignatureVerificationError ,
+ 25 )
+ 26 from easypost.models.rate import Rate
+ 27
+ 28
+ 29 def get_lowest_object_rate (
+ 30 easypost_object : Union [ EasyPostObject , dict [ str , Any ]],
+ 31 carriers : Optional [ list [ str ]] = None ,
+ 32 services : Optional [ list [ str ]] = None ,
+ 33 rates_key : str = "rates" ,
+ 34 ) -> Rate :
+ 35 """Gets the lowest rate of an EasyPost object such as a Shipment, Order, or Pickup."""
+ 36 carriers = carriers or []
+ 37 services = services or []
+ 38 lowest_rate = None
+ 39
+ 40 carriers = [ carrier . lower () for carrier in carriers ]
+ 41 services = [ service . lower () for service in services ]
+ 42
+ 43 for rate in easypost_object . get ( rates_key , []):
+ 44 if ( carriers and rate . carrier . lower () not in carriers ) or ( services and rate . service . lower () not in services ):
+ 45 continue
+ 46
+ 47 if lowest_rate is None or float ( rate . rate ) < float ( lowest_rate . rate ):
+ 48 lowest_rate = rate
+ 49
+ 50 if lowest_rate is None :
+ 51 raise FilteringError ( message = NO_RATES_ERROR )
+ 52
+ 53 return lowest_rate
+ 54
+ 55
+ 56 def get_lowest_smart_rate ( smart_rates : list [ Rate ], delivery_days : int , delivery_accuracy : str ) -> Rate :
+ 57 """Get the lowest SmartRate from a list of SmartRates."""
+ 58 valid_delivery_accuracy_values = {
+ 59 "percentile_50" ,
+ 60 "percentile_75" ,
+ 61 "percentile_85" ,
+ 62 "percentile_90" ,
+ 63 "percentile_95" ,
+ 64 "percentile_97" ,
+ 65 "percentile_99" ,
+ 66 }
+ 67 lowest_smart_rate = None
+ 68
+ 69 if delivery_accuracy . lower () not in valid_delivery_accuracy_values :
+ 70 raise InvalidParameterError ( message = INVALID_DELIVER_ACCURACY_ERROR . format ( valid_delivery_accuracy_values ))
+ 71
+ 72 for rate in smart_rates :
+ 73 if rate [ "time_in_transit" ][ delivery_accuracy ] > delivery_days :
+ 74 continue
+ 75 elif lowest_smart_rate is None or float ( rate [ "rate" ]) < float ( lowest_smart_rate [ "rate" ]):
+ 76 lowest_smart_rate = rate
+ 77
+ 78 if lowest_smart_rate is None :
+ 79 raise FilteringError ( message = NO_RATES_ERROR )
+ 80
+ 81 return lowest_smart_rate
+ 82
+ 83
+ 84 def get_lowest_stateless_rate (
+ 85 stateless_rates : list [ dict [ str , Any ]],
+ 86 carriers : Optional [ list [ str ]] = None ,
+ 87 services : Optional [ list [ str ]] = None ,
+ 88 ) -> dict [ str , Any ]:
+ 89 """Get the lowest stateless rate."""
+ 90 carriers = carriers or []
+ 91 services = services or []
+ 92 lowest_rate = None
+ 93
+ 94 carriers = [ carrier . lower () for carrier in carriers ]
+ 95 services = [ service . lower () for service in services ]
+ 96
+ 97 for rate in stateless_rates :
+ 98 if ( carriers and rate [ "carrier" ] . lower () not in carriers ) or (
+ 99 services and rate [ "service" ] . lower () not in services
+100 ):
+101 continue
+102
+103 if lowest_rate is None or float ( rate [ "rate" ]) < float ( lowest_rate [ "rate" ]):
+104 lowest_rate = rate
+105
+106 if lowest_rate is None :
+107 raise FilteringError ( message = NO_RATES_ERROR )
+108
+109 return lowest_rate
+110
+111
+112 def receive_event ( raw_input : str ):
+113 """Receives a raw Webhook event and converts it to JSON."""
+114 return convert_to_easypost_object ( response = json . loads ( raw_input ))
+115
+116
+117 def validate_webhook ( event_body : bytes , headers : dict [ str , Any ], webhook_secret : str ) -> dict [ str , Any ]:
+118 """Validate a webhook by comparing the HMAC signature header sent from EasyPost to your shared secret.
+119 If the signatures do not match, an error will be raised signifying the webhook either did not originate
+120 from EasyPost or the secrets do not match. If the signatures do match, the `event_body` will be returned
+121 as JSON.
+122 """
+123 easypost_hmac_signature = headers . get ( "X-Hmac-Signature" )
+124
+125 if easypost_hmac_signature :
+126 normalized_secret = unicodedata . normalize ( "NFKD" , webhook_secret )
+127 encoded_secret = bytes ( normalized_secret , "utf8" )
+128
+129 expected_signature = hmac . new (
+130 key = encoded_secret ,
+131 msg = event_body ,
+132 digestmod = hashlib . sha256 ,
+133 )
+134
+135 digest = "hmac-sha256-hex=" + expected_signature . hexdigest ()
+136
+137 if hmac . compare_digest ( digest , easypost_hmac_signature ):
+138 webhook_body = json . loads ( event_body )
+139 else :
+140 raise SignatureVerificationError ( message = INVALID_WEBHOOK_VALIDATION_ERROR )
+141 else :
+142 raise SignatureVerificationError ( message = INVALID_SIGNATURE_ERROR )
+143
+144 return webhook_body
+
+
+
+
+
+
+
+
+ 30 def get_lowest_object_rate (
+31 easypost_object : Union [ EasyPostObject , dict [ str , Any ]],
+32 carriers : Optional [ list [ str ]] = None ,
+33 services : Optional [ list [ str ]] = None ,
+34 rates_key : str = "rates" ,
+35 ) -> Rate :
+36 """Gets the lowest rate of an EasyPost object such as a Shipment, Order, or Pickup."""
+37 carriers = carriers or []
+38 services = services or []
+39 lowest_rate = None
+40
+41 carriers = [ carrier . lower () for carrier in carriers ]
+42 services = [ service . lower () for service in services ]
+43
+44 for rate in easypost_object . get ( rates_key , []):
+45 if ( carriers and rate . carrier . lower () not in carriers ) or ( services and rate . service . lower () not in services ):
+46 continue
+47
+48 if lowest_rate is None or float ( rate . rate ) < float ( lowest_rate . rate ):
+49 lowest_rate = rate
+50
+51 if lowest_rate is None :
+52 raise FilteringError ( message = NO_RATES_ERROR )
+53
+54 return lowest_rate
+
+
+
+ Gets the lowest rate of an EasyPost object such as a Shipment, Order, or Pickup.
+
+
+
+
+
+
+
+
+
+ def
+ get_lowest_stateless_rate ( stateless_rates : list [ dict [ str , typing . Any ]] , carriers : list [ str ] | None = None , services : list [ str ] | None = None ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+ 85 def get_lowest_stateless_rate (
+ 86 stateless_rates : list [ dict [ str , Any ]],
+ 87 carriers : Optional [ list [ str ]] = None ,
+ 88 services : Optional [ list [ str ]] = None ,
+ 89 ) -> dict [ str , Any ]:
+ 90 """Get the lowest stateless rate."""
+ 91 carriers = carriers or []
+ 92 services = services or []
+ 93 lowest_rate = None
+ 94
+ 95 carriers = [ carrier . lower () for carrier in carriers ]
+ 96 services = [ service . lower () for service in services ]
+ 97
+ 98 for rate in stateless_rates :
+ 99 if ( carriers and rate [ "carrier" ] . lower () not in carriers ) or (
+100 services and rate [ "service" ] . lower () not in services
+101 ):
+102 continue
+103
+104 if lowest_rate is None or float ( rate [ "rate" ]) < float ( lowest_rate [ "rate" ]):
+105 lowest_rate = rate
+106
+107 if lowest_rate is None :
+108 raise FilteringError ( message = NO_RATES_ERROR )
+109
+110 return lowest_rate
+
+
+
+ Get the lowest stateless rate.
+
+
+
+
+
+
+
+
+ def
+ receive_event (raw_input : str ):
+
+ View Source
+
+
+
+ 113 def receive_event ( raw_input : str ):
+114 """Receives a raw Webhook event and converts it to JSON."""
+115 return convert_to_easypost_object ( response = json . loads ( raw_input ))
+
+
+
+ Receives a raw Webhook event and converts it to JSON.
+
+
+
+
+
+
+
+
+ def
+ validate_webhook ( event_body : bytes , headers : dict [ str , typing . Any ] , webhook_secret : str ) -> dict [ str , typing . Any ] :
+
+ View Source
+
+
+
+ 118 def validate_webhook ( event_body : bytes , headers : dict [ str , Any ], webhook_secret : str ) -> dict [ str , Any ]:
+119 """Validate a webhook by comparing the HMAC signature header sent from EasyPost to your shared secret.
+120 If the signatures do not match, an error will be raised signifying the webhook either did not originate
+121 from EasyPost or the secrets do not match. If the signatures do match, the `event_body` will be returned
+122 as JSON.
+123 """
+124 easypost_hmac_signature = headers . get ( "X-Hmac-Signature" )
+125
+126 if easypost_hmac_signature :
+127 normalized_secret = unicodedata . normalize ( "NFKD" , webhook_secret )
+128 encoded_secret = bytes ( normalized_secret , "utf8" )
+129
+130 expected_signature = hmac . new (
+131 key = encoded_secret ,
+132 msg = event_body ,
+133 digestmod = hashlib . sha256 ,
+134 )
+135
+136 digest = "hmac-sha256-hex=" + expected_signature . hexdigest ()
+137
+138 if hmac . compare_digest ( digest , easypost_hmac_signature ):
+139 webhook_body = json . loads ( event_body )
+140 else :
+141 raise SignatureVerificationError ( message = INVALID_WEBHOOK_VALIDATION_ERROR )
+142 else :
+143 raise SignatureVerificationError ( message = INVALID_SIGNATURE_ERROR )
+144
+145 return webhook_body
+
+
+
+ Validate a webhook by comparing the HMAC signature header sent from EasyPost to your shared secret.
+If the signatures do not match, an error will be raised signifying the webhook either did not originate
+from EasyPost or the secrets do not match. If the signatures do match, the event_body will be returned
+as JSON.
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/easypost/util.py b/easypost/util.py
deleted file mode 100644
index f8ee9fed..00000000
--- a/easypost/util.py
+++ /dev/null
@@ -1,144 +0,0 @@
-import hashlib
-import hmac
-import json
-import unicodedata
-from typing import (
- Any,
- Optional,
- Union,
-)
-
-from easypost.constant import (
- INVALID_DELIVER_ACCURACY_ERROR,
- INVALID_SIGNATURE_ERROR,
- INVALID_WEBHOOK_VALIDATION_ERROR,
- NO_RATES_ERROR,
-)
-from easypost.easypost_object import (
- EasyPostObject,
- convert_to_easypost_object,
-)
-from easypost.errors import (
- FilteringError,
- InvalidParameterError,
- SignatureVerificationError,
-)
-from easypost.models.rate import Rate
-
-
-def get_lowest_object_rate(
- easypost_object: Union[EasyPostObject, dict[str, Any]],
- carriers: Optional[list[str]] = None,
- services: Optional[list[str]] = None,
- rates_key: str = "rates",
-) -> Rate:
- """Gets the lowest rate of an EasyPost object such as a Shipment, Order, or Pickup."""
- carriers = carriers or []
- services = services or []
- lowest_rate = None
-
- carriers = [carrier.lower() for carrier in carriers]
- services = [service.lower() for service in services]
-
- for rate in easypost_object.get(rates_key, []):
- if (carriers and rate.carrier.lower() not in carriers) or (services and rate.service.lower() not in services):
- continue
-
- if lowest_rate is None or float(rate.rate) < float(lowest_rate.rate):
- lowest_rate = rate
-
- if lowest_rate is None:
- raise FilteringError(message=NO_RATES_ERROR)
-
- return lowest_rate
-
-
-def get_lowest_smart_rate(smart_rates: list[Rate], delivery_days: int, delivery_accuracy: str) -> Rate:
- """Get the lowest SmartRate from a list of SmartRates."""
- valid_delivery_accuracy_values = {
- "percentile_50",
- "percentile_75",
- "percentile_85",
- "percentile_90",
- "percentile_95",
- "percentile_97",
- "percentile_99",
- }
- lowest_smart_rate = None
-
- if delivery_accuracy.lower() not in valid_delivery_accuracy_values:
- raise InvalidParameterError(message=INVALID_DELIVER_ACCURACY_ERROR.format(valid_delivery_accuracy_values))
-
- for rate in smart_rates:
- if rate["time_in_transit"][delivery_accuracy] > delivery_days:
- continue
- elif lowest_smart_rate is None or float(rate["rate"]) < float(lowest_smart_rate["rate"]):
- lowest_smart_rate = rate
-
- if lowest_smart_rate is None:
- raise FilteringError(message=NO_RATES_ERROR)
-
- return lowest_smart_rate
-
-
-def get_lowest_stateless_rate(
- stateless_rates: list[dict[str, Any]],
- carriers: Optional[list[str]] = None,
- services: Optional[list[str]] = None,
-) -> dict[str, Any]:
- """Get the lowest stateless rate."""
- carriers = carriers or []
- services = services or []
- lowest_rate = None
-
- carriers = [carrier.lower() for carrier in carriers]
- services = [service.lower() for service in services]
-
- for rate in stateless_rates:
- if (carriers and rate["carrier"].lower() not in carriers) or (
- services and rate["service"].lower() not in services
- ):
- continue
-
- if lowest_rate is None or float(rate["rate"]) < float(lowest_rate["rate"]):
- lowest_rate = rate
-
- if lowest_rate is None:
- raise FilteringError(message=NO_RATES_ERROR)
-
- return lowest_rate
-
-
-def receive_event(raw_input: str):
- """Receives a raw Webhook event and converts it to JSON."""
- return convert_to_easypost_object(response=json.loads(raw_input))
-
-
-def validate_webhook(event_body: bytes, headers: dict[str, Any], webhook_secret: str) -> dict[str, Any]:
- """Validate a webhook by comparing the HMAC signature header sent from EasyPost to your shared secret.
- If the signatures do not match, an error will be raised signifying the webhook either did not originate
- from EasyPost or the secrets do not match. If the signatures do match, the `event_body` will be returned
- as JSON.
- """
- easypost_hmac_signature = headers.get("X-Hmac-Signature")
-
- if easypost_hmac_signature:
- normalized_secret = unicodedata.normalize("NFKD", webhook_secret)
- encoded_secret = bytes(normalized_secret, "utf8")
-
- expected_signature = hmac.new(
- key=encoded_secret,
- msg=event_body,
- digestmod=hashlib.sha256,
- )
-
- digest = "hmac-sha256-hex=" + expected_signature.hexdigest()
-
- if hmac.compare_digest(digest, easypost_hmac_signature):
- webhook_body = json.loads(event_body)
- else:
- raise SignatureVerificationError(message=INVALID_WEBHOOK_VALIDATION_ERROR)
- else:
- raise SignatureVerificationError(message=INVALID_SIGNATURE_ERROR)
-
- return webhook_body
diff --git a/examples b/examples
deleted file mode 160000
index 739f96c8..00000000
--- a/examples
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 739f96c80fa211060e0a0b8c13e7371c9a09d66f
diff --git a/index.html b/index.html
new file mode 100644
index 00000000..b6bf4bc1
--- /dev/null
+++ b/index.html
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/justfile b/justfile
deleted file mode 100644
index 69ed6a83..00000000
--- a/justfile
+++ /dev/null
@@ -1,66 +0,0 @@
-VIRTUAL_ENV := ".venv"
-VIRTUAL_BIN := VIRTUAL_ENV / "bin"
-PROJECT_NAME := "easypost"
-TEST_DIR := "tests"
-
-# Build the project for release
-build:
- uv build
-
-# Clean the project
-clean:
- rm -rf {{VIRTUAL_ENV}} dist/ *.egg-info/ .*cache htmlcov *.lcov .coverage
- find . -name '*.pyc' -delete
-
-# Test with coverage and generate HTML report
-coverage:
- {{VIRTUAL_BIN}}/pytest --cov={{PROJECT_NAME}} --cov-branch --cov-report=html --cov-report=lcov --cov-report=term-missing --cov-fail-under=87
-
-# Generate docs
-
-docs:
- {{VIRTUAL_BIN}}/pdoc {{PROJECT_NAME}} -o docs
-
-# Initialize the examples submodule
-init-examples-submodule:
- git submodule init
- git submodule update
-
-# Install the project locally (dev mode)
-install: init-examples-submodule
- uv venv
- uv pip install -e '.[dev]'
-
-# Update the examples submodule
-update-examples-submodule:
- git submodule init
- git submodule update --remote
-
-# Lint the project
-lint:
- {{VIRTUAL_BIN}}/ruff check {{PROJECT_NAME}}/ {{TEST_DIR}}/
- {{VIRTUAL_BIN}}/ruff format --check {{PROJECT_NAME}}/ {{TEST_DIR}}/
-
-# Fix lint issues
-lint-fix:
- {{VIRTUAL_BIN}}/ruff check --fix {{PROJECT_NAME}}/ {{TEST_DIR}}/
- {{VIRTUAL_BIN}}/ruff format {{PROJECT_NAME}}/ {{TEST_DIR}}/
-
-# Run mypy type checking
-mypy:
- {{VIRTUAL_BIN}}/mypy {{PROJECT_NAME}}/ {{TEST_DIR}}/ --install-types --non-interactive
-
-# Cuts a release for the project on GitHub (requires GitHub CLI)
-# tag = The associated tag title of the release
-# target = Target branch or full commit SHA
-release tag target:
- gh release create {{tag}} dist/* --target {{target}}
-
-# Scan for security issues with Bandit
-scan:
- {{VIRTUAL_BIN}}/bandit -r {{PROJECT_NAME}}
-
-# Run tests
-
-test:
- {{VIRTUAL_BIN}}/pytest
diff --git a/pyproject.toml b/pyproject.toml
deleted file mode 100644
index c6dac99a..00000000
--- a/pyproject.toml
+++ /dev/null
@@ -1,54 +0,0 @@
-[build-system]
-requires = ["setuptools>=61.0", "wheel"]
-build-backend = "setuptools.build_meta"
-
-[project]
-name = "easypost"
-description = "EasyPost Shipping API Client Library for Python"
-version = "10.7.0"
-readme = "README.md"
-requires-python = ">=3.9"
-license = { file = "LICENSE" }
-authors = [{ name = "EasyPost", email = "support@easypost.com" }]
-classifiers = [
- "Development Status :: 5 - Production/Stable",
- "Environment :: Web Environment",
- "Programming Language :: Python",
- "Programming Language :: Python :: 3.9",
- "Programming Language :: Python :: 3.10",
- "Programming Language :: Python :: 3.11",
- "Programming Language :: Python :: 3.12",
- "Programming Language :: Python :: 3.13",
- "Intended Audience :: Developers",
- "Operating System :: OS Independent",
- "License :: OSI Approved :: MIT License",
- "Topic :: Software Development :: Libraries",
-]
-dependencies = ["requests >= 2.4.3"]
-optional-dependencies = { dev = [
- "bandit == 1.8.*",
- "mypy == 1.15.*",
- "pdoc == 15.*",
- "pytest == 8.*",
- "pytest-cov == 6.*",
- "pytest-vcr == 1.*",
- "ruff == 0.14.*",
- "vcrpy == 7.*",
-] }
-
-[project.urls]
-Docs = "https://docs.easypost.com"
-Tracker = "https://github.com/EasyPost/easypost-python/issues"
-Source = "https://github.com/EasyPost/easypost-python"
-
-[tool.setuptools.packages.find]
-exclude = ["docs", "examples", "tests"]
-
-[tool.setuptools.package-data]
-easypost = ["py.typed"]
-
-[tool.ruff]
-line-length = 120
-
-[tool.ruff.lint]
-extend-select = ["I"]
diff --git a/pytest.ini b/pytest.ini
deleted file mode 100644
index 1b6aa55d..00000000
--- a/pytest.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[pytest]
-testpaths=tests
diff --git a/search.js b/search.js
new file mode 100644
index 00000000..2564d87f
--- /dev/null
+++ b/search.js
@@ -0,0 +1,46 @@
+window.pdocSearch = (function(){
+/** elasticlunr - http://weixsong.github.io * Copyright (C) 2017 Oliver Nightingale * Copyright (C) 2017 Wei Song * MIT Licensed */!function(){function e(e){if(null===e||"object"!=typeof e)return e;var t=e.constructor();for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var t=function(e){var n=new t.Index;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),e&&e.call(n,n),n};t.version="0.9.5",lunr=t,t.utils={},t.utils.warn=function(e){return function(t){e.console&&console.warn&&console.warn(t)}}(this),t.utils.toString=function(e){return void 0===e||null===e?"":e.toString()},t.EventEmitter=function(){this.events={}},t.EventEmitter.prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),n=e;if("function"!=typeof t)throw new TypeError("last argument must be a function");n.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},t.EventEmitter.prototype.removeListener=function(e,t){if(this.hasHandler(e)){var n=this.events[e].indexOf(t);-1!==n&&(this.events[e].splice(n,1),0==this.events[e].length&&delete this.events[e])}},t.EventEmitter.prototype.emit=function(e){if(this.hasHandler(e)){var t=Array.prototype.slice.call(arguments,1);this.events[e].forEach(function(e){e.apply(void 0,t)},this)}},t.EventEmitter.prototype.hasHandler=function(e){return e in this.events},t.tokenizer=function(e){if(!arguments.length||null===e||void 0===e)return[];if(Array.isArray(e)){var n=e.filter(function(e){return null===e||void 0===e?!1:!0});n=n.map(function(e){return t.utils.toString(e).toLowerCase()});var i=[];return n.forEach(function(e){var n=e.split(t.tokenizer.seperator);i=i.concat(n)},this),i}return e.toString().trim().toLowerCase().split(t.tokenizer.seperator)},t.tokenizer.defaultSeperator=/[\s\-]+/,t.tokenizer.seperator=t.tokenizer.defaultSeperator,t.tokenizer.setSeperator=function(e){null!==e&&void 0!==e&&"object"==typeof e&&(t.tokenizer.seperator=e)},t.tokenizer.resetSeperator=function(){t.tokenizer.seperator=t.tokenizer.defaultSeperator},t.tokenizer.getSeperator=function(){return t.tokenizer.seperator},t.Pipeline=function(){this._queue=[]},t.Pipeline.registeredFunctions={},t.Pipeline.registerFunction=function(e,n){n in t.Pipeline.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[n]=e},t.Pipeline.getRegisteredFunction=function(e){return e in t.Pipeline.registeredFunctions!=!0?null:t.Pipeline.registeredFunctions[e]},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(e){var i=t.Pipeline.getRegisteredFunction(e);if(!i)throw new Error("Cannot load un-registered function: "+e);n.add(i)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){t.Pipeline.warnIfFunctionNotRegistered(e),this._queue.push(e)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._queue.indexOf(e);if(-1===i)throw new Error("Cannot find existingFn");this._queue.splice(i+1,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._queue.indexOf(e);if(-1===i)throw new Error("Cannot find existingFn");this._queue.splice(i,0,n)},t.Pipeline.prototype.remove=function(e){var t=this._queue.indexOf(e);-1!==t&&this._queue.splice(t,1)},t.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,i=this._queue.length,o=0;n>o;o++){for(var r=e[o],s=0;i>s&&(r=this._queue[s](r,o,e),void 0!==r&&null!==r);s++);void 0!==r&&null!==r&&t.push(r)}return t},t.Pipeline.prototype.reset=function(){this._queue=[]},t.Pipeline.prototype.get=function(){return this._queue},t.Pipeline.prototype.toJSON=function(){return this._queue.map(function(e){return t.Pipeline.warnIfFunctionNotRegistered(e),e.label})},t.Index=function(){this._fields=[],this._ref="id",this.pipeline=new t.Pipeline,this.documentStore=new t.DocumentStore,this.index={},this.eventEmitter=new t.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},t.Index.prototype.on=function(){var e=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,e)},t.Index.prototype.off=function(e,t){return this.eventEmitter.removeListener(e,t)},t.Index.load=function(e){e.version!==t.version&&t.utils.warn("version mismatch: current "+t.version+" importing "+e.version);var n=new this;n._fields=e.fields,n._ref=e.ref,n.documentStore=t.DocumentStore.load(e.documentStore),n.pipeline=t.Pipeline.load(e.pipeline),n.index={};for(var i in e.index)n.index[i]=t.InvertedIndex.load(e.index[i]);return n},t.Index.prototype.addField=function(e){return this._fields.push(e),this.index[e]=new t.InvertedIndex,this},t.Index.prototype.setRef=function(e){return this._ref=e,this},t.Index.prototype.saveDocument=function(e){return this.documentStore=new t.DocumentStore(e),this},t.Index.prototype.addDoc=function(e,n){if(e){var n=void 0===n?!0:n,i=e[this._ref];this.documentStore.addDoc(i,e),this._fields.forEach(function(n){var o=this.pipeline.run(t.tokenizer(e[n]));this.documentStore.addFieldLength(i,n,o.length);var r={};o.forEach(function(e){e in r?r[e]+=1:r[e]=1},this);for(var s in r){var u=r[s];u=Math.sqrt(u),this.index[n].addToken(s,{ref:i,tf:u})}},this),n&&this.eventEmitter.emit("add",e,this)}},t.Index.prototype.removeDocByRef=function(e){if(e&&this.documentStore.isDocStored()!==!1&&this.documentStore.hasDoc(e)){var t=this.documentStore.getDoc(e);this.removeDoc(t,!1)}},t.Index.prototype.removeDoc=function(e,n){if(e){var n=void 0===n?!0:n,i=e[this._ref];this.documentStore.hasDoc(i)&&(this.documentStore.removeDoc(i),this._fields.forEach(function(n){var o=this.pipeline.run(t.tokenizer(e[n]));o.forEach(function(e){this.index[n].removeToken(e,i)},this)},this),n&&this.eventEmitter.emit("remove",e,this))}},t.Index.prototype.updateDoc=function(e,t){var t=void 0===t?!0:t;this.removeDocByRef(e[this._ref],!1),this.addDoc(e,!1),t&&this.eventEmitter.emit("update",e,this)},t.Index.prototype.idf=function(e,t){var n="@"+t+"/"+e;if(Object.prototype.hasOwnProperty.call(this._idfCache,n))return this._idfCache[n];var i=this.index[t].getDocFreq(e),o=1+Math.log(this.documentStore.length/(i+1));return this._idfCache[n]=o,o},t.Index.prototype.getFields=function(){return this._fields.slice()},t.Index.prototype.search=function(e,n){if(!e)return[];e="string"==typeof e?{any:e}:JSON.parse(JSON.stringify(e));var i=null;null!=n&&(i=JSON.stringify(n));for(var o=new t.Configuration(i,this.getFields()).get(),r={},s=Object.keys(e),u=0;u0&&t.push(e);for(var i in n)"docs"!==i&&"df"!==i&&this.expandToken(e+i,t,n[i]);return t},t.InvertedIndex.prototype.toJSON=function(){return{root:this.root}},t.Configuration=function(e,n){var e=e||"";if(void 0==n||null==n)throw new Error("fields should not be null");this.config={};var i;try{i=JSON.parse(e),this.buildUserConfig(i,n)}catch(o){t.utils.warn("user configuration parse failed, will use default configuration"),this.buildDefaultConfig(n)}},t.Configuration.prototype.buildDefaultConfig=function(e){this.reset(),e.forEach(function(e){this.config[e]={boost:1,bool:"OR",expand:!1}},this)},t.Configuration.prototype.buildUserConfig=function(e,n){var i="OR",o=!1;if(this.reset(),"bool"in e&&(i=e.bool||i),"expand"in e&&(o=e.expand||o),"fields"in e)for(var r in e.fields)if(n.indexOf(r)>-1){var s=e.fields[r],u=o;void 0!=s.expand&&(u=s.expand),this.config[r]={boost:s.boost||0===s.boost?s.boost:1,bool:s.bool||i,expand:u}}else t.utils.warn("field name in user configuration not found in index instance fields");else this.addAllFields2UserConfig(i,o,n)},t.Configuration.prototype.addAllFields2UserConfig=function(e,t,n){n.forEach(function(n){this.config[n]={boost:1,bool:e,expand:t}},this)},t.Configuration.prototype.get=function(){return this.config},t.Configuration.prototype.reset=function(){this.config={}},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},lunr.SortedSet.prototype.add=function(){var e,t;for(e=0;e1;){if(r===e)return o;e>r&&(t=o),r>e&&(n=o),i=n-t,o=t+Math.floor(i/2),r=this.elements[o]}return r===e?o:-1},lunr.SortedSet.prototype.locationFor=function(e){for(var t=0,n=this.elements.length,i=n-t,o=t+Math.floor(i/2),r=this.elements[o];i>1;)e>r&&(t=o),r>e&&(n=o),i=n-t,o=t+Math.floor(i/2),r=this.elements[o];return r>e?o:e>r?o+1:void 0},lunr.SortedSet.prototype.intersect=function(e){for(var t=new lunr.SortedSet,n=0,i=0,o=this.length,r=e.length,s=this.elements,u=e.elements;;){if(n>o-1||i>r-1)break;s[n]!==u[i]?s[n]u[i]&&i++:(t.add(s[n]),n++,i++)}return t},lunr.SortedSet.prototype.clone=function(){var e=new lunr.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},lunr.SortedSet.prototype.union=function(e){var t,n,i;this.length>=e.length?(t=this,n=e):(t=e,n=this),i=t.clone();for(var o=0,r=n.toArray();o
\n"}, "easypost.version_info": {"fullname": "easypost.version_info", "modulename": "easypost", "qualname": "version_info", "kind": "variable", "doc": "
\n", "default_value": "['10', '7', '0']"}, "easypost.constant": {"fullname": "easypost.constant", "modulename": "easypost.constant", "kind": "module", "doc": "
\n"}, "easypost.constant.VERSION": {"fullname": "easypost.constant.VERSION", "modulename": "easypost.constant", "qualname": "VERSION", "kind": "variable", "doc": "
\n", "default_value": "'10.7.0'"}, "easypost.constant.VERSION_INFO": {"fullname": "easypost.constant.VERSION_INFO", "modulename": "easypost.constant", "qualname": "VERSION_INFO", "kind": "variable", "doc": "
\n", "default_value": "['10', '7', '0']"}, "easypost.constant.API_BASE": {"fullname": "easypost.constant.API_BASE", "modulename": "easypost.constant", "qualname": "API_BASE", "kind": "variable", "doc": "
\n", "default_value": "'https://api.easypost.com'"}, "easypost.constant.API_VERSION": {"fullname": "easypost.constant.API_VERSION", "modulename": "easypost.constant", "qualname": "API_VERSION", "kind": "variable", "doc": "
\n", "default_value": "'v2'"}, "easypost.constant.AUTHOR": {"fullname": "easypost.constant.AUTHOR", "modulename": "easypost.constant", "qualname": "AUTHOR", "kind": "variable", "doc": "
\n", "default_value": "'EasyPost <oss@easypost.com>'"}, "easypost.constant.SUPPORT_EMAIL": {"fullname": "easypost.constant.SUPPORT_EMAIL", "modulename": "easypost.constant", "qualname": "SUPPORT_EMAIL", "kind": "variable", "doc": "
\n", "default_value": "'support@easypost.com'"}, "easypost.constant.TIMEOUT": {"fullname": "easypost.constant.TIMEOUT", "modulename": "easypost.constant", "qualname": "TIMEOUT", "kind": "variable", "doc": "
\n", "default_value": "60"}, "easypost.constant.COMMUNICATION_ERROR": {"fullname": "easypost.constant.COMMUNICATION_ERROR", "modulename": "easypost.constant", "qualname": "COMMUNICATION_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'Unexpected error communicating with EasyPost. If this problem persists please let us know at {}. Original error: {}'"}, "easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"fullname": "easypost.constant.INVALID_DELIVER_ACCURACY_ERROR", "modulename": "easypost.constant", "qualname": "INVALID_DELIVER_ACCURACY_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'Invalid delivery_accuracy value, must be one of: {}'"}, "easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"fullname": "easypost.constant.INVALID_PAYMENT_METHOD_ERROR", "modulename": "easypost.constant", "qualname": "INVALID_PAYMENT_METHOD_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'The chosen payment method is not valid. Please try again.'"}, "easypost.constant.INVALID_REQUEST_LIB_ERROR": {"fullname": "easypost.constant.INVALID_REQUEST_LIB_ERROR", "modulename": "easypost.constant", "qualname": "INVALID_REQUEST_LIB_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'Bug discovered: invalid request_lib: {}. Please report to {}.'"}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"fullname": "easypost.constant.INVALID_REQUEST_METHOD_ERROR", "modulename": "easypost.constant", "qualname": "INVALID_REQUEST_METHOD_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'Bug discovered: invalid request method: {}. Please report to {}.'"}, "easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"fullname": "easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR", "modulename": "easypost.constant", "qualname": "INVALID_REQUEST_PARAMETERS_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'Only GET and DELETE requests support parameters.'"}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"fullname": "easypost.constant.INVALID_REQUESTS_VERSION_ERROR", "modulename": "easypost.constant", "qualname": "INVALID_REQUESTS_VERSION_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'EasyPost requires an up to date requests library. Update requests via "pip install -U requests" or contact us at {}.'"}, "easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"fullname": "easypost.constant.INVALID_RESPONSE_BODY_ERROR", "modulename": "easypost.constant", "qualname": "INVALID_RESPONSE_BODY_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'Invalid response from API: ({}) {}'"}, "easypost.constant.INVALID_SIGNATURE_ERROR": {"fullname": "easypost.constant.INVALID_SIGNATURE_ERROR", "modulename": "easypost.constant", "qualname": "INVALID_SIGNATURE_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'Webhook received does not contain an HMAC signature.'"}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"fullname": "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR", "modulename": "easypost.constant", "qualname": "INVALID_WEBHOOK_VALIDATION_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'Webhook received did not originate from EasyPost or had a webhook secret mismatch.'"}, "easypost.constant.MISSING_PARAMETER_ERROR": {"fullname": "easypost.constant.MISSING_PARAMETER_ERROR", "modulename": "easypost.constant", "qualname": "MISSING_PARAMETER_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'Missing required parameter: {}'"}, "easypost.constant.NO_ATTRIBUTE_ERROR": {"fullname": "easypost.constant.NO_ATTRIBUTE_ERROR", "modulename": "easypost.constant", "qualname": "NO_ATTRIBUTE_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'{} object has no attribute {}'"}, "easypost.constant.NO_BILLING_ERROR": {"fullname": "easypost.constant.NO_BILLING_ERROR", "modulename": "easypost.constant", "qualname": "NO_BILLING_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'Billing has not been setup for this user. Please add a payment method.'"}, "easypost.constant.NO_MORE_PAGES_ERROR": {"fullname": "easypost.constant.NO_MORE_PAGES_ERROR", "modulename": "easypost.constant", "qualname": "NO_MORE_PAGES_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'There are no more pages to retrieve.'"}, "easypost.constant.NO_RATES_ERROR": {"fullname": "easypost.constant.NO_RATES_ERROR", "modulename": "easypost.constant", "qualname": "NO_RATES_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'No rates found.'"}, "easypost.constant.NO_USER_FOUND": {"fullname": "easypost.constant.NO_USER_FOUND", "modulename": "easypost.constant", "qualname": "NO_USER_FOUND", "kind": "variable", "doc": "
\n", "default_value": "'No user found with the given id.'"}, "easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"fullname": "easypost.constant.SEND_STRIPE_DETAILS_ERROR", "modulename": "easypost.constant", "qualname": "SEND_STRIPE_DETAILS_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'Could not send card details to Stripe, please try again later.'"}, "easypost.constant.TIMEOUT_ERROR": {"fullname": "easypost.constant.TIMEOUT_ERROR", "modulename": "easypost.constant", "qualname": "TIMEOUT_ERROR", "kind": "variable", "doc": "
\n", "default_value": "'Request timed out.'"}, "easypost.easypost_client": {"fullname": "easypost.easypost_client", "modulename": "easypost.easypost_client", "kind": "module", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient": {"fullname": "easypost.easypost_client.EasyPostClient", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient", "kind": "class", "doc": "A client object used to authenticate and configure all HTTP calls to the EasyPost API.
\n"}, "easypost.easypost_client.EasyPostClient.__init__": {"fullname": "easypost.easypost_client.EasyPostClient.__init__", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.__init__", "kind": "function", "doc": "
\n", "signature": "(\tapi_key : str , \tapi_base : str = 'https://api.easypost.com/v2' , \ttimeout : int = 60 ) "}, "easypost.easypost_client.EasyPostClient.api_key": {"fullname": "easypost.easypost_client.EasyPostClient.api_key", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.api_key", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.api_base": {"fullname": "easypost.easypost_client.EasyPostClient.api_base", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.api_base", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.timeout": {"fullname": "easypost.easypost_client.EasyPostClient.timeout", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.timeout", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.address": {"fullname": "easypost.easypost_client.EasyPostClient.address", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.address", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.api_keys": {"fullname": "easypost.easypost_client.EasyPostClient.api_keys", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.api_keys", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.batch": {"fullname": "easypost.easypost_client.EasyPostClient.batch", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.batch", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.beta_rate": {"fullname": "easypost.easypost_client.EasyPostClient.beta_rate", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.beta_rate", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.beta_referral_customer": {"fullname": "easypost.easypost_client.EasyPostClient.beta_referral_customer", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.beta_referral_customer", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.billing": {"fullname": "easypost.easypost_client.EasyPostClient.billing", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.billing", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.carrier_account": {"fullname": "easypost.easypost_client.EasyPostClient.carrier_account", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.carrier_account", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.carrier_metadata": {"fullname": "easypost.easypost_client.EasyPostClient.carrier_metadata", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.carrier_metadata", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.claim": {"fullname": "easypost.easypost_client.EasyPostClient.claim", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.claim", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.customer_portal": {"fullname": "easypost.easypost_client.EasyPostClient.customer_portal", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.customer_portal", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.customs_info": {"fullname": "easypost.easypost_client.EasyPostClient.customs_info", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.customs_info", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.customs_item": {"fullname": "easypost.easypost_client.EasyPostClient.customs_item", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.customs_item", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.embeddable": {"fullname": "easypost.easypost_client.EasyPostClient.embeddable", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.embeddable", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.end_shipper": {"fullname": "easypost.easypost_client.EasyPostClient.end_shipper", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.end_shipper", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.event": {"fullname": "easypost.easypost_client.EasyPostClient.event", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.event", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.fedex_registration": {"fullname": "easypost.easypost_client.EasyPostClient.fedex_registration", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.fedex_registration", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.insurance": {"fullname": "easypost.easypost_client.EasyPostClient.insurance", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.insurance", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.luma": {"fullname": "easypost.easypost_client.EasyPostClient.luma", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.luma", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.order": {"fullname": "easypost.easypost_client.EasyPostClient.order", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.order", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.parcel": {"fullname": "easypost.easypost_client.EasyPostClient.parcel", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.parcel", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.rate": {"fullname": "easypost.easypost_client.EasyPostClient.rate", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.rate", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.pickup": {"fullname": "easypost.easypost_client.EasyPostClient.pickup", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.pickup", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.referral_customer": {"fullname": "easypost.easypost_client.EasyPostClient.referral_customer", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.referral_customer", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.refund": {"fullname": "easypost.easypost_client.EasyPostClient.refund", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.refund", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.report": {"fullname": "easypost.easypost_client.EasyPostClient.report", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.report", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.scan_form": {"fullname": "easypost.easypost_client.EasyPostClient.scan_form", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.scan_form", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.shipment": {"fullname": "easypost.easypost_client.EasyPostClient.shipment", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.shipment", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.smart_rate": {"fullname": "easypost.easypost_client.EasyPostClient.smart_rate", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.smart_rate", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.tracker": {"fullname": "easypost.easypost_client.EasyPostClient.tracker", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.tracker", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.user": {"fullname": "easypost.easypost_client.EasyPostClient.user", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.user", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.webhook": {"fullname": "easypost.easypost_client.EasyPostClient.webhook", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.webhook", "kind": "variable", "doc": "
\n"}, "easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"fullname": "easypost.easypost_client.EasyPostClient.subscribe_to_request_hook", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.subscribe_to_request_hook", "kind": "function", "doc": "Subscribe functions to run when a request occurs.
\n", "signature": "(self , function ): ", "funcdef": "def"}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"fullname": "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.unsubscribe_from_request_hook", "kind": "function", "doc": "Unsubscribe functions from running when a request occurs.
\n", "signature": "(self , function ): ", "funcdef": "def"}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"fullname": "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.subscribe_to_response_hook", "kind": "function", "doc": "Subscribe functions to run when a response occurs.
\n", "signature": "(self , function ): ", "funcdef": "def"}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"fullname": "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.unsubscribe_from_response_hook", "kind": "function", "doc": "Unsubscribe functions from running when a response occurs.
\n", "signature": "(self , function ): ", "funcdef": "def"}, "easypost.easypost_client.EasyPostClient.make_api_call": {"fullname": "easypost.easypost_client.EasyPostClient.make_api_call", "modulename": "easypost.easypost_client", "qualname": "EasyPostClient.make_api_call", "kind": "function", "doc": "Make an API call to the EasyPost API.
\n\nThis public, generic interface is useful for making arbitrary API calls to the EasyPost API that\nare not yet supported by the client library's services. When possible, the service for your use case\nshould be used instead as it provides a more convenient and higher-level interface depending on the endpoint.
\n", "signature": "(\tself , \tmethod : easypost . requestor . RequestMethod , \tendpoint : str , \tparams : dict [ str , typing . Any ] ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.easypost_object": {"fullname": "easypost.easypost_object", "modulename": "easypost.easypost_object", "kind": "module", "doc": "
\n"}, "easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"fullname": "easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP", "modulename": "easypost.easypost_object", "qualname": "EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP", "kind": "variable", "doc": "
\n", "annotation": ": dict[str, typing.Any]", "default_value": "{'adr': 'Address', 'ak': 'ApiKey', 'batch': 'Batch', 'brd': 'Brand', 'ca': 'CarrierAccount', 'cfrep': 'Report', 'clm': 'Claim', 'cstinfo': 'CustomsInfo', 'cstitem': 'CustomsItem', 'es': 'EndShipper', 'evt': 'Event', 'hook': 'Webhook', 'ins': 'Insurance', 'order': 'Order', 'payload': 'Payload', 'pickup': 'Pickup', 'pickuprate': 'PickupRate', 'pl': 'PostageLabel', 'plrep': 'Report', 'prcl': 'Parcel', 'rate': 'Rate', 'refrep': 'Report', 'rfnd': 'Refund', 'sf': 'ScanForm', 'shp': 'Shipment', 'shpinvrep': 'Report', 'shprep': 'Report', 'trk': 'Tracker', 'trkrep': 'Report', 'user': 'User'}"}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"fullname": "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES", "modulename": "easypost.easypost_object", "qualname": "OBJECT_CLASS_NAME_OVERRIDES", "kind": "variable", "doc": "
\n", "annotation": ": dict[str, typing.Any]", "default_value": "{'CashFlowReport': 'Report', 'PaymentLogReport': 'Report', 'RefundReport': 'Report', 'ShipmentInvoiceReport': 'Report', 'ShipmentReport': 'Report', 'TrackerReport': 'Report'}"}, "easypost.easypost_object.convert_to_easypost_object": {"fullname": "easypost.easypost_object.convert_to_easypost_object", "modulename": "easypost.easypost_object", "qualname": "convert_to_easypost_object", "kind": "function", "doc": "Convert a response to an EasyPostObject.
\n", "signature": "(\tresponse : dict [ str , typing . Any ] , \tparent : object = None , \tname : str | None = None ): ", "funcdef": "def"}, "easypost.easypost_object.EasyPostObject": {"fullname": "easypost.easypost_object.EasyPostObject", "modulename": "easypost.easypost_object", "qualname": "EasyPostObject", "kind": "class", "doc": "
\n"}, "easypost.easypost_object.EasyPostObject.__init__": {"fullname": "easypost.easypost_object.EasyPostObject.__init__", "modulename": "easypost.easypost_object", "qualname": "EasyPostObject.__init__", "kind": "function", "doc": "
\n", "signature": "(\tid : str | None = None , \tparent : object | None = None , \tname : str | None = None , \t** params ) "}, "easypost.easypost_object.EasyPostObject.get": {"fullname": "easypost.easypost_object.EasyPostObject.get", "modulename": "easypost.easypost_object", "qualname": "EasyPostObject.get", "kind": "function", "doc": "
\n", "signature": "(self , k , default : Any = None ) -> Any : ", "funcdef": "def"}, "easypost.easypost_object.EasyPostObject.setdefault": {"fullname": "easypost.easypost_object.EasyPostObject.setdefault", "modulename": "easypost.easypost_object", "qualname": "EasyPostObject.setdefault", "kind": "function", "doc": "
\n", "signature": "(self , k , default : Any = None ) -> Any : ", "funcdef": "def"}, "easypost.easypost_object.EasyPostObject.keys": {"fullname": "easypost.easypost_object.EasyPostObject.keys", "modulename": "easypost.easypost_object", "qualname": "EasyPostObject.keys", "kind": "variable", "doc": "
\n", "annotation": ": list[str]"}, "easypost.easypost_object.EasyPostObject.values": {"fullname": "easypost.easypost_object.EasyPostObject.values", "modulename": "easypost.easypost_object", "qualname": "EasyPostObject.values", "kind": "variable", "doc": "
\n", "annotation": ": list[typing.Any]"}, "easypost.easypost_object.EasyPostObject.construct_from": {"fullname": "easypost.easypost_object.EasyPostObject.construct_from", "modulename": "easypost.easypost_object", "qualname": "EasyPostObject.construct_from", "kind": "function", "doc": "Construct an EasyPostObject from values returned by the API.
\n", "signature": "(\tcls , \tvalues : dict [ str , typing . Any ] , \tparent : object = None , \tname : str | None = None ) -> object : ", "funcdef": "def"}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"fullname": "easypost.easypost_object.EasyPostObject.convert_each_value", "modulename": "easypost.easypost_object", "qualname": "EasyPostObject.convert_each_value", "kind": "function", "doc": "Convert each value of a response into an EasyPostObject.
\n", "signature": "(self , values : dict [ str , typing . Any ] ) -> None : ", "funcdef": "def"}, "easypost.easypost_object.EasyPostObject.to_json": {"fullname": "easypost.easypost_object.EasyPostObject.to_json", "modulename": "easypost.easypost_object", "qualname": "EasyPostObject.to_json", "kind": "function", "doc": "Convert current object to json string.
\n", "signature": "(self , indent : int | None = None ) -> str : ", "funcdef": "def"}, "easypost.easypost_object.EasyPostObject.to_dict": {"fullname": "easypost.easypost_object.EasyPostObject.to_dict", "modulename": "easypost.easypost_object", "qualname": "EasyPostObject.to_dict", "kind": "function", "doc": "Convert current object to a dict.
\n", "signature": "(self ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.easypost_object.EasyPostObjectEncoder": {"fullname": "easypost.easypost_object.EasyPostObjectEncoder", "modulename": "easypost.easypost_object", "qualname": "EasyPostObjectEncoder", "kind": "class", "doc": "Extensible JSON https://json.org encoder for Python data structures.
\n\nSupports the following objects and types by default:
\n\n+-------------------+---------------+\n| Python | JSON |\n+===================+===============+\n| dict | object |\n+-------------------+---------------+\n| list, tuple | array |\n+-------------------+---------------+\n| str | string |\n+-------------------+---------------+\n| int, float | number |\n+-------------------+---------------+\n| True | true |\n+-------------------+---------------+\n| False | false |\n+-------------------+---------------+\n| None | null |\n+-------------------+---------------+
\n\nTo extend this to recognize other objects, subclass and implement a\n.default() method with another method that returns a serializable\nobject for o if possible, otherwise it should call the superclass\nimplementation (to raise TypeError).
\n", "bases": "json.encoder.JSONEncoder"}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"fullname": "easypost.easypost_object.EasyPostObjectEncoder.default", "modulename": "easypost.easypost_object", "qualname": "EasyPostObjectEncoder.default", "kind": "function", "doc": "Convert an EasyPostObject to a dict.
\n", "signature": "(self , obj : Any ) -> Any : ", "funcdef": "def"}, "easypost.errors": {"fullname": "easypost.errors", "modulename": "easypost.errors", "kind": "module", "doc": "
\n"}, "easypost.errors.api": {"fullname": "easypost.errors.api", "modulename": "easypost.errors.api", "kind": "module", "doc": "
\n"}, "easypost.errors.api.api_error": {"fullname": "easypost.errors.api.api_error", "modulename": "easypost.errors.api.api_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.api_error.ApiError": {"fullname": "easypost.errors.api.api_error.ApiError", "modulename": "easypost.errors.api.api_error", "qualname": "ApiError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.general.easypost_error.EasyPostError"}, "easypost.errors.api.api_error.ApiError.__init__": {"fullname": "easypost.errors.api.api_error.ApiError.__init__", "modulename": "easypost.errors.api.api_error", "qualname": "ApiError.__init__", "kind": "function", "doc": "
\n", "signature": "(\tmessage : dict [ str , Any ] | list | str , \terrors : list [ str ] | None = None , \tcode : str | None = None , \thttp_status : int | None = None , \thttp_body : str | bytes | None = None ) "}, "easypost.errors.api.api_error.ApiError.message": {"fullname": "easypost.errors.api.api_error.ApiError.message", "modulename": "easypost.errors.api.api_error", "qualname": "ApiError.message", "kind": "variable", "doc": "
\n"}, "easypost.errors.api.api_error.ApiError.errors": {"fullname": "easypost.errors.api.api_error.ApiError.errors", "modulename": "easypost.errors.api.api_error", "qualname": "ApiError.errors", "kind": "variable", "doc": "
\n"}, "easypost.errors.api.api_error.ApiError.code": {"fullname": "easypost.errors.api.api_error.ApiError.code", "modulename": "easypost.errors.api.api_error", "qualname": "ApiError.code", "kind": "variable", "doc": "
\n"}, "easypost.errors.api.api_error.ApiError.http_status": {"fullname": "easypost.errors.api.api_error.ApiError.http_status", "modulename": "easypost.errors.api.api_error", "qualname": "ApiError.http_status", "kind": "variable", "doc": "
\n"}, "easypost.errors.api.api_error.ApiError.http_body": {"fullname": "easypost.errors.api.api_error.ApiError.http_body", "modulename": "easypost.errors.api.api_error", "qualname": "ApiError.http_body", "kind": "variable", "doc": "
\n"}, "easypost.errors.api.bad_request_error": {"fullname": "easypost.errors.api.bad_request_error", "modulename": "easypost.errors.api.bad_request_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.bad_request_error.BadRequestError": {"fullname": "easypost.errors.api.bad_request_error.BadRequestError", "modulename": "easypost.errors.api.bad_request_error", "qualname": "BadRequestError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.encoding_error": {"fullname": "easypost.errors.api.encoding_error", "modulename": "easypost.errors.api.encoding_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.encoding_error.EncodingError": {"fullname": "easypost.errors.api.encoding_error.EncodingError", "modulename": "easypost.errors.api.encoding_error", "qualname": "EncodingError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.external_api_error": {"fullname": "easypost.errors.api.external_api_error", "modulename": "easypost.errors.api.external_api_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.external_api_error.ExternalApiError": {"fullname": "easypost.errors.api.external_api_error.ExternalApiError", "modulename": "easypost.errors.api.external_api_error", "qualname": "ExternalApiError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.forbidden_error": {"fullname": "easypost.errors.api.forbidden_error", "modulename": "easypost.errors.api.forbidden_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.forbidden_error.ForbiddenError": {"fullname": "easypost.errors.api.forbidden_error.ForbiddenError", "modulename": "easypost.errors.api.forbidden_error", "qualname": "ForbiddenError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.gateway_timeout_error": {"fullname": "easypost.errors.api.gateway_timeout_error", "modulename": "easypost.errors.api.gateway_timeout_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"fullname": "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError", "modulename": "easypost.errors.api.gateway_timeout_error", "qualname": "GatewayTimeoutError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.http_error": {"fullname": "easypost.errors.api.http_error", "modulename": "easypost.errors.api.http_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.http_error.HttpError": {"fullname": "easypost.errors.api.http_error.HttpError", "modulename": "easypost.errors.api.http_error", "qualname": "HttpError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.internal_server_error": {"fullname": "easypost.errors.api.internal_server_error", "modulename": "easypost.errors.api.internal_server_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.internal_server_error.InternalServerError": {"fullname": "easypost.errors.api.internal_server_error.InternalServerError", "modulename": "easypost.errors.api.internal_server_error", "qualname": "InternalServerError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.invalid_request_error": {"fullname": "easypost.errors.api.invalid_request_error", "modulename": "easypost.errors.api.invalid_request_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"fullname": "easypost.errors.api.invalid_request_error.InvalidRequestError", "modulename": "easypost.errors.api.invalid_request_error", "qualname": "InvalidRequestError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.json_error": {"fullname": "easypost.errors.api.json_error", "modulename": "easypost.errors.api.json_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.json_error.JsonError": {"fullname": "easypost.errors.api.json_error.JsonError", "modulename": "easypost.errors.api.json_error", "qualname": "JsonError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.method_not_allowed_error": {"fullname": "easypost.errors.api.method_not_allowed_error", "modulename": "easypost.errors.api.method_not_allowed_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"fullname": "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError", "modulename": "easypost.errors.api.method_not_allowed_error", "qualname": "MethodNotAllowedError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.not_found_error": {"fullname": "easypost.errors.api.not_found_error", "modulename": "easypost.errors.api.not_found_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.not_found_error.NotFoundError": {"fullname": "easypost.errors.api.not_found_error.NotFoundError", "modulename": "easypost.errors.api.not_found_error", "qualname": "NotFoundError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.payment_error": {"fullname": "easypost.errors.api.payment_error", "modulename": "easypost.errors.api.payment_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.payment_error.PaymentError": {"fullname": "easypost.errors.api.payment_error.PaymentError", "modulename": "easypost.errors.api.payment_error", "qualname": "PaymentError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.rate_limit_error": {"fullname": "easypost.errors.api.rate_limit_error", "modulename": "easypost.errors.api.rate_limit_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.rate_limit_error.RateLimitError": {"fullname": "easypost.errors.api.rate_limit_error.RateLimitError", "modulename": "easypost.errors.api.rate_limit_error", "qualname": "RateLimitError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.redirect_error": {"fullname": "easypost.errors.api.redirect_error", "modulename": "easypost.errors.api.redirect_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.redirect_error.RedirectError": {"fullname": "easypost.errors.api.redirect_error.RedirectError", "modulename": "easypost.errors.api.redirect_error", "qualname": "RedirectError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.service_unavailable_error": {"fullname": "easypost.errors.api.service_unavailable_error", "modulename": "easypost.errors.api.service_unavailable_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"fullname": "easypost.errors.api.service_unavailable_error.ServiceUnavailableError", "modulename": "easypost.errors.api.service_unavailable_error", "qualname": "ServiceUnavailableError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.timeout_error": {"fullname": "easypost.errors.api.timeout_error", "modulename": "easypost.errors.api.timeout_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.timeout_error.TimeoutError": {"fullname": "easypost.errors.api.timeout_error.TimeoutError", "modulename": "easypost.errors.api.timeout_error", "qualname": "TimeoutError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.unauthorized_error": {"fullname": "easypost.errors.api.unauthorized_error", "modulename": "easypost.errors.api.unauthorized_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"fullname": "easypost.errors.api.unauthorized_error.UnauthorizedError", "modulename": "easypost.errors.api.unauthorized_error", "qualname": "UnauthorizedError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.api.unknown_api_error": {"fullname": "easypost.errors.api.unknown_api_error", "modulename": "easypost.errors.api.unknown_api_error", "kind": "module", "doc": "
\n"}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"fullname": "easypost.errors.api.unknown_api_error.UnknownApiError", "modulename": "easypost.errors.api.unknown_api_error", "qualname": "UnknownApiError", "kind": "class", "doc": "Base error for all errors thrown via the EasyPost API.
\n", "bases": "easypost.errors.api.api_error.ApiError"}, "easypost.errors.general": {"fullname": "easypost.errors.general", "modulename": "easypost.errors.general", "kind": "module", "doc": "
\n"}, "easypost.errors.general.easypost_error": {"fullname": "easypost.errors.general.easypost_error", "modulename": "easypost.errors.general.easypost_error", "kind": "module", "doc": "
\n"}, "easypost.errors.general.easypost_error.EasyPostError": {"fullname": "easypost.errors.general.easypost_error.EasyPostError", "modulename": "easypost.errors.general.easypost_error", "qualname": "EasyPostError", "kind": "class", "doc": "The base error that all other errors from EasyPost inherit.
\n", "bases": "builtins.Exception"}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"fullname": "easypost.errors.general.easypost_error.EasyPostError.__init__", "modulename": "easypost.errors.general.easypost_error", "qualname": "EasyPostError.__init__", "kind": "function", "doc": "
\n", "signature": "(message : str ) "}, "easypost.errors.general.easypost_error.EasyPostError.message": {"fullname": "easypost.errors.general.easypost_error.EasyPostError.message", "modulename": "easypost.errors.general.easypost_error", "qualname": "EasyPostError.message", "kind": "variable", "doc": "
\n"}, "easypost.errors.general.end_of_pagination_error": {"fullname": "easypost.errors.general.end_of_pagination_error", "modulename": "easypost.errors.general.end_of_pagination_error", "kind": "module", "doc": "
\n"}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"fullname": "easypost.errors.general.end_of_pagination_error.EndOfPaginationError", "modulename": "easypost.errors.general.end_of_pagination_error", "qualname": "EndOfPaginationError", "kind": "class", "doc": "The base error that all other errors from EasyPost inherit.
\n", "bases": "easypost.errors.general.easypost_error.EasyPostError"}, "easypost.errors.general.filtering_error": {"fullname": "easypost.errors.general.filtering_error", "modulename": "easypost.errors.general.filtering_error", "kind": "module", "doc": "
\n"}, "easypost.errors.general.filtering_error.FilteringError": {"fullname": "easypost.errors.general.filtering_error.FilteringError", "modulename": "easypost.errors.general.filtering_error", "qualname": "FilteringError", "kind": "class", "doc": "The base error that all other errors from EasyPost inherit.
\n", "bases": "easypost.errors.general.easypost_error.EasyPostError"}, "easypost.errors.general.invalid_object_error": {"fullname": "easypost.errors.general.invalid_object_error", "modulename": "easypost.errors.general.invalid_object_error", "kind": "module", "doc": "
\n"}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"fullname": "easypost.errors.general.invalid_object_error.InvalidObjectError", "modulename": "easypost.errors.general.invalid_object_error", "qualname": "InvalidObjectError", "kind": "class", "doc": "The base error that all other errors from EasyPost inherit.
\n", "bases": "easypost.errors.general.easypost_error.EasyPostError"}, "easypost.errors.general.invalid_parameter_error": {"fullname": "easypost.errors.general.invalid_parameter_error", "modulename": "easypost.errors.general.invalid_parameter_error", "kind": "module", "doc": "
\n"}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"fullname": "easypost.errors.general.invalid_parameter_error.InvalidParameterError", "modulename": "easypost.errors.general.invalid_parameter_error", "qualname": "InvalidParameterError", "kind": "class", "doc": "The base error that all other errors from EasyPost inherit.
\n", "bases": "easypost.errors.general.easypost_error.EasyPostError"}, "easypost.errors.general.missing_parameter_error": {"fullname": "easypost.errors.general.missing_parameter_error", "modulename": "easypost.errors.general.missing_parameter_error", "kind": "module", "doc": "
\n"}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"fullname": "easypost.errors.general.missing_parameter_error.MissingParameterError", "modulename": "easypost.errors.general.missing_parameter_error", "qualname": "MissingParameterError", "kind": "class", "doc": "The base error that all other errors from EasyPost inherit.
\n", "bases": "easypost.errors.general.easypost_error.EasyPostError"}, "easypost.errors.general.signature_verification_error": {"fullname": "easypost.errors.general.signature_verification_error", "modulename": "easypost.errors.general.signature_verification_error", "kind": "module", "doc": "
\n"}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"fullname": "easypost.errors.general.signature_verification_error.SignatureVerificationError", "modulename": "easypost.errors.general.signature_verification_error", "qualname": "SignatureVerificationError", "kind": "class", "doc": "The base error that all other errors from EasyPost inherit.
\n", "bases": "easypost.errors.general.easypost_error.EasyPostError"}, "easypost.hooks": {"fullname": "easypost.hooks", "modulename": "easypost.hooks", "kind": "module", "doc": "
\n"}, "easypost.hooks.event_hook": {"fullname": "easypost.hooks.event_hook", "modulename": "easypost.hooks.event_hook", "kind": "module", "doc": "
\n"}, "easypost.hooks.event_hook.EventHook": {"fullname": "easypost.hooks.event_hook.EventHook", "modulename": "easypost.hooks.event_hook", "qualname": "EventHook", "kind": "class", "doc": "The parent event that occurs when a hook is triggered.
\n"}, "easypost.hooks.request_hook": {"fullname": "easypost.hooks.request_hook", "modulename": "easypost.hooks.request_hook", "kind": "module", "doc": "
\n"}, "easypost.hooks.request_hook.RequestHook": {"fullname": "easypost.hooks.request_hook.RequestHook", "modulename": "easypost.hooks.request_hook", "qualname": "RequestHook", "kind": "class", "doc": "An event that gets triggered when an HTTP request begins.
\n", "bases": "easypost.hooks.event_hook.EventHook"}, "easypost.hooks.response_hook": {"fullname": "easypost.hooks.response_hook", "modulename": "easypost.hooks.response_hook", "kind": "module", "doc": "
\n"}, "easypost.hooks.response_hook.ResponseHook": {"fullname": "easypost.hooks.response_hook.ResponseHook", "modulename": "easypost.hooks.response_hook", "qualname": "ResponseHook", "kind": "class", "doc": "An event that gets triggered when an HTTP response is returned.
\n", "bases": "easypost.hooks.event_hook.EventHook"}, "easypost.models": {"fullname": "easypost.models", "modulename": "easypost.models", "kind": "module", "doc": "
\n"}, "easypost.models.address": {"fullname": "easypost.models.address", "modulename": "easypost.models.address", "kind": "module", "doc": "
\n"}, "easypost.models.address.Address": {"fullname": "easypost.models.address.Address", "modulename": "easypost.models.address", "qualname": "Address", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.api_key": {"fullname": "easypost.models.api_key", "modulename": "easypost.models.api_key", "kind": "module", "doc": "
\n"}, "easypost.models.api_key.ApiKey": {"fullname": "easypost.models.api_key.ApiKey", "modulename": "easypost.models.api_key", "qualname": "ApiKey", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.batch": {"fullname": "easypost.models.batch", "modulename": "easypost.models.batch", "kind": "module", "doc": "
\n"}, "easypost.models.batch.Batch": {"fullname": "easypost.models.batch.Batch", "modulename": "easypost.models.batch", "qualname": "Batch", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.billing": {"fullname": "easypost.models.billing", "modulename": "easypost.models.billing", "kind": "module", "doc": "
\n"}, "easypost.models.billing.Billing": {"fullname": "easypost.models.billing.Billing", "modulename": "easypost.models.billing", "qualname": "Billing", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.brand": {"fullname": "easypost.models.brand", "modulename": "easypost.models.brand", "kind": "module", "doc": "
\n"}, "easypost.models.brand.Brand": {"fullname": "easypost.models.brand.Brand", "modulename": "easypost.models.brand", "qualname": "Brand", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.carrier_account": {"fullname": "easypost.models.carrier_account", "modulename": "easypost.models.carrier_account", "kind": "module", "doc": "
\n"}, "easypost.models.carrier_account.CarrierAccount": {"fullname": "easypost.models.carrier_account.CarrierAccount", "modulename": "easypost.models.carrier_account", "qualname": "CarrierAccount", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.claim": {"fullname": "easypost.models.claim", "modulename": "easypost.models.claim", "kind": "module", "doc": "
\n"}, "easypost.models.claim.Claim": {"fullname": "easypost.models.claim.Claim", "modulename": "easypost.models.claim", "qualname": "Claim", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.customs_info": {"fullname": "easypost.models.customs_info", "modulename": "easypost.models.customs_info", "kind": "module", "doc": "
\n"}, "easypost.models.customs_info.CustomsInfo": {"fullname": "easypost.models.customs_info.CustomsInfo", "modulename": "easypost.models.customs_info", "qualname": "CustomsInfo", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.customs_item": {"fullname": "easypost.models.customs_item", "modulename": "easypost.models.customs_item", "kind": "module", "doc": "
\n"}, "easypost.models.customs_item.CustomsItem": {"fullname": "easypost.models.customs_item.CustomsItem", "modulename": "easypost.models.customs_item", "qualname": "CustomsItem", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.end_shipper": {"fullname": "easypost.models.end_shipper", "modulename": "easypost.models.end_shipper", "kind": "module", "doc": "
\n"}, "easypost.models.end_shipper.EndShipper": {"fullname": "easypost.models.end_shipper.EndShipper", "modulename": "easypost.models.end_shipper", "qualname": "EndShipper", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.event": {"fullname": "easypost.models.event", "modulename": "easypost.models.event", "kind": "module", "doc": "
\n"}, "easypost.models.event.Event": {"fullname": "easypost.models.event.Event", "modulename": "easypost.models.event", "qualname": "Event", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.insurance": {"fullname": "easypost.models.insurance", "modulename": "easypost.models.insurance", "kind": "module", "doc": "
\n"}, "easypost.models.insurance.Insurance": {"fullname": "easypost.models.insurance.Insurance", "modulename": "easypost.models.insurance", "qualname": "Insurance", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.order": {"fullname": "easypost.models.order", "modulename": "easypost.models.order", "kind": "module", "doc": "
\n"}, "easypost.models.order.Order": {"fullname": "easypost.models.order.Order", "modulename": "easypost.models.order", "qualname": "Order", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.order.Order.lowest_rate": {"fullname": "easypost.models.order.Order.lowest_rate", "modulename": "easypost.models.order", "qualname": "Order.lowest_rate", "kind": "function", "doc": "Get the lowest rate of this Order.
\n", "signature": "(\tself , \tcarriers : list [ str ] | None = None , \tservices : list [ str ] | None = None ) -> easypost . models . rate . Rate : ", "funcdef": "def"}, "easypost.models.parcel": {"fullname": "easypost.models.parcel", "modulename": "easypost.models.parcel", "kind": "module", "doc": "
\n"}, "easypost.models.parcel.Parcel": {"fullname": "easypost.models.parcel.Parcel", "modulename": "easypost.models.parcel", "qualname": "Parcel", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.payload": {"fullname": "easypost.models.payload", "modulename": "easypost.models.payload", "kind": "module", "doc": "
\n"}, "easypost.models.payload.Payload": {"fullname": "easypost.models.payload.Payload", "modulename": "easypost.models.payload", "qualname": "Payload", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.pickup": {"fullname": "easypost.models.pickup", "modulename": "easypost.models.pickup", "kind": "module", "doc": "
\n"}, "easypost.models.pickup.Pickup": {"fullname": "easypost.models.pickup.Pickup", "modulename": "easypost.models.pickup", "qualname": "Pickup", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.pickup.Pickup.lowest_rate": {"fullname": "easypost.models.pickup.Pickup.lowest_rate", "modulename": "easypost.models.pickup", "qualname": "Pickup.lowest_rate", "kind": "function", "doc": "Get the lowest rate of this Pickup.
\n", "signature": "(\tself , \tcarriers : list [ str ] | None = None , \tservices : list [ str ] | None = None ) -> easypost . models . rate . Rate : ", "funcdef": "def"}, "easypost.models.pickup_rate": {"fullname": "easypost.models.pickup_rate", "modulename": "easypost.models.pickup_rate", "kind": "module", "doc": "
\n"}, "easypost.models.pickup_rate.PickupRate": {"fullname": "easypost.models.pickup_rate.PickupRate", "modulename": "easypost.models.pickup_rate", "qualname": "PickupRate", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.postage_label": {"fullname": "easypost.models.postage_label", "modulename": "easypost.models.postage_label", "kind": "module", "doc": "
\n"}, "easypost.models.postage_label.PostageLabel": {"fullname": "easypost.models.postage_label.PostageLabel", "modulename": "easypost.models.postage_label", "qualname": "PostageLabel", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.rate": {"fullname": "easypost.models.rate", "modulename": "easypost.models.rate", "kind": "module", "doc": "
\n"}, "easypost.models.rate.Rate": {"fullname": "easypost.models.rate.Rate", "modulename": "easypost.models.rate", "qualname": "Rate", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.refund": {"fullname": "easypost.models.refund", "modulename": "easypost.models.refund", "kind": "module", "doc": "
\n"}, "easypost.models.refund.Refund": {"fullname": "easypost.models.refund.Refund", "modulename": "easypost.models.refund", "qualname": "Refund", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.report": {"fullname": "easypost.models.report", "modulename": "easypost.models.report", "kind": "module", "doc": "
\n"}, "easypost.models.report.Report": {"fullname": "easypost.models.report.Report", "modulename": "easypost.models.report", "qualname": "Report", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.scan_form": {"fullname": "easypost.models.scan_form", "modulename": "easypost.models.scan_form", "kind": "module", "doc": "
\n"}, "easypost.models.scan_form.ScanForm": {"fullname": "easypost.models.scan_form.ScanForm", "modulename": "easypost.models.scan_form", "qualname": "ScanForm", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.shipment": {"fullname": "easypost.models.shipment", "modulename": "easypost.models.shipment", "kind": "module", "doc": "
\n"}, "easypost.models.shipment.Shipment": {"fullname": "easypost.models.shipment.Shipment", "modulename": "easypost.models.shipment", "qualname": "Shipment", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.shipment.Shipment.lowest_rate": {"fullname": "easypost.models.shipment.Shipment.lowest_rate", "modulename": "easypost.models.shipment", "qualname": "Shipment.lowest_rate", "kind": "function", "doc": "Get the lowest rate of this shipment.
\n", "signature": "(\tself , \tcarriers : list [ str ] | None = None , \tservices : list [ str ] | None = None ) -> easypost . models . rate . Rate : ", "funcdef": "def"}, "easypost.models.tracker": {"fullname": "easypost.models.tracker", "modulename": "easypost.models.tracker", "kind": "module", "doc": "
\n"}, "easypost.models.tracker.Tracker": {"fullname": "easypost.models.tracker.Tracker", "modulename": "easypost.models.tracker", "qualname": "Tracker", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.user": {"fullname": "easypost.models.user", "modulename": "easypost.models.user", "kind": "module", "doc": "
\n"}, "easypost.models.user.User": {"fullname": "easypost.models.user.User", "modulename": "easypost.models.user", "qualname": "User", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.models.webhook": {"fullname": "easypost.models.webhook", "modulename": "easypost.models.webhook", "kind": "module", "doc": "
\n"}, "easypost.models.webhook.Webhook": {"fullname": "easypost.models.webhook.Webhook", "modulename": "easypost.models.webhook", "qualname": "Webhook", "kind": "class", "doc": "
\n", "bases": "easypost.easypost_object.EasyPostObject"}, "easypost.requestor": {"fullname": "easypost.requestor", "modulename": "easypost.requestor", "kind": "module", "doc": "
\n"}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"fullname": "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING", "modulename": "easypost.requestor", "qualname": "STATUS_CODE_TO_ERROR_MAPPING", "kind": "variable", "doc": "
\n", "annotation": ": dict[int, typing.Any]", "default_value": "{400: <class 'easypost.errors.api.bad_request_error.BadRequestError'>, 401: <class 'easypost.errors.api.unauthorized_error.UnauthorizedError'>, 402: <class 'easypost.errors.api.payment_error.PaymentError'>, 403: <class 'easypost.errors.api.forbidden_error.ForbiddenError'>, 404: <class 'easypost.errors.api.not_found_error.NotFoundError'>, 405: <class 'easypost.errors.api.method_not_allowed_error.MethodNotAllowedError'>, 408: <class 'easypost.errors.api.timeout_error.TimeoutError'>, 422: <class 'easypost.errors.api.invalid_request_error.InvalidRequestError'>, 429: <class 'easypost.errors.api.rate_limit_error.RateLimitError'>, 500: <class 'easypost.errors.api.internal_server_error.InternalServerError'>, 503: <class 'easypost.errors.api.service_unavailable_error.ServiceUnavailableError'>, 504: <class 'easypost.errors.api.gateway_timeout_error.GatewayTimeoutError'>}"}, "easypost.requestor.RequestMethod": {"fullname": "easypost.requestor.RequestMethod", "modulename": "easypost.requestor", "qualname": "RequestMethod", "kind": "class", "doc": "
\n", "bases": "enum.Enum"}, "easypost.requestor.RequestMethod.GET": {"fullname": "easypost.requestor.RequestMethod.GET", "modulename": "easypost.requestor", "qualname": "RequestMethod.GET", "kind": "variable", "doc": "
\n", "default_value": "<RequestMethod.GET: 'get'>"}, "easypost.requestor.RequestMethod.POST": {"fullname": "easypost.requestor.RequestMethod.POST", "modulename": "easypost.requestor", "qualname": "RequestMethod.POST", "kind": "variable", "doc": "
\n", "default_value": "<RequestMethod.POST: 'post'>"}, "easypost.requestor.RequestMethod.PUT": {"fullname": "easypost.requestor.RequestMethod.PUT", "modulename": "easypost.requestor", "qualname": "RequestMethod.PUT", "kind": "variable", "doc": "
\n", "default_value": "<RequestMethod.PUT: 'put'>"}, "easypost.requestor.RequestMethod.PATCH": {"fullname": "easypost.requestor.RequestMethod.PATCH", "modulename": "easypost.requestor", "qualname": "RequestMethod.PATCH", "kind": "variable", "doc": "
\n", "default_value": "<RequestMethod.PATCH: 'patch'>"}, "easypost.requestor.RequestMethod.DELETE": {"fullname": "easypost.requestor.RequestMethod.DELETE", "modulename": "easypost.requestor", "qualname": "RequestMethod.DELETE", "kind": "variable", "doc": "
\n", "default_value": "<RequestMethod.DELETE: 'delete'>"}, "easypost.requestor.Requestor": {"fullname": "easypost.requestor.Requestor", "modulename": "easypost.requestor", "qualname": "Requestor", "kind": "class", "doc": "
\n"}, "easypost.requestor.Requestor.__init__": {"fullname": "easypost.requestor.Requestor.__init__", "modulename": "easypost.requestor", "qualname": "Requestor.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.requestor.Requestor.form_encode_params": {"fullname": "easypost.requestor.Requestor.form_encode_params", "modulename": "easypost.requestor", "qualname": "Requestor.form_encode_params", "kind": "function", "doc": "Form-encode a multi-layer dictionary to a one-layer dictionary.
\n", "signature": "(\tdata : dict [ str , typing . Any ] , \tparent_keys : list [ str ] | None = None , \tparent_dict : dict [ str , Any ] | None = None ) -> dict : ", "funcdef": "def"}, "easypost.requestor.Requestor.request": {"fullname": "easypost.requestor.Requestor.request", "modulename": "easypost.requestor", "qualname": "Requestor.request", "kind": "function", "doc": "Make a request to the EasyPost API.
\n", "signature": "(\tself , \tmethod : easypost . requestor . RequestMethod , \turl : str , \tparams : dict [ str , Any ] | None = None , \tbeta : bool = False ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.requestor.Requestor.request_raw": {"fullname": "easypost.requestor.Requestor.request_raw", "modulename": "easypost.requestor", "qualname": "Requestor.request_raw", "kind": "function", "doc": "Internal logic required to make a request to the EasyPost API.
\n", "signature": "(\tself , \tmethod : easypost . requestor . RequestMethod , \turl : str , \tparams : dict [ str , Any ] | None = None , \tbeta : bool = False ) -> Tuple [ str , int ] : ", "funcdef": "def"}, "easypost.requestor.Requestor.interpret_response": {"fullname": "easypost.requestor.Requestor.interpret_response", "modulename": "easypost.requestor", "qualname": "Requestor.interpret_response", "kind": "function", "doc": "Interpret the response body we receive from the API.
\n", "signature": "(self , http_body : str , http_status : int ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.requestor.Requestor.requests_request": {"fullname": "easypost.requestor.Requestor.requests_request", "modulename": "easypost.requestor", "qualname": "Requestor.requests_request", "kind": "function", "doc": "Make a request by using the request library.
\n", "signature": "(\tself , \tmethod : easypost . requestor . RequestMethod , \tabs_url : str , \theaders : dict [ str , typing . Any ] , \tparams : dict [ str , typing . Any ] ) -> Tuple [ str , int , dict [ str , Any ]] : ", "funcdef": "def"}, "easypost.requestor.Requestor.urlfetch_request": {"fullname": "easypost.requestor.Requestor.urlfetch_request", "modulename": "easypost.requestor", "qualname": "Requestor.urlfetch_request", "kind": "function", "doc": "Make a request by using the urlfetch library.
\n", "signature": "(\tself , \tmethod : easypost . requestor . RequestMethod , \tabs_url : str , \theaders : dict [ str , typing . Any ] , \tparams : dict [ str , typing . Any ] ) -> Tuple [ str , int , dict [ str , Any ]] : ", "funcdef": "def"}, "easypost.requestor.Requestor.handle_api_error": {"fullname": "easypost.requestor.Requestor.handle_api_error", "modulename": "easypost.requestor", "qualname": "Requestor.handle_api_error", "kind": "function", "doc": "Handles API errors returned from the EasyPost API.
\n", "signature": "(\tself , \thttp_status : int , \thttp_body : str , \tresponse : dict [ str , typing . Any ] ) -> None : ", "funcdef": "def"}, "easypost.requestor.Requestor.encode_url_params": {"fullname": "easypost.requestor.Requestor.encode_url_params", "modulename": "easypost.requestor", "qualname": "Requestor.encode_url_params", "kind": "function", "doc": "Encode params for a URL.
\n", "signature": "(\tself , \tparams : dict [ str , typing . Any ] , \tmethod : easypost . requestor . RequestMethod ) -> str | None : ", "funcdef": "def"}, "easypost.requestor.Requestor.add_params_to_url": {"fullname": "easypost.requestor.Requestor.add_params_to_url", "modulename": "easypost.requestor", "qualname": "Requestor.add_params_to_url", "kind": "function", "doc": "Add params to the URL.
\n", "signature": "(\tself , \turl : str , \tparams : dict [ str , typing . Any ] , \tmethod : easypost . requestor . RequestMethod ) -> str : ", "funcdef": "def"}, "easypost.services": {"fullname": "easypost.services", "modulename": "easypost.services", "kind": "module", "doc": "
\n"}, "easypost.services.address_service": {"fullname": "easypost.services.address_service", "modulename": "easypost.services.address_service", "kind": "module", "doc": "
\n"}, "easypost.services.address_service.AddressService": {"fullname": "easypost.services.address_service.AddressService", "modulename": "easypost.services.address_service", "qualname": "AddressService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.address_service.AddressService.__init__": {"fullname": "easypost.services.address_service.AddressService.__init__", "modulename": "easypost.services.address_service", "qualname": "AddressService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.address_service.AddressService.create": {"fullname": "easypost.services.address_service.AddressService.create", "modulename": "easypost.services.address_service", "qualname": "AddressService.create", "kind": "function", "doc": "Create an Address.
\n", "signature": "(\tself , \tverify : bool | None = None , \tverify_strict : bool | None = None , \tverify_carrier : str | None = None , \t** params ) -> easypost . models . address . Address : ", "funcdef": "def"}, "easypost.services.address_service.AddressService.all": {"fullname": "easypost.services.address_service.AddressService.all", "modulename": "easypost.services.address_service", "qualname": "AddressService.all", "kind": "function", "doc": "Retrieve a list of Addresses.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.address_service.AddressService.retrieve": {"fullname": "easypost.services.address_service.AddressService.retrieve", "modulename": "easypost.services.address_service", "qualname": "AddressService.retrieve", "kind": "function", "doc": "Retrieve an Address.
\n", "signature": "(self , id ) -> easypost . models . address . Address : ", "funcdef": "def"}, "easypost.services.address_service.AddressService.create_and_verify": {"fullname": "easypost.services.address_service.AddressService.create_and_verify", "modulename": "easypost.services.address_service", "qualname": "AddressService.create_and_verify", "kind": "function", "doc": "Create and verify an Address in one call.
\n", "signature": "(\tself , \tverify_carrier : str | None = None , \t** params ) -> easypost . models . address . Address : ", "funcdef": "def"}, "easypost.services.address_service.AddressService.verify": {"fullname": "easypost.services.address_service.AddressService.verify", "modulename": "easypost.services.address_service", "qualname": "AddressService.verify", "kind": "function", "doc": "Verify an already created Address.
\n", "signature": "(self , id ) -> easypost . models . address . Address : ", "funcdef": "def"}, "easypost.services.address_service.AddressService.get_next_page": {"fullname": "easypost.services.address_service.AddressService.get_next_page", "modulename": "easypost.services.address_service", "qualname": "AddressService.get_next_page", "kind": "function", "doc": "Retrieve the next page of the list Addresses response.
\n", "signature": "(\tself , \taddresses : dict [ str , typing . Any ] , \tpage_size : int , \toptional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.api_key_service": {"fullname": "easypost.services.api_key_service", "modulename": "easypost.services.api_key_service", "kind": "module", "doc": "
\n"}, "easypost.services.api_key_service.ApiKeyService": {"fullname": "easypost.services.api_key_service.ApiKeyService", "modulename": "easypost.services.api_key_service", "qualname": "ApiKeyService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.api_key_service.ApiKeyService.__init__": {"fullname": "easypost.services.api_key_service.ApiKeyService.__init__", "modulename": "easypost.services.api_key_service", "qualname": "ApiKeyService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"fullname": "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user", "modulename": "easypost.services.api_key_service", "qualname": "ApiKeyService.retrieve_api_keys_for_user", "kind": "function", "doc": "Retrieve a list of API keys (works for the authenticated User or a child User).
\n", "signature": "(self , id : str ) -> list [ easypost . models . api_key . ApiKey ] : ", "funcdef": "def"}, "easypost.services.api_key_service.ApiKeyService.all": {"fullname": "easypost.services.api_key_service.ApiKeyService.all", "modulename": "easypost.services.api_key_service", "qualname": "ApiKeyService.all", "kind": "function", "doc": "Retrieve a list of all API keys.
\n", "signature": "(self ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.api_key_service.ApiKeyService.create": {"fullname": "easypost.services.api_key_service.ApiKeyService.create", "modulename": "easypost.services.api_key_service", "qualname": "ApiKeyService.create", "kind": "function", "doc": "Create an API key for a child or referral customer user.
\n", "signature": "(self , mode : str ) -> easypost . models . api_key . ApiKey : ", "funcdef": "def"}, "easypost.services.api_key_service.ApiKeyService.delete": {"fullname": "easypost.services.api_key_service.ApiKeyService.delete", "modulename": "easypost.services.api_key_service", "qualname": "ApiKeyService.delete", "kind": "function", "doc": "Delete an API key for a child or referral customer user.
\n", "signature": "(self , id : str ) -> None : ", "funcdef": "def"}, "easypost.services.api_key_service.ApiKeyService.enable": {"fullname": "easypost.services.api_key_service.ApiKeyService.enable", "modulename": "easypost.services.api_key_service", "qualname": "ApiKeyService.enable", "kind": "function", "doc": "Enable a child or referral customer API key.
\n", "signature": "(self , id : str ) -> easypost . models . api_key . ApiKey : ", "funcdef": "def"}, "easypost.services.api_key_service.ApiKeyService.disable": {"fullname": "easypost.services.api_key_service.ApiKeyService.disable", "modulename": "easypost.services.api_key_service", "qualname": "ApiKeyService.disable", "kind": "function", "doc": "Disable a child or referral customer API key.
\n", "signature": "(self , id : str ) -> easypost . models . api_key . ApiKey : ", "funcdef": "def"}, "easypost.services.base_service": {"fullname": "easypost.services.base_service", "modulename": "easypost.services.base_service", "kind": "module", "doc": "
\n"}, "easypost.services.base_service.BaseService": {"fullname": "easypost.services.base_service.BaseService", "modulename": "easypost.services.base_service", "qualname": "BaseService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n"}, "easypost.services.base_service.BaseService.__init__": {"fullname": "easypost.services.base_service.BaseService.__init__", "modulename": "easypost.services.base_service", "qualname": "BaseService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.batch_service": {"fullname": "easypost.services.batch_service", "modulename": "easypost.services.batch_service", "kind": "module", "doc": "
\n"}, "easypost.services.batch_service.BatchService": {"fullname": "easypost.services.batch_service.BatchService", "modulename": "easypost.services.batch_service", "qualname": "BatchService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.batch_service.BatchService.__init__": {"fullname": "easypost.services.batch_service.BatchService.__init__", "modulename": "easypost.services.batch_service", "qualname": "BatchService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.batch_service.BatchService.create": {"fullname": "easypost.services.batch_service.BatchService.create", "modulename": "easypost.services.batch_service", "qualname": "BatchService.create", "kind": "function", "doc": "Create a Batch.
\n", "signature": "(self , ** params ) -> easypost . models . batch . Batch : ", "funcdef": "def"}, "easypost.services.batch_service.BatchService.all": {"fullname": "easypost.services.batch_service.BatchService.all", "modulename": "easypost.services.batch_service", "qualname": "BatchService.all", "kind": "function", "doc": "Retrieve a list of Batches.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.batch_service.BatchService.retrieve": {"fullname": "easypost.services.batch_service.BatchService.retrieve", "modulename": "easypost.services.batch_service", "qualname": "BatchService.retrieve", "kind": "function", "doc": "Retrieve a Batch.
\n", "signature": "(self , id : str ) -> easypost . models . batch . Batch : ", "funcdef": "def"}, "easypost.services.batch_service.BatchService.buy": {"fullname": "easypost.services.batch_service.BatchService.buy", "modulename": "easypost.services.batch_service", "qualname": "BatchService.buy", "kind": "function", "doc": "Buy a Batch.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . batch . Batch : ", "funcdef": "def"}, "easypost.services.batch_service.BatchService.label": {"fullname": "easypost.services.batch_service.BatchService.label", "modulename": "easypost.services.batch_service", "qualname": "BatchService.label", "kind": "function", "doc": "Create a Batch label.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . batch . Batch : ", "funcdef": "def"}, "easypost.services.batch_service.BatchService.remove_shipments": {"fullname": "easypost.services.batch_service.BatchService.remove_shipments", "modulename": "easypost.services.batch_service", "qualname": "BatchService.remove_shipments", "kind": "function", "doc": "Remove Shipments from a Batch.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . batch . Batch : ", "funcdef": "def"}, "easypost.services.batch_service.BatchService.add_shipments": {"fullname": "easypost.services.batch_service.BatchService.add_shipments", "modulename": "easypost.services.batch_service", "qualname": "BatchService.add_shipments", "kind": "function", "doc": "Add Shipments to a Batch.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . batch . Batch : ", "funcdef": "def"}, "easypost.services.batch_service.BatchService.create_scan_form": {"fullname": "easypost.services.batch_service.BatchService.create_scan_form", "modulename": "easypost.services.batch_service", "qualname": "BatchService.create_scan_form", "kind": "function", "doc": "Create a ScanForm for a Batch.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . batch . Batch : ", "funcdef": "def"}, "easypost.services.batch_service.BatchService.get_next_page": {"fullname": "easypost.services.batch_service.BatchService.get_next_page", "modulename": "easypost.services.batch_service", "qualname": "BatchService.get_next_page", "kind": "function", "doc": "Retrieve the next page of the list Batch response.
\n\nNOTE: This function has known issues with retrieving pages in order due to server-side issues.\nIt is not recommended to be used currently.
\n", "signature": "(\tself , \tbatches : dict [ str , typing . Any ] , \tpage_size : int , \toptional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.beta_rate_service": {"fullname": "easypost.services.beta_rate_service", "modulename": "easypost.services.beta_rate_service", "kind": "module", "doc": "
\n"}, "easypost.services.beta_rate_service.BetaRateService": {"fullname": "easypost.services.beta_rate_service.BetaRateService", "modulename": "easypost.services.beta_rate_service", "qualname": "BetaRateService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"fullname": "easypost.services.beta_rate_service.BetaRateService.__init__", "modulename": "easypost.services.beta_rate_service", "qualname": "BetaRateService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"fullname": "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates", "modulename": "easypost.services.beta_rate_service", "qualname": "BetaRateService.retrieve_stateless_rates", "kind": "function", "doc": "Retrieves stateless rates by passing shipment data.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.beta_referral_customer_service": {"fullname": "easypost.services.beta_referral_customer_service", "modulename": "easypost.services.beta_referral_customer_service", "kind": "module", "doc": "
\n"}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"fullname": "easypost.services.beta_referral_customer_service.BetaReferralCustomerService", "modulename": "easypost.services.beta_referral_customer_service", "qualname": "BetaReferralCustomerService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"fullname": "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method", "modulename": "easypost.services.beta_referral_customer_service", "qualname": "BetaReferralCustomerService.add_payment_method", "kind": "function", "doc": "Add a Stripe payment method to your EasyPost account.
\n\nThis endpoint uses a user's personal Stripe account. The stripe_customer_id\nand payment_method_reference IDs both come from Stripe. By adding these to\nEasyPost, we will associate your Stripe payment method with either your primary\nor secondary EasyPost payment method.
\n", "signature": "(\tself , \tstripe_customer_id : str , \tpayment_method_reference : str , \tpriority : str = 'primary' ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"fullname": "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount", "modulename": "easypost.services.beta_referral_customer_service", "qualname": "BetaReferralCustomerService.refund_by_amount", "kind": "function", "doc": "Refund a ReferralCustomer wallet by specifying an amount.
\n", "signature": "(self , refund_amount : int ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"fullname": "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log", "modulename": "easypost.services.beta_referral_customer_service", "qualname": "BetaReferralCustomerService.refund_by_payment_log", "kind": "function", "doc": "Refund a ReferralCustomer wallet by specifying a payment log ID to completely refund.
\n", "signature": "(self , payment_log_id : str ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"fullname": "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret", "modulename": "easypost.services.beta_referral_customer_service", "qualname": "BetaReferralCustomerService.create_credit_card_client_secret", "kind": "function", "doc": "Creates a client secret to use with Stripe when adding a credit card.
\n", "signature": "(self ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"fullname": "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret", "modulename": "easypost.services.beta_referral_customer_service", "qualname": "BetaReferralCustomerService.create_bank_account_client_secret", "kind": "function", "doc": "Creates a client secret to use with Stripe when adding a bank account.
\n", "signature": "(self , return_url : str | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.billing_service": {"fullname": "easypost.services.billing_service", "modulename": "easypost.services.billing_service", "kind": "module", "doc": "
\n"}, "easypost.services.billing_service.BillingService": {"fullname": "easypost.services.billing_service.BillingService", "modulename": "easypost.services.billing_service", "qualname": "BillingService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.billing_service.BillingService.__init__": {"fullname": "easypost.services.billing_service.BillingService.__init__", "modulename": "easypost.services.billing_service", "qualname": "BillingService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.billing_service.BillingService.fund_wallet": {"fullname": "easypost.services.billing_service.BillingService.fund_wallet", "modulename": "easypost.services.billing_service", "qualname": "BillingService.fund_wallet", "kind": "function", "doc": "Fund your EasyPost wallet by charging your primary or secondary payment method on file.
\n", "signature": "(self , amount : str , priority : str = 'primary' ) -> None : ", "funcdef": "def"}, "easypost.services.billing_service.BillingService.delete_payment_method": {"fullname": "easypost.services.billing_service.BillingService.delete_payment_method", "modulename": "easypost.services.billing_service", "qualname": "BillingService.delete_payment_method", "kind": "function", "doc": "Delete a payment method.
\n", "signature": "(self , priority : str ) -> None : ", "funcdef": "def"}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"fullname": "easypost.services.billing_service.BillingService.retrieve_payment_methods", "modulename": "easypost.services.billing_service", "qualname": "BillingService.retrieve_payment_methods", "kind": "function", "doc": "Retrieve payment methods.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.carrier_account_service": {"fullname": "easypost.services.carrier_account_service", "modulename": "easypost.services.carrier_account_service", "kind": "module", "doc": "
\n"}, "easypost.services.carrier_account_service.CarrierAccountService": {"fullname": "easypost.services.carrier_account_service.CarrierAccountService", "modulename": "easypost.services.carrier_account_service", "qualname": "CarrierAccountService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"fullname": "easypost.services.carrier_account_service.CarrierAccountService.__init__", "modulename": "easypost.services.carrier_account_service", "qualname": "CarrierAccountService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"fullname": "easypost.services.carrier_account_service.CarrierAccountService.create", "modulename": "easypost.services.carrier_account_service", "qualname": "CarrierAccountService.create", "kind": "function", "doc": "Create a CarrierAccount.
\n", "signature": "(self , ** params ) -> easypost . models . carrier_account . CarrierAccount : ", "funcdef": "def"}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"fullname": "easypost.services.carrier_account_service.CarrierAccountService.all", "modulename": "easypost.services.carrier_account_service", "qualname": "CarrierAccountService.all", "kind": "function", "doc": "Retrieve a list of CarrierAccounts.
\n", "signature": "(self , ** params ) -> list [ dict [ str , typing . Any ]] : ", "funcdef": "def"}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"fullname": "easypost.services.carrier_account_service.CarrierAccountService.retrieve", "modulename": "easypost.services.carrier_account_service", "qualname": "CarrierAccountService.retrieve", "kind": "function", "doc": "Retrieve a CarrierAccount.
\n", "signature": "(self , id : str ) -> easypost . models . carrier_account . CarrierAccount : ", "funcdef": "def"}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"fullname": "easypost.services.carrier_account_service.CarrierAccountService.update", "modulename": "easypost.services.carrier_account_service", "qualname": "CarrierAccountService.update", "kind": "function", "doc": "Update a CarrierAccount.
\n", "signature": "(\tself , \tid : str , \t** params ) -> easypost . models . carrier_account . CarrierAccount : ", "funcdef": "def"}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"fullname": "easypost.services.carrier_account_service.CarrierAccountService.delete", "modulename": "easypost.services.carrier_account_service", "qualname": "CarrierAccountService.delete", "kind": "function", "doc": "Delete a CarrierAccount.
\n", "signature": "(self , id : str ) -> None : ", "funcdef": "def"}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"fullname": "easypost.services.carrier_account_service.CarrierAccountService.types", "modulename": "easypost.services.carrier_account_service", "qualname": "CarrierAccountService.types", "kind": "function", "doc": "Get the types of CarrierAccounts available to the User.
\n", "signature": "(self ) -> list [ dict [ str , typing . Any ]] : ", "funcdef": "def"}, "easypost.services.carrier_metadata_service": {"fullname": "easypost.services.carrier_metadata_service", "modulename": "easypost.services.carrier_metadata_service", "kind": "module", "doc": "
\n"}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"fullname": "easypost.services.carrier_metadata_service.CarrierMetadataService", "modulename": "easypost.services.carrier_metadata_service", "qualname": "CarrierMetadataService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"fullname": "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__", "modulename": "easypost.services.carrier_metadata_service", "qualname": "CarrierMetadataService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"fullname": "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve", "modulename": "easypost.services.carrier_metadata_service", "qualname": "CarrierMetadataService.retrieve", "kind": "function", "doc": "Get metadata for all carriers on the EasyPost platform or specify optional filters.
\n", "signature": "(\tself , \tcarriers : list [ str ] | None = None , \ttypes : list [ str ] | None = None ) -> list [ dict [ str , typing . Any ]] : ", "funcdef": "def"}, "easypost.services.claim_service": {"fullname": "easypost.services.claim_service", "modulename": "easypost.services.claim_service", "kind": "module", "doc": "
\n"}, "easypost.services.claim_service.ClaimService": {"fullname": "easypost.services.claim_service.ClaimService", "modulename": "easypost.services.claim_service", "qualname": "ClaimService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.claim_service.ClaimService.__init__": {"fullname": "easypost.services.claim_service.ClaimService.__init__", "modulename": "easypost.services.claim_service", "qualname": "ClaimService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.claim_service.ClaimService.create": {"fullname": "easypost.services.claim_service.ClaimService.create", "modulename": "easypost.services.claim_service", "qualname": "ClaimService.create", "kind": "function", "doc": "Create a Claim.
\n", "signature": "(self , ** params ) -> easypost . models . claim . Claim : ", "funcdef": "def"}, "easypost.services.claim_service.ClaimService.all": {"fullname": "easypost.services.claim_service.ClaimService.all", "modulename": "easypost.services.claim_service", "qualname": "ClaimService.all", "kind": "function", "doc": "Retrieve a list of Claims.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.claim_service.ClaimService.retrieve": {"fullname": "easypost.services.claim_service.ClaimService.retrieve", "modulename": "easypost.services.claim_service", "qualname": "ClaimService.retrieve", "kind": "function", "doc": "Retrieve a Claim.
\n", "signature": "(self , id : str ) -> easypost . models . claim . Claim : ", "funcdef": "def"}, "easypost.services.claim_service.ClaimService.get_next_page": {"fullname": "easypost.services.claim_service.ClaimService.get_next_page", "modulename": "easypost.services.claim_service", "qualname": "ClaimService.get_next_page", "kind": "function", "doc": "Retrieve the next page of the list Claim response.
\n", "signature": "(\tself , \tclaims : dict [ str , typing . Any ] , \tpage_size : int , \toptional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.claim_service.ClaimService.cancel": {"fullname": "easypost.services.claim_service.ClaimService.cancel", "modulename": "easypost.services.claim_service", "qualname": "ClaimService.cancel", "kind": "function", "doc": "Cancel a Claim.
\n", "signature": "(self , id : str ) -> easypost . models . claim . Claim : ", "funcdef": "def"}, "easypost.services.customer_portal_service": {"fullname": "easypost.services.customer_portal_service", "modulename": "easypost.services.customer_portal_service", "kind": "module", "doc": "
\n"}, "easypost.services.customer_portal_service.CustomerPortalService": {"fullname": "easypost.services.customer_portal_service.CustomerPortalService", "modulename": "easypost.services.customer_portal_service", "qualname": "CustomerPortalService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"fullname": "easypost.services.customer_portal_service.CustomerPortalService.__init__", "modulename": "easypost.services.customer_portal_service", "qualname": "CustomerPortalService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"fullname": "easypost.services.customer_portal_service.CustomerPortalService.create_account_link", "modulename": "easypost.services.customer_portal_service", "qualname": "CustomerPortalService.create_account_link", "kind": "function", "doc": "Create a Portal Session.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.customs_info_service": {"fullname": "easypost.services.customs_info_service", "modulename": "easypost.services.customs_info_service", "kind": "module", "doc": "
\n"}, "easypost.services.customs_info_service.CustomsInfoService": {"fullname": "easypost.services.customs_info_service.CustomsInfoService", "modulename": "easypost.services.customs_info_service", "qualname": "CustomsInfoService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"fullname": "easypost.services.customs_info_service.CustomsInfoService.__init__", "modulename": "easypost.services.customs_info_service", "qualname": "CustomsInfoService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.customs_info_service.CustomsInfoService.create": {"fullname": "easypost.services.customs_info_service.CustomsInfoService.create", "modulename": "easypost.services.customs_info_service", "qualname": "CustomsInfoService.create", "kind": "function", "doc": "Create a CustomsInfo.
\n", "signature": "(self , ** params ) -> easypost . models . customs_info . CustomsInfo : ", "funcdef": "def"}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"fullname": "easypost.services.customs_info_service.CustomsInfoService.retrieve", "modulename": "easypost.services.customs_info_service", "qualname": "CustomsInfoService.retrieve", "kind": "function", "doc": "Retrieve a CustomsInfo.
\n", "signature": "(self , id : str ) -> easypost . models . customs_info . CustomsInfo : ", "funcdef": "def"}, "easypost.services.customs_item_service": {"fullname": "easypost.services.customs_item_service", "modulename": "easypost.services.customs_item_service", "kind": "module", "doc": "
\n"}, "easypost.services.customs_item_service.CustomsItemService": {"fullname": "easypost.services.customs_item_service.CustomsItemService", "modulename": "easypost.services.customs_item_service", "qualname": "CustomsItemService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"fullname": "easypost.services.customs_item_service.CustomsItemService.__init__", "modulename": "easypost.services.customs_item_service", "qualname": "CustomsItemService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.customs_item_service.CustomsItemService.create": {"fullname": "easypost.services.customs_item_service.CustomsItemService.create", "modulename": "easypost.services.customs_item_service", "qualname": "CustomsItemService.create", "kind": "function", "doc": "Create a CustomsItem.
\n", "signature": "(self , ** params ) -> easypost . models . customs_item . CustomsItem : ", "funcdef": "def"}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"fullname": "easypost.services.customs_item_service.CustomsItemService.retrieve", "modulename": "easypost.services.customs_item_service", "qualname": "CustomsItemService.retrieve", "kind": "function", "doc": "Retrieve a CustomsItem.
\n", "signature": "(self , id : str ) -> easypost . models . customs_item . CustomsItem : ", "funcdef": "def"}, "easypost.services.embeddable_service": {"fullname": "easypost.services.embeddable_service", "modulename": "easypost.services.embeddable_service", "kind": "module", "doc": "
\n"}, "easypost.services.embeddable_service.EmbeddableService": {"fullname": "easypost.services.embeddable_service.EmbeddableService", "modulename": "easypost.services.embeddable_service", "qualname": "EmbeddableService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"fullname": "easypost.services.embeddable_service.EmbeddableService.__init__", "modulename": "easypost.services.embeddable_service", "qualname": "EmbeddableService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"fullname": "easypost.services.embeddable_service.EmbeddableService.create_session", "modulename": "easypost.services.embeddable_service", "qualname": "EmbeddableService.create_session", "kind": "function", "doc": "Create an Embeddables Session.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.end_shipper_service": {"fullname": "easypost.services.end_shipper_service", "modulename": "easypost.services.end_shipper_service", "kind": "module", "doc": "
\n"}, "easypost.services.end_shipper_service.EndShipperService": {"fullname": "easypost.services.end_shipper_service.EndShipperService", "modulename": "easypost.services.end_shipper_service", "qualname": "EndShipperService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"fullname": "easypost.services.end_shipper_service.EndShipperService.__init__", "modulename": "easypost.services.end_shipper_service", "qualname": "EndShipperService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.end_shipper_service.EndShipperService.create": {"fullname": "easypost.services.end_shipper_service.EndShipperService.create", "modulename": "easypost.services.end_shipper_service", "qualname": "EndShipperService.create", "kind": "function", "doc": "Create an EndShipper.
\n", "signature": "(self , ** params ) -> easypost . models . address . Address : ", "funcdef": "def"}, "easypost.services.end_shipper_service.EndShipperService.all": {"fullname": "easypost.services.end_shipper_service.EndShipperService.all", "modulename": "easypost.services.end_shipper_service", "qualname": "EndShipperService.all", "kind": "function", "doc": "Retrieve a list of EndShippers.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"fullname": "easypost.services.end_shipper_service.EndShipperService.retrieve", "modulename": "easypost.services.end_shipper_service", "qualname": "EndShipperService.retrieve", "kind": "function", "doc": "Retrieve an EndShipper.
\n", "signature": "(self , id : str ) -> easypost . models . address . Address : ", "funcdef": "def"}, "easypost.services.end_shipper_service.EndShipperService.update": {"fullname": "easypost.services.end_shipper_service.EndShipperService.update", "modulename": "easypost.services.end_shipper_service", "qualname": "EndShipperService.update", "kind": "function", "doc": "Update an EndShipper object.
\n\nThis function requires all parameters to be present for an EndShipper.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . address . Address : ", "funcdef": "def"}, "easypost.services.event_service": {"fullname": "easypost.services.event_service", "modulename": "easypost.services.event_service", "kind": "module", "doc": "
\n"}, "easypost.services.event_service.EventService": {"fullname": "easypost.services.event_service.EventService", "modulename": "easypost.services.event_service", "qualname": "EventService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.event_service.EventService.__init__": {"fullname": "easypost.services.event_service.EventService.__init__", "modulename": "easypost.services.event_service", "qualname": "EventService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.event_service.EventService.create": {"fullname": "easypost.services.event_service.EventService.create", "modulename": "easypost.services.event_service", "qualname": "EventService.create", "kind": "function", "doc": "Create an Event.
\n", "signature": "(self , ** params ) -> easypost . models . event . Event : ", "funcdef": "def"}, "easypost.services.event_service.EventService.all": {"fullname": "easypost.services.event_service.EventService.all", "modulename": "easypost.services.event_service", "qualname": "EventService.all", "kind": "function", "doc": "Retrieve a list of Events.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.event_service.EventService.retrieve": {"fullname": "easypost.services.event_service.EventService.retrieve", "modulename": "easypost.services.event_service", "qualname": "EventService.retrieve", "kind": "function", "doc": "Retrieve an Event.
\n", "signature": "(self , id : str ) -> easypost . models . event . Event : ", "funcdef": "def"}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"fullname": "easypost.services.event_service.EventService.retrieve_all_payloads", "modulename": "easypost.services.event_service", "qualname": "EventService.retrieve_all_payloads", "kind": "function", "doc": "Retrieve a list of Payloads for an Event.
\n", "signature": "(self , event_id : str , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.event_service.EventService.retrieve_payload": {"fullname": "easypost.services.event_service.EventService.retrieve_payload", "modulename": "easypost.services.event_service", "qualname": "EventService.retrieve_payload", "kind": "function", "doc": "Retrieve a Payload of an Event.
\n", "signature": "(\tself , \tevent_id : str , \tpayload_id : str , \t** params ) -> easypost . models . payload . Payload : ", "funcdef": "def"}, "easypost.services.event_service.EventService.get_next_page": {"fullname": "easypost.services.event_service.EventService.get_next_page", "modulename": "easypost.services.event_service", "qualname": "EventService.get_next_page", "kind": "function", "doc": "Retrieve the next page of the list Events response.
\n", "signature": "(\tself , \tevents : dict [ str , typing . Any ] , \tpage_size : int , \toptional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.fedex_registration_service": {"fullname": "easypost.services.fedex_registration_service", "modulename": "easypost.services.fedex_registration_service", "kind": "module", "doc": "
\n"}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"fullname": "easypost.services.fedex_registration_service.FedExRegistrationService", "modulename": "easypost.services.fedex_registration_service", "qualname": "FedExRegistrationService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"fullname": "easypost.services.fedex_registration_service.FedExRegistrationService.__init__", "modulename": "easypost.services.fedex_registration_service", "qualname": "FedExRegistrationService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"fullname": "easypost.services.fedex_registration_service.FedExRegistrationService.register_address", "modulename": "easypost.services.fedex_registration_service", "qualname": "FedExRegistrationService.register_address", "kind": "function", "doc": "Register the billing address for a FedEx account.
\n", "signature": "(self , fedex_account_number : str , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"fullname": "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin", "modulename": "easypost.services.fedex_registration_service", "qualname": "FedExRegistrationService.request_pin", "kind": "function", "doc": "Request a PIN for FedEx account verification.
\n", "signature": "(\tself , \tfedex_account_number : str , \tpin_method_option : str , \t** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"fullname": "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin", "modulename": "easypost.services.fedex_registration_service", "qualname": "FedExRegistrationService.validate_pin", "kind": "function", "doc": "Validate the PIN entered by the user for FedEx account verification.
\n", "signature": "(self , fedex_account_number : str , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"fullname": "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice", "modulename": "easypost.services.fedex_registration_service", "qualname": "FedExRegistrationService.submit_invoice", "kind": "function", "doc": "Submit invoice information to complete FedEx account registration.
\n", "signature": "(self , fedex_account_number : str , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.insurance_service": {"fullname": "easypost.services.insurance_service", "modulename": "easypost.services.insurance_service", "kind": "module", "doc": "
\n"}, "easypost.services.insurance_service.InsuranceService": {"fullname": "easypost.services.insurance_service.InsuranceService", "modulename": "easypost.services.insurance_service", "qualname": "InsuranceService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.insurance_service.InsuranceService.__init__": {"fullname": "easypost.services.insurance_service.InsuranceService.__init__", "modulename": "easypost.services.insurance_service", "qualname": "InsuranceService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.insurance_service.InsuranceService.create": {"fullname": "easypost.services.insurance_service.InsuranceService.create", "modulename": "easypost.services.insurance_service", "qualname": "InsuranceService.create", "kind": "function", "doc": "Create an Insurance.
\n", "signature": "(self , ** params ) -> easypost . models . insurance . Insurance : ", "funcdef": "def"}, "easypost.services.insurance_service.InsuranceService.all": {"fullname": "easypost.services.insurance_service.InsuranceService.all", "modulename": "easypost.services.insurance_service", "qualname": "InsuranceService.all", "kind": "function", "doc": "Retrieve a list of Insurances.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.insurance_service.InsuranceService.retrieve": {"fullname": "easypost.services.insurance_service.InsuranceService.retrieve", "modulename": "easypost.services.insurance_service", "qualname": "InsuranceService.retrieve", "kind": "function", "doc": "Retrieve an Insurance.
\n", "signature": "(self , id : str ) -> easypost . models . insurance . Insurance : ", "funcdef": "def"}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"fullname": "easypost.services.insurance_service.InsuranceService.get_next_page", "modulename": "easypost.services.insurance_service", "qualname": "InsuranceService.get_next_page", "kind": "function", "doc": "Retrieve the next page of the list Insurance response.
\n", "signature": "(\tself , \tinsurances : dict [ str , typing . Any ] , \tpage_size : int , \toptional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.insurance_service.InsuranceService.refund": {"fullname": "easypost.services.insurance_service.InsuranceService.refund", "modulename": "easypost.services.insurance_service", "qualname": "InsuranceService.refund", "kind": "function", "doc": "
\n", "signature": "(self , id : str ) -> easypost . models . insurance . Insurance : ", "funcdef": "def"}, "easypost.services.luma_service": {"fullname": "easypost.services.luma_service", "modulename": "easypost.services.luma_service", "kind": "module", "doc": "
\n"}, "easypost.services.luma_service.LumaService": {"fullname": "easypost.services.luma_service.LumaService", "modulename": "easypost.services.luma_service", "qualname": "LumaService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.luma_service.LumaService.__init__": {"fullname": "easypost.services.luma_service.LumaService.__init__", "modulename": "easypost.services.luma_service", "qualname": "LumaService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.luma_service.LumaService.get_promise": {"fullname": "easypost.services.luma_service.LumaService.get_promise", "modulename": "easypost.services.luma_service", "qualname": "LumaService.get_promise", "kind": "function", "doc": "Get service recommendations from Luma that meet the criteria of your ruleset.
\n", "signature": "(\tself , \t** params : dict [ str , typing . Any ] ) -> easypost . models . shipment . Shipment : ", "funcdef": "def"}, "easypost.services.order_service": {"fullname": "easypost.services.order_service", "modulename": "easypost.services.order_service", "kind": "module", "doc": "
\n"}, "easypost.services.order_service.OrderService": {"fullname": "easypost.services.order_service.OrderService", "modulename": "easypost.services.order_service", "qualname": "OrderService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.order_service.OrderService.__init__": {"fullname": "easypost.services.order_service.OrderService.__init__", "modulename": "easypost.services.order_service", "qualname": "OrderService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.order_service.OrderService.create": {"fullname": "easypost.services.order_service.OrderService.create", "modulename": "easypost.services.order_service", "qualname": "OrderService.create", "kind": "function", "doc": "Create an Order.
\n", "signature": "(self , ** params ) -> easypost . models . order . Order : ", "funcdef": "def"}, "easypost.services.order_service.OrderService.retrieve": {"fullname": "easypost.services.order_service.OrderService.retrieve", "modulename": "easypost.services.order_service", "qualname": "OrderService.retrieve", "kind": "function", "doc": "Retrieve an Order.
\n", "signature": "(self , id : str ) -> easypost . models . order . Order : ", "funcdef": "def"}, "easypost.services.order_service.OrderService.get_rates": {"fullname": "easypost.services.order_service.OrderService.get_rates", "modulename": "easypost.services.order_service", "qualname": "OrderService.get_rates", "kind": "function", "doc": "Get rates for an Order.
\n", "signature": "(self , id : str ) -> easypost . models . order . Order : ", "funcdef": "def"}, "easypost.services.order_service.OrderService.buy": {"fullname": "easypost.services.order_service.OrderService.buy", "modulename": "easypost.services.order_service", "qualname": "OrderService.buy", "kind": "function", "doc": "Buy an Order.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . order . Order : ", "funcdef": "def"}, "easypost.services.parcel_service": {"fullname": "easypost.services.parcel_service", "modulename": "easypost.services.parcel_service", "kind": "module", "doc": "
\n"}, "easypost.services.parcel_service.ParcelService": {"fullname": "easypost.services.parcel_service.ParcelService", "modulename": "easypost.services.parcel_service", "qualname": "ParcelService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.parcel_service.ParcelService.__init__": {"fullname": "easypost.services.parcel_service.ParcelService.__init__", "modulename": "easypost.services.parcel_service", "qualname": "ParcelService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.parcel_service.ParcelService.create": {"fullname": "easypost.services.parcel_service.ParcelService.create", "modulename": "easypost.services.parcel_service", "qualname": "ParcelService.create", "kind": "function", "doc": "Create a Parcel.
\n", "signature": "(self , ** params ) -> easypost . models . parcel . Parcel : ", "funcdef": "def"}, "easypost.services.parcel_service.ParcelService.retrieve": {"fullname": "easypost.services.parcel_service.ParcelService.retrieve", "modulename": "easypost.services.parcel_service", "qualname": "ParcelService.retrieve", "kind": "function", "doc": "Retrieve a Parcel.
\n", "signature": "(self , id : str ) -> easypost . models . parcel . Parcel : ", "funcdef": "def"}, "easypost.services.pickup_service": {"fullname": "easypost.services.pickup_service", "modulename": "easypost.services.pickup_service", "kind": "module", "doc": "
\n"}, "easypost.services.pickup_service.PickupService": {"fullname": "easypost.services.pickup_service.PickupService", "modulename": "easypost.services.pickup_service", "qualname": "PickupService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.pickup_service.PickupService.__init__": {"fullname": "easypost.services.pickup_service.PickupService.__init__", "modulename": "easypost.services.pickup_service", "qualname": "PickupService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.pickup_service.PickupService.create": {"fullname": "easypost.services.pickup_service.PickupService.create", "modulename": "easypost.services.pickup_service", "qualname": "PickupService.create", "kind": "function", "doc": "Create a Pickup.
\n", "signature": "(self , ** params ) -> easypost . models . pickup . Pickup : ", "funcdef": "def"}, "easypost.services.pickup_service.PickupService.all": {"fullname": "easypost.services.pickup_service.PickupService.all", "modulename": "easypost.services.pickup_service", "qualname": "PickupService.all", "kind": "function", "doc": "Retrieve a list of Pickups.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.pickup_service.PickupService.retrieve": {"fullname": "easypost.services.pickup_service.PickupService.retrieve", "modulename": "easypost.services.pickup_service", "qualname": "PickupService.retrieve", "kind": "function", "doc": "Retrieve a Pickup.
\n", "signature": "(self , id : str ) -> easypost . models . pickup . Pickup : ", "funcdef": "def"}, "easypost.services.pickup_service.PickupService.get_next_page": {"fullname": "easypost.services.pickup_service.PickupService.get_next_page", "modulename": "easypost.services.pickup_service", "qualname": "PickupService.get_next_page", "kind": "function", "doc": "Retrieve the next page of the list Pickup response.
\n", "signature": "(\tself , \tpickups : dict [ str , typing . Any ] , \tpage_size : int , \toptional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.pickup_service.PickupService.buy": {"fullname": "easypost.services.pickup_service.PickupService.buy", "modulename": "easypost.services.pickup_service", "qualname": "PickupService.buy", "kind": "function", "doc": "Buy a Pickup.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . pickup . Pickup : ", "funcdef": "def"}, "easypost.services.pickup_service.PickupService.cancel": {"fullname": "easypost.services.pickup_service.PickupService.cancel", "modulename": "easypost.services.pickup_service", "qualname": "PickupService.cancel", "kind": "function", "doc": "Cancel a Pickup.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . pickup . Pickup : ", "funcdef": "def"}, "easypost.services.rate_service": {"fullname": "easypost.services.rate_service", "modulename": "easypost.services.rate_service", "kind": "module", "doc": "
\n"}, "easypost.services.rate_service.RateService": {"fullname": "easypost.services.rate_service.RateService", "modulename": "easypost.services.rate_service", "qualname": "RateService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.rate_service.RateService.__init__": {"fullname": "easypost.services.rate_service.RateService.__init__", "modulename": "easypost.services.rate_service", "qualname": "RateService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.rate_service.RateService.retrieve": {"fullname": "easypost.services.rate_service.RateService.retrieve", "modulename": "easypost.services.rate_service", "qualname": "RateService.retrieve", "kind": "function", "doc": "Retrieve a Rate.
\n", "signature": "(self , id : str ) -> easypost . models . rate . Rate : ", "funcdef": "def"}, "easypost.services.referral_customer_service": {"fullname": "easypost.services.referral_customer_service", "modulename": "easypost.services.referral_customer_service", "kind": "module", "doc": "
\n"}, "easypost.services.referral_customer_service.ReferralCustomerService": {"fullname": "easypost.services.referral_customer_service.ReferralCustomerService", "modulename": "easypost.services.referral_customer_service", "qualname": "ReferralCustomerService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"fullname": "easypost.services.referral_customer_service.ReferralCustomerService.__init__", "modulename": "easypost.services.referral_customer_service", "qualname": "ReferralCustomerService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"fullname": "easypost.services.referral_customer_service.ReferralCustomerService.create", "modulename": "easypost.services.referral_customer_service", "qualname": "ReferralCustomerService.create", "kind": "function", "doc": "Create a referral customer.
\n\nThis function requires the Partner User's API key.
\n", "signature": "(self , ** params ) -> easypost . models . user . User : ", "funcdef": "def"}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"fullname": "easypost.services.referral_customer_service.ReferralCustomerService.update_email", "modulename": "easypost.services.referral_customer_service", "qualname": "ReferralCustomerService.update_email", "kind": "function", "doc": "Update a referral customer.
\n\nThis function requires the Partner User's API key.
\n", "signature": "(self , id : str , email : str ) -> None : ", "funcdef": "def"}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"fullname": "easypost.services.referral_customer_service.ReferralCustomerService.all", "modulename": "easypost.services.referral_customer_service", "qualname": "ReferralCustomerService.all", "kind": "function", "doc": "Retrieve a list of referral customers.
\n\nThis function requires the Partner User's API key.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"fullname": "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page", "modulename": "easypost.services.referral_customer_service", "qualname": "ReferralCustomerService.get_next_page", "kind": "function", "doc": "Retrieve next page of referral customers.
\n", "signature": "(\tself , \treferral_customers : dict [ str , typing . Any ] , \tpage_size : int , \toptional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"fullname": "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe", "modulename": "easypost.services.referral_customer_service", "qualname": "ReferralCustomerService.add_credit_card_from_stripe", "kind": "function", "doc": "Add a credit card to EasyPost for a ReferralCustomer with a payment method ID from Stripe.
\n\nThis function requires the ReferralCustomer User's API key.
\n", "signature": "(\tself , \treferral_api_key : str , \tpayment_method_id : str , \tpriority : str = 'primary' ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"fullname": "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe", "modulename": "easypost.services.referral_customer_service", "qualname": "ReferralCustomerService.add_bank_account_from_stripe", "kind": "function", "doc": "Add a bank account to EasyPost for a ReferralCustomer.
\n\nThis function requires the ReferralCustomer User's API key.
\n", "signature": "(\tself , \treferral_api_key : str , \tfinancial_connections_id : str , \tmandate_data : dict [ str , typing . Any ] , \tpriority : str = 'primary' ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"fullname": "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key", "modulename": "easypost.services.referral_customer_service", "qualname": "ReferralCustomerService.retrieve_easypost_stripe_api_key", "kind": "function", "doc": "Retrieve EasyPost's Stripe public API key.
\n", "signature": "(self ) -> str : ", "funcdef": "def"}, "easypost.services.refund_service": {"fullname": "easypost.services.refund_service", "modulename": "easypost.services.refund_service", "kind": "module", "doc": "
\n"}, "easypost.services.refund_service.RefundService": {"fullname": "easypost.services.refund_service.RefundService", "modulename": "easypost.services.refund_service", "qualname": "RefundService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.refund_service.RefundService.__init__": {"fullname": "easypost.services.refund_service.RefundService.__init__", "modulename": "easypost.services.refund_service", "qualname": "RefundService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.refund_service.RefundService.create": {"fullname": "easypost.services.refund_service.RefundService.create", "modulename": "easypost.services.refund_service", "qualname": "RefundService.create", "kind": "function", "doc": "Create a Shipment Refund.
\n", "signature": "(self , ** params ) -> easypost . models . refund . Refund : ", "funcdef": "def"}, "easypost.services.refund_service.RefundService.all": {"fullname": "easypost.services.refund_service.RefundService.all", "modulename": "easypost.services.refund_service", "qualname": "RefundService.all", "kind": "function", "doc": "Retrieve a list of Shipment Refunds.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.refund_service.RefundService.retrieve": {"fullname": "easypost.services.refund_service.RefundService.retrieve", "modulename": "easypost.services.refund_service", "qualname": "RefundService.retrieve", "kind": "function", "doc": "Retrieve a Shipment Refund.
\n", "signature": "(self , id : str ) -> easypost . models . refund . Refund : ", "funcdef": "def"}, "easypost.services.refund_service.RefundService.get_next_page": {"fullname": "easypost.services.refund_service.RefundService.get_next_page", "modulename": "easypost.services.refund_service", "qualname": "RefundService.get_next_page", "kind": "function", "doc": "Retrieve the next page of the list Refund response.
\n", "signature": "(\tself , \trefunds : dict [ str , typing . Any ] , \tpage_size : int , \toptional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.report_service": {"fullname": "easypost.services.report_service", "modulename": "easypost.services.report_service", "kind": "module", "doc": "
\n"}, "easypost.services.report_service.ReportService": {"fullname": "easypost.services.report_service.ReportService", "modulename": "easypost.services.report_service", "qualname": "ReportService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.report_service.ReportService.__init__": {"fullname": "easypost.services.report_service.ReportService.__init__", "modulename": "easypost.services.report_service", "qualname": "ReportService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.report_service.ReportService.create": {"fullname": "easypost.services.report_service.ReportService.create", "modulename": "easypost.services.report_service", "qualname": "ReportService.create", "kind": "function", "doc": "Create a Report.
\n", "signature": "(self , ** params ) -> easypost . models . report . Report : ", "funcdef": "def"}, "easypost.services.report_service.ReportService.all": {"fullname": "easypost.services.report_service.ReportService.all", "modulename": "easypost.services.report_service", "qualname": "ReportService.all", "kind": "function", "doc": "Retrieve a list of Reports.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.report_service.ReportService.retrieve": {"fullname": "easypost.services.report_service.ReportService.retrieve", "modulename": "easypost.services.report_service", "qualname": "ReportService.retrieve", "kind": "function", "doc": "Retrieve a Report.
\n", "signature": "(self , id : str ) -> easypost . models . report . Report : ", "funcdef": "def"}, "easypost.services.report_service.ReportService.get_next_page": {"fullname": "easypost.services.report_service.ReportService.get_next_page", "modulename": "easypost.services.report_service", "qualname": "ReportService.get_next_page", "kind": "function", "doc": "Retrieve the next page of the list Report response.
\n", "signature": "(\tself , \treports : dict [ str , typing . Any ] , \tpage_size : int | None = None , \toptional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.scan_form_service": {"fullname": "easypost.services.scan_form_service", "modulename": "easypost.services.scan_form_service", "kind": "module", "doc": "
\n"}, "easypost.services.scan_form_service.ScanFormService": {"fullname": "easypost.services.scan_form_service.ScanFormService", "modulename": "easypost.services.scan_form_service", "qualname": "ScanFormService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.scan_form_service.ScanFormService.__init__": {"fullname": "easypost.services.scan_form_service.ScanFormService.__init__", "modulename": "easypost.services.scan_form_service", "qualname": "ScanFormService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.scan_form_service.ScanFormService.create": {"fullname": "easypost.services.scan_form_service.ScanFormService.create", "modulename": "easypost.services.scan_form_service", "qualname": "ScanFormService.create", "kind": "function", "doc": "Create a ScanForm.
\n", "signature": "(self , ** params ) -> easypost . models . scan_form . ScanForm : ", "funcdef": "def"}, "easypost.services.scan_form_service.ScanFormService.all": {"fullname": "easypost.services.scan_form_service.ScanFormService.all", "modulename": "easypost.services.scan_form_service", "qualname": "ScanFormService.all", "kind": "function", "doc": "Retrieve a list of ScanForms.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"fullname": "easypost.services.scan_form_service.ScanFormService.retrieve", "modulename": "easypost.services.scan_form_service", "qualname": "ScanFormService.retrieve", "kind": "function", "doc": "Retrieve a ScanForm.
\n", "signature": "(self , id : str ) -> easypost . models . scan_form . ScanForm : ", "funcdef": "def"}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"fullname": "easypost.services.scan_form_service.ScanFormService.get_next_page", "modulename": "easypost.services.scan_form_service", "qualname": "ScanFormService.get_next_page", "kind": "function", "doc": "Retrieve the next page of the list ScanForm response.
\n", "signature": "(\tself , \tscan_forms : dict [ str , typing . Any ] , \tpage_size : int , \toptional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.shipment_service": {"fullname": "easypost.services.shipment_service", "modulename": "easypost.services.shipment_service", "kind": "module", "doc": "
\n"}, "easypost.services.shipment_service.ShipmentService": {"fullname": "easypost.services.shipment_service.ShipmentService", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.shipment_service.ShipmentService.__init__": {"fullname": "easypost.services.shipment_service.ShipmentService.__init__", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.shipment_service.ShipmentService.create": {"fullname": "easypost.services.shipment_service.ShipmentService.create", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.create", "kind": "function", "doc": "Create a Shipment.
\n", "signature": "(self , ** params ) -> easypost . models . shipment . Shipment : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.all": {"fullname": "easypost.services.shipment_service.ShipmentService.all", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.all", "kind": "function", "doc": "Retrieve a list of Shipments.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.retrieve": {"fullname": "easypost.services.shipment_service.ShipmentService.retrieve", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.retrieve", "kind": "function", "doc": "Retrieve a Shipment.
\n", "signature": "(self , id : str ) -> easypost . models . shipment . Shipment : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"fullname": "easypost.services.shipment_service.ShipmentService.get_next_page", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.get_next_page", "kind": "function", "doc": "Get next page of shipment collection.
\n", "signature": "(\tself , \tshipments : dict [ str , typing . Any ] , \tpage_size : int , \toptional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"fullname": "easypost.services.shipment_service.ShipmentService.regenerate_rates", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.regenerate_rates", "kind": "function", "doc": "Regenerate Rates for a Shipment.
\n", "signature": "(self , id : str ) -> dict [ str , list [ easypost . models . rate . Rate ]] : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"fullname": "easypost.services.shipment_service.ShipmentService.get_smart_rates", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.get_smart_rates", "kind": "function", "doc": "Get SmartRates for a Shipment.
\n", "signature": "(self , id : str ) -> list [ easypost . models . rate . Rate ] : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.buy": {"fullname": "easypost.services.shipment_service.ShipmentService.buy", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.buy", "kind": "function", "doc": "Buy a Shipment.
\n", "signature": "(\tself , \tid : str , \tend_shipper_id : str | None = None , \t** params ) -> easypost . models . shipment . Shipment : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.refund": {"fullname": "easypost.services.shipment_service.ShipmentService.refund", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.refund", "kind": "function", "doc": "Refund a Shipment.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . shipment . Shipment : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.insure": {"fullname": "easypost.services.shipment_service.ShipmentService.insure", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.insure", "kind": "function", "doc": "Insure a Shipment.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . shipment . Shipment : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.label": {"fullname": "easypost.services.shipment_service.ShipmentService.label", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.label", "kind": "function", "doc": "Convert the label format of a Shipment.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . shipment . Shipment : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"fullname": "easypost.services.shipment_service.ShipmentService.lowest_smart_rate", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.lowest_smart_rate", "kind": "function", "doc": "Get the lowest SmartRate of a Shipment.
\n", "signature": "(\tself , \tid : str , \tdelivery_days : int , \tdelivery_accuracy : str ) -> easypost . models . rate . Rate : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.generate_form": {"fullname": "easypost.services.shipment_service.ShipmentService.generate_form", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.generate_form", "kind": "function", "doc": "Generate a form for a Shipment.
\n", "signature": "(\tself , \tid : str , \tform_type : str , \tform_options : dict [ str , Any ] | None = {} ) -> easypost . models . shipment . Shipment : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"fullname": "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.retrieve_estimated_delivery_date", "kind": "function", "doc": "Retrieves the estimated delivery date of each Rate via SmartRate.
\n", "signature": "(self , id : str , planned_ship_date : str ) -> list [ dict [ str , typing . Any ]] : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"fullname": "easypost.services.shipment_service.ShipmentService.recommend_ship_date", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.recommend_ship_date", "kind": "function", "doc": "Retrieve a recommended ship date for an existing Shipment via the Precision Shipping API,\nbased on a specific desired delivery date.
\n", "signature": "(self , id : str , desired_delivery_date : str ) -> list [ dict [ str , typing . Any ]] : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"fullname": "easypost.services.shipment_service.ShipmentService.create_and_buy_luma", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.create_and_buy_luma", "kind": "function", "doc": "Create and buy a Luma Shipment in one call.
\n", "signature": "(\tself , \t** params : dict [ str , typing . Any ] ) -> easypost . models . shipment . Shipment : ", "funcdef": "def"}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"fullname": "easypost.services.shipment_service.ShipmentService.buy_luma", "modulename": "easypost.services.shipment_service", "qualname": "ShipmentService.buy_luma", "kind": "function", "doc": "Buy a Shipment with Luma.
\n", "signature": "(\tself , \tid : str , \t** params : dict [ str , typing . Any ] ) -> easypost . models . shipment . Shipment : ", "funcdef": "def"}, "easypost.services.smartrate_service": {"fullname": "easypost.services.smartrate_service", "modulename": "easypost.services.smartrate_service", "kind": "module", "doc": "
\n"}, "easypost.services.smartrate_service.SmartRateService": {"fullname": "easypost.services.smartrate_service.SmartRateService", "modulename": "easypost.services.smartrate_service", "qualname": "SmartRateService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.smartrate_service.SmartRateService.__init__": {"fullname": "easypost.services.smartrate_service.SmartRateService.__init__", "modulename": "easypost.services.smartrate_service", "qualname": "SmartRateService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"fullname": "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date", "modulename": "easypost.services.smartrate_service", "qualname": "SmartRateService.estimate_delivery_date", "kind": "function", "doc": "Retrieve the estimated delivery date of each carrier-service level combination via the\nSmart Deliver By API, based on a specific ship date and origin-destination postal code pair.
\n", "signature": "(self , ** params ) -> list [ dict [ str , typing . Any ]] : ", "funcdef": "def"}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"fullname": "easypost.services.smartrate_service.SmartRateService.recommend_ship_date", "modulename": "easypost.services.smartrate_service", "qualname": "SmartRateService.recommend_ship_date", "kind": "function", "doc": "Retrieve a recommended ship date for each carrier-service level combination via the\nSmart Deliver On API, based on a specific delivery date and origin-destination postal code pair.
\n", "signature": "(self , ** params ) -> list [ dict [ str , typing . Any ]] : ", "funcdef": "def"}, "easypost.services.tracker_service": {"fullname": "easypost.services.tracker_service", "modulename": "easypost.services.tracker_service", "kind": "module", "doc": "
\n"}, "easypost.services.tracker_service.TrackerService": {"fullname": "easypost.services.tracker_service.TrackerService", "modulename": "easypost.services.tracker_service", "qualname": "TrackerService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.tracker_service.TrackerService.__init__": {"fullname": "easypost.services.tracker_service.TrackerService.__init__", "modulename": "easypost.services.tracker_service", "qualname": "TrackerService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.tracker_service.TrackerService.create": {"fullname": "easypost.services.tracker_service.TrackerService.create", "modulename": "easypost.services.tracker_service", "qualname": "TrackerService.create", "kind": "function", "doc": "Create a Tracker.
\n", "signature": "(self , ** params ) -> easypost . models . tracker . Tracker : ", "funcdef": "def"}, "easypost.services.tracker_service.TrackerService.all": {"fullname": "easypost.services.tracker_service.TrackerService.all", "modulename": "easypost.services.tracker_service", "qualname": "TrackerService.all", "kind": "function", "doc": "Retrieve a list of Trackers.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"fullname": "easypost.services.tracker_service.TrackerService.retrieve_batch", "modulename": "easypost.services.tracker_service", "qualname": "TrackerService.retrieve_batch", "kind": "function", "doc": "Retrieve a batch of Trackers.
\n", "signature": "(self , ** params ) -> easypost . models . tracker . Tracker : ", "funcdef": "def"}, "easypost.services.tracker_service.TrackerService.retrieve": {"fullname": "easypost.services.tracker_service.TrackerService.retrieve", "modulename": "easypost.services.tracker_service", "qualname": "TrackerService.retrieve", "kind": "function", "doc": "Retrieve a Tracker.
\n", "signature": "(self , id : str ) -> easypost . models . tracker . Tracker : ", "funcdef": "def"}, "easypost.services.tracker_service.TrackerService.get_next_page": {"fullname": "easypost.services.tracker_service.TrackerService.get_next_page", "modulename": "easypost.services.tracker_service", "qualname": "TrackerService.get_next_page", "kind": "function", "doc": "Retrieve the next page of the list Tracker response.
\n", "signature": "(\tself , \ttrackers : dict [ str , typing . Any ] , \tpage_size : int , \toptional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.tracker_service.TrackerService.delete": {"fullname": "easypost.services.tracker_service.TrackerService.delete", "modulename": "easypost.services.tracker_service", "qualname": "TrackerService.delete", "kind": "function", "doc": "Delete a Tracker.
\n", "signature": "(self , id : str ) -> None : ", "funcdef": "def"}, "easypost.services.user_service": {"fullname": "easypost.services.user_service", "modulename": "easypost.services.user_service", "kind": "module", "doc": "
\n"}, "easypost.services.user_service.UserService": {"fullname": "easypost.services.user_service.UserService", "modulename": "easypost.services.user_service", "qualname": "UserService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.user_service.UserService.__init__": {"fullname": "easypost.services.user_service.UserService.__init__", "modulename": "easypost.services.user_service", "qualname": "UserService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.user_service.UserService.create": {"fullname": "easypost.services.user_service.UserService.create", "modulename": "easypost.services.user_service", "qualname": "UserService.create", "kind": "function", "doc": "Create a User.
\n", "signature": "(self , ** params ) -> easypost . models . user . User : ", "funcdef": "def"}, "easypost.services.user_service.UserService.all": {"fullname": "easypost.services.user_service.UserService.all", "modulename": "easypost.services.user_service", "qualname": "UserService.all", "kind": "function", "doc": "Retrieve a list of Users.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.user_service.UserService.retrieve": {"fullname": "easypost.services.user_service.UserService.retrieve", "modulename": "easypost.services.user_service", "qualname": "UserService.retrieve", "kind": "function", "doc": "Retrieve a User.
\n\nIf no id is passed, retrieve the authenticated User.
\n", "signature": "(self , id : str | None = None ) -> easypost . models . user . User : ", "funcdef": "def"}, "easypost.services.user_service.UserService.update": {"fullname": "easypost.services.user_service.UserService.update", "modulename": "easypost.services.user_service", "qualname": "UserService.update", "kind": "function", "doc": "Update a User.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . user . User : ", "funcdef": "def"}, "easypost.services.user_service.UserService.delete": {"fullname": "easypost.services.user_service.UserService.delete", "modulename": "easypost.services.user_service", "qualname": "UserService.delete", "kind": "function", "doc": "Delete a User.
\n", "signature": "(self , id : str ) -> None : ", "funcdef": "def"}, "easypost.services.user_service.UserService.retrieve_me": {"fullname": "easypost.services.user_service.UserService.retrieve_me", "modulename": "easypost.services.user_service", "qualname": "UserService.retrieve_me", "kind": "function", "doc": "Retrieve the authenticated User.
\n", "signature": "(self ) -> easypost . models . user . User : ", "funcdef": "def"}, "easypost.services.user_service.UserService.update_brand": {"fullname": "easypost.services.user_service.UserService.update_brand", "modulename": "easypost.services.user_service", "qualname": "UserService.update_brand", "kind": "function", "doc": "Update a User's Brand.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . user . User : ", "funcdef": "def"}, "easypost.services.user_service.UserService.all_children": {"fullname": "easypost.services.user_service.UserService.all_children", "modulename": "easypost.services.user_service", "qualname": "UserService.all_children", "kind": "function", "doc": "Retrieve a paginated list of children from the API.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.user_service.UserService.get_next_page_of_children": {"fullname": "easypost.services.user_service.UserService.get_next_page_of_children", "modulename": "easypost.services.user_service", "qualname": "UserService.get_next_page_of_children", "kind": "function", "doc": "Retrieve the next page of the list Children response.
\n", "signature": "(\tself , \tchildren : dict [ str , typing . Any ] , \tpage_size : int , \toptional_params : dict [ str , Any ] | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.webhook_service": {"fullname": "easypost.services.webhook_service", "modulename": "easypost.services.webhook_service", "kind": "module", "doc": "
\n"}, "easypost.services.webhook_service.WebhookService": {"fullname": "easypost.services.webhook_service.WebhookService", "modulename": "easypost.services.webhook_service", "qualname": "WebhookService", "kind": "class", "doc": "The base service that all other services inherit containing shared logic.
\n", "bases": "easypost.services.base_service.BaseService"}, "easypost.services.webhook_service.WebhookService.__init__": {"fullname": "easypost.services.webhook_service.WebhookService.__init__", "modulename": "easypost.services.webhook_service", "qualname": "WebhookService.__init__", "kind": "function", "doc": "
\n", "signature": "(client ) "}, "easypost.services.webhook_service.WebhookService.create": {"fullname": "easypost.services.webhook_service.WebhookService.create", "modulename": "easypost.services.webhook_service", "qualname": "WebhookService.create", "kind": "function", "doc": "Create a Webhook.
\n", "signature": "(self , ** params ) -> easypost . models . webhook . Webhook : ", "funcdef": "def"}, "easypost.services.webhook_service.WebhookService.all": {"fullname": "easypost.services.webhook_service.WebhookService.all", "modulename": "easypost.services.webhook_service", "qualname": "WebhookService.all", "kind": "function", "doc": "Retrieve a list of Webhooks.
\n", "signature": "(self , ** params ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.services.webhook_service.WebhookService.retrieve": {"fullname": "easypost.services.webhook_service.WebhookService.retrieve", "modulename": "easypost.services.webhook_service", "qualname": "WebhookService.retrieve", "kind": "function", "doc": "Retrieve a Webhook.
\n", "signature": "(self , id : str ) -> easypost . models . webhook . Webhook : ", "funcdef": "def"}, "easypost.services.webhook_service.WebhookService.update": {"fullname": "easypost.services.webhook_service.WebhookService.update", "modulename": "easypost.services.webhook_service", "qualname": "WebhookService.update", "kind": "function", "doc": "Update a Webhook.
\n", "signature": "(self , id : str , ** params ) -> easypost . models . webhook . Webhook : ", "funcdef": "def"}, "easypost.services.webhook_service.WebhookService.delete": {"fullname": "easypost.services.webhook_service.WebhookService.delete", "modulename": "easypost.services.webhook_service", "qualname": "WebhookService.delete", "kind": "function", "doc": "Delete a Webhook.
\n", "signature": "(self , id : str ) -> None : ", "funcdef": "def"}, "easypost.util": {"fullname": "easypost.util", "modulename": "easypost.util", "kind": "module", "doc": "
\n"}, "easypost.util.get_lowest_object_rate": {"fullname": "easypost.util.get_lowest_object_rate", "modulename": "easypost.util", "qualname": "get_lowest_object_rate", "kind": "function", "doc": "Gets the lowest rate of an EasyPost object such as a Shipment, Order, or Pickup.
\n", "signature": "(\teasypost_object : easypost . easypost_object . EasyPostObject | dict [ str , Any ] , \tcarriers : list [ str ] | None = None , \tservices : list [ str ] | None = None , \trates_key : str = 'rates' ) -> easypost . models . rate . Rate : ", "funcdef": "def"}, "easypost.util.get_lowest_smart_rate": {"fullname": "easypost.util.get_lowest_smart_rate", "modulename": "easypost.util", "qualname": "get_lowest_smart_rate", "kind": "function", "doc": "Get the lowest SmartRate from a list of SmartRates.
\n", "signature": "(\tsmart_rates : list [ easypost . models . rate . Rate ] , \tdelivery_days : int , \tdelivery_accuracy : str ) -> easypost . models . rate . Rate : ", "funcdef": "def"}, "easypost.util.get_lowest_stateless_rate": {"fullname": "easypost.util.get_lowest_stateless_rate", "modulename": "easypost.util", "qualname": "get_lowest_stateless_rate", "kind": "function", "doc": "Get the lowest stateless rate.
\n", "signature": "(\tstateless_rates : list [ dict [ str , typing . Any ]] , \tcarriers : list [ str ] | None = None , \tservices : list [ str ] | None = None ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}, "easypost.util.receive_event": {"fullname": "easypost.util.receive_event", "modulename": "easypost.util", "qualname": "receive_event", "kind": "function", "doc": "Receives a raw Webhook event and converts it to JSON.
\n", "signature": "(raw_input : str ): ", "funcdef": "def"}, "easypost.util.validate_webhook": {"fullname": "easypost.util.validate_webhook", "modulename": "easypost.util", "qualname": "validate_webhook", "kind": "function", "doc": "Validate a webhook by comparing the HMAC signature header sent from EasyPost to your shared secret.\nIf the signatures do not match, an error will be raised signifying the webhook either did not originate\nfrom EasyPost or the secrets do not match. If the signatures do match, the event_body will be returned\nas JSON.
\n", "signature": "(\tevent_body : bytes , \theaders : dict [ str , typing . Any ] , \twebhook_secret : str ) -> dict [ str , typing . Any ] : ", "funcdef": "def"}}, "docInfo": {"easypost": {"qualname": 0, "fullname": 1, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.version_info": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 11, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.VERSION": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.VERSION_INFO": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 11, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.API_BASE": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.API_VERSION": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 5, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.AUTHOR": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 9, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.SUPPORT_EMAIL": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 6, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.TIMEOUT": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 1, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.COMMUNICATION_ERROR": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 22, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 13, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 14, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.INVALID_REQUEST_LIB_ERROR": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 14, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 14, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 11, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 26, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 10, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.INVALID_SIGNATURE_ERROR": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 12, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 17, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.MISSING_PARAMETER_ERROR": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 8, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.NO_ATTRIBUTE_ERROR": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 10, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.NO_BILLING_ERROR": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 17, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.NO_MORE_PAGES_ERROR": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 11, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.NO_RATES_ERROR": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.NO_USER_FOUND": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 11, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 15, "signature": 0, "bases": 0, "doc": 3}, "easypost.constant.TIMEOUT_ERROR": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 18}, "easypost.easypost_client.EasyPostClient.__init__": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 57, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.api_key": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.api_base": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.timeout": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.address": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.api_keys": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.batch": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.beta_rate": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.beta_referral_customer": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.billing": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.carrier_account": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.carrier_metadata": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.claim": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.customer_portal": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.customs_info": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.customs_item": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.embeddable": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.end_shipper": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.event": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.fedex_registration": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.insurance": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.luma": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.order": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.parcel": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.rate": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.pickup": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.referral_customer": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.refund": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.report": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.scan_form": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.shipment": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.smart_rate": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.tracker": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.user": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.webhook": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"qualname": 5, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 16, "bases": 0, "doc": 11}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"qualname": 5, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 16, "bases": 0, "doc": 11}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"qualname": 5, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 16, "bases": 0, "doc": 11}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"qualname": 5, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 16, "bases": 0, "doc": 11}, "easypost.easypost_client.EasyPostClient.make_api_call": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 92, "bases": 0, "doc": 66}, "easypost.easypost_object": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"qualname": 8, "fullname": 11, "annotation": 4, "default_value": 212, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"qualname": 4, "fullname": 7, "annotation": 4, "default_value": 44, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_object.convert_to_easypost_object": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 76, "bases": 0, "doc": 9}, "easypost.easypost_object.EasyPostObject": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_object.EasyPostObject.__init__": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 84, "bases": 0, "doc": 3}, "easypost.easypost_object.EasyPostObject.get": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 3}, "easypost.easypost_object.EasyPostObject.setdefault": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 3}, "easypost.easypost_object.EasyPostObject.keys": {"qualname": 2, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_object.EasyPostObject.values": {"qualname": 2, "fullname": 5, "annotation": 3, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.easypost_object.EasyPostObject.construct_from": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 85, "bases": 0, "doc": 12}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 41, "bases": 0, "doc": 12}, "easypost.easypost_object.EasyPostObject.to_json": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 37, "bases": 0, "doc": 9}, "easypost.easypost_object.EasyPostObject.to_dict": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 9}, "easypost.easypost_object.EasyPostObjectEncoder": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 3, "doc": 141}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 24, "bases": 0, "doc": 9}, "easypost.errors": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.api_error": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.api_error.ApiError": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.api_error.ApiError.__init__": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 149, "bases": 0, "doc": 3}, "easypost.errors.api.api_error.ApiError.message": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.api_error.ApiError.errors": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.api_error.ApiError.code": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.api_error.ApiError.http_status": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.api_error.ApiError.http_body": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.bad_request_error": {"qualname": 0, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.bad_request_error.BadRequestError": {"qualname": 1, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.encoding_error": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.encoding_error.EncodingError": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.external_api_error": {"qualname": 0, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.external_api_error.ExternalApiError": {"qualname": 1, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.forbidden_error": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.forbidden_error.ForbiddenError": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.gateway_timeout_error": {"qualname": 0, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"qualname": 1, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.http_error": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.http_error.HttpError": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.internal_server_error": {"qualname": 0, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.internal_server_error.InternalServerError": {"qualname": 1, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.invalid_request_error": {"qualname": 0, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"qualname": 1, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.json_error": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.json_error.JsonError": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.method_not_allowed_error": {"qualname": 0, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"qualname": 1, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.not_found_error": {"qualname": 0, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.not_found_error.NotFoundError": {"qualname": 1, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.payment_error": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.payment_error.PaymentError": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.rate_limit_error": {"qualname": 0, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.rate_limit_error.RateLimitError": {"qualname": 1, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.redirect_error": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.redirect_error.RedirectError": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.service_unavailable_error": {"qualname": 0, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"qualname": 1, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.timeout_error": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.timeout_error.TimeoutError": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.unauthorized_error": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.api.unknown_api_error": {"qualname": 0, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"qualname": 1, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.general": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.general.easypost_error": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.general.easypost_error.EasyPostError": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 2, "doc": 13}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "easypost.errors.general.easypost_error.EasyPostError.message": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.general.end_of_pagination_error": {"qualname": 0, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"qualname": 1, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.general.filtering_error": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.general.filtering_error.FilteringError": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.general.invalid_object_error": {"qualname": 0, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"qualname": 1, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.general.invalid_parameter_error": {"qualname": 0, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"qualname": 1, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.general.missing_parameter_error": {"qualname": 0, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"qualname": 1, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.errors.general.signature_verification_error": {"qualname": 0, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"qualname": 1, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 6, "doc": 13}, "easypost.hooks": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.hooks.event_hook": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.hooks.event_hook.EventHook": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 13}, "easypost.hooks.request_hook": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.hooks.request_hook.RequestHook": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 13}, "easypost.hooks.response_hook": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.hooks.response_hook.ResponseHook": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.models": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.address": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.address.Address": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.api_key": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.api_key.ApiKey": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.batch": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.batch.Batch": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.billing": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.billing.Billing": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.brand": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.brand.Brand": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.carrier_account": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.carrier_account.CarrierAccount": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.claim": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.claim.Claim": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.customs_info": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.customs_info.CustomsInfo": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.customs_item": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.customs_item.CustomsItem": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.end_shipper": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.end_shipper.EndShipper": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.event": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.event.Event": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.insurance": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.insurance.Insurance": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.order": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.order.Order": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.order.Order.lowest_rate": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 90, "bases": 0, "doc": 10}, "easypost.models.parcel": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.parcel.Parcel": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.payload": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.payload.Payload": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.pickup": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.pickup.Pickup": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.pickup.Pickup.lowest_rate": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 90, "bases": 0, "doc": 10}, "easypost.models.pickup_rate": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.pickup_rate.PickupRate": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.postage_label": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.postage_label.PostageLabel": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.rate": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.rate.Rate": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.refund": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.refund.Refund": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.report": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.report.Report": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.scan_form": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.scan_form.ScanForm": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.shipment": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.shipment.Shipment": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.shipment.Shipment.lowest_rate": {"qualname": 3, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 90, "bases": 0, "doc": 10}, "easypost.models.tracker": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.tracker.Tracker": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.user": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.user.User": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.models.webhook": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.models.webhook.Webhook": {"qualname": 1, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 4, "doc": 3}, "easypost.requestor": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"qualname": 5, "fullname": 7, "annotation": 4, "default_value": 154, "signature": 0, "bases": 0, "doc": 3}, "easypost.requestor.RequestMethod": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 2, "doc": 3}, "easypost.requestor.RequestMethod.GET": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 9, "signature": 0, "bases": 0, "doc": 3}, "easypost.requestor.RequestMethod.POST": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 9, "signature": 0, "bases": 0, "doc": 3}, "easypost.requestor.RequestMethod.PUT": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 9, "signature": 0, "bases": 0, "doc": 3}, "easypost.requestor.RequestMethod.PATCH": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 9, "signature": 0, "bases": 0, "doc": 3}, "easypost.requestor.RequestMethod.DELETE": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 9, "signature": 0, "bases": 0, "doc": 3}, "easypost.requestor.Requestor": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.requestor.Requestor.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.requestor.Requestor.form_encode_params": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 105, "bases": 0, "doc": 14}, "easypost.requestor.Requestor.request": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 118, "bases": 0, "doc": 10}, "easypost.requestor.Requestor.request_raw": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 113, "bases": 0, "doc": 14}, "easypost.requestor.Requestor.interpret_response": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 53, "bases": 0, "doc": 12}, "easypost.requestor.Requestor.requests_request": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 132, "bases": 0, "doc": 13}, "easypost.requestor.Requestor.urlfetch_request": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 132, "bases": 0, "doc": 13}, "easypost.requestor.Requestor.handle_api_error": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 67, "bases": 0, "doc": 11}, "easypost.requestor.Requestor.encode_url_params": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 70, "bases": 0, "doc": 8}, "easypost.requestor.Requestor.add_params_to_url": {"qualname": 5, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 75, "bases": 0, "doc": 8}, "easypost.services": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.address_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.address_service.AddressService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.address_service.AddressService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.address_service.AddressService.create": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 112, "bases": 0, "doc": 6}, "easypost.services.address_service.AddressService.all": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 8}, "easypost.services.address_service.AddressService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 34, "bases": 0, "doc": 6}, "easypost.services.address_service.AddressService.create_and_verify": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 63, "bases": 0, "doc": 11}, "easypost.services.address_service.AddressService.verify": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 34, "bases": 0, "doc": 8}, "easypost.services.address_service.AddressService.get_next_page": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 109, "bases": 0, "doc": 12}, "easypost.services.api_key_service": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.api_key_service.ApiKeyService": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.api_key_service.ApiKeyService.__init__": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"qualname": 6, "fullname": 11, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 18}, "easypost.services.api_key_service.ApiKeyService.all": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 10}, "easypost.services.api_key_service.ApiKeyService.create": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 40, "bases": 0, "doc": 14}, "easypost.services.api_key_service.ApiKeyService.delete": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 24, "bases": 0, "doc": 14}, "easypost.services.api_key_service.ApiKeyService.enable": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 40, "bases": 0, "doc": 11}, "easypost.services.api_key_service.ApiKeyService.disable": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 40, "bases": 0, "doc": 11}, "easypost.services.base_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.base_service.BaseService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 14}, "easypost.services.base_service.BaseService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.batch_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.batch_service.BatchService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.batch_service.BatchService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.batch_service.BatchService.create": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 6}, "easypost.services.batch_service.BatchService.all": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 8}, "easypost.services.batch_service.BatchService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 6}, "easypost.services.batch_service.BatchService.buy": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 6}, "easypost.services.batch_service.BatchService.label": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 7}, "easypost.services.batch_service.BatchService.remove_shipments": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 8}, "easypost.services.batch_service.BatchService.add_shipments": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 8}, "easypost.services.batch_service.BatchService.create_scan_form": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 9}, "easypost.services.batch_service.BatchService.get_next_page": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 109, "bases": 0, "doc": 39}, "easypost.services.beta_rate_service": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.beta_rate_service.BetaRateService": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"qualname": 4, "fullname": 9, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 10}, "easypost.services.beta_referral_customer_service": {"qualname": 0, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"qualname": 1, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"qualname": 4, "fullname": 10, "annotation": 0, "default_value": 0, "signature": 78, "bases": 0, "doc": 62}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"qualname": 4, "fullname": 10, "annotation": 0, "default_value": 0, "signature": 42, "bases": 0, "doc": 11}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"qualname": 5, "fullname": 11, "annotation": 0, "default_value": 0, "signature": 43, "bases": 0, "doc": 16}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"qualname": 6, "fullname": 12, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 16}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"qualname": 6, "fullname": 12, "annotation": 0, "default_value": 0, "signature": 55, "bases": 0, "doc": 16}, "easypost.services.billing_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.billing_service.BillingService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.billing_service.BillingService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.billing_service.BillingService.fund_wallet": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 43, "bases": 0, "doc": 17}, "easypost.services.billing_service.BillingService.delete_payment_method": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 24, "bases": 0, "doc": 7}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 6}, "easypost.services.carrier_account_service": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.carrier_account_service.CarrierAccountService": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 37, "bases": 0, "doc": 6}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 42, "bases": 0, "doc": 8}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 40, "bases": 0, "doc": 6}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 50, "bases": 0, "doc": 6}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 24, "bases": 0, "doc": 6}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 35, "bases": 0, "doc": 12}, "easypost.services.carrier_metadata_service": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 96, "bases": 0, "doc": 16}, "easypost.services.claim_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.claim_service.ClaimService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.claim_service.ClaimService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.claim_service.ClaimService.create": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 6}, "easypost.services.claim_service.ClaimService.all": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 8}, "easypost.services.claim_service.ClaimService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 6}, "easypost.services.claim_service.ClaimService.get_next_page": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 109, "bases": 0, "doc": 12}, "easypost.services.claim_service.ClaimService.cancel": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 6}, "easypost.services.customer_portal_service": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.customer_portal_service.CustomerPortalService": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"qualname": 4, "fullname": 9, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 7}, "easypost.services.customs_info_service": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.customs_info_service.CustomsInfoService": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.customs_info_service.CustomsInfoService.create": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 37, "bases": 0, "doc": 6}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 40, "bases": 0, "doc": 6}, "easypost.services.customs_item_service": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.customs_item_service.CustomsItemService": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.customs_item_service.CustomsItemService.create": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 37, "bases": 0, "doc": 6}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 40, "bases": 0, "doc": 6}, "easypost.services.embeddable_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.embeddable_service.EmbeddableService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 7}, "easypost.services.end_shipper_service": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.end_shipper_service.EndShipperService": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.end_shipper_service.EndShipperService.create": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 6}, "easypost.services.end_shipper_service.EndShipperService.all": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 8}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 6}, "easypost.services.end_shipper_service.EndShipperService.update": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 21}, "easypost.services.event_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.event_service.EventService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.event_service.EventService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.event_service.EventService.create": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 6}, "easypost.services.event_service.EventService.all": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 8}, "easypost.services.event_service.EventService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 6}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 49, "bases": 0, "doc": 11}, "easypost.services.event_service.EventService.retrieve_payload": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 62, "bases": 0, "doc": 9}, "easypost.services.event_service.EventService.get_next_page": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 109, "bases": 0, "doc": 12}, "easypost.services.fedex_registration_service": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 50, "bases": 0, "doc": 11}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 66, "bases": 0, "doc": 10}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 50, "bases": 0, "doc": 14}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 50, "bases": 0, "doc": 11}, "easypost.services.insurance_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.insurance_service.InsuranceService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.insurance_service.InsuranceService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.insurance_service.InsuranceService.create": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 6}, "easypost.services.insurance_service.InsuranceService.all": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 8}, "easypost.services.insurance_service.InsuranceService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 6}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 109, "bases": 0, "doc": 12}, "easypost.services.insurance_service.InsuranceService.refund": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 3}, "easypost.services.luma_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.luma_service.LumaService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.luma_service.LumaService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.luma_service.LumaService.get_promise": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 60, "bases": 0, "doc": 15}, "easypost.services.order_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.order_service.OrderService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.order_service.OrderService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.order_service.OrderService.create": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 6}, "easypost.services.order_service.OrderService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 6}, "easypost.services.order_service.OrderService.get_rates": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 8}, "easypost.services.order_service.OrderService.buy": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 6}, "easypost.services.parcel_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.parcel_service.ParcelService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.parcel_service.ParcelService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.parcel_service.ParcelService.create": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 6}, "easypost.services.parcel_service.ParcelService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 6}, "easypost.services.pickup_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.pickup_service.PickupService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.pickup_service.PickupService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.pickup_service.PickupService.create": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 6}, "easypost.services.pickup_service.PickupService.all": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 8}, "easypost.services.pickup_service.PickupService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 6}, "easypost.services.pickup_service.PickupService.get_next_page": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 109, "bases": 0, "doc": 12}, "easypost.services.pickup_service.PickupService.buy": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 6}, "easypost.services.pickup_service.PickupService.cancel": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 6}, "easypost.services.rate_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.rate_service.RateService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.rate_service.RateService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.rate_service.RateService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 6}, "easypost.services.referral_customer_service": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.referral_customer_service.ReferralCustomerService": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 19}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 34, "bases": 0, "doc": 19}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 21}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"qualname": 4, "fullname": 9, "annotation": 0, "default_value": 0, "signature": 110, "bases": 0, "doc": 9}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"qualname": 6, "fullname": 11, "annotation": 0, "default_value": 0, "signature": 78, "bases": 0, "doc": 31}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"qualname": 6, "fullname": 11, "annotation": 0, "default_value": 0, "signature": 107, "bases": 0, "doc": 24}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"qualname": 6, "fullname": 11, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 10}, "easypost.services.refund_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.refund_service.RefundService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.refund_service.RefundService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.refund_service.RefundService.create": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 7}, "easypost.services.refund_service.RefundService.all": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 9}, "easypost.services.refund_service.RefundService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 7}, "easypost.services.refund_service.RefundService.get_next_page": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 109, "bases": 0, "doc": 12}, "easypost.services.report_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.report_service.ReportService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.report_service.ReportService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.report_service.ReportService.create": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 6}, "easypost.services.report_service.ReportService.all": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 8}, "easypost.services.report_service.ReportService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 6}, "easypost.services.report_service.ReportService.get_next_page": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 122, "bases": 0, "doc": 12}, "easypost.services.scan_form_service": {"qualname": 0, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.scan_form_service.ScanFormService": {"qualname": 1, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.scan_form_service.ScanFormService.__init__": {"qualname": 3, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.scan_form_service.ScanFormService.create": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 37, "bases": 0, "doc": 6}, "easypost.services.scan_form_service.ScanFormService.all": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 8}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"qualname": 2, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 40, "bases": 0, "doc": 6}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"qualname": 4, "fullname": 9, "annotation": 0, "default_value": 0, "signature": 110, "bases": 0, "doc": 12}, "easypost.services.shipment_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.shipment_service.ShipmentService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.shipment_service.ShipmentService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.shipment_service.ShipmentService.create": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 6}, "easypost.services.shipment_service.ShipmentService.all": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 8}, "easypost.services.shipment_service.ShipmentService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 6}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 109, "bases": 0, "doc": 9}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 55, "bases": 0, "doc": 8}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 45, "bases": 0, "doc": 8}, "easypost.services.shipment_service.ShipmentService.buy": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 75, "bases": 0, "doc": 6}, "easypost.services.shipment_service.ShipmentService.refund": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 6}, "easypost.services.shipment_service.ShipmentService.insure": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 6}, "easypost.services.shipment_service.ShipmentService.label": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 10}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 65, "bases": 0, "doc": 10}, "easypost.services.shipment_service.ShipmentService.generate_form": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 90, "bases": 0, "doc": 9}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"qualname": 5, "fullname": 9, "annotation": 0, "default_value": 0, "signature": 57, "bases": 0, "doc": 13}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 57, "bases": 0, "doc": 24}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"qualname": 5, "fullname": 9, "annotation": 0, "default_value": 0, "signature": 60, "bases": 0, "doc": 12}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 71, "bases": 0, "doc": 8}, "easypost.services.smartrate_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.smartrate_service.SmartRateService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.smartrate_service.SmartRateService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 42, "bases": 0, "doc": 32}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 42, "bases": 0, "doc": 32}, "easypost.services.tracker_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.tracker_service.TrackerService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.tracker_service.TrackerService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.tracker_service.TrackerService.create": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 6}, "easypost.services.tracker_service.TrackerService.all": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 8}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 8}, "easypost.services.tracker_service.TrackerService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 6}, "easypost.services.tracker_service.TrackerService.get_next_page": {"qualname": 4, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 109, "bases": 0, "doc": 12}, "easypost.services.tracker_service.TrackerService.delete": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 24, "bases": 0, "doc": 6}, "easypost.services.user_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.user_service.UserService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.user_service.UserService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.user_service.UserService.create": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 6}, "easypost.services.user_service.UserService.all": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 8}, "easypost.services.user_service.UserService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 52, "bases": 0, "doc": 18}, "easypost.services.user_service.UserService.update": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 6}, "easypost.services.user_service.UserService.delete": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 24, "bases": 0, "doc": 6}, "easypost.services.user_service.UserService.retrieve_me": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 29, "bases": 0, "doc": 7}, "easypost.services.user_service.UserService.update_brand": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 8}, "easypost.services.user_service.UserService.all_children": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 12}, "easypost.services.user_service.UserService.get_next_page_of_children": {"qualname": 6, "fullname": 10, "annotation": 0, "default_value": 0, "signature": 109, "bases": 0, "doc": 12}, "easypost.services.webhook_service": {"qualname": 0, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.services.webhook_service.WebhookService": {"qualname": 1, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 14}, "easypost.services.webhook_service.WebhookService.__init__": {"qualname": 3, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 9, "bases": 0, "doc": 3}, "easypost.services.webhook_service.WebhookService.create": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 6}, "easypost.services.webhook_service.WebhookService.all": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 8}, "easypost.services.webhook_service.WebhookService.retrieve": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 39, "bases": 0, "doc": 6}, "easypost.services.webhook_service.WebhookService.update": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 46, "bases": 0, "doc": 6}, "easypost.services.webhook_service.WebhookService.delete": {"qualname": 2, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 24, "bases": 0, "doc": 6}, "easypost.util": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "easypost.util.get_lowest_object_rate": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 146, "bases": 0, "doc": 18}, "easypost.util.get_lowest_smart_rate": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 81, "bases": 0, "doc": 12}, "easypost.util.get_lowest_stateless_rate": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 119, "bases": 0, "doc": 8}, "easypost.util.receive_event": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 17, "bases": 0, "doc": 13}, "easypost.util.validate_webhook": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 78, "bases": 0, "doc": 60}}, "length": 471, "save": true}, "index": {"qualname": {"root": {"docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 1}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"tf": 1}, "easypost.requestor.Requestor.__init__": {"tf": 1}, "easypost.services.address_service.AddressService.__init__": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.__init__": {"tf": 1}, "easypost.services.base_service.BaseService.__init__": {"tf": 1}, "easypost.services.batch_service.BatchService.__init__": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"tf": 1}, "easypost.services.billing_service.BillingService.__init__": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"tf": 1}, "easypost.services.claim_service.ClaimService.__init__": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"tf": 1}, "easypost.services.event_service.EventService.__init__": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.__init__": {"tf": 1}, "easypost.services.luma_service.LumaService.__init__": {"tf": 1}, "easypost.services.order_service.OrderService.__init__": {"tf": 1}, "easypost.services.parcel_service.ParcelService.__init__": {"tf": 1}, "easypost.services.pickup_service.PickupService.__init__": {"tf": 1}, "easypost.services.rate_service.RateService.__init__": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"tf": 1}, "easypost.services.refund_service.RefundService.__init__": {"tf": 1}, "easypost.services.report_service.ReportService.__init__": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.__init__": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.__init__": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.__init__": {"tf": 1}, "easypost.services.tracker_service.TrackerService.__init__": {"tf": 1}, "easypost.services.user_service.UserService.__init__": {"tf": 1}, "easypost.services.webhook_service.WebhookService.__init__": {"tf": 1}}, "df": 36, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.version_info": {"tf": 1}, "easypost.constant.VERSION": {"tf": 1}, "easypost.constant.VERSION_INFO": {"tf": 1}, "easypost.constant.API_VERSION": {"tf": 1}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}}, "df": 5}}}}, "i": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}}, "df": 2}}}}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}}, "df": 1}}}, "e": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 2}}}}}, "u": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}}, "df": 1, "s": {"docs": {"easypost.easypost_object.EasyPostObject.values": {"tf": 1}}, "df": 1}}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {"easypost.version_info": {"tf": 1}, "easypost.constant.VERSION_INFO": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customs_info": {"tf": 1}}, "df": 3}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}, "easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}, "easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1}, "easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}}, "df": 9, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "o": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}}, "df": 1}}}}}}}}}}}, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}, "o": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 1}}}}}, "i": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 1}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"tf": 1}, "easypost.requestor.Requestor.__init__": {"tf": 1}, "easypost.services.address_service.AddressService.__init__": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.__init__": {"tf": 1}, "easypost.services.base_service.BaseService.__init__": {"tf": 1}, "easypost.services.batch_service.BatchService.__init__": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"tf": 1}, "easypost.services.billing_service.BillingService.__init__": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"tf": 1}, "easypost.services.claim_service.ClaimService.__init__": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"tf": 1}, "easypost.services.event_service.EventService.__init__": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.__init__": {"tf": 1}, "easypost.services.luma_service.LumaService.__init__": {"tf": 1}, "easypost.services.order_service.OrderService.__init__": {"tf": 1}, "easypost.services.parcel_service.ParcelService.__init__": {"tf": 1}, "easypost.services.pickup_service.PickupService.__init__": {"tf": 1}, "easypost.services.rate_service.RateService.__init__": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"tf": 1}, "easypost.services.refund_service.RefundService.__init__": {"tf": 1}, "easypost.services.report_service.ReportService.__init__": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.__init__": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.__init__": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.__init__": {"tf": 1}, "easypost.services.tracker_service.TrackerService.__init__": {"tf": 1}, "easypost.services.user_service.UserService.__init__": {"tf": 1}, "easypost.services.webhook_service.WebhookService.__init__": {"tf": 1}}, "df": 36}}, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.insurance": {"tf": 1}, "easypost.models.insurance.Insurance": {"tf": 1}}, "df": 2, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.__init__": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1}}, "df": 7}}}}}}}}}}}, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}}, "df": 1}}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.requestor.Requestor.interpret_response": {"tf": 1}}, "df": 1}}}}}}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"easypost.easypost_client.EasyPostClient.customs_item": {"tf": 1}}, "df": 1}}}, "d": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {"easypost.constant.API_BASE": {"tf": 1}, "easypost.constant.API_VERSION": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_key": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_base": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_keys": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}}, "df": 9, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.errors.api.api_error.ApiError.message": {"tf": 1}, "easypost.errors.api.api_error.ApiError.errors": {"tf": 1}, "easypost.errors.api.api_error.ApiError.code": {"tf": 1}, "easypost.errors.api.api_error.ApiError.http_status": {"tf": 1}, "easypost.errors.api.api_error.ApiError.http_body": {"tf": 1}}, "df": 7}}}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"easypost.models.api_key.ApiKey": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.__init__": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}}, "df": 8}}}}}}}}}}}}, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.AUTHOR": {"tf": 1}}, "df": 1}}}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "y": {"docs": {"easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.carrier_account": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 4}}}}}}, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 1}}, "df": 1}}}}}}}}, "d": {"docs": {}, "df": 0, "d": {"docs": {"easypost.requestor.Requestor.add_params_to_url": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 5, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_client.EasyPostClient.address": {"tf": 1}, "easypost.models.address.Address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}}, "df": 3, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.address_service.AddressService.__init__": {"tf": 1}, "easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}}, "df": 8}}}}}}}}}}}}}, "l": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}}, "df": 19}}, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}}, "df": 2}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}}, "df": 1}}}}}}, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.API_BASE": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_base": {"tf": 1}}, "df": 2, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.base_service.BaseService.__init__": {"tf": 1}}, "df": 2}}}}}}}}}, "t": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.easypost_client.EasyPostClient.batch": {"tf": 1}, "easypost.models.batch.Batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}}, "df": 3, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.batch_service.BatchService.__init__": {"tf": 1}, "easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}}, "df": 11}}}}}}}}}}, "d": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "n": {"docs": {}, "df": 0, "k": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 2}}}, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "y": {"docs": {"easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1}, "easypost.errors.api.api_error.ApiError.http_body": {"tf": 1}}, "df": 2}}}, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.constant.NO_BILLING_ERROR": {"tf": 1}, "easypost.easypost_client.EasyPostClient.billing": {"tf": 1}, "easypost.models.billing.Billing": {"tf": 1}}, "df": 3, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.billing_service.BillingService.__init__": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}}, "df": 5}}}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"easypost.easypost_client.EasyPostClient.beta_rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.beta_referral_customer": {"tf": 1}}, "df": 2, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}}, "df": 3}}}}}}}}}}, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}}, "df": 6}}}}}}}}}}}}}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.models.brand.Brand": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}}, "df": 2}}}}, "u": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}}, "df": 6}}, "y": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}}, "df": 2}}, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.SUPPORT_EMAIL": {"tf": 1}}, "df": 1}}}}}, "b": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}}, "df": 2}}}}}}, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 1}}}}}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}}, "df": 1, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}}, "df": 1}}, "t": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject.setdefault": {"tf": 1}}, "df": 1}}}}}}}}, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}}, "c": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}}, "df": 2}}}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}}, "df": 1}}}}}}, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}}, "df": 4}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {"easypost.errors.api.api_error.ApiError.http_status": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 2}}, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 2}}}}}}}}, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "p": {"docs": {"easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 2, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.end_shipper": {"tf": 1}}, "df": 1}}}, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.shipment": {"tf": 1}, "easypost.models.shipment.Shipment": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}}, "df": 3, "s": {"docs": {"easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.__init__": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}}, "df": 18}}}}}}}}}}}}}}, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {"easypost.easypost_client.EasyPostClient.scan_form": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}}, "df": 2, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "m": {"docs": {"easypost.models.scan_form.ScanForm": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.__init__": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}}, "df": 6}}}}}}}}}}}}}}, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}}, "df": 4, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.__init__": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 4}}}}}}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {"easypost.constant.SUPPORT_EMAIL": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}}, "df": 2}}}, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.embeddable": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}}, "df": 3}}}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}, "easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}, "easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}, "easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1}, "easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}, "easypost.constant.MISSING_PARAMETER_ERROR": {"tf": 1}, "easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 1}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1}, "easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}, "easypost.constant.NO_RATES_ERROR": {"tf": 1}, "easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}, "easypost.constant.TIMEOUT_ERROR": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}}, "df": 19, "s": {"docs": {"easypost.errors.api.api_error.ApiError.errors": {"tf": 1}}, "df": 1}}}}}, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}}, "df": 3, "c": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}, "easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_key": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_base": {"tf": 1}, "easypost.easypost_client.EasyPostClient.timeout": {"tf": 1}, "easypost.easypost_client.EasyPostClient.address": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_keys": {"tf": 1}, "easypost.easypost_client.EasyPostClient.batch": {"tf": 1}, "easypost.easypost_client.EasyPostClient.beta_rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.beta_referral_customer": {"tf": 1}, "easypost.easypost_client.EasyPostClient.billing": {"tf": 1}, "easypost.easypost_client.EasyPostClient.carrier_account": {"tf": 1}, "easypost.easypost_client.EasyPostClient.carrier_metadata": {"tf": 1}, "easypost.easypost_client.EasyPostClient.claim": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customer_portal": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customs_info": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customs_item": {"tf": 1}, "easypost.easypost_client.EasyPostClient.embeddable": {"tf": 1}, "easypost.easypost_client.EasyPostClient.end_shipper": {"tf": 1}, "easypost.easypost_client.EasyPostClient.event": {"tf": 1}, "easypost.easypost_client.EasyPostClient.fedex_registration": {"tf": 1}, "easypost.easypost_client.EasyPostClient.insurance": {"tf": 1}, "easypost.easypost_client.EasyPostClient.luma": {"tf": 1}, "easypost.easypost_client.EasyPostClient.order": {"tf": 1}, "easypost.easypost_client.EasyPostClient.parcel": {"tf": 1}, "easypost.easypost_client.EasyPostClient.rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.pickup": {"tf": 1}, "easypost.easypost_client.EasyPostClient.referral_customer": {"tf": 1}, "easypost.easypost_client.EasyPostClient.refund": {"tf": 1}, "easypost.easypost_client.EasyPostClient.report": {"tf": 1}, "easypost.easypost_client.EasyPostClient.scan_form": {"tf": 1}, "easypost.easypost_client.EasyPostClient.shipment": {"tf": 1}, "easypost.easypost_client.EasyPostClient.smart_rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.tracker": {"tf": 1}, "easypost.easypost_client.EasyPostClient.user": {"tf": 1}, "easypost.easypost_client.EasyPostClient.webhook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 41}}}}}}, "o": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject": {"tf": 1}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 1}, "easypost.easypost_object.EasyPostObject.get": {"tf": 1}, "easypost.easypost_object.EasyPostObject.setdefault": {"tf": 1}, "easypost.easypost_object.EasyPostObject.keys": {"tf": 1}, "easypost.easypost_object.EasyPostObject.values": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}}, "df": 10, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1}}, "df": 2}}}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.message": {"tf": 1}}, "df": 3}}}}}}}}}}}, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}}, "df": 1}}}, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_client.EasyPostClient.end_shipper": {"tf": 1}}, "df": 1, "o": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}, "s": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.models.end_shipper.EndShipper": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}}, "df": 6}}}}}}}}}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.encoding_error.EncodingError": {"tf": 1}}, "df": 1}}}}}}}}, "e": {"docs": {"easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}}, "df": 2}}}}, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}}, "df": 1}}}}}, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.event": {"tf": 1}, "easypost.models.event.Event": {"tf": 1}, "easypost.util.receive_event": {"tf": 1}}, "df": 3, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.hooks.event_hook.EventHook": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.event_service.EventService.__init__": {"tf": 1}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}}, "df": 8}}}}}}}}}}}, "x": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}}, "df": 1, "d": {"docs": {"easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}}, "df": 1}}}}}}}}}, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.TIMEOUT": {"tf": 1}, "easypost.constant.TIMEOUT_ERROR": {"tf": 1}, "easypost.easypost_client.EasyPostClient.timeout": {"tf": 1}}, "df": 3, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}}, "df": 1}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.tracker": {"tf": 1}, "easypost.models.tracker.Tracker": {"tf": 1}}, "df": 2, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.tracker_service.TrackerService.__init__": {"tf": 1}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}}, "df": 8}}}}}}}}}}}}}, "o": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}}, "df": 8}, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}}, "df": 1}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}}, "df": 1}}}}}}}}}}}, "n": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}}, "df": 2}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}}, "df": 1}}}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {"easypost.errors.api.api_error.ApiError.code": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 2}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.beta_referral_customer": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customer_portal": {"tf": 1}, "easypost.easypost_client.EasyPostClient.referral_customer": {"tf": 1}}, "df": 3, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}}, "df": 3}}}}}}}}}}}}}}}, "s": {"docs": {"easypost.easypost_client.EasyPostClient.customs_info": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customs_item": {"tf": 1}}, "df": 2, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {"easypost.models.customs_info.CustomsInfo": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}}, "df": 4}}}}}}}}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"easypost.models.customs_item.CustomsItem": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}}, "df": 4}}}}}}}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.carrier_account": {"tf": 1}, "easypost.easypost_client.EasyPostClient.carrier_metadata": {"tf": 1}}, "df": 2, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.models.carrier_account.CarrierAccount": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}}, "df": 8}}}}}}}}}}}}}}, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}}, "df": 3}}}}}}}}}}}}}}}}}}}, "d": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}}, "df": 2}}, "l": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.claim_service.ClaimService.cancel": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}}, "df": 2}}}}}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {"easypost.easypost_client.EasyPostClient.claim": {"tf": 1}, "easypost.models.claim.Claim": {"tf": 1}}, "df": 2, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.claim_service.ClaimService.__init__": {"tf": 1}, "easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1}}, "df": 7}}}}}}}}}, "s": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}}, "df": 2}}}, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}}, "df": 2}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1}}, "df": 28}}}, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}}, "df": 2}}}}}, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 2}}}}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}}, "df": 1, "y": {"docs": {"easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}}, "df": 2}}}}}, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.requestor.RequestMethod.DELETE": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}}, "df": 7}}}}, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {"easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}}, "df": 1}}}}}, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1}}, "df": 1}}}}}}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}}, "df": 1}}, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 4}}}}, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}}, "df": 5, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.payment_error.PaymentError": {"tf": 1}}, "df": 1}}}}}}}}}, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {"easypost.models.payload.Payload": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}}, "df": 2, "s": {"docs": {"easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}}, "df": 1}}}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.MISSING_PARAMETER_ERROR": {"tf": 1}}, "df": 1, "s": {"docs": {"easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}}, "df": 1}}}}}, "s": {"docs": {"easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}}, "df": 3}}}, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_client.EasyPostClient.parcel": {"tf": 1}, "easypost.models.parcel.Parcel": {"tf": 1}}, "df": 2, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.parcel_service.ParcelService.__init__": {"tf": 1}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}}, "df": 4}}}}}}}}}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 13, "s": {"docs": {"easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}}, "df": 1}}}, "t": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.requestor.RequestMethod.PATCH": {"tf": 1}}, "df": 1}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_client.EasyPostClient.customer_portal": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.requestor.RequestMethod.POST": {"tf": 1}}, "df": 1, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.models.postage_label.PostageLabel": {"tf": 1}}, "df": 1}}}}}}}}}}}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"easypost.easypost_client.EasyPostClient.pickup": {"tf": 1}, "easypost.models.pickup.Pickup": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}}, "df": 3, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.models.pickup_rate.PickupRate": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.pickup_service.PickupService.__init__": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}}, "df": 8}}}}}}}}}}}, "n": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}}, "df": 2}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.luma_service.LumaService.get_promise": {"tf": 1}}, "df": 1}}}}}}, "u": {"docs": {}, "df": 0, "t": {"docs": {"easypost.requestor.RequestMethod.PUT": {"tf": 1}}, "df": 1}}}, "m": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.user_service.UserService.retrieve_me": {"tf": 1}}, "df": 1, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}}, "df": 4, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}, "s": {"docs": {"easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}}, "df": 1}}}}, "a": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"easypost.easypost_client.EasyPostClient.carrier_metadata": {"tf": 1}}, "df": 1}}}}}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"easypost.errors.api.api_error.ApiError.message": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.message": {"tf": 1}}, "df": 2}}}}}}, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.constant.MISSING_PARAMETER_ERROR": {"tf": 1}}, "df": 1, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}}, "df": 1}}}, "a": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}, "p": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1, "p": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}}, "df": 10, "s": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}}, "df": 2}, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.hooks.request_hook.RequestHook": {"tf": 1}}, "df": 1}}}}, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {"easypost.requestor.RequestMethod": {"tf": 1}, "easypost.requestor.RequestMethod.GET": {"tf": 1}, "easypost.requestor.RequestMethod.POST": {"tf": 1}, "easypost.requestor.RequestMethod.PUT": {"tf": 1}, "easypost.requestor.RequestMethod.PATCH": {"tf": 1}, "easypost.requestor.RequestMethod.DELETE": {"tf": 1}}, "df": 6}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.Requestor": {"tf": 1}, "easypost.requestor.Requestor.__init__": {"tf": 1}, "easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}}, "df": 11}}}}}}}, "s": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1}}, "df": 4, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.hooks.response_hook.ResponseHook": {"tf": 1}}, "df": 1}}}}}}}}}}, "f": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_client.EasyPostClient.beta_referral_customer": {"tf": 1}, "easypost.easypost_client.EasyPostClient.referral_customer": {"tf": 1}}, "df": 2, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}}, "df": 9}}}}}}}}}}}}}}}}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_client.EasyPostClient.refund": {"tf": 1}, "easypost.models.refund.Refund": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}}, "df": 6, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.refund_service.RefundService.__init__": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}}, "df": 6}}}}}}}}}}}, "g": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.easypost_client.EasyPostClient.fedex_registration": {"tf": 1}}, "df": 1}}}}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}}, "df": 1}}}}}, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}}, "df": 1}}}}}}}}, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.report": {"tf": 1}, "easypost.models.report.Report": {"tf": 1}}, "df": 2, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.report_service.ReportService.__init__": {"tf": 1}, "easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}}, "df": 6}}}}}}}}}}}, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.redirect_error.RedirectError": {"tf": 1}}, "df": 1}}}}}}}}}}}, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}}, "df": 30}}}}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}}, "df": 1}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 2}}}}}}, "e": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"easypost.util.receive_event": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.beta_rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.smart_rate": {"tf": 1}, "easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.rate.Rate": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 11, "s": {"docs": {"easypost.constant.NO_RATES_ERROR": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}}, "df": 5, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.rate_service.RateService.__init__": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}}, "df": 3}}}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "w": {"docs": {"easypost.requestor.Requestor.request_raw": {"tf": 1}}, "df": 1}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {"easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}}, "df": 1}, "n": {"docs": {}, "df": 0, "k": {"docs": {"easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}}, "df": 1}}}, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {"easypost.easypost_client.EasyPostClient.luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}}, "df": 3, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.luma_service.LumaService.__init__": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}}, "df": 3}}}}}}}}}}, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 7}}}}, "g": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}}, "df": 1}}, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}}, "df": 2}}}}}, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}, "easypost.easypost_client.EasyPostClient.webhook": {"tf": 1}, "easypost.models.webhook.Webhook": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 4, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.webhook_service.WebhookService": {"tf": 1}, "easypost.services.webhook_service.WebhookService.__init__": {"tf": 1}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}}, "df": 7}}}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}}, "df": 1}}}}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {"easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 1}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1}, "easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}, "easypost.constant.NO_RATES_ERROR": {"tf": 1}, "easypost.constant.NO_USER_FOUND": {"tf": 1}}, "df": 5, "t": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}}, "df": 2}}}, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 13}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.NO_USER_FOUND": {"tf": 1}, "easypost.easypost_client.EasyPostClient.user": {"tf": 1}, "easypost.models.user.User": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}}, "df": 4, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.user_service.UserService.__init__": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 11}}}}}}}}}}, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}}, "df": 2}}}}}}}}}, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}, "k": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "l": {"docs": {"easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}}, "df": 2, "f": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.requestor.Requestor.urlfetch_request": {"tf": 1}}, "df": 1}}}}}}}, "p": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}}, "df": 6}}}}}}, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.NO_USER_FOUND": {"tf": 1}}, "df": 1}}}, "r": {"docs": {"easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}}, "df": 1, "m": {"docs": {"easypost.easypost_client.EasyPostClient.scan_form": {"tf": 1}, "easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}}, "df": 4}, "b": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "x": {"docs": {"easypost.easypost_client.EasyPostClient.fedex_registration": {"tf": 1}}, "df": 1, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 6}}}}}}}}}}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {"easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 5}}}, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.general.filtering_error.FilteringError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}}, "df": 1}}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"easypost.easypost_client.EasyPostClient.api_key": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}}, "df": 2, "s": {"docs": {"easypost.easypost_client.EasyPostClient.api_keys": {"tf": 1}, "easypost.easypost_object.EasyPostObject.keys": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}}, "df": 3}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.order": {"tf": 1}, "easypost.models.order.Order": {"tf": 1}, "easypost.models.order.Order.lowest_rate": {"tf": 1}}, "df": 3, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.order_service.OrderService.__init__": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}}, "df": 6}}}}}}}}}}}, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}}, "df": 4}}}}}, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}}, "df": 1}}}}}}}}, "f": {"docs": {"easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 1}}, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}}, "df": 4}}}, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "p": {"docs": {"easypost.errors.api.api_error.ApiError.http_status": {"tf": 1}, "easypost.errors.api.api_error.ApiError.http_body": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.http_error.HttpError": {"tf": 1}}, "df": 1}}}}}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.requestor.Requestor.handle_api_error": {"tf": 1}}, "df": 1}}}}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject.get": {"tf": 1}, "easypost.requestor.RequestMethod.GET": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 21}, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}}, "df": 1}}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}, "j": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.json_error.JsonError": {"tf": 1}}, "df": 1}}}}}}}}}}}, "fullname": {"root": {"docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 1}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"tf": 1}, "easypost.requestor.Requestor.__init__": {"tf": 1}, "easypost.services.address_service.AddressService.__init__": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.__init__": {"tf": 1}, "easypost.services.base_service.BaseService.__init__": {"tf": 1}, "easypost.services.batch_service.BatchService.__init__": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"tf": 1}, "easypost.services.billing_service.BillingService.__init__": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"tf": 1}, "easypost.services.claim_service.ClaimService.__init__": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"tf": 1}, "easypost.services.event_service.EventService.__init__": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.__init__": {"tf": 1}, "easypost.services.luma_service.LumaService.__init__": {"tf": 1}, "easypost.services.order_service.OrderService.__init__": {"tf": 1}, "easypost.services.parcel_service.ParcelService.__init__": {"tf": 1}, "easypost.services.pickup_service.PickupService.__init__": {"tf": 1}, "easypost.services.rate_service.RateService.__init__": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"tf": 1}, "easypost.services.refund_service.RefundService.__init__": {"tf": 1}, "easypost.services.report_service.ReportService.__init__": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.__init__": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.__init__": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.__init__": {"tf": 1}, "easypost.services.tracker_service.TrackerService.__init__": {"tf": 1}, "easypost.services.user_service.UserService.__init__": {"tf": 1}, "easypost.services.webhook_service.WebhookService.__init__": {"tf": 1}}, "df": 36, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost": {"tf": 1}, "easypost.version_info": {"tf": 1}, "easypost.constant": {"tf": 1}, "easypost.constant.VERSION": {"tf": 1}, "easypost.constant.VERSION_INFO": {"tf": 1}, "easypost.constant.API_BASE": {"tf": 1}, "easypost.constant.API_VERSION": {"tf": 1}, "easypost.constant.AUTHOR": {"tf": 1}, "easypost.constant.SUPPORT_EMAIL": {"tf": 1}, "easypost.constant.TIMEOUT": {"tf": 1}, "easypost.constant.COMMUNICATION_ERROR": {"tf": 1}, "easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}, "easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}, "easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1}, "easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}, "easypost.constant.MISSING_PARAMETER_ERROR": {"tf": 1}, "easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 1}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1}, "easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}, "easypost.constant.NO_RATES_ERROR": {"tf": 1}, "easypost.constant.NO_USER_FOUND": {"tf": 1}, "easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}, "easypost.constant.TIMEOUT_ERROR": {"tf": 1}, "easypost.easypost_client": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.__init__": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.api_key": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.api_base": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.timeout": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.address": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.api_keys": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.batch": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.beta_rate": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.beta_referral_customer": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.billing": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.carrier_account": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.carrier_metadata": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.claim": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.customer_portal": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.customs_info": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.customs_item": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.embeddable": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.end_shipper": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.event": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.fedex_registration": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.insurance": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.luma": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.order": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.parcel": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.rate": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.pickup": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.referral_customer": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.refund": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.report": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.scan_form": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.shipment": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.smart_rate": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.tracker": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.user": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.webhook": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1.4142135623730951}, "easypost.easypost_object": {"tf": 1.4142135623730951}, "easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1.7320508075688772}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1.4142135623730951}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObject": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject.get": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject.setdefault": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject.keys": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject.values": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1.4142135623730951}, "easypost.errors": {"tf": 1}, "easypost.errors.api": {"tf": 1}, "easypost.errors.api.api_error": {"tf": 1}, "easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.errors.api.api_error.ApiError.message": {"tf": 1}, "easypost.errors.api.api_error.ApiError.errors": {"tf": 1}, "easypost.errors.api.api_error.ApiError.code": {"tf": 1}, "easypost.errors.api.api_error.ApiError.http_status": {"tf": 1}, "easypost.errors.api.api_error.ApiError.http_body": {"tf": 1}, "easypost.errors.api.bad_request_error": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.errors.general": {"tf": 1}, "easypost.errors.general.easypost_error": {"tf": 1.4142135623730951}, "easypost.errors.general.easypost_error.EasyPostError": {"tf": 1.4142135623730951}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"tf": 1.4142135623730951}, "easypost.errors.general.easypost_error.EasyPostError.message": {"tf": 1.4142135623730951}, "easypost.errors.general.end_of_pagination_error": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}, "easypost.hooks": {"tf": 1}, "easypost.hooks.event_hook": {"tf": 1}, "easypost.hooks.event_hook.EventHook": {"tf": 1}, "easypost.hooks.request_hook": {"tf": 1}, "easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.hooks.response_hook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}, "easypost.models": {"tf": 1}, "easypost.models.address": {"tf": 1}, "easypost.models.address.Address": {"tf": 1}, "easypost.models.api_key": {"tf": 1}, "easypost.models.api_key.ApiKey": {"tf": 1}, "easypost.models.batch": {"tf": 1}, "easypost.models.batch.Batch": {"tf": 1}, "easypost.models.billing": {"tf": 1}, "easypost.models.billing.Billing": {"tf": 1}, "easypost.models.brand": {"tf": 1}, "easypost.models.brand.Brand": {"tf": 1}, "easypost.models.carrier_account": {"tf": 1}, "easypost.models.carrier_account.CarrierAccount": {"tf": 1}, "easypost.models.claim": {"tf": 1}, "easypost.models.claim.Claim": {"tf": 1}, "easypost.models.customs_info": {"tf": 1}, "easypost.models.customs_info.CustomsInfo": {"tf": 1}, "easypost.models.customs_item": {"tf": 1}, "easypost.models.customs_item.CustomsItem": {"tf": 1}, "easypost.models.end_shipper": {"tf": 1}, "easypost.models.end_shipper.EndShipper": {"tf": 1}, "easypost.models.event": {"tf": 1}, "easypost.models.event.Event": {"tf": 1}, "easypost.models.insurance": {"tf": 1}, "easypost.models.insurance.Insurance": {"tf": 1}, "easypost.models.order": {"tf": 1}, "easypost.models.order.Order": {"tf": 1}, "easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.parcel": {"tf": 1}, "easypost.models.parcel.Parcel": {"tf": 1}, "easypost.models.payload": {"tf": 1}, "easypost.models.payload.Payload": {"tf": 1}, "easypost.models.pickup": {"tf": 1}, "easypost.models.pickup.Pickup": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.pickup_rate": {"tf": 1}, "easypost.models.pickup_rate.PickupRate": {"tf": 1}, "easypost.models.postage_label": {"tf": 1}, "easypost.models.postage_label.PostageLabel": {"tf": 1}, "easypost.models.rate": {"tf": 1}, "easypost.models.rate.Rate": {"tf": 1}, "easypost.models.refund": {"tf": 1}, "easypost.models.refund.Refund": {"tf": 1}, "easypost.models.report": {"tf": 1}, "easypost.models.report.Report": {"tf": 1}, "easypost.models.scan_form": {"tf": 1}, "easypost.models.scan_form.ScanForm": {"tf": 1}, "easypost.models.shipment": {"tf": 1}, "easypost.models.shipment.Shipment": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.models.tracker": {"tf": 1}, "easypost.models.tracker.Tracker": {"tf": 1}, "easypost.models.user": {"tf": 1}, "easypost.models.user.User": {"tf": 1}, "easypost.models.webhook": {"tf": 1}, "easypost.models.webhook.Webhook": {"tf": 1}, "easypost.requestor": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}, "easypost.requestor.RequestMethod": {"tf": 1}, "easypost.requestor.RequestMethod.GET": {"tf": 1}, "easypost.requestor.RequestMethod.POST": {"tf": 1}, "easypost.requestor.RequestMethod.PUT": {"tf": 1}, "easypost.requestor.RequestMethod.PATCH": {"tf": 1}, "easypost.requestor.RequestMethod.DELETE": {"tf": 1}, "easypost.requestor.Requestor": {"tf": 1}, "easypost.requestor.Requestor.__init__": {"tf": 1}, "easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}, "easypost.services": {"tf": 1}, "easypost.services.address_service": {"tf": 1}, "easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.address_service.AddressService.__init__": {"tf": 1}, "easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.api_key_service": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.__init__": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.base_service": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.base_service.BaseService.__init__": {"tf": 1}, "easypost.services.batch_service": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.batch_service.BatchService.__init__": {"tf": 1}, "easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.beta_rate_service": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.beta_referral_customer_service": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.billing_service": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.billing_service.BillingService.__init__": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}, "easypost.services.carrier_account_service": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.carrier_metadata_service": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.claim_service": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.claim_service.ClaimService.__init__": {"tf": 1}, "easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1}, "easypost.services.customer_portal_service": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.customs_info_service": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}, "easypost.services.customs_item_service": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}, "easypost.services.embeddable_service": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}, "easypost.services.end_shipper_service": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.event_service": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.event_service.EventService.__init__": {"tf": 1}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.fedex_registration_service": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}, "easypost.services.insurance_service": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.__init__": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1}, "easypost.services.luma_service": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.luma_service.LumaService.__init__": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.order_service": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.order_service.OrderService.__init__": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}, "easypost.services.parcel_service": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.parcel_service.ParcelService.__init__": {"tf": 1}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}, "easypost.services.pickup_service": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.pickup_service.PickupService.__init__": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}, "easypost.services.rate_service": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.rate_service.RateService.__init__": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}, "easypost.services.referral_customer_service": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1.4142135623730951}, "easypost.services.refund_service": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.refund_service.RefundService.__init__": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.report_service.ReportService.__init__": {"tf": 1}, "easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.__init__": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.__init__": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}, "easypost.services.smartrate_service": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.__init__": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.services.tracker_service": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.tracker_service.TrackerService.__init__": {"tf": 1}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}, "easypost.services.user_service": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.user_service.UserService.__init__": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}, "easypost.services.webhook_service": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}, "easypost.services.webhook_service.WebhookService.__init__": {"tf": 1}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}, "easypost.util": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}, "easypost.util.receive_event": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 471, "c": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}, "easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_key": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_base": {"tf": 1}, "easypost.easypost_client.EasyPostClient.timeout": {"tf": 1}, "easypost.easypost_client.EasyPostClient.address": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_keys": {"tf": 1}, "easypost.easypost_client.EasyPostClient.batch": {"tf": 1}, "easypost.easypost_client.EasyPostClient.beta_rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.beta_referral_customer": {"tf": 1}, "easypost.easypost_client.EasyPostClient.billing": {"tf": 1}, "easypost.easypost_client.EasyPostClient.carrier_account": {"tf": 1}, "easypost.easypost_client.EasyPostClient.carrier_metadata": {"tf": 1}, "easypost.easypost_client.EasyPostClient.claim": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customer_portal": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customs_info": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customs_item": {"tf": 1}, "easypost.easypost_client.EasyPostClient.embeddable": {"tf": 1}, "easypost.easypost_client.EasyPostClient.end_shipper": {"tf": 1}, "easypost.easypost_client.EasyPostClient.event": {"tf": 1}, "easypost.easypost_client.EasyPostClient.fedex_registration": {"tf": 1}, "easypost.easypost_client.EasyPostClient.insurance": {"tf": 1}, "easypost.easypost_client.EasyPostClient.luma": {"tf": 1}, "easypost.easypost_client.EasyPostClient.order": {"tf": 1}, "easypost.easypost_client.EasyPostClient.parcel": {"tf": 1}, "easypost.easypost_client.EasyPostClient.rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.pickup": {"tf": 1}, "easypost.easypost_client.EasyPostClient.referral_customer": {"tf": 1}, "easypost.easypost_client.EasyPostClient.refund": {"tf": 1}, "easypost.easypost_client.EasyPostClient.report": {"tf": 1}, "easypost.easypost_client.EasyPostClient.scan_form": {"tf": 1}, "easypost.easypost_client.EasyPostClient.shipment": {"tf": 1}, "easypost.easypost_client.EasyPostClient.smart_rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.tracker": {"tf": 1}, "easypost.easypost_client.EasyPostClient.user": {"tf": 1}, "easypost.easypost_client.EasyPostClient.webhook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 41}}}}}}, "o": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject": {"tf": 1}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 1}, "easypost.easypost_object.EasyPostObject.get": {"tf": 1}, "easypost.easypost_object.EasyPostObject.setdefault": {"tf": 1}, "easypost.easypost_object.EasyPostObject.keys": {"tf": 1}, "easypost.easypost_object.EasyPostObject.values": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}}, "df": 10, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1}}, "df": 2}}}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.message": {"tf": 1}}, "df": 3}}}}}}}}}}}, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}}, "df": 1}}}, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {"easypost.constant.SUPPORT_EMAIL": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}}, "df": 2}}}, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.embeddable": {"tf": 1}, "easypost.services.embeddable_service": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}}, "df": 5, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}}, "df": 3}}}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}, "easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}, "easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}, "easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1}, "easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}, "easypost.constant.MISSING_PARAMETER_ERROR": {"tf": 1}, "easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 1}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1}, "easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}, "easypost.constant.NO_RATES_ERROR": {"tf": 1}, "easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}, "easypost.constant.TIMEOUT_ERROR": {"tf": 1}, "easypost.errors.api.api_error": {"tf": 1}, "easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.errors.api.api_error.ApiError.message": {"tf": 1}, "easypost.errors.api.api_error.ApiError.errors": {"tf": 1}, "easypost.errors.api.api_error.ApiError.code": {"tf": 1}, "easypost.errors.api.api_error.ApiError.http_status": {"tf": 1}, "easypost.errors.api.api_error.ApiError.http_body": {"tf": 1}, "easypost.errors.api.bad_request_error": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.errors.general.easypost_error": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.message": {"tf": 1}, "easypost.errors.general.end_of_pagination_error": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}}, "df": 79, "s": {"docs": {"easypost.errors": {"tf": 1}, "easypost.errors.api": {"tf": 1}, "easypost.errors.api.api_error": {"tf": 1}, "easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.errors.api.api_error.ApiError.message": {"tf": 1}, "easypost.errors.api.api_error.ApiError.errors": {"tf": 1.4142135623730951}, "easypost.errors.api.api_error.ApiError.code": {"tf": 1}, "easypost.errors.api.api_error.ApiError.http_status": {"tf": 1}, "easypost.errors.api.api_error.ApiError.http_body": {"tf": 1}, "easypost.errors.api.bad_request_error": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.errors.general": {"tf": 1}, "easypost.errors.general.easypost_error": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.message": {"tf": 1}, "easypost.errors.general.end_of_pagination_error": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}}, "df": 63}}}}}, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_client.EasyPostClient.end_shipper": {"tf": 1}, "easypost.errors.general.end_of_pagination_error": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.models.end_shipper": {"tf": 1}, "easypost.models.end_shipper.EndShipper": {"tf": 1}, "easypost.services.end_shipper_service": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}}, "df": 12, "o": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}, "s": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.models.end_shipper.EndShipper": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}}, "df": 6}}}}}}}}}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.errors.api.encoding_error": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.encoding_error.EncodingError": {"tf": 1}}, "df": 1}}}}}}}}, "e": {"docs": {"easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}}, "df": 2}}}}, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}}, "df": 1}}}}}, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.event": {"tf": 1}, "easypost.hooks.event_hook": {"tf": 1}, "easypost.hooks.event_hook.EventHook": {"tf": 1}, "easypost.models.event": {"tf": 1}, "easypost.models.event.Event": {"tf": 1.4142135623730951}, "easypost.services.event_service": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.event_service.EventService.__init__": {"tf": 1}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.util.receive_event": {"tf": 1}}, "df": 15, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.hooks.event_hook.EventHook": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.event_service.EventService.__init__": {"tf": 1}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}}, "df": 8}}}}}}}}}}}, "x": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.errors.api.external_api_error": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}}, "df": 2, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}}, "df": 1, "d": {"docs": {"easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}}, "df": 1}}}}}}}}}, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.version_info": {"tf": 1}, "easypost.constant.VERSION": {"tf": 1}, "easypost.constant.VERSION_INFO": {"tf": 1}, "easypost.constant.API_VERSION": {"tf": 1}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}}, "df": 5}}}}, "i": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.errors.general.signature_verification_error": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}}, "df": 2}}}}}}}, "y": {"docs": {"easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}}, "df": 2}}}}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}}, "df": 1}}}, "e": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 2}}}}}, "u": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}}, "df": 1, "s": {"docs": {"easypost.easypost_object.EasyPostObject.values": {"tf": 1}}, "df": 1}}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {"easypost.version_info": {"tf": 1}, "easypost.constant.VERSION_INFO": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customs_info": {"tf": 1}, "easypost.models.customs_info": {"tf": 1}, "easypost.models.customs_info.CustomsInfo": {"tf": 1}, "easypost.services.customs_info_service": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}}, "df": 10}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}, "easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}, "easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1}, "easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}, "easypost.errors.api.invalid_request_error": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.general.invalid_object_error": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}}, "df": 15, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "o": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}}, "df": 1}}}}}}}}}}}, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}, "o": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 1}}}}}, "i": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 1}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"tf": 1}, "easypost.requestor.Requestor.__init__": {"tf": 1}, "easypost.services.address_service.AddressService.__init__": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.__init__": {"tf": 1}, "easypost.services.base_service.BaseService.__init__": {"tf": 1}, "easypost.services.batch_service.BatchService.__init__": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"tf": 1}, "easypost.services.billing_service.BillingService.__init__": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"tf": 1}, "easypost.services.claim_service.ClaimService.__init__": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"tf": 1}, "easypost.services.event_service.EventService.__init__": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.__init__": {"tf": 1}, "easypost.services.luma_service.LumaService.__init__": {"tf": 1}, "easypost.services.order_service.OrderService.__init__": {"tf": 1}, "easypost.services.parcel_service.ParcelService.__init__": {"tf": 1}, "easypost.services.pickup_service.PickupService.__init__": {"tf": 1}, "easypost.services.rate_service.RateService.__init__": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"tf": 1}, "easypost.services.refund_service.RefundService.__init__": {"tf": 1}, "easypost.services.report_service.ReportService.__init__": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.__init__": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.__init__": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.__init__": {"tf": 1}, "easypost.services.tracker_service.TrackerService.__init__": {"tf": 1}, "easypost.services.user_service.UserService.__init__": {"tf": 1}, "easypost.services.webhook_service.WebhookService.__init__": {"tf": 1}}, "df": 36}}, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.insurance": {"tf": 1}, "easypost.models.insurance": {"tf": 1}, "easypost.models.insurance.Insurance": {"tf": 1.4142135623730951}, "easypost.services.insurance_service": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.__init__": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1}}, "df": 11, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.__init__": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1}}, "df": 7}}}}}}}}}}}, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}}, "df": 1}}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.errors.api.internal_server_error": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}}, "df": 2, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.requestor.Requestor.interpret_response": {"tf": 1}}, "df": 1}}}}}}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"easypost.easypost_client.EasyPostClient.customs_item": {"tf": 1}, "easypost.models.customs_item": {"tf": 1}, "easypost.models.customs_item.CustomsItem": {"tf": 1}, "easypost.services.customs_item_service": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}}, "df": 8}}}, "d": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant": {"tf": 1}, "easypost.constant.VERSION": {"tf": 1}, "easypost.constant.VERSION_INFO": {"tf": 1}, "easypost.constant.API_BASE": {"tf": 1}, "easypost.constant.API_VERSION": {"tf": 1}, "easypost.constant.AUTHOR": {"tf": 1}, "easypost.constant.SUPPORT_EMAIL": {"tf": 1}, "easypost.constant.TIMEOUT": {"tf": 1}, "easypost.constant.COMMUNICATION_ERROR": {"tf": 1}, "easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}, "easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}, "easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1}, "easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}, "easypost.constant.MISSING_PARAMETER_ERROR": {"tf": 1}, "easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 1}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1}, "easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}, "easypost.constant.NO_RATES_ERROR": {"tf": 1}, "easypost.constant.NO_USER_FOUND": {"tf": 1}, "easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}, "easypost.constant.TIMEOUT_ERROR": {"tf": 1}}, "df": 26}}}, "r": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}}, "df": 1}}}}}}, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}}, "df": 2}}}}}, "m": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}}, "df": 1}}}}}}}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {"easypost.errors.api.api_error.ApiError.code": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 2}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client": {"tf": 1}, "easypost.easypost_client.EasyPostClient": {"tf": 1}, "easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_key": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_base": {"tf": 1}, "easypost.easypost_client.EasyPostClient.timeout": {"tf": 1}, "easypost.easypost_client.EasyPostClient.address": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_keys": {"tf": 1}, "easypost.easypost_client.EasyPostClient.batch": {"tf": 1}, "easypost.easypost_client.EasyPostClient.beta_rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.beta_referral_customer": {"tf": 1}, "easypost.easypost_client.EasyPostClient.billing": {"tf": 1}, "easypost.easypost_client.EasyPostClient.carrier_account": {"tf": 1}, "easypost.easypost_client.EasyPostClient.carrier_metadata": {"tf": 1}, "easypost.easypost_client.EasyPostClient.claim": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customer_portal": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customs_info": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customs_item": {"tf": 1}, "easypost.easypost_client.EasyPostClient.embeddable": {"tf": 1}, "easypost.easypost_client.EasyPostClient.end_shipper": {"tf": 1}, "easypost.easypost_client.EasyPostClient.event": {"tf": 1}, "easypost.easypost_client.EasyPostClient.fedex_registration": {"tf": 1}, "easypost.easypost_client.EasyPostClient.insurance": {"tf": 1}, "easypost.easypost_client.EasyPostClient.luma": {"tf": 1}, "easypost.easypost_client.EasyPostClient.order": {"tf": 1}, "easypost.easypost_client.EasyPostClient.parcel": {"tf": 1}, "easypost.easypost_client.EasyPostClient.rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.pickup": {"tf": 1}, "easypost.easypost_client.EasyPostClient.referral_customer": {"tf": 1}, "easypost.easypost_client.EasyPostClient.refund": {"tf": 1}, "easypost.easypost_client.EasyPostClient.report": {"tf": 1}, "easypost.easypost_client.EasyPostClient.scan_form": {"tf": 1}, "easypost.easypost_client.EasyPostClient.shipment": {"tf": 1}, "easypost.easypost_client.EasyPostClient.smart_rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.tracker": {"tf": 1}, "easypost.easypost_client.EasyPostClient.user": {"tf": 1}, "easypost.easypost_client.EasyPostClient.webhook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}}, "df": 44}}}}, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {"easypost.easypost_client.EasyPostClient.claim": {"tf": 1}, "easypost.models.claim": {"tf": 1}, "easypost.models.claim.Claim": {"tf": 1.4142135623730951}, "easypost.services.claim_service": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.claim_service.ClaimService.__init__": {"tf": 1}, "easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1}}, "df": 11, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.claim_service.ClaimService.__init__": {"tf": 1}, "easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1}}, "df": 7}}}}}}}}}, "s": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}}, "df": 2}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.beta_referral_customer": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customer_portal": {"tf": 1}, "easypost.easypost_client.EasyPostClient.referral_customer": {"tf": 1}, "easypost.services.beta_referral_customer_service": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.customer_portal_service": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.referral_customer_service": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}}, "df": 24, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}}, "df": 3}}}}}}}}}}}}}}}, "s": {"docs": {"easypost.easypost_client.EasyPostClient.customs_info": {"tf": 1}, "easypost.easypost_client.EasyPostClient.customs_item": {"tf": 1}, "easypost.models.customs_info": {"tf": 1}, "easypost.models.customs_info.CustomsInfo": {"tf": 1}, "easypost.models.customs_item": {"tf": 1}, "easypost.models.customs_item.CustomsItem": {"tf": 1}, "easypost.services.customs_info_service": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}, "easypost.services.customs_item_service": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}}, "df": 16, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {"easypost.models.customs_info.CustomsInfo": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}}, "df": 4}}}}}}}}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"easypost.models.customs_item.CustomsItem": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}}, "df": 4}}}}}}}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.carrier_account": {"tf": 1}, "easypost.easypost_client.EasyPostClient.carrier_metadata": {"tf": 1}, "easypost.models.carrier_account": {"tf": 1}, "easypost.models.carrier_account.CarrierAccount": {"tf": 1}, "easypost.services.carrier_account_service": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.carrier_metadata_service": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}}, "df": 17, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.models.carrier_account.CarrierAccount": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}}, "df": 8}}}}}}}}}}}}}}, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}}, "df": 3}}}}}}}}}}}}}}}}}}}, "d": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}}, "df": 2}}, "l": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.claim_service.ClaimService.cancel": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}}, "df": 2}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1}}, "df": 28}}}, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}}, "df": 2}}}}}, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 2}}}}}}}}, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {"easypost.constant.API_BASE": {"tf": 1}, "easypost.constant.API_VERSION": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_key": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_base": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_keys": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.errors.api": {"tf": 1}, "easypost.errors.api.api_error": {"tf": 1.4142135623730951}, "easypost.errors.api.api_error.ApiError": {"tf": 1.4142135623730951}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 1.4142135623730951}, "easypost.errors.api.api_error.ApiError.message": {"tf": 1.4142135623730951}, "easypost.errors.api.api_error.ApiError.errors": {"tf": 1.4142135623730951}, "easypost.errors.api.api_error.ApiError.code": {"tf": 1.4142135623730951}, "easypost.errors.api.api_error.ApiError.http_status": {"tf": 1.4142135623730951}, "easypost.errors.api.api_error.ApiError.http_body": {"tf": 1.4142135623730951}, "easypost.errors.api.bad_request_error": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error": {"tf": 1.4142135623730951}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1.4142135623730951}, "easypost.errors.api.forbidden_error": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error": {"tf": 1.4142135623730951}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1.4142135623730951}, "easypost.models.api_key": {"tf": 1}, "easypost.models.api_key.ApiKey": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.services.api_key_service": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.__init__": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1.4142135623730951}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}}, "df": 64, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.errors.api.api_error.ApiError.message": {"tf": 1}, "easypost.errors.api.api_error.ApiError.errors": {"tf": 1}, "easypost.errors.api.api_error.ApiError.code": {"tf": 1}, "easypost.errors.api.api_error.ApiError.http_status": {"tf": 1}, "easypost.errors.api.api_error.ApiError.http_body": {"tf": 1}}, "df": 7}}}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"easypost.models.api_key.ApiKey": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.__init__": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}}, "df": 8}}}}}}}}}}}}, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.AUTHOR": {"tf": 1}}, "df": 1}}}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "y": {"docs": {"easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.carrier_account": {"tf": 1}, "easypost.models.carrier_account": {"tf": 1}, "easypost.models.carrier_account.CarrierAccount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.carrier_account_service": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 15}}}}}}, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 1}}, "df": 1}}}}}}}}, "d": {"docs": {}, "df": 0, "d": {"docs": {"easypost.requestor.Requestor.add_params_to_url": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 5, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_client.EasyPostClient.address": {"tf": 1}, "easypost.models.address": {"tf": 1}, "easypost.models.address.Address": {"tf": 1.4142135623730951}, "easypost.services.address_service": {"tf": 1}, "easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.address_service.AddressService.__init__": {"tf": 1}, "easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}}, "df": 13, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.address_service.AddressService.__init__": {"tf": 1}, "easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}}, "df": 8}}}}}}}}}}}}}, "l": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}}, "df": 19, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.errors.api.method_not_allowed_error": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}}, "df": 2}}}}}}, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}}, "df": 2}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}}, "df": 1}}}}}}, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.API_BASE": {"tf": 1}, "easypost.easypost_client.EasyPostClient.api_base": {"tf": 1}, "easypost.services.base_service": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.base_service.BaseService.__init__": {"tf": 1}}, "df": 5, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.base_service.BaseService.__init__": {"tf": 1}}, "df": 2}}}}}}}}}, "t": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.easypost_client.EasyPostClient.batch": {"tf": 1}, "easypost.models.batch": {"tf": 1}, "easypost.models.batch.Batch": {"tf": 1.4142135623730951}, "easypost.services.batch_service": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.batch_service.BatchService.__init__": {"tf": 1}, "easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}}, "df": 16, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.batch_service.BatchService.__init__": {"tf": 1}, "easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}}, "df": 11}}}}}}}}}}, "d": {"docs": {"easypost.errors.api.bad_request_error": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}}, "df": 2, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "n": {"docs": {}, "df": 0, "k": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 2}}}, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "y": {"docs": {"easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1}, "easypost.errors.api.api_error.ApiError.http_body": {"tf": 1}}, "df": 2}}}, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.constant.NO_BILLING_ERROR": {"tf": 1}, "easypost.easypost_client.EasyPostClient.billing": {"tf": 1}, "easypost.models.billing": {"tf": 1}, "easypost.models.billing.Billing": {"tf": 1.4142135623730951}, "easypost.services.billing_service": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.billing_service.BillingService.__init__": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}}, "df": 10, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.billing_service.BillingService.__init__": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}}, "df": 5}}}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"easypost.easypost_client.EasyPostClient.beta_rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.beta_referral_customer": {"tf": 1}, "easypost.services.beta_rate_service": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.beta_referral_customer_service": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}}, "df": 13, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}}, "df": 3}}}}}}}}}}, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}}, "df": 6}}}}}}}}}}}}}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.models.brand": {"tf": 1}, "easypost.models.brand.Brand": {"tf": 1.4142135623730951}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}}, "df": 3}}}}, "u": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}}, "df": 6}}, "y": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}}, "df": 2}}, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.SUPPORT_EMAIL": {"tf": 1}}, "df": 1}}}}}, "b": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}}, "df": 2}}}}}}, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 1}}}}}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}, "easypost.errors.general.signature_verification_error": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}}, "df": 3, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}}, "df": 1}}, "t": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject.setdefault": {"tf": 1}}, "df": 1}}}}}}}}, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.internal_server_error": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}}, "df": 2}}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.errors.api.service_unavailable_error": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.services.address_service": {"tf": 1}, "easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.address_service.AddressService.__init__": {"tf": 1}, "easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.api_key_service": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.__init__": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.base_service": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.base_service.BaseService.__init__": {"tf": 1}, "easypost.services.batch_service": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.batch_service.BatchService.__init__": {"tf": 1}, "easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.beta_rate_service": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.beta_referral_customer_service": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.billing_service": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.billing_service.BillingService.__init__": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}, "easypost.services.carrier_account_service": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.carrier_metadata_service": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.claim_service": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.claim_service.ClaimService.__init__": {"tf": 1}, "easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1}, "easypost.services.customer_portal_service": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.customs_info_service": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}, "easypost.services.customs_item_service": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}, "easypost.services.embeddable_service": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}, "easypost.services.end_shipper_service": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.event_service": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.event_service.EventService.__init__": {"tf": 1}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.fedex_registration_service": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}, "easypost.services.insurance_service": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.__init__": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1}, "easypost.services.luma_service": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.luma_service.LumaService.__init__": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.order_service": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.order_service.OrderService.__init__": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}, "easypost.services.parcel_service": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.parcel_service.ParcelService.__init__": {"tf": 1}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}, "easypost.services.pickup_service": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.pickup_service.PickupService.__init__": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}, "easypost.services.rate_service": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.rate_service.RateService.__init__": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}, "easypost.services.referral_customer_service": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}, "easypost.services.refund_service": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.refund_service.RefundService.__init__": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.report_service.ReportService.__init__": {"tf": 1}, "easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.__init__": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.__init__": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}, "easypost.services.smartrate_service": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.__init__": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.services.tracker_service": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.tracker_service.TrackerService.__init__": {"tf": 1}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}, "easypost.services.user_service": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.user_service.UserService.__init__": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}, "easypost.services.webhook_service": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}, "easypost.services.webhook_service.WebhookService.__init__": {"tf": 1}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}}, "df": 235, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}, "s": {"docs": {"easypost.services": {"tf": 1}, "easypost.services.address_service": {"tf": 1}, "easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.address_service.AddressService.__init__": {"tf": 1}, "easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.api_key_service": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.__init__": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.base_service": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.base_service.BaseService.__init__": {"tf": 1}, "easypost.services.batch_service": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.batch_service.BatchService.__init__": {"tf": 1}, "easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.beta_rate_service": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.beta_referral_customer_service": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.billing_service": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.billing_service.BillingService.__init__": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}, "easypost.services.carrier_account_service": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.carrier_metadata_service": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.claim_service": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.claim_service.ClaimService.__init__": {"tf": 1}, "easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1}, "easypost.services.customer_portal_service": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.customs_info_service": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}, "easypost.services.customs_item_service": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}, "easypost.services.embeddable_service": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}, "easypost.services.end_shipper_service": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.event_service": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.event_service.EventService.__init__": {"tf": 1}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.fedex_registration_service": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}, "easypost.services.insurance_service": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.__init__": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1}, "easypost.services.luma_service": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.luma_service.LumaService.__init__": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.order_service": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.order_service.OrderService.__init__": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}, "easypost.services.parcel_service": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.parcel_service.ParcelService.__init__": {"tf": 1}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}, "easypost.services.pickup_service": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.pickup_service.PickupService.__init__": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}, "easypost.services.rate_service": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.rate_service.RateService.__init__": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}, "easypost.services.referral_customer_service": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}, "easypost.services.refund_service": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.refund_service.RefundService.__init__": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.report_service.ReportService.__init__": {"tf": 1}, "easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.__init__": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.__init__": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}, "easypost.services.smartrate_service": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.__init__": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.services.tracker_service": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.tracker_service.TrackerService.__init__": {"tf": 1}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}, "easypost.services.user_service": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.user_service.UserService.__init__": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}, "easypost.services.webhook_service": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}, "easypost.services.webhook_service.WebhookService.__init__": {"tf": 1}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}}, "df": 234}}}}}}, "c": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}}, "df": 2}}}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}}, "df": 1}}}}}}, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}}, "df": 4}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {"easypost.errors.api.api_error.ApiError.http_status": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 2}}, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 2}}}}}}}}, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "p": {"docs": {"easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 2, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.end_shipper": {"tf": 1}, "easypost.models.end_shipper": {"tf": 1}, "easypost.models.end_shipper.EndShipper": {"tf": 1}, "easypost.services.end_shipper_service": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}}, "df": 10}}}, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.shipment": {"tf": 1}, "easypost.models.shipment": {"tf": 1}, "easypost.models.shipment.Shipment": {"tf": 1.4142135623730951}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1.4142135623730951}, "easypost.services.shipment_service": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.__init__": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}}, "df": 23, "s": {"docs": {"easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.__init__": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}}, "df": 18}}}}}}}}}}}}}}, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {"easypost.easypost_client.EasyPostClient.scan_form": {"tf": 1}, "easypost.models.scan_form": {"tf": 1}, "easypost.models.scan_form.ScanForm": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.scan_form_service": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.__init__": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}}, "df": 11, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "m": {"docs": {"easypost.models.scan_form.ScanForm": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.__init__": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}}, "df": 6}}}}}}}}}}}}}}, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}}, "df": 4, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.smartrate_service": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.__init__": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 5, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.__init__": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 4}}}}}}}}}}}}}}}}, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.TIMEOUT": {"tf": 1}, "easypost.constant.TIMEOUT_ERROR": {"tf": 1}, "easypost.easypost_client.EasyPostClient.timeout": {"tf": 1}, "easypost.errors.api.gateway_timeout_error": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.timeout_error": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}}, "df": 7, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}}, "df": 1}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.tracker": {"tf": 1}, "easypost.models.tracker": {"tf": 1}, "easypost.models.tracker.Tracker": {"tf": 1.4142135623730951}, "easypost.services.tracker_service": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.tracker_service.TrackerService.__init__": {"tf": 1}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}}, "df": 12, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.tracker_service.TrackerService.__init__": {"tf": 1}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}}, "df": 8}}}}}}}}}}}}}, "o": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}}, "df": 8}, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}}, "df": 1}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}}, "df": 1, "y": {"docs": {"easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}}, "df": 2}}}}}, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.requestor.RequestMethod.DELETE": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}}, "df": 7}}}}, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {"easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}}, "df": 1}}}}}, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1}}, "df": 1}}}}}}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}}, "df": 1}}, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 4}}}}, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.errors.api.payment_error": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}}, "df": 7, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.payment_error.PaymentError": {"tf": 1}}, "df": 1}}}}}}}}}, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {"easypost.models.payload": {"tf": 1}, "easypost.models.payload.Payload": {"tf": 1.4142135623730951}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}}, "df": 3, "s": {"docs": {"easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}}, "df": 1}}}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.MISSING_PARAMETER_ERROR": {"tf": 1}, "easypost.errors.general.invalid_parameter_error": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}}, "df": 5, "s": {"docs": {"easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}}, "df": 1}}}}}, "s": {"docs": {"easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}}, "df": 3}}}, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_client.EasyPostClient.parcel": {"tf": 1}, "easypost.models.parcel": {"tf": 1}, "easypost.models.parcel.Parcel": {"tf": 1.4142135623730951}, "easypost.services.parcel_service": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.parcel_service.ParcelService.__init__": {"tf": 1}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}}, "df": 8, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.parcel_service.ParcelService.__init__": {"tf": 1}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}}, "df": 4}}}}}}}}}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 13, "s": {"docs": {"easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}}, "df": 1}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.errors.general.end_of_pagination_error": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}}, "df": 2}}}}}}}}, "t": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.requestor.RequestMethod.PATCH": {"tf": 1}}, "df": 1}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_client.EasyPostClient.customer_portal": {"tf": 1}, "easypost.services.customer_portal_service": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}}, "df": 5}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.requestor.RequestMethod.POST": {"tf": 1}}, "df": 1, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"easypost.models.postage_label": {"tf": 1}, "easypost.models.postage_label.PostageLabel": {"tf": 1}}, "df": 2, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.models.postage_label.PostageLabel": {"tf": 1}}, "df": 1}}}}}}}}}}}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"easypost.easypost_client.EasyPostClient.pickup": {"tf": 1}, "easypost.models.pickup": {"tf": 1}, "easypost.models.pickup.Pickup": {"tf": 1.4142135623730951}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1.4142135623730951}, "easypost.models.pickup_rate": {"tf": 1}, "easypost.models.pickup_rate.PickupRate": {"tf": 1}, "easypost.services.pickup_service": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.pickup_service.PickupService.__init__": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}}, "df": 15, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.models.pickup_rate.PickupRate": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.pickup_service.PickupService.__init__": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}}, "df": 8}}}}}}}}}}}, "n": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}}, "df": 2}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.luma_service.LumaService.get_promise": {"tf": 1}}, "df": 1}}}}}}, "u": {"docs": {}, "df": 0, "t": {"docs": {"easypost.requestor.RequestMethod.PUT": {"tf": 1}}, "df": 1}}}, "m": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.user_service.UserService.retrieve_me": {"tf": 1}}, "df": 1, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.errors.api.method_not_allowed_error": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}}, "df": 6, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}, "s": {"docs": {"easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}}, "df": 1}}}}, "a": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"easypost.easypost_client.EasyPostClient.carrier_metadata": {"tf": 1}, "easypost.services.carrier_metadata_service": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}}, "df": 5}}}}}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"easypost.errors.api.api_error.ApiError.message": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.message": {"tf": 1}}, "df": 2}}}}}}, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.constant.MISSING_PARAMETER_ERROR": {"tf": 1}, "easypost.errors.general.missing_parameter_error": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}}, "df": 3, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}}, "df": 1}}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {"easypost.models": {"tf": 1}, "easypost.models.address": {"tf": 1}, "easypost.models.address.Address": {"tf": 1}, "easypost.models.api_key": {"tf": 1}, "easypost.models.api_key.ApiKey": {"tf": 1}, "easypost.models.batch": {"tf": 1}, "easypost.models.batch.Batch": {"tf": 1}, "easypost.models.billing": {"tf": 1}, "easypost.models.billing.Billing": {"tf": 1}, "easypost.models.brand": {"tf": 1}, "easypost.models.brand.Brand": {"tf": 1}, "easypost.models.carrier_account": {"tf": 1}, "easypost.models.carrier_account.CarrierAccount": {"tf": 1}, "easypost.models.claim": {"tf": 1}, "easypost.models.claim.Claim": {"tf": 1}, "easypost.models.customs_info": {"tf": 1}, "easypost.models.customs_info.CustomsInfo": {"tf": 1}, "easypost.models.customs_item": {"tf": 1}, "easypost.models.customs_item.CustomsItem": {"tf": 1}, "easypost.models.end_shipper": {"tf": 1}, "easypost.models.end_shipper.EndShipper": {"tf": 1}, "easypost.models.event": {"tf": 1}, "easypost.models.event.Event": {"tf": 1}, "easypost.models.insurance": {"tf": 1}, "easypost.models.insurance.Insurance": {"tf": 1}, "easypost.models.order": {"tf": 1}, "easypost.models.order.Order": {"tf": 1}, "easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.parcel": {"tf": 1}, "easypost.models.parcel.Parcel": {"tf": 1}, "easypost.models.payload": {"tf": 1}, "easypost.models.payload.Payload": {"tf": 1}, "easypost.models.pickup": {"tf": 1}, "easypost.models.pickup.Pickup": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.pickup_rate": {"tf": 1}, "easypost.models.pickup_rate.PickupRate": {"tf": 1}, "easypost.models.postage_label": {"tf": 1}, "easypost.models.postage_label.PostageLabel": {"tf": 1}, "easypost.models.rate": {"tf": 1}, "easypost.models.rate.Rate": {"tf": 1}, "easypost.models.refund": {"tf": 1}, "easypost.models.refund.Refund": {"tf": 1}, "easypost.models.report": {"tf": 1}, "easypost.models.report.Report": {"tf": 1}, "easypost.models.scan_form": {"tf": 1}, "easypost.models.scan_form.ScanForm": {"tf": 1}, "easypost.models.shipment": {"tf": 1}, "easypost.models.shipment.Shipment": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.models.tracker": {"tf": 1}, "easypost.models.tracker.Tracker": {"tf": 1}, "easypost.models.user": {"tf": 1}, "easypost.models.user.User": {"tf": 1}, "easypost.models.webhook": {"tf": 1}, "easypost.models.webhook.Webhook": {"tf": 1}}, "df": 56}}}}}, "a": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}, "p": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1, "p": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.errors.api.bad_request_error": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.invalid_request_error": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.hooks.request_hook": {"tf": 1}, "easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}}, "df": 16, "s": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}}, "df": 2}, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.hooks.request_hook.RequestHook": {"tf": 1}}, "df": 1}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}, "easypost.requestor.RequestMethod": {"tf": 1}, "easypost.requestor.RequestMethod.GET": {"tf": 1}, "easypost.requestor.RequestMethod.POST": {"tf": 1}, "easypost.requestor.RequestMethod.PUT": {"tf": 1}, "easypost.requestor.RequestMethod.PATCH": {"tf": 1}, "easypost.requestor.RequestMethod.DELETE": {"tf": 1}, "easypost.requestor.Requestor": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.__init__": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.form_encode_params": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.request": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.request_raw": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.interpret_response": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.requests_request": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1.4142135623730951}}, "df": 19}}, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {"easypost.requestor.RequestMethod": {"tf": 1}, "easypost.requestor.RequestMethod.GET": {"tf": 1}, "easypost.requestor.RequestMethod.POST": {"tf": 1}, "easypost.requestor.RequestMethod.PUT": {"tf": 1}, "easypost.requestor.RequestMethod.PATCH": {"tf": 1}, "easypost.requestor.RequestMethod.DELETE": {"tf": 1}}, "df": 6}}}}}}}}}}}, "s": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}, "easypost.hooks.response_hook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1}}, "df": 6, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.hooks.response_hook.ResponseHook": {"tf": 1}}, "df": 1}}}}}}}}}}, "f": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_client.EasyPostClient.beta_referral_customer": {"tf": 1}, "easypost.easypost_client.EasyPostClient.referral_customer": {"tf": 1}, "easypost.services.beta_referral_customer_service": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.referral_customer_service": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}}, "df": 19, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}}, "df": 9}}}}}}}}}}}}}}}}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_client.EasyPostClient.refund": {"tf": 1}, "easypost.models.refund": {"tf": 1}, "easypost.models.refund.Refund": {"tf": 1.4142135623730951}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1}, "easypost.services.refund_service": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.refund_service.RefundService.__init__": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}}, "df": 14, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.refund_service.RefundService.__init__": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}}, "df": 6}}}}}}}}}}}, "g": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.easypost_client.EasyPostClient.fedex_registration": {"tf": 1}, "easypost.services.fedex_registration_service": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 8}}}}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}}, "df": 1}}}}}, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}}, "df": 1}}}}}}}}, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.report": {"tf": 1}, "easypost.models.report": {"tf": 1}, "easypost.models.report.Report": {"tf": 1.4142135623730951}, "easypost.services.report_service": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.report_service.ReportService.__init__": {"tf": 1}, "easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}}, "df": 10, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.report_service.ReportService.__init__": {"tf": 1}, "easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}}, "df": 6}}}}}}}}}}}, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.errors.api.redirect_error": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.redirect_error.RedirectError": {"tf": 1}}, "df": 1}}}}}}}}}}}, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}}, "df": 30}}}}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}}, "df": 1}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 2}}}}}}, "e": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"easypost.util.receive_event": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.beta_rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.rate": {"tf": 1}, "easypost.easypost_client.EasyPostClient.smart_rate": {"tf": 1}, "easypost.errors.api.rate_limit_error": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.pickup_rate": {"tf": 1}, "easypost.models.pickup_rate.PickupRate": {"tf": 1}, "easypost.models.rate": {"tf": 1}, "easypost.models.rate.Rate": {"tf": 1.4142135623730951}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.services.beta_rate_service": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.rate_service": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.rate_service.RateService.__init__": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 24, "s": {"docs": {"easypost.constant.NO_RATES_ERROR": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}}, "df": 5, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.rate_service.RateService.__init__": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}}, "df": 3}}}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "w": {"docs": {"easypost.requestor.Requestor.request_raw": {"tf": 1}}, "df": 1}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {"easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}}, "df": 1}, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"easypost.errors.api.rate_limit_error": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}}, "df": 2}}}, "n": {"docs": {}, "df": 0, "k": {"docs": {"easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}}, "df": 1}}}, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {"easypost.easypost_client.EasyPostClient.luma": {"tf": 1}, "easypost.services.luma_service": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.luma_service.LumaService.__init__": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}}, "df": 7, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.luma_service.LumaService.__init__": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}}, "df": 3}}}}}}}}}}, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 7}}}}, "g": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}}, "df": 1}}, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.models.postage_label": {"tf": 1}, "easypost.models.postage_label.PostageLabel": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}}, "df": 4}}}}}, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}, "easypost.easypost_client.EasyPostClient.webhook": {"tf": 1}, "easypost.models.webhook": {"tf": 1}, "easypost.models.webhook.Webhook": {"tf": 1.4142135623730951}, "easypost.services.webhook_service": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}, "easypost.services.webhook_service.WebhookService.__init__": {"tf": 1}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 13, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.webhook_service.WebhookService": {"tf": 1}, "easypost.services.webhook_service.WebhookService.__init__": {"tf": 1}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}}, "df": 7}}}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}}, "df": 1}}}}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {"easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 1}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1}, "easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}, "easypost.constant.NO_RATES_ERROR": {"tf": 1}, "easypost.constant.NO_USER_FOUND": {"tf": 1}}, "df": 5, "t": {"docs": {"easypost.errors.api.method_not_allowed_error": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}}, "df": 4, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}}, "df": 2}}}, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 13}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.NO_USER_FOUND": {"tf": 1}, "easypost.easypost_client.EasyPostClient.user": {"tf": 1}, "easypost.models.user": {"tf": 1}, "easypost.models.user.User": {"tf": 1.4142135623730951}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.user_service": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.user_service.UserService.__init__": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 17, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.user_service.UserService.__init__": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 11}}}}}}}}}}, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}}, "df": 2}}}}}}}}}, "a": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.errors.api.service_unavailable_error": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}}, "df": 2}}}}}}}}, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.errors.api.unauthorized_error": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}, "k": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "n": {"docs": {"easypost.errors.api.unknown_api_error": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}}, "df": 2, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "l": {"docs": {"easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}}, "df": 2, "f": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.requestor.Requestor.urlfetch_request": {"tf": 1}}, "df": 1}}}}}}}, "p": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}}, "df": 6}}}}}, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {"easypost.util": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}, "easypost.util.receive_event": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 6}}}}, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.NO_USER_FOUND": {"tf": 1}, "easypost.errors.api.not_found_error": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}}, "df": 3}}}, "r": {"docs": {"easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}}, "df": 1, "m": {"docs": {"easypost.easypost_client.EasyPostClient.scan_form": {"tf": 1}, "easypost.models.scan_form": {"tf": 1}, "easypost.models.scan_form.ScanForm": {"tf": 1}, "easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.scan_form_service": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.__init__": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}}, "df": 13}, "b": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {"easypost.errors.api.forbidden_error": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "x": {"docs": {"easypost.easypost_client.EasyPostClient.fedex_registration": {"tf": 1}, "easypost.services.fedex_registration_service": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 8, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 6}}}}}}}}}}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {"easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 5}}}, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.errors.general.filtering_error": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.general.filtering_error.FilteringError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}}, "df": 1}}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"easypost.easypost_client.EasyPostClient.api_key": {"tf": 1}, "easypost.models.api_key": {"tf": 1}, "easypost.models.api_key.ApiKey": {"tf": 1}, "easypost.services.api_key_service": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.__init__": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}}, "df": 13, "s": {"docs": {"easypost.easypost_client.EasyPostClient.api_keys": {"tf": 1}, "easypost.easypost_object.EasyPostObject.keys": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}}, "df": 3}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.order": {"tf": 1}, "easypost.models.order": {"tf": 1}, "easypost.models.order.Order": {"tf": 1.4142135623730951}, "easypost.models.order.Order.lowest_rate": {"tf": 1.4142135623730951}, "easypost.services.order_service": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.order_service.OrderService.__init__": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}}, "df": 11, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.order_service.OrderService.__init__": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}}, "df": 6}}}}}}}}}}}, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object": {"tf": 1}, "easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1.4142135623730951}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1.4142135623730951}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject": {"tf": 1}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 1}, "easypost.easypost_object.EasyPostObject.get": {"tf": 1}, "easypost.easypost_object.EasyPostObject.setdefault": {"tf": 1}, "easypost.easypost_object.EasyPostObject.keys": {"tf": 1}, "easypost.easypost_object.EasyPostObject.values": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1}, "easypost.errors.general.invalid_object_error": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}}, "df": 19}}}}}, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}}, "df": 1}}}}}}}}, "f": {"docs": {"easypost.errors.general.end_of_pagination_error": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 3}}, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}, "easypost.hooks.event_hook": {"tf": 1}, "easypost.hooks.event_hook.EventHook": {"tf": 1}, "easypost.hooks.request_hook": {"tf": 1}, "easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.hooks.response_hook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}}, "df": 10, "s": {"docs": {"easypost.hooks": {"tf": 1}, "easypost.hooks.event_hook": {"tf": 1}, "easypost.hooks.event_hook.EventHook": {"tf": 1}, "easypost.hooks.request_hook": {"tf": 1}, "easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.hooks.response_hook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}}, "df": 7}}}}, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "p": {"docs": {"easypost.errors.api.api_error.ApiError.http_status": {"tf": 1}, "easypost.errors.api.api_error.ApiError.http_body": {"tf": 1}, "easypost.errors.api.http_error": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}}, "df": 4, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.http_error.HttpError": {"tf": 1}}, "df": 1}}}}}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.requestor.Requestor.handle_api_error": {"tf": 1}}, "df": 1}}}}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject.get": {"tf": 1}, "easypost.requestor.RequestMethod.GET": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 21}, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.errors.general": {"tf": 1}, "easypost.errors.general.easypost_error": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.message": {"tf": 1}, "easypost.errors.general.end_of_pagination_error": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}}, "df": 17}, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}}, "df": 1}}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "y": {"docs": {"easypost.errors.api.gateway_timeout_error": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}}, "df": 2, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}, "j": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.errors.api.json_error": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}}, "df": 3, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.json_error.JsonError": {"tf": 1}}, "df": 1}}}}}}}}}}}, "annotation": {"root": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}, "easypost.easypost_object.EasyPostObject.keys": {"tf": 1}, "easypost.easypost_object.EasyPostObject.values": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 5, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "[": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}}, "df": 2}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}}, "t": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 3}}}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "y": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}, "easypost.easypost_object.EasyPostObject.values": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 4}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "[": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_object.EasyPostObject.keys": {"tf": 1}}, "df": 1}}}, "t": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.easypost_object.EasyPostObject.values": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "default_value": {"root": {"0": {"docs": {"easypost.version_info": {"tf": 1}, "easypost.constant.VERSION": {"tf": 1}, "easypost.constant.VERSION_INFO": {"tf": 1}}, "df": 3}, "1": {"0": {"docs": {"easypost.version_info": {"tf": 1}, "easypost.constant.VERSION": {"tf": 1}, "easypost.constant.VERSION_INFO": {"tf": 1}}, "df": 3}, "docs": {}, "df": 0}, "4": {"0": {"0": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}, "1": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}, "2": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}, "3": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}, "4": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}, "5": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}, "8": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}, "docs": {}, "df": 0}, "2": {"2": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}, "9": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}, "docs": {}, "df": 0}, "docs": {}, "df": 0}, "5": {"0": {"0": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}, "3": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}, "4": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}, "docs": {}, "df": 0}, "docs": {}, "df": 0}, "6": {"0": {"docs": {"easypost.constant.TIMEOUT": {"tf": 1}}, "df": 1}, "docs": {}, "df": 0}, "7": {"docs": {"easypost.version_info": {"tf": 1}, "easypost.constant.VERSION": {"tf": 1}, "easypost.constant.VERSION_INFO": {"tf": 1}}, "df": 3}, "docs": {"easypost.version_info": {"tf": 1.4142135623730951}, "easypost.constant.VERSION": {"tf": 1.4142135623730951}, "easypost.constant.VERSION_INFO": {"tf": 1.4142135623730951}, "easypost.constant.API_BASE": {"tf": 1.4142135623730951}, "easypost.constant.API_VERSION": {"tf": 1.4142135623730951}, "easypost.constant.AUTHOR": {"tf": 1.4142135623730951}, "easypost.constant.SUPPORT_EMAIL": {"tf": 1.4142135623730951}, "easypost.constant.COMMUNICATION_ERROR": {"tf": 2}, "easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 2}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 2}, "easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 2}, "easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.MISSING_PARAMETER_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 2}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.NO_RATES_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.NO_USER_FOUND": {"tf": 1.4142135623730951}, "easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.TIMEOUT_ERROR": {"tf": 1.4142135623730951}, "easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 5.656854249492381}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 2.8284271247461903}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}, "easypost.requestor.RequestMethod.GET": {"tf": 1.4142135623730951}, "easypost.requestor.RequestMethod.POST": {"tf": 1.4142135623730951}, "easypost.requestor.RequestMethod.PUT": {"tf": 1.4142135623730951}, "easypost.requestor.RequestMethod.PATCH": {"tf": 1.4142135623730951}, "easypost.requestor.RequestMethod.DELETE": {"tf": 1.4142135623730951}}, "df": 33, "x": {"2": {"7": {"docs": {"easypost.version_info": {"tf": 2.449489742783178}, "easypost.constant.VERSION": {"tf": 1.4142135623730951}, "easypost.constant.VERSION_INFO": {"tf": 2.449489742783178}, "easypost.constant.API_BASE": {"tf": 1.4142135623730951}, "easypost.constant.API_VERSION": {"tf": 1.4142135623730951}, "easypost.constant.AUTHOR": {"tf": 1.4142135623730951}, "easypost.constant.SUPPORT_EMAIL": {"tf": 1.4142135623730951}, "easypost.constant.COMMUNICATION_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.MISSING_PARAMETER_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.NO_RATES_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.NO_USER_FOUND": {"tf": 1.4142135623730951}, "easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1.4142135623730951}, "easypost.constant.TIMEOUT_ERROR": {"tf": 1.4142135623730951}, "easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 10.954451150103322}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 4.898979485566356}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 4.898979485566356}, "easypost.requestor.RequestMethod.GET": {"tf": 1.4142135623730951}, "easypost.requestor.RequestMethod.POST": {"tf": 1.4142135623730951}, "easypost.requestor.RequestMethod.PUT": {"tf": 1.4142135623730951}, "easypost.requestor.RequestMethod.PATCH": {"tf": 1.4142135623730951}, "easypost.requestor.RequestMethod.DELETE": {"tf": 1.4142135623730951}}, "df": 33}, "docs": {}, "df": 0}, "docs": {}, "df": 0}, "h": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, ":": {"docs": {}, "df": 0, "/": {"docs": {}, "df": 0, "/": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {"easypost.constant.API_BASE": {"tf": 1}}, "df": 1}}}}}}}}}}, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {"easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}}, "df": 1}}}, "a": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}}, "df": 1}, "s": {"docs": {"easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 1}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1}}, "df": 2}}, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.API_BASE": {"tf": 1}, "easypost.constant.AUTHOR": {"tf": 1}, "easypost.constant.COMMUNICATION_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 3.4641016151377544}}, "df": 6}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1.4142135623730951}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 3.4641016151377544}}, "df": 2, "s": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 3.4641016151377544}}, "df": 1}}}}}, "s": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}}}}}}, "v": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {"easypost.constant.API_BASE": {"tf": 1}, "easypost.constant.AUTHOR": {"tf": 1}, "easypost.constant.SUPPORT_EMAIL": {"tf": 1}}, "df": 3, "m": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}}, "df": 1}}}}}}}}}}}, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}}, "df": 1}}, "i": {"docs": {}, "df": 0, "n": {"docs": {"easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}}, "df": 1}}}}}, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}}, "df": 1}}}}, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {"easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}}, "df": 1}}}}}, "a": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1, "r": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}}, "df": 1}, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "s": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}, "l": {"docs": {}, "df": 0, "m": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}, "s": {"docs": {}, "df": 0, "s": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 3.4641016151377544}}, "df": 1}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}}}}}}}}, "v": {"2": {"docs": {"easypost.constant.API_VERSION": {"tf": 1}}, "df": 1}, "docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}}, "df": 1}}, "i": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "a": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}}, "df": 1}}}, "l": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.AUTHOR": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 3.4641016151377544}, "easypost.requestor.RequestMethod.GET": {"tf": 1}, "easypost.requestor.RequestMethod.POST": {"tf": 1}, "easypost.requestor.RequestMethod.PUT": {"tf": 1}, "easypost.requestor.RequestMethod.PATCH": {"tf": 1}, "easypost.requestor.RequestMethod.DELETE": {"tf": 1}}, "df": 7}, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}}, "df": 1}}, "i": {"docs": {}, "df": 0, "b": {"docs": {"easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}}, "df": 1, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}}, "df": 1}}}}}, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "@": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.AUTHOR": {"tf": 1}}, "df": 1}}}}}}}}}}}, "r": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}}, "df": 2, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}}, "df": 1}, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}}, "df": 1}}}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1.4142135623730951}}, "df": 1}}}}, "n": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}}, "df": 1}, "l": {"docs": {}, "df": 0, "y": {"docs": {"easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}}, "df": 1}}}, "f": {"docs": {"easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}}, "df": 1}, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 1}}, "df": 1}}}}}, "u": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.TIMEOUT_ERROR": {"tf": 1}}, "df": 1}}}, "g": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.AUTHOR": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 3.4641016151377544}, "easypost.requestor.RequestMethod.GET": {"tf": 1}, "easypost.requestor.RequestMethod.POST": {"tf": 1}, "easypost.requestor.RequestMethod.PUT": {"tf": 1}, "easypost.requestor.RequestMethod.PATCH": {"tf": 1}, "easypost.requestor.RequestMethod.DELETE": {"tf": 1}}, "df": 7}, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}, "easypost.requestor.RequestMethod.GET": {"tf": 1.4142135623730951}}, "df": 2}}, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {"easypost.constant.NO_USER_FOUND": {"tf": 1}}, "df": 1}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "y": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}}, "df": 1, "@": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.SUPPORT_EMAIL": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}}, "df": 1}}}}}}}}, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}}, "df": 1}}}}, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"easypost.constant.NO_BILLING_ERROR": {"tf": 1}}, "df": 1}}}, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}}, "df": 1}}, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}}}, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}}, "df": 1}}}}}, "f": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "m": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}}}}, "h": {"docs": {}, "df": 0, "p": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}, "u": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}}, "df": 1, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}}, "df": 1}}}}}}}}, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}}}}, "s": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.NO_BILLING_ERROR": {"tf": 1}, "easypost.constant.NO_USER_FOUND": {"tf": 1}, "easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1.4142135623730951}}, "df": 3}}}, "p": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}}, "df": 1, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}}, "df": 1}}}}}}, "w": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}, "easypost.constant.NO_USER_FOUND": {"tf": 1}}, "df": 2}}}, "e": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1.4142135623730951}, "easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 3}}}}}}}, "i": {"docs": {}, "df": 0, "f": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}}, "df": 1}, "n": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 5, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}, "s": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}}, "df": 1}}}}, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}, "s": {"docs": {"easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}}, "df": 1}, "d": {"docs": {"easypost.constant.NO_USER_FOUND": {"tf": 1}}, "df": 1}}, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1}}, "df": 2}}, "e": {"docs": {"easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.NO_USER_FOUND": {"tf": 1}}, "df": 2, "r": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}}, "df": 1}}}}, "r": {"docs": {}, "df": 0, "y": {"docs": {"easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}}, "df": 2}, "k": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "o": {"docs": {"easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}, "easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}, "easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}}, "df": 5}, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.TIMEOUT_ERROR": {"tf": 1}}, "df": 1}, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1.4142135623730951}}, "df": 1, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}}, "df": 1}}}}}, "c": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}}, "df": 1}}}}}}}, "l": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}, "easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1}, "easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}}, "df": 6}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}, "a": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 3, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}}, "df": 1}}}}}}}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}}}, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1.4142135623730951}}, "df": 1}}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.MISSING_PARAMETER_ERROR": {"tf": 1}}, "df": 1, "s": {"docs": {"easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}}, "df": 1}}}}}}}, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}}, "df": 1}}}, "t": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.requestor.RequestMethod.PATCH": {"tf": 1.4142135623730951}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "p": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}}, "df": 1}, "c": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1.4142135623730951}}, "df": 1, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1.4142135623730951}}, "df": 1}}}}}}}}}, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.requestor.RequestMethod.POST": {"tf": 1.4142135623730951}}, "df": 1, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}}}}}}}}, "u": {"docs": {}, "df": 0, "t": {"docs": {"easypost.requestor.RequestMethod.PUT": {"tf": 1.4142135623730951}}, "df": 1}}}, "k": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}}, "df": 1}}}}, "a": {"docs": {"easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1}}, "df": 2, "t": {"docs": {"easypost.constant.COMMUNICATION_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}}, "df": 2, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 1}}, "df": 1}}}}}}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "y": {"docs": {"easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}}, "df": 1}}}}}}}, "g": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {"easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}}, "df": 2}}}}, "n": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}, "easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}}, "df": 2, "d": {"docs": {"easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}}, "df": 1}}, "p": {"docs": {}, "df": 0, "i": {"docs": {"easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 3.4641016151377544}}, "df": 2, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}}, "d": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.NO_BILLING_ERROR": {"tf": 1}}, "df": 1, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}}, "r": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}, "r": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}}, "df": 1}}, "k": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}}, "df": 1}}}}}, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}, "easypost.requestor.RequestMethod.DELETE": {"tf": 1.4142135623730951}}, "df": 2}}}}, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {"easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}}, "df": 1}}}}}}, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}}, "df": 2}}}}}}}}, "d": {"docs": {"easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}}, "df": 1}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}}, "df": 1}}}, "o": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}}, "df": 1}}}}, "m": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 4, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}}, "df": 1}}}}}, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.constant.MISSING_PARAMETER_ERROR": {"tf": 1}}, "df": 1}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}}, "df": 1}}}}, "b": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "n": {"docs": {"easypost.constant.NO_BILLING_ERROR": {"tf": 1}}, "df": 1}}}, "u": {"docs": {}, "df": 0, "g": {"docs": {"easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}}, "df": 2}}, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.constant.NO_BILLING_ERROR": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1.4142135623730951}}, "df": 1}}}, "d": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {"easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 1}, "easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}, "easypost.constant.NO_RATES_ERROR": {"tf": 1}, "easypost.constant.NO_USER_FOUND": {"tf": 1}}, "df": 4, "t": {"docs": {"easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1}, "easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1}, "easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1.4142135623730951}}, "df": 6, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.constant.TIMEOUT_ERROR": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1.4142135623730951}}, "df": 4, "s": {"docs": {"easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1.7320508075688772}}, "df": 2}, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {"easypost.requestor.RequestMethod.GET": {"tf": 1}, "easypost.requestor.RequestMethod.POST": {"tf": 1}, "easypost.requestor.RequestMethod.PUT": {"tf": 1}, "easypost.requestor.RequestMethod.PATCH": {"tf": 1}, "easypost.requestor.RequestMethod.DELETE": {"tf": 1}}, "df": 5}}}}}}}}}, "i": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1}}, "df": 1}, "d": {"docs": {"easypost.constant.MISSING_PARAMETER_ERROR": {"tf": 1}}, "df": 1}}}}}}, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1}, "easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 2.449489742783178}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 2.449489742783178}}, "df": 4}}}}, "s": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1}}, "df": 1}}}}}}, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}}, "df": 2}}}}}}, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1}}, "df": 1}}}}}}, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1}}, "df": 1}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1.4142135623730951}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 2, "s": {"docs": {"easypost.constant.NO_RATES_ERROR": {"tf": 1}}, "df": 1}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "f": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1}}, "df": 1}}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {"easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1.4142135623730951}}, "df": 1}}}}, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {"easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1}}, "df": 2}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.constant.NO_BILLING_ERROR": {"tf": 1}}, "df": 1, "b": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.constant.NO_RATES_ERROR": {"tf": 1}, "easypost.constant.NO_USER_FOUND": {"tf": 1}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1}}, "df": 3}}}}}}}, "signature": {"root": {"6": {"0": {"docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}}, "df": 1}, "docs": {}, "df": 0}, "docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 6.708203932499369}, "easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 3.7416573867739413}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 3.7416573867739413}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 3.7416573867739413}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 3.7416573867739413}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 8.717797887081348}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 8}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 8.426149773176359}, "easypost.easypost_object.EasyPostObject.get": {"tf": 5.477225575051661}, "easypost.easypost_object.EasyPostObject.setdefault": {"tf": 5.477225575051661}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 8.426149773176359}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 5.830951894845301}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 5.5677643628300215}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 5.0990195135927845}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 4.47213595499958}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 11.090536506409418}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"tf": 3.4641016151377544}, "easypost.models.order.Order.lowest_rate": {"tf": 8.660254037844387}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 8.660254037844387}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 8.660254037844387}, "easypost.requestor.Requestor.__init__": {"tf": 2.8284271247461903}, "easypost.requestor.Requestor.form_encode_params": {"tf": 9.273618495495704}, "easypost.requestor.Requestor.request": {"tf": 9.899494936611665}, "easypost.requestor.Requestor.request_raw": {"tf": 9.695359714832659}, "easypost.requestor.Requestor.interpret_response": {"tf": 6.48074069840786}, "easypost.requestor.Requestor.requests_request": {"tf": 10.392304845413264}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 10.392304845413264}, "easypost.requestor.Requestor.handle_api_error": {"tf": 7.3484692283495345}, "easypost.requestor.Requestor.encode_url_params": {"tf": 7.615773105863909}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 7.874007874011811}, "easypost.services.address_service.AddressService.__init__": {"tf": 2.8284271247461903}, "easypost.services.address_service.AddressService.create": {"tf": 9.591663046625438}, "easypost.services.address_service.AddressService.all": {"tf": 5.656854249492381}, "easypost.services.address_service.AddressService.retrieve": {"tf": 5.291502622129181}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 7.211102550927978}, "easypost.services.address_service.AddressService.verify": {"tf": 5.291502622129181}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 9.433981132056603}, "easypost.services.api_key_service.ApiKeyService.__init__": {"tf": 2.8284271247461903}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 6.082762530298219}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 5.0990195135927845}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 5.656854249492381}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 4.47213595499958}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 5.656854249492381}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 5.656854249492381}, "easypost.services.base_service.BaseService.__init__": {"tf": 2.8284271247461903}, "easypost.services.batch_service.BatchService.__init__": {"tf": 2.8284271247461903}, "easypost.services.batch_service.BatchService.create": {"tf": 5.477225575051661}, "easypost.services.batch_service.BatchService.all": {"tf": 5.656854249492381}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 5.656854249492381}, "easypost.services.batch_service.BatchService.buy": {"tf": 6.164414002968976}, "easypost.services.batch_service.BatchService.label": {"tf": 6.164414002968976}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 6.164414002968976}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 6.164414002968976}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 6.164414002968976}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 9.433981132056603}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"tf": 2.8284271247461903}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 5.656854249492381}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 7.874007874011811}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 5.830951894845301}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 5.830951894845301}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 5.0990195135927845}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 6.708203932499369}, "easypost.services.billing_service.BillingService.__init__": {"tf": 2.8284271247461903}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 6}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 4.47213595499958}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 5.656854249492381}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"tf": 2.8284271247461903}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 5.477225575051661}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 5.916079783099616}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 5.656854249492381}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 6.4031242374328485}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 4.47213595499958}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 5.385164807134504}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"tf": 2.8284271247461903}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 8.94427190999916}, "easypost.services.claim_service.ClaimService.__init__": {"tf": 2.8284271247461903}, "easypost.services.claim_service.ClaimService.create": {"tf": 5.477225575051661}, "easypost.services.claim_service.ClaimService.all": {"tf": 5.656854249492381}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 5.656854249492381}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 9.433981132056603}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 5.656854249492381}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"tf": 2.8284271247461903}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 5.656854249492381}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"tf": 2.8284271247461903}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 5.477225575051661}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 5.656854249492381}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"tf": 2.8284271247461903}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 5.477225575051661}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 5.656854249492381}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"tf": 2.8284271247461903}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 5.656854249492381}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"tf": 2.8284271247461903}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 5.477225575051661}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 5.656854249492381}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 5.656854249492381}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 6.164414002968976}, "easypost.services.event_service.EventService.__init__": {"tf": 2.8284271247461903}, "easypost.services.event_service.EventService.create": {"tf": 5.477225575051661}, "easypost.services.event_service.EventService.all": {"tf": 5.656854249492381}, "easypost.services.event_service.EventService.retrieve": {"tf": 5.656854249492381}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 6.324555320336759}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 7.0710678118654755}, "easypost.services.event_service.EventService.get_next_page": {"tf": 9.433981132056603}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"tf": 2.8284271247461903}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 6.324555320336759}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 7.211102550927978}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 6.324555320336759}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 6.324555320336759}, "easypost.services.insurance_service.InsuranceService.__init__": {"tf": 2.8284271247461903}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 5.477225575051661}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 5.656854249492381}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 5.656854249492381}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 9.433981132056603}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 5.656854249492381}, "easypost.services.luma_service.LumaService.__init__": {"tf": 2.8284271247461903}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 7.0710678118654755}, "easypost.services.order_service.OrderService.__init__": {"tf": 2.8284271247461903}, "easypost.services.order_service.OrderService.create": {"tf": 5.477225575051661}, "easypost.services.order_service.OrderService.retrieve": {"tf": 5.656854249492381}, "easypost.services.order_service.OrderService.get_rates": {"tf": 5.656854249492381}, "easypost.services.order_service.OrderService.buy": {"tf": 6.164414002968976}, "easypost.services.parcel_service.ParcelService.__init__": {"tf": 2.8284271247461903}, "easypost.services.parcel_service.ParcelService.create": {"tf": 5.477225575051661}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 5.656854249492381}, "easypost.services.pickup_service.PickupService.__init__": {"tf": 2.8284271247461903}, "easypost.services.pickup_service.PickupService.create": {"tf": 5.477225575051661}, "easypost.services.pickup_service.PickupService.all": {"tf": 5.656854249492381}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 5.656854249492381}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 9.433981132056603}, "easypost.services.pickup_service.PickupService.buy": {"tf": 6.164414002968976}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 6.164414002968976}, "easypost.services.rate_service.RateService.__init__": {"tf": 2.8284271247461903}, "easypost.services.rate_service.RateService.retrieve": {"tf": 5.656854249492381}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"tf": 2.8284271247461903}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 5.477225575051661}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 5.291502622129181}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 5.656854249492381}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 9.433981132056603}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 7.874007874011811}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 9.219544457292887}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 3.4641016151377544}, "easypost.services.refund_service.RefundService.__init__": {"tf": 2.8284271247461903}, "easypost.services.refund_service.RefundService.create": {"tf": 5.477225575051661}, "easypost.services.refund_service.RefundService.all": {"tf": 5.656854249492381}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 5.656854249492381}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 9.433981132056603}, "easypost.services.report_service.ReportService.__init__": {"tf": 2.8284271247461903}, "easypost.services.report_service.ReportService.create": {"tf": 5.477225575051661}, "easypost.services.report_service.ReportService.all": {"tf": 5.656854249492381}, "easypost.services.report_service.ReportService.retrieve": {"tf": 5.656854249492381}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 10}, "easypost.services.scan_form_service.ScanFormService.__init__": {"tf": 2.8284271247461903}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 5.477225575051661}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 5.656854249492381}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 5.656854249492381}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 9.433981132056603}, "easypost.services.shipment_service.ShipmentService.__init__": {"tf": 2.8284271247461903}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 5.477225575051661}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 5.656854249492381}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 5.656854249492381}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 9.433981132056603}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 6.708203932499369}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 6.082762530298219}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 7.810249675906654}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 6.164414002968976}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 6.164414002968976}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 6.164414002968976}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 7.211102550927978}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 8.602325267042627}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 6.708203932499369}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 6.708203932499369}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 7.0710678118654755}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 7.681145747868608}, "easypost.services.smartrate_service.SmartRateService.__init__": {"tf": 2.8284271247461903}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 5.916079783099616}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 5.916079783099616}, "easypost.services.tracker_service.TrackerService.__init__": {"tf": 2.8284271247461903}, "easypost.services.tracker_service.TrackerService.create": {"tf": 5.477225575051661}, "easypost.services.tracker_service.TrackerService.all": {"tf": 5.656854249492381}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 5.477225575051661}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 5.656854249492381}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 9.433981132056603}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 4.47213595499958}, "easypost.services.user_service.UserService.__init__": {"tf": 2.8284271247461903}, "easypost.services.user_service.UserService.create": {"tf": 5.477225575051661}, "easypost.services.user_service.UserService.all": {"tf": 5.656854249492381}, "easypost.services.user_service.UserService.retrieve": {"tf": 6.557438524302}, "easypost.services.user_service.UserService.update": {"tf": 6.164414002968976}, "easypost.services.user_service.UserService.delete": {"tf": 4.47213595499958}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 4.898979485566356}, "easypost.services.user_service.UserService.update_brand": {"tf": 6.164414002968976}, "easypost.services.user_service.UserService.all_children": {"tf": 5.656854249492381}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 9.433981132056603}, "easypost.services.webhook_service.WebhookService.__init__": {"tf": 2.8284271247461903}, "easypost.services.webhook_service.WebhookService.create": {"tf": 5.477225575051661}, "easypost.services.webhook_service.WebhookService.all": {"tf": 5.656854249492381}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 5.656854249492381}, "easypost.services.webhook_service.WebhookService.update": {"tf": 6.164414002968976}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 4.47213595499958}, "easypost.util.get_lowest_object_rate": {"tf": 10.908712114635714}, "easypost.util.get_lowest_smart_rate": {"tf": 8}, "easypost.util.get_lowest_stateless_rate": {"tf": 9.899494936611665}, "easypost.util.receive_event": {"tf": 3.7416573867739413}, "easypost.util.validate_webhook": {"tf": 7.937253933193772}}, "df": 204, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 1.4142135623730951}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 7, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}}, "df": 4}}}}}, "n": {"docs": {}, "df": 0, "y": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1.4142135623730951}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.get": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject.setdefault": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1.4142135623730951}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.requestor.Requestor.form_encode_params": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.request": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1.4142135623730951}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1.7320508075688772}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1.4142135623730951}, "easypost.util.validate_webhook": {"tf": 1.4142135623730951}}, "df": 78}}, "b": {"docs": {}, "df": 0, "s": {"docs": {"easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}}, "df": 2}}, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.address_service.AddressService.create": {"tf": 1.4142135623730951}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1.4142135623730951}, "easypost.services.address_service.AddressService.verify": {"tf": 1.4142135623730951}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1.4142135623730951}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1.4142135623730951}}, "df": 7, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.address_service.AddressService.get_next_page": {"tf": 1}}, "df": 1}}}}}}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}}, "df": 2}}}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 7}}}}, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}}, "df": 2}}}}}}}}, "k": {"docs": {"easypost.easypost_object.EasyPostObject.get": {"tf": 1}, "easypost.easypost_object.EasyPostObject.setdefault": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "y": {"docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}}, "df": 8, "s": {"docs": {"easypost.requestor.Requestor.form_encode_params": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1.7320508075688772}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 2.23606797749979}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"tf": 1}, "easypost.models.order.Order.lowest_rate": {"tf": 1.4142135623730951}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1.4142135623730951}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.form_encode_params": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.request": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.request_raw": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.interpret_response": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.requests_request": {"tf": 2.23606797749979}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 2.23606797749979}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1.7320508075688772}, "easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 2}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1.4142135623730951}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1.4142135623730951}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1.4142135623730951}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1.4142135623730951}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1.4142135623730951}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1.4142135623730951}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1.7320508075688772}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1.4142135623730951}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1.4142135623730951}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1.4142135623730951}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 2}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 2.23606797749979}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1.4142135623730951}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1.7320508075688772}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 2}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 2}, "easypost.util.receive_event": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1.7320508075688772}}, "df": 142, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.address_service.AddressService.create": {"tf": 1}}, "df": 1}}, "p": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}}, "df": 1}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {"easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}}, "df": 3}}, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 1}}}}}}}}, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "f": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.easypost_object.EasyPostObject.get": {"tf": 1}, "easypost.easypost_object.EasyPostObject.setdefault": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1}, "easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}, "easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}}, "df": 160}}, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 5}}}}}}, "c": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.util.validate_webhook": {"tf": 1}}, "df": 1}}}}}, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 13}}}, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "p": {"docs": {"easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}}, "df": 1, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.luma_service.LumaService.get_promise": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1.4142135623730951}}, "df": 10, "s": {"docs": {"easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}}, "df": 1}}}}}, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}}, "df": 1}}}}}}, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}}, "df": 3, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "m": {"docs": {"easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}}, "df": 2}}}}}}}, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.util.get_lowest_smart_rate": {"tf": 1}}, "df": 1}}}}}, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}}, "df": 1}}, "t": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.services.batch_service.BatchService.create": {"tf": 1.4142135623730951}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.batch_service.BatchService.buy": {"tf": 1.4142135623730951}, "easypost.services.batch_service.BatchService.label": {"tf": 1.4142135623730951}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1.4142135623730951}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1.4142135623730951}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1.4142135623730951}}, "df": 7, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}}, "df": 1}}}}}}, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "y": {"docs": {"easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 4}}, "o": {"docs": {}, "df": 0, "l": {"docs": {"easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.services.address_service.AddressService.create": {"tf": 1.4142135623730951}}, "df": 3}}}, "y": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 2}}}}, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}}, "df": 2}}}}, "h": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "p": {"docs": {"easypost.errors.api.api_error.ApiError.__init__": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.interpret_response": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1.4142135623730951}}, "df": 3, "s": {"docs": {}, "df": 0, ":": {"docs": {}, "df": 0, "/": {"docs": {}, "df": 0, "/": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {"easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 3}}}}}}}, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}, "easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 2}, "easypost.util.get_lowest_smart_rate": {"tf": 1.4142135623730951}}, "df": 89, "o": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.util.get_lowest_object_rate": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}}, "df": 1, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {"easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}}, "df": 1}}}}}, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.event_service.EventService.create": {"tf": 1.4142135623730951}, "easypost.services.event_service.EventService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 5, "s": {"docs": {"easypost.services.event_service.EventService.get_next_page": {"tf": 1}}, "df": 1}}}}}, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}}, "df": 1}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "/": {"docs": {}, "df": 0, "v": {"2": {"docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}}, "df": 1}, "docs": {}, "df": 0}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {"easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}}, "df": 1}}, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 1}}}}}}}}}}, "l": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}}, "df": 1}, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.requestor.Requestor.__init__": {"tf": 1}, "easypost.services.address_service.AddressService.__init__": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.__init__": {"tf": 1}, "easypost.services.base_service.BaseService.__init__": {"tf": 1}, "easypost.services.batch_service.BatchService.__init__": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"tf": 1}, "easypost.services.billing_service.BillingService.__init__": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"tf": 1}, "easypost.services.claim_service.ClaimService.__init__": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"tf": 1}, "easypost.services.event_service.EventService.__init__": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.__init__": {"tf": 1}, "easypost.services.luma_service.LumaService.__init__": {"tf": 1}, "easypost.services.order_service.OrderService.__init__": {"tf": 1}, "easypost.services.parcel_service.ParcelService.__init__": {"tf": 1}, "easypost.services.pickup_service.PickupService.__init__": {"tf": 1}, "easypost.services.rate_service.RateService.__init__": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"tf": 1}, "easypost.services.refund_service.RefundService.__init__": {"tf": 1}, "easypost.services.report_service.ReportService.__init__": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.__init__": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.__init__": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.__init__": {"tf": 1}, "easypost.services.tracker_service.TrackerService.__init__": {"tf": 1}, "easypost.services.user_service.UserService.__init__": {"tf": 1}, "easypost.services.webhook_service.WebhookService.__init__": {"tf": 1}}, "df": 32}}}}, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {"easypost.services.claim_service.ClaimService.create": {"tf": 1.4142135623730951}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1.4142135623730951}}, "df": 3, "s": {"docs": {"easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}}, "df": 1}}}}}, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}}, "df": 5, "s": {"docs": {"easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 6}, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}}, "df": 3}}}}}}}}}}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}}, "df": 1, "s": {"docs": {"easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}}, "df": 1}}}, "s": {"docs": {"easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}}, "df": 4, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {"easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}}, "df": 2}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}}, "df": 2}}}}}}}}}}, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 1}}}}}}}}, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}}, "df": 1}}}}}}, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1.4142135623730951}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}, "easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1.4142135623730951}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1.4142135623730951}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1.4142135623730951}, "easypost.util.validate_webhook": {"tf": 1.4142135623730951}}, "df": 71}}}, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}}, "df": 1, "s": {"docs": {"easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}}, "df": 1}}}}, "u": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}}, "df": 3}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.tracker_service.TrackerService.create": {"tf": 1.4142135623730951}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1.4142135623730951}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1.4142135623730951}}, "df": 3, "s": {"docs": {"easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}}, "df": 1}}}}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.__init__": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}}, "df": 24}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}}, "df": 1}}}}, "f": {"docs": {}, "df": 0, "o": {"docs": {"easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}}, "df": 2}}, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.insurance_service.InsuranceService.create": {"tf": 1.4142135623730951}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1.4142135623730951}}, "df": 3, "s": {"docs": {"easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}}, "df": 1}}}}}}}}, "p": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {"easypost.util.receive_event": {"tf": 1}}, "df": 1}}}}, "d": {"docs": {"easypost.easypost_object.EasyPostObject.__init__": {"tf": 1}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1.4142135623730951}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}}, "df": 64}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}}, "df": 2}}}}, "f": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}}, "df": 4}}}}}}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}}, "df": 2}}}}, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "x": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 4}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 1}}}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "m": {"docs": {"easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1.4142135623730951}}, "df": 3, "s": {"docs": {"easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}}, "df": 1}}}}}, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}}, "df": 10}}}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"tf": 1}}, "df": 2}}}}}}, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}}, "df": 1, "l": {"docs": {}, "df": 0, "s": {"docs": {"easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1.4142135623730951}}, "df": 81}}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 1}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}}, "df": 7}}, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}}, "df": 7}}}}}}}}}}}, "s": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}}, "df": 2}}}}}}, "f": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}}, "df": 1}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 3}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1.4142135623730951}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1.4142135623730951}}, "df": 3, "s": {"docs": {"easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}}, "df": 1}}}}}, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}}, "df": 1}}}}, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.report_service.ReportService.create": {"tf": 1.4142135623730951}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1.4142135623730951}}, "df": 2, "s": {"docs": {"easypost.services.report_service.ReportService.get_next_page": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.models.order.Order.lowest_rate": {"tf": 1.4142135623730951}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1.4142135623730951}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1.4142135623730951}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1.4142135623730951}, "easypost.util.get_lowest_object_rate": {"tf": 1.4142135623730951}, "easypost.util.get_lowest_smart_rate": {"tf": 2}}, "df": 9, "s": {"docs": {"easypost.util.get_lowest_object_rate": {"tf": 1.4142135623730951}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 3}}}, "w": {"docs": {"easypost.util.receive_event": {"tf": 1}}, "df": 1}}}, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}, "easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}}, "df": 92}}}, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.requestor.Requestor.form_encode_params": {"tf": 1.4142135623730951}}, "df": 4}}}, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.parcel_service.ParcelService.create": {"tf": 1.4142135623730951}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1.4142135623730951}}, "df": 2}}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 13}}, "y": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}}, "df": 3}}}}, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.event_service.EventService.retrieve_payload": {"tf": 1.7320508075688772}}, "df": 1}}}}}}, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 5}}}}}, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 4}}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}}, "df": 1}, "c": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"easypost.services.pickup_service.PickupService.create": {"tf": 1.4142135623730951}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1.4142135623730951}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1.4142135623730951}}, "df": 4, "s": {"docs": {"easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}}, "df": 1}}}}}}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}}, "df": 1}}}}}}}, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1.4142135623730951}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 1}, "easypost.requestor.Requestor.form_encode_params": {"tf": 2}, "easypost.requestor.Requestor.request": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1.4142135623730951}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1.7320508075688772}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1.4142135623730951}, "easypost.util.validate_webhook": {"tf": 1.4142135623730951}}, "df": 76}}}, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject.get": {"tf": 1}, "easypost.easypost_object.EasyPostObject.setdefault": {"tf": 1}}, "df": 2}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1.4142135623730951}}, "df": 3}}}}}}, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 2}, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}}, "df": 2}}, "y": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}}, "df": 2}}}}, "o": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "j": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1.4142135623730951}, "easypost.util.get_lowest_object_rate": {"tf": 1.4142135623730951}}, "df": 4}}}}}, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}}, "df": 1, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 13}}, "s": {"docs": {"easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}}, "df": 1}}}}}}, "r": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.order_service.OrderService.create": {"tf": 1.4142135623730951}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1.4142135623730951}, "easypost.services.order_service.OrderService.buy": {"tf": 1.4142135623730951}}, "df": 4}}}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.convert_to_easypost_object": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 2.449489742783178}, "easypost.easypost_object.EasyPostObject.get": {"tf": 1}, "easypost.easypost_object.EasyPostObject.setdefault": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 1.4142135623730951}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 2.8284271247461903}, "easypost.models.order.Order.lowest_rate": {"tf": 2}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 2}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 2}, "easypost.requestor.Requestor.form_encode_params": {"tf": 2}, "easypost.requestor.Requestor.request": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.request_raw": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.services.address_service.AddressService.create": {"tf": 2.449489742783178}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1.4142135623730951}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1.4142135623730951}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 2}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 2}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1.4142135623730951}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 2}, "easypost.util.get_lowest_stateless_rate": {"tf": 2}}, "df": 46}}}, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}}, "df": 3}}}, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 4}}}}}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}}, "df": 2}}}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.address_service.AddressService.create": {"tf": 1.7320508075688772}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}}, "df": 2}}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.errors.api.api_error.ApiError.__init__": {"tf": 1.4142135623730951}, "easypost.models.order.Order.lowest_rate": {"tf": 1.4142135623730951}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1.4142135623730951}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1.4142135623730951}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1.7320508075688772}}, "df": 18}}}, "o": {"docs": {}, "df": 0, "g": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}}, "df": 1}}}, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "l": {"docs": {"easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}}, "df": 6}}, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1.4142135623730951}, "easypost.services.user_service.UserService.create": {"tf": 1.4142135623730951}, "easypost.services.user_service.UserService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.user_service.UserService.update": {"tf": 1.4142135623730951}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1.4142135623730951}, "easypost.services.user_service.UserService.update_brand": {"tf": 1.4142135623730951}}, "df": 6}}}}, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.services.webhook_service.WebhookService.create": {"tf": 1.4142135623730951}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1.4142135623730951}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 4}}}}}}}}}, "bases": {"root": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}, "u": {"docs": {}, "df": 0, "m": {"docs": {"easypost.requestor.RequestMethod": {"tf": 1.4142135623730951}}, "df": 1}}}, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.errors.api.api_error.ApiError": {"tf": 1.4142135623730951}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1.4142135623730951}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1.4142135623730951}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1.4142135623730951}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1.4142135623730951}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1.4142135623730951}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1.4142135623730951}, "easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}, "easypost.models.address.Address": {"tf": 1.4142135623730951}, "easypost.models.api_key.ApiKey": {"tf": 1.4142135623730951}, "easypost.models.batch.Batch": {"tf": 1.4142135623730951}, "easypost.models.billing.Billing": {"tf": 1.4142135623730951}, "easypost.models.brand.Brand": {"tf": 1.4142135623730951}, "easypost.models.carrier_account.CarrierAccount": {"tf": 1.4142135623730951}, "easypost.models.claim.Claim": {"tf": 1.4142135623730951}, "easypost.models.customs_info.CustomsInfo": {"tf": 1.4142135623730951}, "easypost.models.customs_item.CustomsItem": {"tf": 1.4142135623730951}, "easypost.models.end_shipper.EndShipper": {"tf": 1.4142135623730951}, "easypost.models.event.Event": {"tf": 1.4142135623730951}, "easypost.models.insurance.Insurance": {"tf": 1.4142135623730951}, "easypost.models.order.Order": {"tf": 1.4142135623730951}, "easypost.models.parcel.Parcel": {"tf": 1.4142135623730951}, "easypost.models.payload.Payload": {"tf": 1.4142135623730951}, "easypost.models.pickup.Pickup": {"tf": 1.4142135623730951}, "easypost.models.pickup_rate.PickupRate": {"tf": 1.4142135623730951}, "easypost.models.postage_label.PostageLabel": {"tf": 1.4142135623730951}, "easypost.models.rate.Rate": {"tf": 1.4142135623730951}, "easypost.models.refund.Refund": {"tf": 1.4142135623730951}, "easypost.models.report.Report": {"tf": 1.4142135623730951}, "easypost.models.scan_form.ScanForm": {"tf": 1.4142135623730951}, "easypost.models.shipment.Shipment": {"tf": 1.4142135623730951}, "easypost.models.tracker.Tracker": {"tf": 1.4142135623730951}, "easypost.models.user.User": {"tf": 1.4142135623730951}, "easypost.models.webhook.Webhook": {"tf": 1.4142135623730951}, "easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}}, "df": 84, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}}, "df": 7}}}}}, "o": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.models.address.Address": {"tf": 1}, "easypost.models.api_key.ApiKey": {"tf": 1}, "easypost.models.batch.Batch": {"tf": 1}, "easypost.models.billing.Billing": {"tf": 1}, "easypost.models.brand.Brand": {"tf": 1}, "easypost.models.carrier_account.CarrierAccount": {"tf": 1}, "easypost.models.claim.Claim": {"tf": 1}, "easypost.models.customs_info.CustomsInfo": {"tf": 1}, "easypost.models.customs_item.CustomsItem": {"tf": 1}, "easypost.models.end_shipper.EndShipper": {"tf": 1}, "easypost.models.event.Event": {"tf": 1}, "easypost.models.insurance.Insurance": {"tf": 1}, "easypost.models.order.Order": {"tf": 1}, "easypost.models.parcel.Parcel": {"tf": 1}, "easypost.models.payload.Payload": {"tf": 1}, "easypost.models.pickup.Pickup": {"tf": 1}, "easypost.models.pickup_rate.PickupRate": {"tf": 1}, "easypost.models.postage_label.PostageLabel": {"tf": 1}, "easypost.models.rate.Rate": {"tf": 1}, "easypost.models.refund.Refund": {"tf": 1}, "easypost.models.report.Report": {"tf": 1}, "easypost.models.scan_form.ScanForm": {"tf": 1}, "easypost.models.shipment.Shipment": {"tf": 1}, "easypost.models.tracker.Tracker": {"tf": 1}, "easypost.models.user.User": {"tf": 1}, "easypost.models.webhook.Webhook": {"tf": 1}}, "df": 26}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}}, "df": 25, "s": {"docs": {"easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}}, "df": 25}}}}}, "x": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}}, "df": 1}}}}}}}}, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}}, "df": 2, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}}, "df": 2}}}}}}}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}}, "df": 7}}}}}}}, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {"easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1.4142135623730951}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1.4142135623730951}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1.4142135623730951}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1.4142135623730951}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1.4142135623730951}, "easypost.errors.api.http_error.HttpError": {"tf": 1.4142135623730951}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1.4142135623730951}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1.4142135623730951}, "easypost.errors.api.json_error.JsonError": {"tf": 1.4142135623730951}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1.4142135623730951}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1.4142135623730951}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1.4142135623730951}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1.4142135623730951}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1.4142135623730951}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1.4142135623730951}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1.4142135623730951}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1.4142135623730951}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1.4142135623730951}}, "df": 18, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}}, "df": 18}}}}}}}}, "b": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}}, "df": 1}}}}}}}, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}}, "df": 31, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}}, "df": 31}}}}}}}}}}}, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}}, "df": 2, "s": {"docs": {"easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}}, "df": 2}}}}}, "o": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.models.address.Address": {"tf": 1}, "easypost.models.api_key.ApiKey": {"tf": 1}, "easypost.models.batch.Batch": {"tf": 1}, "easypost.models.billing.Billing": {"tf": 1}, "easypost.models.brand.Brand": {"tf": 1}, "easypost.models.carrier_account.CarrierAccount": {"tf": 1}, "easypost.models.claim.Claim": {"tf": 1}, "easypost.models.customs_info.CustomsInfo": {"tf": 1}, "easypost.models.customs_item.CustomsItem": {"tf": 1}, "easypost.models.end_shipper.EndShipper": {"tf": 1}, "easypost.models.event.Event": {"tf": 1}, "easypost.models.insurance.Insurance": {"tf": 1}, "easypost.models.order.Order": {"tf": 1}, "easypost.models.parcel.Parcel": {"tf": 1}, "easypost.models.payload.Payload": {"tf": 1}, "easypost.models.pickup.Pickup": {"tf": 1}, "easypost.models.pickup_rate.PickupRate": {"tf": 1}, "easypost.models.postage_label.PostageLabel": {"tf": 1}, "easypost.models.rate.Rate": {"tf": 1}, "easypost.models.refund.Refund": {"tf": 1}, "easypost.models.report.Report": {"tf": 1}, "easypost.models.scan_form.ScanForm": {"tf": 1}, "easypost.models.shipment.Shipment": {"tf": 1}, "easypost.models.tracker.Tracker": {"tf": 1}, "easypost.models.user.User": {"tf": 1}, "easypost.models.webhook.Webhook": {"tf": 1}}, "df": 26}}}}}}, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}}, "df": 31, "s": {"docs": {"easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}}, "df": 31}}}}}}}}}}, "doc": {"root": {"docs": {"easypost": {"tf": 1.7320508075688772}, "easypost.version_info": {"tf": 1.7320508075688772}, "easypost.constant": {"tf": 1.7320508075688772}, "easypost.constant.VERSION": {"tf": 1.7320508075688772}, "easypost.constant.VERSION_INFO": {"tf": 1.7320508075688772}, "easypost.constant.API_BASE": {"tf": 1.7320508075688772}, "easypost.constant.API_VERSION": {"tf": 1.7320508075688772}, "easypost.constant.AUTHOR": {"tf": 1.7320508075688772}, "easypost.constant.SUPPORT_EMAIL": {"tf": 1.7320508075688772}, "easypost.constant.TIMEOUT": {"tf": 1.7320508075688772}, "easypost.constant.COMMUNICATION_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.INVALID_DELIVER_ACCURACY_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.INVALID_PAYMENT_METHOD_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.INVALID_REQUEST_LIB_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.INVALID_REQUEST_METHOD_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.INVALID_REQUEST_PARAMETERS_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.INVALID_REQUESTS_VERSION_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.INVALID_RESPONSE_BODY_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.INVALID_SIGNATURE_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.INVALID_WEBHOOK_VALIDATION_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.MISSING_PARAMETER_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.NO_ATTRIBUTE_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.NO_BILLING_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.NO_MORE_PAGES_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.NO_RATES_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.NO_USER_FOUND": {"tf": 1.7320508075688772}, "easypost.constant.SEND_STRIPE_DETAILS_ERROR": {"tf": 1.7320508075688772}, "easypost.constant.TIMEOUT_ERROR": {"tf": 1.7320508075688772}, "easypost.easypost_client": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.__init__": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.api_key": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.api_base": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.timeout": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.address": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.api_keys": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.batch": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.beta_rate": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.beta_referral_customer": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.billing": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.carrier_account": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.carrier_metadata": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.claim": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.customer_portal": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.customs_info": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.customs_item": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.embeddable": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.end_shipper": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.event": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.fedex_registration": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.insurance": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.luma": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.order": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.parcel": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.rate": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.pickup": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.referral_customer": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.refund": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.report": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.scan_form": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.shipment": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.smart_rate": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.tracker": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.user": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.webhook": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1.7320508075688772}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 2.449489742783178}, "easypost.easypost_object": {"tf": 1.7320508075688772}, "easypost.easypost_object.EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP": {"tf": 1.7320508075688772}, "easypost.easypost_object.OBJECT_CLASS_NAME_OVERRIDES": {"tf": 1.7320508075688772}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObject": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObject.__init__": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObject.get": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObject.setdefault": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObject.keys": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObject.values": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 8.426149773176359}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1.7320508075688772}, "easypost.errors": {"tf": 1.7320508075688772}, "easypost.errors.api": {"tf": 1.7320508075688772}, "easypost.errors.api.api_error": {"tf": 1.7320508075688772}, "easypost.errors.api.api_error.ApiError": {"tf": 1.7320508075688772}, "easypost.errors.api.api_error.ApiError.__init__": {"tf": 1.7320508075688772}, "easypost.errors.api.api_error.ApiError.message": {"tf": 1.7320508075688772}, "easypost.errors.api.api_error.ApiError.errors": {"tf": 1.7320508075688772}, "easypost.errors.api.api_error.ApiError.code": {"tf": 1.7320508075688772}, "easypost.errors.api.api_error.ApiError.http_status": {"tf": 1.7320508075688772}, "easypost.errors.api.api_error.ApiError.http_body": {"tf": 1.7320508075688772}, "easypost.errors.api.bad_request_error": {"tf": 1.7320508075688772}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1.7320508075688772}, "easypost.errors.api.encoding_error": {"tf": 1.7320508075688772}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1.7320508075688772}, "easypost.errors.api.external_api_error": {"tf": 1.7320508075688772}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1.7320508075688772}, "easypost.errors.api.forbidden_error": {"tf": 1.7320508075688772}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1.7320508075688772}, "easypost.errors.api.gateway_timeout_error": {"tf": 1.7320508075688772}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1.7320508075688772}, "easypost.errors.api.http_error": {"tf": 1.7320508075688772}, "easypost.errors.api.http_error.HttpError": {"tf": 1.7320508075688772}, "easypost.errors.api.internal_server_error": {"tf": 1.7320508075688772}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1.7320508075688772}, "easypost.errors.api.invalid_request_error": {"tf": 1.7320508075688772}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1.7320508075688772}, "easypost.errors.api.json_error": {"tf": 1.7320508075688772}, "easypost.errors.api.json_error.JsonError": {"tf": 1.7320508075688772}, "easypost.errors.api.method_not_allowed_error": {"tf": 1.7320508075688772}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1.7320508075688772}, "easypost.errors.api.not_found_error": {"tf": 1.7320508075688772}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1.7320508075688772}, "easypost.errors.api.payment_error": {"tf": 1.7320508075688772}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1.7320508075688772}, "easypost.errors.api.rate_limit_error": {"tf": 1.7320508075688772}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1.7320508075688772}, "easypost.errors.api.redirect_error": {"tf": 1.7320508075688772}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1.7320508075688772}, "easypost.errors.api.service_unavailable_error": {"tf": 1.7320508075688772}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1.7320508075688772}, "easypost.errors.api.timeout_error": {"tf": 1.7320508075688772}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1.7320508075688772}, "easypost.errors.api.unauthorized_error": {"tf": 1.7320508075688772}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1.7320508075688772}, "easypost.errors.api.unknown_api_error": {"tf": 1.7320508075688772}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1.7320508075688772}, "easypost.errors.general": {"tf": 1.7320508075688772}, "easypost.errors.general.easypost_error": {"tf": 1.7320508075688772}, "easypost.errors.general.easypost_error.EasyPostError": {"tf": 1.7320508075688772}, "easypost.errors.general.easypost_error.EasyPostError.__init__": {"tf": 1.7320508075688772}, "easypost.errors.general.easypost_error.EasyPostError.message": {"tf": 1.7320508075688772}, "easypost.errors.general.end_of_pagination_error": {"tf": 1.7320508075688772}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1.7320508075688772}, "easypost.errors.general.filtering_error": {"tf": 1.7320508075688772}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1.7320508075688772}, "easypost.errors.general.invalid_object_error": {"tf": 1.7320508075688772}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1.7320508075688772}, "easypost.errors.general.invalid_parameter_error": {"tf": 1.7320508075688772}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1.7320508075688772}, "easypost.errors.general.missing_parameter_error": {"tf": 1.7320508075688772}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1.7320508075688772}, "easypost.errors.general.signature_verification_error": {"tf": 1.7320508075688772}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1.7320508075688772}, "easypost.hooks": {"tf": 1.7320508075688772}, "easypost.hooks.event_hook": {"tf": 1.7320508075688772}, "easypost.hooks.event_hook.EventHook": {"tf": 1.7320508075688772}, "easypost.hooks.request_hook": {"tf": 1.7320508075688772}, "easypost.hooks.request_hook.RequestHook": {"tf": 1.7320508075688772}, "easypost.hooks.response_hook": {"tf": 1.7320508075688772}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1.7320508075688772}, "easypost.models": {"tf": 1.7320508075688772}, "easypost.models.address": {"tf": 1.7320508075688772}, "easypost.models.address.Address": {"tf": 1.7320508075688772}, "easypost.models.api_key": {"tf": 1.7320508075688772}, "easypost.models.api_key.ApiKey": {"tf": 1.7320508075688772}, "easypost.models.batch": {"tf": 1.7320508075688772}, "easypost.models.batch.Batch": {"tf": 1.7320508075688772}, "easypost.models.billing": {"tf": 1.7320508075688772}, "easypost.models.billing.Billing": {"tf": 1.7320508075688772}, "easypost.models.brand": {"tf": 1.7320508075688772}, "easypost.models.brand.Brand": {"tf": 1.7320508075688772}, "easypost.models.carrier_account": {"tf": 1.7320508075688772}, "easypost.models.carrier_account.CarrierAccount": {"tf": 1.7320508075688772}, "easypost.models.claim": {"tf": 1.7320508075688772}, "easypost.models.claim.Claim": {"tf": 1.7320508075688772}, "easypost.models.customs_info": {"tf": 1.7320508075688772}, "easypost.models.customs_info.CustomsInfo": {"tf": 1.7320508075688772}, "easypost.models.customs_item": {"tf": 1.7320508075688772}, "easypost.models.customs_item.CustomsItem": {"tf": 1.7320508075688772}, "easypost.models.end_shipper": {"tf": 1.7320508075688772}, "easypost.models.end_shipper.EndShipper": {"tf": 1.7320508075688772}, "easypost.models.event": {"tf": 1.7320508075688772}, "easypost.models.event.Event": {"tf": 1.7320508075688772}, "easypost.models.insurance": {"tf": 1.7320508075688772}, "easypost.models.insurance.Insurance": {"tf": 1.7320508075688772}, "easypost.models.order": {"tf": 1.7320508075688772}, "easypost.models.order.Order": {"tf": 1.7320508075688772}, "easypost.models.order.Order.lowest_rate": {"tf": 1.7320508075688772}, "easypost.models.parcel": {"tf": 1.7320508075688772}, "easypost.models.parcel.Parcel": {"tf": 1.7320508075688772}, "easypost.models.payload": {"tf": 1.7320508075688772}, "easypost.models.payload.Payload": {"tf": 1.7320508075688772}, "easypost.models.pickup": {"tf": 1.7320508075688772}, "easypost.models.pickup.Pickup": {"tf": 1.7320508075688772}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1.7320508075688772}, "easypost.models.pickup_rate": {"tf": 1.7320508075688772}, "easypost.models.pickup_rate.PickupRate": {"tf": 1.7320508075688772}, "easypost.models.postage_label": {"tf": 1.7320508075688772}, "easypost.models.postage_label.PostageLabel": {"tf": 1.7320508075688772}, "easypost.models.rate": {"tf": 1.7320508075688772}, "easypost.models.rate.Rate": {"tf": 1.7320508075688772}, "easypost.models.refund": {"tf": 1.7320508075688772}, "easypost.models.refund.Refund": {"tf": 1.7320508075688772}, "easypost.models.report": {"tf": 1.7320508075688772}, "easypost.models.report.Report": {"tf": 1.7320508075688772}, "easypost.models.scan_form": {"tf": 1.7320508075688772}, "easypost.models.scan_form.ScanForm": {"tf": 1.7320508075688772}, "easypost.models.shipment": {"tf": 1.7320508075688772}, "easypost.models.shipment.Shipment": {"tf": 1.7320508075688772}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1.7320508075688772}, "easypost.models.tracker": {"tf": 1.7320508075688772}, "easypost.models.tracker.Tracker": {"tf": 1.7320508075688772}, "easypost.models.user": {"tf": 1.7320508075688772}, "easypost.models.user.User": {"tf": 1.7320508075688772}, "easypost.models.webhook": {"tf": 1.7320508075688772}, "easypost.models.webhook.Webhook": {"tf": 1.7320508075688772}, "easypost.requestor": {"tf": 1.7320508075688772}, "easypost.requestor.STATUS_CODE_TO_ERROR_MAPPING": {"tf": 1.7320508075688772}, "easypost.requestor.RequestMethod": {"tf": 1.7320508075688772}, "easypost.requestor.RequestMethod.GET": {"tf": 1.7320508075688772}, "easypost.requestor.RequestMethod.POST": {"tf": 1.7320508075688772}, "easypost.requestor.RequestMethod.PUT": {"tf": 1.7320508075688772}, "easypost.requestor.RequestMethod.PATCH": {"tf": 1.7320508075688772}, "easypost.requestor.RequestMethod.DELETE": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.__init__": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.form_encode_params": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.request": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.request_raw": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.interpret_response": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.requests_request": {"tf": 2.23606797749979}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 2.23606797749979}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1.7320508075688772}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1.7320508075688772}, "easypost.services": {"tf": 1.7320508075688772}, "easypost.services.address_service": {"tf": 1.7320508075688772}, "easypost.services.address_service.AddressService": {"tf": 1.7320508075688772}, "easypost.services.address_service.AddressService.__init__": {"tf": 1.7320508075688772}, "easypost.services.address_service.AddressService.create": {"tf": 1.7320508075688772}, "easypost.services.address_service.AddressService.all": {"tf": 1.7320508075688772}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1.7320508075688772}, "easypost.services.address_service.AddressService.verify": {"tf": 1.7320508075688772}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.api_key_service": {"tf": 1.7320508075688772}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1.7320508075688772}, "easypost.services.api_key_service.ApiKeyService.__init__": {"tf": 1.7320508075688772}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1.7320508075688772}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1.7320508075688772}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1.7320508075688772}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1.7320508075688772}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1.7320508075688772}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1.7320508075688772}, "easypost.services.base_service": {"tf": 1.7320508075688772}, "easypost.services.base_service.BaseService": {"tf": 1.7320508075688772}, "easypost.services.base_service.BaseService.__init__": {"tf": 1.7320508075688772}, "easypost.services.batch_service": {"tf": 1.7320508075688772}, "easypost.services.batch_service.BatchService": {"tf": 1.7320508075688772}, "easypost.services.batch_service.BatchService.__init__": {"tf": 1.7320508075688772}, "easypost.services.batch_service.BatchService.create": {"tf": 1.7320508075688772}, "easypost.services.batch_service.BatchService.all": {"tf": 1.7320508075688772}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.batch_service.BatchService.buy": {"tf": 1.7320508075688772}, "easypost.services.batch_service.BatchService.label": {"tf": 1.7320508075688772}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1.7320508075688772}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1.7320508075688772}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1.7320508075688772}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 2.449489742783178}, "easypost.services.beta_rate_service": {"tf": 1.7320508075688772}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1.7320508075688772}, "easypost.services.beta_rate_service.BetaRateService.__init__": {"tf": 1.7320508075688772}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1.7320508075688772}, "easypost.services.beta_referral_customer_service": {"tf": 1.7320508075688772}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1.7320508075688772}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 3.1622776601683795}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1.7320508075688772}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1.7320508075688772}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1.7320508075688772}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1.7320508075688772}, "easypost.services.billing_service": {"tf": 1.7320508075688772}, "easypost.services.billing_service.BillingService": {"tf": 1.7320508075688772}, "easypost.services.billing_service.BillingService.__init__": {"tf": 1.7320508075688772}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1.7320508075688772}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1.7320508075688772}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1.7320508075688772}, "easypost.services.carrier_account_service": {"tf": 1.7320508075688772}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1.7320508075688772}, "easypost.services.carrier_account_service.CarrierAccountService.__init__": {"tf": 1.7320508075688772}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1.7320508075688772}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1.7320508075688772}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1.7320508075688772}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1.7320508075688772}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1.7320508075688772}, "easypost.services.carrier_metadata_service": {"tf": 1.7320508075688772}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1.7320508075688772}, "easypost.services.carrier_metadata_service.CarrierMetadataService.__init__": {"tf": 1.7320508075688772}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.claim_service": {"tf": 1.7320508075688772}, "easypost.services.claim_service.ClaimService": {"tf": 1.7320508075688772}, "easypost.services.claim_service.ClaimService.__init__": {"tf": 1.7320508075688772}, "easypost.services.claim_service.ClaimService.create": {"tf": 1.7320508075688772}, "easypost.services.claim_service.ClaimService.all": {"tf": 1.7320508075688772}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1.7320508075688772}, "easypost.services.customer_portal_service": {"tf": 1.7320508075688772}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1.7320508075688772}, "easypost.services.customer_portal_service.CustomerPortalService.__init__": {"tf": 1.7320508075688772}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1.7320508075688772}, "easypost.services.customs_info_service": {"tf": 1.7320508075688772}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1.7320508075688772}, "easypost.services.customs_info_service.CustomsInfoService.__init__": {"tf": 1.7320508075688772}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1.7320508075688772}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.customs_item_service": {"tf": 1.7320508075688772}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1.7320508075688772}, "easypost.services.customs_item_service.CustomsItemService.__init__": {"tf": 1.7320508075688772}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1.7320508075688772}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.embeddable_service": {"tf": 1.7320508075688772}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1.7320508075688772}, "easypost.services.embeddable_service.EmbeddableService.__init__": {"tf": 1.7320508075688772}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1.7320508075688772}, "easypost.services.end_shipper_service": {"tf": 1.7320508075688772}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1.7320508075688772}, "easypost.services.end_shipper_service.EndShipperService.__init__": {"tf": 1.7320508075688772}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1.7320508075688772}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1.7320508075688772}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 2.449489742783178}, "easypost.services.event_service": {"tf": 1.7320508075688772}, "easypost.services.event_service.EventService": {"tf": 1.7320508075688772}, "easypost.services.event_service.EventService.__init__": {"tf": 1.7320508075688772}, "easypost.services.event_service.EventService.create": {"tf": 1.7320508075688772}, "easypost.services.event_service.EventService.all": {"tf": 1.7320508075688772}, "easypost.services.event_service.EventService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1.7320508075688772}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1.7320508075688772}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.fedex_registration_service": {"tf": 1.7320508075688772}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1.7320508075688772}, "easypost.services.fedex_registration_service.FedExRegistrationService.__init__": {"tf": 1.7320508075688772}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1.7320508075688772}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1.7320508075688772}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1.7320508075688772}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1.7320508075688772}, "easypost.services.insurance_service": {"tf": 1.7320508075688772}, "easypost.services.insurance_service.InsuranceService": {"tf": 1.7320508075688772}, "easypost.services.insurance_service.InsuranceService.__init__": {"tf": 1.7320508075688772}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1.7320508075688772}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1.7320508075688772}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.insurance_service.InsuranceService.refund": {"tf": 1.7320508075688772}, "easypost.services.luma_service": {"tf": 1.7320508075688772}, "easypost.services.luma_service.LumaService": {"tf": 1.7320508075688772}, "easypost.services.luma_service.LumaService.__init__": {"tf": 1.7320508075688772}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1.7320508075688772}, "easypost.services.order_service": {"tf": 1.7320508075688772}, "easypost.services.order_service.OrderService": {"tf": 1.7320508075688772}, "easypost.services.order_service.OrderService.__init__": {"tf": 1.7320508075688772}, "easypost.services.order_service.OrderService.create": {"tf": 1.7320508075688772}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1.7320508075688772}, "easypost.services.order_service.OrderService.buy": {"tf": 1.7320508075688772}, "easypost.services.parcel_service": {"tf": 1.7320508075688772}, "easypost.services.parcel_service.ParcelService": {"tf": 1.7320508075688772}, "easypost.services.parcel_service.ParcelService.__init__": {"tf": 1.7320508075688772}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1.7320508075688772}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.pickup_service": {"tf": 1.7320508075688772}, "easypost.services.pickup_service.PickupService": {"tf": 1.7320508075688772}, "easypost.services.pickup_service.PickupService.__init__": {"tf": 1.7320508075688772}, "easypost.services.pickup_service.PickupService.create": {"tf": 1.7320508075688772}, "easypost.services.pickup_service.PickupService.all": {"tf": 1.7320508075688772}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1.7320508075688772}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1.7320508075688772}, "easypost.services.rate_service": {"tf": 1.7320508075688772}, "easypost.services.rate_service.RateService": {"tf": 1.7320508075688772}, "easypost.services.rate_service.RateService.__init__": {"tf": 1.7320508075688772}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.referral_customer_service": {"tf": 1.7320508075688772}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1.7320508075688772}, "easypost.services.referral_customer_service.ReferralCustomerService.__init__": {"tf": 1.7320508075688772}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 2.449489742783178}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 2.449489742783178}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 2.449489742783178}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 2.449489742783178}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 2.449489742783178}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1.7320508075688772}, "easypost.services.refund_service": {"tf": 1.7320508075688772}, "easypost.services.refund_service.RefundService": {"tf": 1.7320508075688772}, "easypost.services.refund_service.RefundService.__init__": {"tf": 1.7320508075688772}, "easypost.services.refund_service.RefundService.create": {"tf": 1.7320508075688772}, "easypost.services.refund_service.RefundService.all": {"tf": 1.7320508075688772}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.report_service": {"tf": 1.7320508075688772}, "easypost.services.report_service.ReportService": {"tf": 1.7320508075688772}, "easypost.services.report_service.ReportService.__init__": {"tf": 1.7320508075688772}, "easypost.services.report_service.ReportService.create": {"tf": 1.7320508075688772}, "easypost.services.report_service.ReportService.all": {"tf": 1.7320508075688772}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.scan_form_service": {"tf": 1.7320508075688772}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1.7320508075688772}, "easypost.services.scan_form_service.ScanFormService.__init__": {"tf": 1.7320508075688772}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1.7320508075688772}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1.7320508075688772}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.shipment_service": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.__init__": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1.7320508075688772}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1.7320508075688772}, "easypost.services.smartrate_service": {"tf": 1.7320508075688772}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1.7320508075688772}, "easypost.services.smartrate_service.SmartRateService.__init__": {"tf": 1.7320508075688772}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1.7320508075688772}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1.7320508075688772}, "easypost.services.tracker_service": {"tf": 1.7320508075688772}, "easypost.services.tracker_service.TrackerService": {"tf": 1.7320508075688772}, "easypost.services.tracker_service.TrackerService.__init__": {"tf": 1.7320508075688772}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1.7320508075688772}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1.7320508075688772}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1.7320508075688772}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1.7320508075688772}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1.7320508075688772}, "easypost.services.user_service": {"tf": 1.7320508075688772}, "easypost.services.user_service.UserService": {"tf": 1.7320508075688772}, "easypost.services.user_service.UserService.__init__": {"tf": 1.7320508075688772}, "easypost.services.user_service.UserService.create": {"tf": 1.7320508075688772}, "easypost.services.user_service.UserService.all": {"tf": 1.7320508075688772}, "easypost.services.user_service.UserService.retrieve": {"tf": 2.449489742783178}, "easypost.services.user_service.UserService.update": {"tf": 1.7320508075688772}, "easypost.services.user_service.UserService.delete": {"tf": 1.7320508075688772}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1.7320508075688772}, "easypost.services.user_service.UserService.update_brand": {"tf": 1.7320508075688772}, "easypost.services.user_service.UserService.all_children": {"tf": 1.7320508075688772}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1.7320508075688772}, "easypost.services.webhook_service": {"tf": 1.7320508075688772}, "easypost.services.webhook_service.WebhookService": {"tf": 1.7320508075688772}, "easypost.services.webhook_service.WebhookService.__init__": {"tf": 1.7320508075688772}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1.7320508075688772}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1.7320508075688772}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1.7320508075688772}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1.7320508075688772}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1.7320508075688772}, "easypost.util": {"tf": 1.7320508075688772}, "easypost.util.get_lowest_object_rate": {"tf": 1.7320508075688772}, "easypost.util.get_lowest_smart_rate": {"tf": 1.7320508075688772}, "easypost.util.get_lowest_stateless_rate": {"tf": 1.7320508075688772}, "easypost.util.receive_event": {"tf": 1.7320508075688772}, "easypost.util.validate_webhook": {"tf": 2.23606797749979}}, "df": 471, "a": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1}, "easypost.hooks.event_hook.EventHook": {"tf": 1}, "easypost.requestor.Requestor.form_encode_params": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1.4142135623730951}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1.4142135623730951}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1.4142135623730951}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1.4142135623730951}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1.4142135623730951}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1.4142135623730951}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1.7320508075688772}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1.4142135623730951}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1.4142135623730951}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.receive_event": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 119, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}}, "df": 1, "d": {"docs": {"easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}}, "df": 3}}}}}}}}}}}}, "n": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1}, "easypost.hooks.request_hook.RequestHook": {"tf": 1.4142135623730951}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1.4142135623730951}, "easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1.4142135623730951}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 31, "d": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1.4142135623730951}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.util.receive_event": {"tf": 1}}, "df": 9}, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}}, "l": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}, "easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}, "easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}}, "df": 62}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.address_service.AddressService.verify": {"tf": 1}}, "df": 1}}}}}}, "p": {"docs": {}, "df": 0, "i": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 2}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1.4142135623730951}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}}, "df": 42}}, "r": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}}}}}}, "e": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "y": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 3, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}}, "df": 1}}}}}}}}, "d": {"docs": {}, "df": 0, "d": {"docs": {"easypost.requestor.Requestor.add_params_to_url": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 5, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}}, "df": 5, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}}, "df": 2}}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}}, "df": 3}}}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1.4142135623730951}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 7}}}}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}}, "df": 1}}}}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}}, "df": 1}}}}}}}}}, "c": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}}, "df": 4}}}}, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {"easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.cancel": {"tf": 1}}, "df": 4, "s": {"docs": {"easypost.services.claim_service.ClaimService.all": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}}, "df": 1}}}}}}, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}}}}, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}}, "df": 6, "s": {"docs": {"easypost.util.receive_event": {"tf": 1}}, "df": 1}}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}}, "df": 1}}}}}}, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}}, "df": 32}}}}}}}}, "m": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}}, "df": 1}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 1, "l": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.util.validate_webhook": {"tf": 1}}, "df": 1}}}}}}, "b": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 2}}}}}}}}}, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}}, "df": 1}}}}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 2}}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}}, "df": 4, "s": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 2}}}, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}, "r": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}}, "df": 2}, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 2, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}}, "df": 4, "s": {"docs": {"easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}}, "df": 2}}}}}}}}, "s": {"docs": {"easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}}, "df": 1}}}}}}, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.claim_service.ClaimService.cancel": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}}, "df": 2}}}}}, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}}, "df": 2, "l": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}}, "df": 1}}}}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}}, "df": 7, "s": {"docs": {"easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}}, "df": 2}}}, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {"easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}}, "df": 2}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}}, "df": 2}}}}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService.create": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.create": {"tf": 1}, "easypost.services.claim_service.ClaimService.create": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.create": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.create": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.create": {"tf": 1}}, "df": 27, "d": {"docs": {"easypost.services.address_service.AddressService.verify": {"tf": 1}}, "df": 1}, "s": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}}, "df": 2}}}}, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}}, "df": 2}}}}, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "a": {"docs": {"easypost.services.luma_service.LumaService.get_promise": {"tf": 1}}, "df": 1}}}}}}}, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}}, "df": 5, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 2}}}}}}, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}}, "df": 1}}}}}}}}, "o": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1.4142135623730951}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}}, "df": 6, "s": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1.4142135623730951}}, "df": 1}}}}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}, "easypost.hooks.event_hook.EventHook": {"tf": 1}}, "df": 5}}}}}, "n": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1.4142135623730951}}, "df": 6, "e": {"docs": {"easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}}, "df": 3}}, "f": {"docs": {"easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}}, "df": 47}, "r": {"docs": {"easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 10, "g": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.order_service.OrderService.create": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}}, "df": 7}}}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 2, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.util.validate_webhook": {"tf": 1}}, "df": 1}}}}}}}}, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}, "easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}}, "df": 40, "w": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}}}}, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}}, "df": 1}}}}}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}}, "df": 3, "d": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}}, "df": 3}, "f": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}}, "r": {"docs": {"easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1.4142135623730951}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.user_service.UserService.create": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}}, "df": 17, "s": {"docs": {"easypost.services.user_service.UserService.all": {"tf": 1}}, "df": 1}}, "s": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}}, "df": 1}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}}, "df": 2}}}}, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}}, "df": 2}}}}}}}}}}, "r": {"docs": {}, "df": 0, "l": {"docs": {"easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}}, "df": 2, "f": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.requestor.Requestor.urlfetch_request": {"tf": 1}}, "df": 1}}}}}}}, "p": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.carrier_account_service.CarrierAccountService.update": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.user_service.UserService.update": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}}, "df": 6}}}}}}, "t": {"docs": {}, "df": 0, "o": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1.4142135623730951}, "easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1.4142135623730951}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1.7320508075688772}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1}, "easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1.4142135623730951}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.util.receive_event": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 26}, "h": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 2.23606797749979}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1.4142135623730951}, "easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}, "easypost.hooks.event_hook.EventHook": {"tf": 1}, "easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}, "easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1.4142135623730951}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1.4142135623730951}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1.4142135623730951}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1.4142135623730951}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1.4142135623730951}, "easypost.services.webhook_service.WebhookService": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 2.449489742783178}}, "df": 109, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}}, "df": 1}}}, "i": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 13}}, "a": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}, "easypost.hooks.event_hook.EventHook": {"tf": 1}, "easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}, "easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}}, "df": 45}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "n": {"docs": {"easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}}, "df": 19}}}}}, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}}, "df": 2}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}}}}, "u": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}, "r": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1.4142135623730951}}, "df": 1}}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.hooks.event_hook.EventHook": {"tf": 1}, "easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}}, "df": 3}}}}}}}, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.tracker_service.TrackerService.create": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}}, "df": 4, "s": {"docs": {"easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}}, "df": 2}}}}}}}}, "h": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "p": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}, "easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}}, "df": 3, "s": {"docs": {}, "df": 0, ":": {"docs": {}, "df": 0, "/": {"docs": {}, "df": 0, "/": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}}}}}}}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.hooks.event_hook.EventHook": {"tf": 1}}, "df": 1}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.requestor.Requestor.handle_api_error": {"tf": 1}}, "df": 1}}}}}, "s": {"docs": {"easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}}, "df": 1}}, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {"easypost.util.validate_webhook": {"tf": 1}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.util.validate_webhook": {"tf": 1}}, "df": 1}}}}}}, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1.4142135623730951}, "easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1.7320508075688772}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1.4142135623730951}}, "df": 39, "o": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1}}, "df": 4}}}}}}}}}}}}, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 4}}}, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}}, "df": 2}}}}}, "s": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.end_shipper_service.EndShipperService.create": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1.4142135623730951}}, "df": 3, "s": {"docs": {"easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}}, "df": 1}}}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}}, "df": 2, "r": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}}, "df": 1}}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}}, "df": 1}}}}}}, "x": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}, "d": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}}, "df": 1}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 27, "s": {"docs": {"easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}}, "df": 27}}}}}, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.hooks.event_hook.EventHook": {"tf": 1}, "easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}, "easypost.services.event_service.EventService.create": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.util.receive_event": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 9, "s": {"docs": {"easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}}, "df": 2}}}}}, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 2}}}}}, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}}, "df": 1}}}}}}}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}}, "df": 2}}}}}}}}}, "s": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}, "easypost.services.user_service.UserService.update_brand": {"tf": 1}}, "df": 9, "u": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}}, "df": 2}}}}}}, "c": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 1}}}}, "p": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}, "s": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}}}}, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.util.get_lowest_object_rate": {"tf": 1}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}}, "df": 36, "s": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}}, "df": 33}}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}}, "df": 1}}}, "i": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}}, "df": 2}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 3, "s": {"docs": {"easypost.util.validate_webhook": {"tf": 1}}, "df": 1}}}}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService.create_session": {"tf": 1}}, "df": 2}}}}}, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.util.validate_webhook": {"tf": 1}}, "df": 1}}}, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 2}}}}, "i": {"docs": {}, "df": 0, "p": {"docs": {"easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 3, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}}, "df": 20, "s": {"docs": {"easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}}, "df": 3}}}}}, "p": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 33}}}}}, "t": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 2}}, "p": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 2.23606797749979}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}}, "df": 5}}}, "u": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 2}}}}}}}}, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "m": {"docs": {"easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.create": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}}, "df": 4, "s": {"docs": {"easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}}, "df": 1}}}}}}}}, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}}, "df": 1}}, "g": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"easypost.util.validate_webhook": {"tf": 1}}, "df": 1, "s": {"docs": {"easypost.util.validate_webhook": {"tf": 1.4142135623730951}}, "df": 1}}}}}}, "i": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.util.validate_webhook": {"tf": 1}}, "df": 1}}}}}}}}}, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}}, "df": 1, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}}, "df": 2}}}}, "i": {"docs": {}, "df": 0, "c": {"docs": {"easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 3}}}}}}}, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 2, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}}, "df": 3, "s": {"docs": {"easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}}, "df": 2}}}}}}}}}}, "f": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 7, "s": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}}, "df": 4}}}}}}, "d": {"docs": {"easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}}, "df": 1}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {"easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1.4142135623730951}}, "df": 19}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1.4142135623730951}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1.4142135623730951}, "easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 40, "m": {"docs": {"easypost.requestor.Requestor.form_encode_params": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}}, "df": 2, "a": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.shipment_service.ShipmentService.label": {"tf": 1}}, "df": 1}}}}, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}}}}, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1.4142135623730951}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}}, "df": 1}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}}, "df": 1}}}}}}, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "x": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 4}}}}}, "r": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}}, "df": 2, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}}, "df": 2}}}}}, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.luma_service.LumaService.get_promise": {"tf": 1}}, "df": 1}}}}}}, "e": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1.4142135623730951}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}}, "df": 8}}}, "i": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.requestor.Requestor.request_raw": {"tf": 1}}, "df": 1}, "s": {"docs": {"easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 6}}}}}}, "s": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}, "easypost.easypost_object.convert_to_easypost_object": {"tf": 1}, "easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}, "easypost.requestor.Requestor.interpret_response": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 17}}}}}}, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}, "easypost.requestor.Requestor.handle_api_error": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 4}}, "s": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.retrieve": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.retrieve": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService.retrieve": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService.retrieve": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.order_service.OrderService.retrieve": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.retrieve": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1.4142135623730951}, "easypost.services.user_service.UserService.retrieve_me": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}}, "df": 60, "s": {"docs": {"easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}}, "df": 2}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}}, "df": 1}}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}, "m": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 3}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.luma_service.LumaService.get_promise": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"easypost.requestor.Requestor.interpret_response": {"tf": 1}}, "df": 1, "s": {"docs": {"easypost.util.receive_event": {"tf": 1}}, "df": 1}}}}}}, "f": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}}, "df": 8, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1.4142135623730951}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1.4142135623730951}}, "df": 4}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}}, "df": 1}}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1.4142135623730951}, "easypost.services.refund_service.RefundService.create": {"tf": 1}, "easypost.services.refund_service.RefundService.retrieve": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.refund": {"tf": 1}}, "df": 6, "s": {"docs": {"easypost.services.refund_service.RefundService.all": {"tf": 1}}, "df": 1}}}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}}, "df": 1}}}}, "g": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}}, "df": 1}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 1}}}}}}}}}, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}}, "df": 1}}}}}}}}, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.report_service.ReportService.create": {"tf": 1}, "easypost.services.report_service.ReportService.retrieve": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}}, "df": 3, "s": {"docs": {"easypost.services.report_service.ReportService.all": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1, "d": {"docs": {"easypost.util.validate_webhook": {"tf": 1}}, "df": 1}}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.services.rate_service.RateService.retrieve": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 7, "s": {"docs": {"easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.regenerate_rates": {"tf": 1}}, "df": 3}}}, "w": {"docs": {"easypost.util.receive_event": {"tf": 1}}, "df": 1}}}, "w": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {"easypost.easypost_client.EasyPostClient.subscribe_to_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_request_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.subscribe_to_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.unsubscribe_from_response_hook": {"tf": 1}, "easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.hooks.event_hook.EventHook": {"tf": 1}, "easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}}, "df": 10}}}, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_credit_card_client_secret": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}}, "df": 7}}, "l": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1.4142135623730951}}, "df": 2}}}, "e": {"docs": {"easypost.requestor.Requestor.interpret_response": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}}, "df": 2, "b": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"easypost.services.webhook_service.WebhookService.create": {"tf": 1}, "easypost.services.webhook_service.WebhookService.retrieve": {"tf": 1}, "easypost.services.webhook_service.WebhookService.update": {"tf": 1}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}, "easypost.util.receive_event": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1.4142135623730951}}, "df": 6, "s": {"docs": {"easypost.services.webhook_service.WebhookService.all": {"tf": 1}}, "df": 1}}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}}, "df": 1}}}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}}, "df": 3}}}}}}, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.requestor.Requestor.request": {"tf": 1}, "easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}}, "df": 5}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}}}, "t": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.util.validate_webhook": {"tf": 1.7320508075688772}}, "df": 1}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1.4142135623730951}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 2}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}}, "df": 5, "s": {"docs": {"easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}}, "df": 1}}}}, "a": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}}, "df": 1}}}}}}, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.luma_service.LumaService.get_promise": {"tf": 1}}, "df": 1}}}, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {"easypost.requestor.Requestor.form_encode_params": {"tf": 1}}, "df": 1}}}}}, "p": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}}, "df": 2}}}}}, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 2}}}}}, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 2}}}}, "r": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.customer_portal_service.CustomerPortalService.create_account_link": {"tf": 1}}, "df": 1}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}}}}}, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}}, "df": 2}}}}}, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}}, "df": 1}}}}, "c": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}}, "df": 1}}}}}}}}, "y": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1.4142135623730951}}, "df": 1}}}}}, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.hooks.event_hook.EventHook": {"tf": 1}}, "df": 1}}}, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "s": {"docs": {"easypost.requestor.Requestor.encode_url_params": {"tf": 1}, "easypost.requestor.Requestor.add_params_to_url": {"tf": 1}}, "df": 2}, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}}, "df": 1}}}}}}}, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.parcel_service.ParcelService.create": {"tf": 1}, "easypost.services.parcel_service.ParcelService.retrieve": {"tf": 1}}, "df": 2}}}, "t": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}}, "df": 3}}}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 13, "s": {"docs": {"easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}}, "df": 1}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.user_service.UserService.all_children": {"tf": 1}}, "df": 1}}}}}}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.user_service.UserService.retrieve": {"tf": 1}}, "df": 1}}}}, "y": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 2}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.billing_service.BillingService.retrieve_payment_methods": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}}, "df": 6}}}}, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.event_service.EventService.retrieve_payload": {"tf": 1}}, "df": 1, "s": {"docs": {"easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}}, "df": 1}}}}}}, "i": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 2}}}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.services.pickup_service.PickupService.create": {"tf": 1}, "easypost.services.pickup_service.PickupService.retrieve": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.cancel": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}}, "df": 7, "s": {"docs": {"easypost.services.pickup_service.PickupService.all": {"tf": 1}}, "df": 1}}}}}, "n": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}}, "df": 2}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}}, "df": 1}}}}}}}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "m": {"docs": {"easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}}, "df": 1}}}}}}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.generate_form": {"tf": 1}}, "df": 1}}}}}}, "t": {"docs": {"easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.types": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService.retrieve": {"tf": 1}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.order_service.OrderService.get_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_smart_rates": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 12, "s": {"docs": {"easypost.hooks.request_hook.RequestHook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}}, "df": 3}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}}, "df": 3, "t": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1.4142135623730951}}, "df": 1}}}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"easypost.requestor.Requestor.request_raw": {"tf": 1}}, "df": 1}}}, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.requestor.Requestor.interpret_response": {"tf": 1}}, "df": 1}}}}}}, "o": {"docs": {"easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}}, "df": 1}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}}}, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.insurance_service.InsuranceService.create": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.retrieve": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}}, "df": 3, "s": {"docs": {"easypost.services.insurance_service.InsuranceService.all": {"tf": 1}}, "df": 1}}}}}, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.insure": {"tf": 1}}, "df": 1}}}}, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}, "easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}}, "df": 39}}}}}, "v": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 1}}}}}, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.submit_invoice": {"tf": 1}}, "df": 1}}}}}}}}}}, "s": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.hooks.event_hook.EventHook": {"tf": 1}, "easypost.hooks.response_hook.ResponseHook": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}}, "df": 5, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.batch_service.BatchService.get_next_page": {"tf": 1.4142135623730951}}, "df": 1}}}}}, "t": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.util.receive_event": {"tf": 1}}, "df": 4}, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "f": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1.4142135623730951}}, "df": 3}, "d": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.user_service.UserService.retrieve": {"tf": 1}}, "df": 4, "s": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}}, "df": 1}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {"easypost.services.user_service.UserService.retrieve": {"tf": 1}}, "df": 1, "t": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1.7320508075688772}}, "df": 3, "e": {"docs": {"easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}}, "df": 1}}, "n": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}}, "l": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "t": {"docs": {"easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.get_next_page": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}}, "df": 13}}}}, "y": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1.7320508075688772}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1.4142135623730951}, "easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 5}}}}, "b": {"docs": {}, "df": 0, "y": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_amount": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}, "easypost.services.billing_service.BillingService.fund_wallet": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 13}, "e": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.update": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1.4142135623730951}}, "df": 4, "g": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"easypost.hooks.request_hook.RequestHook": {"tf": 1}}, "df": 1}}}}}, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.errors.general.easypost_error.EasyPostError": {"tf": 1}, "easypost.errors.general.end_of_pagination_error.EndOfPaginationError": {"tf": 1}, "easypost.errors.general.filtering_error.FilteringError": {"tf": 1}, "easypost.errors.general.invalid_object_error.InvalidObjectError": {"tf": 1}, "easypost.errors.general.invalid_parameter_error.InvalidParameterError": {"tf": 1}, "easypost.errors.general.missing_parameter_error.MissingParameterError": {"tf": 1}, "easypost.errors.general.signature_verification_error.SignatureVerificationError": {"tf": 1}, "easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}}, "df": 58, "d": {"docs": {"easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 3}}}, "t": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {"easypost.services.batch_service.BatchService.create": {"tf": 1}, "easypost.services.batch_service.BatchService.retrieve": {"tf": 1}, "easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.batch_service.BatchService.remove_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.add_shipments": {"tf": 1}, "easypost.services.batch_service.BatchService.create_scan_form": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.tracker_service.TrackerService.retrieve_batch": {"tf": 1}}, "df": 9, "e": {"docs": {}, "df": 0, "s": {"docs": {"easypost.services.batch_service.BatchService.all": {"tf": 1}}, "df": 1}}}}}, "n": {"docs": {}, "df": 0, "k": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.create_bank_account_client_secret": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}}, "df": 2}}}, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "y": {"docs": {"easypost.requestor.Requestor.interpret_response": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 2}}, "t": {"docs": {}, "df": 0, "h": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.add_payment_method": {"tf": 1}}, "df": 1}}}, "u": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.batch_service.BatchService.buy": {"tf": 1}, "easypost.services.order_service.OrderService.buy": {"tf": 1}, "easypost.services.pickup_service.PickupService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}}, "df": 6}}, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.register_address": {"tf": 1}}, "df": 1}}}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.user_service.UserService.update_brand": {"tf": 1}}, "df": 1}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.requestor.Requestor.requests_request": {"tf": 1}, "easypost.requestor.Requestor.urlfetch_request": {"tf": 1}}, "df": 3}}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.services.address_service.AddressService.all": {"tf": 1}, "easypost.services.address_service.AddressService.get_next_page": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.all": {"tf": 1}, "easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.all": {"tf": 1}, "easypost.services.claim_service.ClaimService.get_next_page": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService.all": {"tf": 1}, "easypost.services.event_service.EventService.all": {"tf": 1}, "easypost.services.event_service.EventService.retrieve_all_payloads": {"tf": 1}, "easypost.services.event_service.EventService.get_next_page": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.all": {"tf": 1}, "easypost.services.insurance_service.InsuranceService.get_next_page": {"tf": 1}, "easypost.services.pickup_service.PickupService.all": {"tf": 1}, "easypost.services.pickup_service.PickupService.get_next_page": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.all": {"tf": 1}, "easypost.services.refund_service.RefundService.get_next_page": {"tf": 1}, "easypost.services.report_service.ReportService.all": {"tf": 1}, "easypost.services.report_service.ReportService.get_next_page": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.all": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService.get_next_page": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.all": {"tf": 1}, "easypost.services.tracker_service.TrackerService.get_next_page": {"tf": 1}, "easypost.services.user_service.UserService.all": {"tf": 1}, "easypost.services.user_service.UserService.all_children": {"tf": 1}, "easypost.services.user_service.UserService.get_next_page_of_children": {"tf": 1}, "easypost.services.webhook_service.WebhookService.all": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}}, "df": 33}}}, "e": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 3}}}}, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"easypost.models.order.Order.lowest_rate": {"tf": 1}, "easypost.models.pickup.Pickup.lowest_rate": {"tf": 1}, "easypost.models.shipment.Shipment.lowest_rate": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_object_rate": {"tf": 1}, "easypost.util.get_lowest_smart_rate": {"tf": 1}, "easypost.util.get_lowest_stateless_rate": {"tf": 1}}, "df": 7}}}}, "g": {"docs": {"easypost.services.beta_referral_customer_service.BetaReferralCustomerService.refund_by_payment_log": {"tf": 1}}, "df": 1, "i": {"docs": {}, "df": 0, "c": {"docs": {"easypost.requestor.Requestor.request_raw": {"tf": 1}, "easypost.services.address_service.AddressService": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService": {"tf": 1}, "easypost.services.base_service.BaseService": {"tf": 1}, "easypost.services.batch_service.BatchService": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService": {"tf": 1}, "easypost.services.beta_referral_customer_service.BetaReferralCustomerService": {"tf": 1}, "easypost.services.billing_service.BillingService": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService": {"tf": 1}, "easypost.services.carrier_metadata_service.CarrierMetadataService": {"tf": 1}, "easypost.services.claim_service.ClaimService": {"tf": 1}, "easypost.services.customer_portal_service.CustomerPortalService": {"tf": 1}, "easypost.services.customs_info_service.CustomsInfoService": {"tf": 1}, "easypost.services.customs_item_service.CustomsItemService": {"tf": 1}, "easypost.services.embeddable_service.EmbeddableService": {"tf": 1}, "easypost.services.end_shipper_service.EndShipperService": {"tf": 1}, "easypost.services.event_service.EventService": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService": {"tf": 1}, "easypost.services.insurance_service.InsuranceService": {"tf": 1}, "easypost.services.luma_service.LumaService": {"tf": 1}, "easypost.services.order_service.OrderService": {"tf": 1}, "easypost.services.parcel_service.ParcelService": {"tf": 1}, "easypost.services.pickup_service.PickupService": {"tf": 1}, "easypost.services.rate_service.RateService": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService": {"tf": 1}, "easypost.services.refund_service.RefundService": {"tf": 1}, "easypost.services.report_service.ReportService": {"tf": 1}, "easypost.services.scan_form_service.ScanFormService": {"tf": 1}, "easypost.services.shipment_service.ShipmentService": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService": {"tf": 1}, "easypost.services.tracker_service.TrackerService": {"tf": 1}, "easypost.services.user_service.UserService": {"tf": 1}, "easypost.services.webhook_service.WebhookService": {"tf": 1}}, "df": 33}}}}, "a": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.requestor.Requestor.form_encode_params": {"tf": 1.4142135623730951}}, "df": 1}}}, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"easypost.services.batch_service.BatchService.label": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.label": {"tf": 1}}, "df": 2}}}}, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {"easypost.services.luma_service.LumaService.get_promise": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.create_and_buy_luma": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.buy_luma": {"tf": 1}}, "df": 3}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"easypost.easypost_client.EasyPostClient.make_api_call": {"tf": 1}}, "df": 1}}}}}}}, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1.4142135623730951}}, "df": 1}}}}}, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.billing_service.BillingService.delete_payment_method": {"tf": 1}, "easypost.services.carrier_account_service.CarrierAccountService.delete": {"tf": 1}, "easypost.services.tracker_service.TrackerService.delete": {"tf": 1}, "easypost.services.user_service.UserService.delete": {"tf": 1}, "easypost.services.webhook_service.WebhookService.delete": {"tf": 1}}, "df": 6}}}, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 2, "y": {"docs": {"easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 4}}}}}}, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}}, "df": 1}}}}, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 2}}}}}}}}}}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"easypost.easypost_object.EasyPostObject.to_dict": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder.default": {"tf": 1}}, "df": 3, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"easypost.requestor.Requestor.form_encode_params": {"tf": 1.4142135623730951}}, "df": 1}}}}}}}}, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}}, "df": 1}}}}}, "d": {"docs": {"easypost.util.validate_webhook": {"tf": 1}}, "df": 1}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1}, "easypost.services.beta_rate_service.BetaRateService.retrieve_stateless_rates": {"tf": 1}}, "df": 2}, "e": {"docs": {"easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1.4142135623730951}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1.4142135623730951}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1.4142135623730951}}, "df": 4}}}, "u": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}}, "df": 1}}, "o": {"docs": {"easypost.util.validate_webhook": {"tf": 1.7320508075688772}}, "df": 1}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {"easypost.easypost_object.EasyPostObject.convert_each_value": {"tf": 1}}, "df": 1, "s": {"docs": {"easypost.easypost_object.EasyPostObject.construct_from": {"tf": 1}}, "df": 1}}}, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 2}}}}}}}, "i": {"docs": {}, "df": 0, "a": {"docs": {"easypost.errors.api.api_error.ApiError": {"tf": 1}, "easypost.errors.api.bad_request_error.BadRequestError": {"tf": 1}, "easypost.errors.api.encoding_error.EncodingError": {"tf": 1}, "easypost.errors.api.external_api_error.ExternalApiError": {"tf": 1}, "easypost.errors.api.forbidden_error.ForbiddenError": {"tf": 1}, "easypost.errors.api.gateway_timeout_error.GatewayTimeoutError": {"tf": 1}, "easypost.errors.api.http_error.HttpError": {"tf": 1}, "easypost.errors.api.internal_server_error.InternalServerError": {"tf": 1}, "easypost.errors.api.invalid_request_error.InvalidRequestError": {"tf": 1}, "easypost.errors.api.json_error.JsonError": {"tf": 1}, "easypost.errors.api.method_not_allowed_error.MethodNotAllowedError": {"tf": 1}, "easypost.errors.api.not_found_error.NotFoundError": {"tf": 1}, "easypost.errors.api.payment_error.PaymentError": {"tf": 1}, "easypost.errors.api.rate_limit_error.RateLimitError": {"tf": 1}, "easypost.errors.api.redirect_error.RedirectError": {"tf": 1}, "easypost.errors.api.service_unavailable_error.ServiceUnavailableError": {"tf": 1}, "easypost.errors.api.timeout_error.TimeoutError": {"tf": 1}, "easypost.errors.api.unauthorized_error.UnauthorizedError": {"tf": 1}, "easypost.errors.api.unknown_api_error.UnknownApiError": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.retrieve_estimated_delivery_date": {"tf": 1}, "easypost.services.shipment_service.ShipmentService.recommend_ship_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.estimate_delivery_date": {"tf": 1}, "easypost.services.smartrate_service.SmartRateService.recommend_ship_date": {"tf": 1}}, "df": 23}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.address_service.AddressService.create_and_verify": {"tf": 1}, "easypost.services.address_service.AddressService.verify": {"tf": 1}}, "df": 2}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.fedex_registration_service.FedExRegistrationService.request_pin": {"tf": 1}, "easypost.services.fedex_registration_service.FedExRegistrationService.validate_pin": {"tf": 1}}, "df": 2}}}}}}}}}}}}, "j": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"easypost.easypost_object.EasyPostObject.to_json": {"tf": 1}, "easypost.easypost_object.EasyPostObjectEncoder": {"tf": 1.4142135623730951}, "easypost.util.receive_event": {"tf": 1}, "easypost.util.validate_webhook": {"tf": 1}}, "df": 4}}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"easypost.services.api_key_service.ApiKeyService.create": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.delete": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.enable": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.disable": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.create": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.update_email": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.all": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_credit_card_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.add_bank_account_from_stripe": {"tf": 1}, "easypost.services.referral_customer_service.ReferralCustomerService.retrieve_easypost_stripe_api_key": {"tf": 1}}, "df": 10, "s": {"docs": {"easypost.services.api_key_service.ApiKeyService.retrieve_api_keys_for_user": {"tf": 1}, "easypost.services.api_key_service.ApiKeyService.all": {"tf": 1}}, "df": 2}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "n": {"docs": {"easypost.services.batch_service.BatchService.get_next_page": {"tf": 1}}, "df": 1}}}}}}}}, "pipeline": ["trimmer"], "_isPrebuiltIndex": true};
+
+ // mirrored in build-search-index.js (part 1)
+ // Also split on html tags. this is a cheap heuristic, but good enough.
+ elasticlunr.tokenizer.setSeperator(/[\s\-.;&_'"=,()]+|<[^>]*>/);
+
+ let searchIndex;
+ if (docs._isPrebuiltIndex) {
+ console.info("using precompiled search index");
+ searchIndex = elasticlunr.Index.load(docs);
+ } else {
+ console.time("building search index");
+ // mirrored in build-search-index.js (part 2)
+ searchIndex = elasticlunr(function () {
+ this.pipeline.remove(elasticlunr.stemmer);
+ this.pipeline.remove(elasticlunr.stopWordFilter);
+ this.addField("qualname");
+ this.addField("fullname");
+ this.addField("annotation");
+ this.addField("default_value");
+ this.addField("signature");
+ this.addField("bases");
+ this.addField("doc");
+ this.setRef("fullname");
+ });
+ for (let doc of docs) {
+ searchIndex.addDoc(doc);
+ }
+ console.timeEnd("building search index");
+ }
+
+ return (term) => searchIndex.search(term, {
+ fields: {
+ qualname: {boost: 4},
+ fullname: {boost: 2},
+ annotation: {boost: 2},
+ default_value: {boost: 2},
+ signature: {boost: 2},
+ bases: {boost: 2},
+ doc: {boost: 1},
+ },
+ expand: true
+ });
+})();
\ No newline at end of file
diff --git a/tests/__init__.py b/tests/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/tests/cassettes/test_address_all.yaml b/tests/cassettes/test_address_all.yaml
deleted file mode 100644
index 57d2257d..00000000
--- a/tests/cassettes/test_address_all.yaml
+++ /dev/null
@@ -1,102 +0,0 @@
-interactions:
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/addresses?page_size=5
- response:
- body:
- string: '{"addresses": [{"id": "adr_d128ff74fac311efa7a7ac1f6bc539ae", "object":
- "Address", "created_at": "2025-03-06T19:47:20+00:00", "updated_at": "2025-03-06T19:47:20+00:00",
- "name": "Jack Sparrow", "company": null, "street1": "388 Townsend St", "street2":
- "Apt 20", "city": "San Francisco", "state": "CA", "zip": "94107", "country":
- "US", "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {}}, {"id": "adr_d10f7a27fac311efa796ac1f6bc539ae", "object": "Address", "created_at":
- "2025-03-06T19:47:20+00:00", "updated_at": "2025-03-06T19:47:20+00:00", "name":
- "JACK SPARROW", "company": null, "street1": "388 TOWNSEND ST APT 20", "street2":
- null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1670", "country":
- "US", "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": true, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {"zip4": {"success": true, "errors": [], "details": null}, "delivery": {"success":
- true, "errors": [], "details": {"latitude": 37.77551, "longitude": -122.39697,
- "time_zone": "America/Los_Angeles"}}}}, {"id": "adr_d0f2ba11fac311ef9cfd3cecef1b359e",
- "object": "Address", "created_at": "2025-03-06T19:47:20+00:00", "updated_at":
- "2025-03-06T19:47:20+00:00", "name": null, "company": "EasyPost", "street1":
- "000 unknown street", "street2": null, "city": "Not A City", "state": "ZZ",
- "zip": "00001", "country": "US", "phone": "", "email": "",
- "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id":
- null, "state_tax_id": null, "verifications": {"zip4": {"success": false, "errors":
- [{"code": "E.ADDRESS.NOT_FOUND", "field": "address", "message": "Address not
- found", "suggestion": null}], "details": null}, "delivery": {"success": false,
- "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": "address", "message":
- "Address not found", "suggestion": null}], "details": {}}}}, {"id": "adr_d0e54933fac311ef8140ac1f6bc53342",
- "object": "Address", "created_at": "2025-03-06T19:47:20+00:00", "updated_at":
- "2025-03-06T19:47:20+00:00", "name": null, "company": "EasyPost", "street1":
- "000 unknown street", "street2": null, "city": "Not A City", "state": "ZZ",
- "zip": "00001", "country": "US", "phone": "", "email": "",
- "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id":
- null, "state_tax_id": null, "verifications": {}}, {"id": "adr_d0ce4939fac311ef9ce63cecef1b359e",
- "object": "Address", "created_at": "2025-03-06T19:47:20+00:00", "updated_at":
- "2025-03-06T19:47:20+00:00", "name": "JACK SPARROW", "company": null, "street1":
- "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state":
- "CA", "zip": "94107-1670", "country": "US", "phone": "", "email":
- "", "mode": "test", "carrier_facility": null, "residential": true,
- "federal_tax_id": null, "state_tax_id": null, "verifications": {"zip4": {"success":
- true, "errors": [], "details": null}, "delivery": {"success": true, "errors":
- [], "details": {"latitude": 37.77551, "longitude": -122.39697, "time_zone":
- "America/Los_Angeles"}}}}], "has_more": true}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '2996'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 4a484c0a67c9fbc8e2b9771300188c57
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb42nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb2nuq 99aac35317
- x-runtime:
- - '0.033610'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_address_create.yaml b/tests/cassettes/test_address_create.yaml
deleted file mode 100644
index 3dc1d623..00000000
--- a/tests/cassettes/test_address_create.yaml
+++ /dev/null
@@ -1,77 +0,0 @@
-interactions:
-- request:
- body: '{"address": {"name": "Jack Sparrow", "street1": "388 Townsend St", "street2":
- "Apt 20", "city": "San Francisco", "state": "CA", "zip": "94107", "country":
- "US", "email": "test@example.com", "phone": "5555555555"}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '213'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/addresses
- response:
- body:
- string: '{"id": "adr_d08a1a4afac311ef9cc23cecef1b359e", "object": "Address",
- "created_at": "2025-03-06T19:47:19+00:00", "updated_at": "2025-03-06T19:47:19+00:00",
- "name": "Jack Sparrow", "company": null, "street1": "388 Townsend St", "street2":
- "Apt 20", "city": "San Francisco", "state": "CA", "zip": "94107", "country":
- "US", "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '461'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- location:
- - /api/v2/addresses/adr_d08a1a4afac311ef9cc23cecef1b359e
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62767c9fbc7e2b976f600184a4b
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb42nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.028104'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-version: 1
diff --git a/tests/cassettes/test_address_create_and_verify.yaml b/tests/cassettes/test_address_create_and_verify.yaml
deleted file mode 100644
index bd87afa2..00000000
--- a/tests/cassettes/test_address_create_and_verify.yaml
+++ /dev/null
@@ -1,79 +0,0 @@
-interactions:
-- request:
- body: '{"address": {"name": "Jack Sparrow", "street1": "388 Townsend St", "street2":
- "Apt 20", "city": "San Francisco", "state": "CA", "zip": "94107", "country":
- "US", "email": "test@example.com", "phone": "5555555555"}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '213'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/addresses/create_and_verify
- response:
- body:
- string: '{"address": {"id": "adr_d10f7a27fac311efa796ac1f6bc539ae", "object":
- "Address", "created_at": "2025-03-06T19:47:20+00:00", "updated_at": "2025-03-06T19:47:20+00:00",
- "name": "JACK SPARROW", "company": null, "street1": "388 TOWNSEND ST APT 20",
- "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1670",
- "country": "US", "phone": "", "email": "", "mode": "test",
- "carrier_facility": null, "residential": true, "federal_tax_id": null, "state_tax_id":
- null, "verifications": {"zip4": {"success": true, "errors": [], "details":
- null}, "delivery": {"success": true, "errors": [], "details": {"latitude":
- 37.77551, "longitude": -122.39697, "time_zone": "America/Los_Angeles"}}}}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '658'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- location:
- - /api/v2/addresses/adr_d10f7a27fac311efa796ac1f6bc539ae
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62767c9fbc8e2b9771100184b2d
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb34nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.054163'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_address_create_and_verify_carrier.yaml b/tests/cassettes/test_address_create_and_verify_carrier.yaml
deleted file mode 100644
index 065e80db..00000000
--- a/tests/cassettes/test_address_create_and_verify_carrier.yaml
+++ /dev/null
@@ -1,82 +0,0 @@
-interactions:
-- request:
- body: '{"address": {"company": "EasyPost", "street1": "000 unknown street", "city":
- "Not A City", "state": "ZZ", "zip": "00001", "country": "US", "email": "test@example.com",
- "phone": "5555555555"}, "verify_carrier": "UPS"}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '216'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/addresses/create_and_verify
- response:
- body:
- string: '{"address": {"id": "adr_b532f4f1bc0311f0b86eac1f6bc539aa", "object":
- "Address", "created_at": "2025-11-07T18:00:55Z", "updated_at": "2025-11-07T18:00:55Z",
- "name": null, "company": "EASYPOST", "street1": "000 UNKNOWN STREET", "street2":
- "", "city": "NOT A CITY", "state": "ZZ", "zip": "00001", "country": "US",
- "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {"zip4": {"success": true, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field":
- "address", "message": "Address not found", "suggestion": null}], "details":
- null}, "delivery": {"success": true, "errors": [{"code": "E.ADDRESS.NOT_FOUND",
- "field": "address", "message": "Address not found", "suggestion": null}],
- "details": {"latitude": null, "longitude": null, "time_zone": null}}, "verify_carrier":
- "ups"}}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '820'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- location:
- - /api/v2/addresses/adr_b532f4f1bc0311f0b86eac1f6bc539aa
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - bcd43723690e33d7e786a7bd02a1cbd9
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb42nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq c0061e0a2e
- - extlb2nuq cbbd141214
- x-runtime:
- - '0.492859'
- x-version-label:
- - easypost-202511071655-85836cab32-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_address_create_verify.yaml b/tests/cassettes/test_address_create_verify.yaml
deleted file mode 100644
index 85246177..00000000
--- a/tests/cassettes/test_address_create_verify.yaml
+++ /dev/null
@@ -1,156 +0,0 @@
-interactions:
-- request:
- body: '{"address": {"company": "EasyPost", "street1": "000 unknown street", "city":
- "Not A City", "state": "ZZ", "zip": "00001", "country": "US", "email": "test@example.com",
- "phone": "5555555555"}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '191'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/addresses
- response:
- body:
- string: '{"id": "adr_d0a11741fac311ef811eac1f6bc53342", "object": "Address",
- "created_at": "2025-03-06T19:47:19+00:00", "updated_at": "2025-03-06T19:47:19+00:00",
- "name": null, "company": "EasyPost", "street1": "000 unknown street", "street2":
- null, "city": "Not A City", "state": "ZZ", "zip": "00001", "country": "US",
- "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '453'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- location:
- - /api/v2/addresses/adr_d0a11741fac311ef811eac1f6bc53342
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62567c9fbc7e2b976f700184a79
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb34nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.034875'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-- request:
- body: '{"address": {"company": "EasyPost", "street1": "000 unknown street", "city":
- "Not A City", "state": "ZZ", "zip": "00001", "country": "US", "email": "test@example.com",
- "phone": "5555555555"}, "verify": true}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '207'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/addresses
- response:
- body:
- string: '{"id": "adr_d0af7486fac311efa766ac1f6bc539ae", "object": "Address",
- "created_at": "2025-03-06T19:47:19+00:00", "updated_at": "2025-03-06T19:47:19+00:00",
- "name": null, "company": "EasyPost", "street1": "000 unknown street", "street2":
- null, "city": "Not A City", "state": "ZZ", "zip": "00001", "country": "US",
- "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field":
- "address", "message": "Address not found", "suggestion": null}], "details":
- null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND",
- "field": "address", "message": "Address not found", "suggestion": null}],
- "details": {}}}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '750'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- location:
- - /api/v2/addresses/adr_d0af7486fac311efa766ac1f6bc539ae
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62567c9fbc7e2b976f700184a8f
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb34nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.050675'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-version: 1
diff --git a/tests/cassettes/test_address_create_verify_array.yaml b/tests/cassettes/test_address_create_verify_array.yaml
deleted file mode 100644
index 9ea9fa82..00000000
--- a/tests/cassettes/test_address_create_verify_array.yaml
+++ /dev/null
@@ -1,156 +0,0 @@
-interactions:
-- request:
- body: '{"address": {"company": "EasyPost", "street1": "000 unknown street", "city":
- "Not A City", "state": "ZZ", "zip": "00001", "country": "US", "email": "test@example.com",
- "phone": "5555555555"}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '191'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/addresses
- response:
- body:
- string: '{"id": "adr_d0e54933fac311ef8140ac1f6bc53342", "object": "Address",
- "created_at": "2025-03-06T19:47:20+00:00", "updated_at": "2025-03-06T19:47:20+00:00",
- "name": null, "company": "EasyPost", "street1": "000 unknown street", "street2":
- null, "city": "Not A City", "state": "ZZ", "zip": "00001", "country": "US",
- "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '453'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- location:
- - /api/v2/addresses/adr_d0e54933fac311ef8140ac1f6bc53342
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62767c9fbc8e2b9771000184af0
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb59nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.032329'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-- request:
- body: '{"address": {"company": "EasyPost", "street1": "000 unknown street", "city":
- "Not A City", "state": "ZZ", "zip": "00001", "country": "US", "email": "test@example.com",
- "phone": "5555555555"}, "verify": [true]}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '209'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/addresses
- response:
- body:
- string: '{"id": "adr_d0f2ba11fac311ef9cfd3cecef1b359e", "object": "Address",
- "created_at": "2025-03-06T19:47:20+00:00", "updated_at": "2025-03-06T19:47:20+00:00",
- "name": null, "company": "EasyPost", "street1": "000 unknown street", "street2":
- null, "city": "Not A City", "state": "ZZ", "zip": "00001", "country": "US",
- "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field":
- "address", "message": "Address not found", "suggestion": null}], "details":
- null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND",
- "field": "address", "message": "Address not found", "suggestion": null}],
- "details": {}}}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '750'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- location:
- - /api/v2/addresses/adr_d0f2ba11fac311ef9cfd3cecef1b359e
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62767c9fbc8e2b9771000184b02
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb33nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.049655'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-version: 1
diff --git a/tests/cassettes/test_address_create_verify_carrier.yaml b/tests/cassettes/test_address_create_verify_carrier.yaml
deleted file mode 100644
index 61aa9523..00000000
--- a/tests/cassettes/test_address_create_verify_carrier.yaml
+++ /dev/null
@@ -1,82 +0,0 @@
-interactions:
-- request:
- body: '{"address": {"company": "EasyPost", "street1": "000 unknown street", "city":
- "Not A City", "state": "ZZ", "zip": "00001", "country": "US", "email": "test@example.com",
- "phone": "5555555555"}, "verify": true, "verify_carrier": "UPS"}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '232'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/addresses
- response:
- body:
- string: '{"id": "adr_6bbec015bb5011f082233cecef1b359e", "object": "Address",
- "created_at": "2025-11-06T20:37:32Z", "updated_at": "2025-11-06T20:37:32Z",
- "name": null, "company": "EASYPOST", "street1": "000 UNKNOWN STREET", "street2":
- "", "city": "NOT A CITY", "state": "ZZ", "zip": "00001", "country": "US",
- "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {"zip4": {"success": true, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field":
- "address", "message": "Address not found", "suggestion": null}], "details":
- null}, "delivery": {"success": true, "errors": [{"code": "E.ADDRESS.NOT_FOUND",
- "field": "address", "message": "Address not found", "suggestion": null}],
- "details": {"latitude": null, "longitude": null, "time_zone": null}}, "verify_carrier":
- "ups"}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '808'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- location:
- - /api/v2/addresses/adr_6bbec015bb5011f082233cecef1b359e
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - bcd43725690d070be2b85def014ed69a
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb66nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq c0061e0a2e
- - extlb2nuq cbbd141214
- x-runtime:
- - '0.837269'
- x-version-label:
- - easypost-202511061930-711db047b0-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-version: 1
diff --git a/tests/cassettes/test_address_create_verify_strict.yaml b/tests/cassettes/test_address_create_verify_strict.yaml
deleted file mode 100644
index 3b4e4009..00000000
--- a/tests/cassettes/test_address_create_verify_strict.yaml
+++ /dev/null
@@ -1,80 +0,0 @@
-interactions:
-- request:
- body: '{"address": {"name": "Jack Sparrow", "street1": "388 Townsend St", "street2":
- "Apt 20", "city": "San Francisco", "state": "CA", "zip": "94107", "country":
- "US", "email": "test@example.com", "phone": "5555555555"}, "verify_strict":
- true}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '236'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/addresses
- response:
- body:
- string: '{"id": "adr_d0ce4939fac311ef9ce63cecef1b359e", "object": "Address",
- "created_at": "2025-03-06T19:47:20+00:00", "updated_at": "2025-03-06T19:47:20+00:00",
- "name": "JACK SPARROW", "company": null, "street1": "388 TOWNSEND ST APT 20",
- "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1670",
- "country": "US", "phone": "", "email": "", "mode": "test",
- "carrier_facility": null, "residential": true, "federal_tax_id": null, "state_tax_id":
- null, "verifications": {"zip4": {"success": true, "errors": [], "details":
- null}, "delivery": {"success": true, "errors": [], "details": {"latitude":
- 37.77551, "longitude": -122.39697, "time_zone": "America/Los_Angeles"}}}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '646'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- location:
- - /api/v2/addresses/adr_d0ce4939fac311ef9ce63cecef1b359e
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62967c9fbc7e2b976f800184ac4
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb55nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.064436'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-version: 1
diff --git a/tests/cassettes/test_address_get_next_page.yaml b/tests/cassettes/test_address_get_next_page.yaml
deleted file mode 100644
index f08bb832..00000000
--- a/tests/cassettes/test_address_get_next_page.yaml
+++ /dev/null
@@ -1,200 +0,0 @@
-interactions:
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/addresses?page_size=5
- response:
- body:
- string: '{"addresses": [{"id": "adr_d128ff74fac311efa7a7ac1f6bc539ae", "object":
- "Address", "created_at": "2025-03-06T19:47:20+00:00", "updated_at": "2025-03-06T19:47:20+00:00",
- "name": "Jack Sparrow", "company": null, "street1": "388 Townsend St", "street2":
- "Apt 20", "city": "San Francisco", "state": "CA", "zip": "94107", "country":
- "US", "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {}}, {"id": "adr_d10f7a27fac311efa796ac1f6bc539ae", "object": "Address", "created_at":
- "2025-03-06T19:47:20+00:00", "updated_at": "2025-03-06T19:47:20+00:00", "name":
- "JACK SPARROW", "company": null, "street1": "388 TOWNSEND ST APT 20", "street2":
- null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1670", "country":
- "US", "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": true, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {"zip4": {"success": true, "errors": [], "details": null}, "delivery": {"success":
- true, "errors": [], "details": {"latitude": 37.77551, "longitude": -122.39697,
- "time_zone": "America/Los_Angeles"}}}}, {"id": "adr_d0f2ba11fac311ef9cfd3cecef1b359e",
- "object": "Address", "created_at": "2025-03-06T19:47:20+00:00", "updated_at":
- "2025-03-06T19:47:20+00:00", "name": null, "company": "EasyPost", "street1":
- "000 unknown street", "street2": null, "city": "Not A City", "state": "ZZ",
- "zip": "00001", "country": "US", "phone": "", "email": "",
- "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id":
- null, "state_tax_id": null, "verifications": {"zip4": {"success": false, "errors":
- [{"code": "E.ADDRESS.NOT_FOUND", "field": "address", "message": "Address not
- found", "suggestion": null}], "details": null}, "delivery": {"success": false,
- "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": "address", "message":
- "Address not found", "suggestion": null}], "details": {}}}}, {"id": "adr_d0e54933fac311ef8140ac1f6bc53342",
- "object": "Address", "created_at": "2025-03-06T19:47:20+00:00", "updated_at":
- "2025-03-06T19:47:20+00:00", "name": null, "company": "EasyPost", "street1":
- "000 unknown street", "street2": null, "city": "Not A City", "state": "ZZ",
- "zip": "00001", "country": "US", "phone": "", "email": "",
- "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id":
- null, "state_tax_id": null, "verifications": {}}, {"id": "adr_d0ce4939fac311ef9ce63cecef1b359e",
- "object": "Address", "created_at": "2025-03-06T19:47:20+00:00", "updated_at":
- "2025-03-06T19:47:20+00:00", "name": "JACK SPARROW", "company": null, "street1":
- "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state":
- "CA", "zip": "94107-1670", "country": "US", "phone": "", "email":
- "", "mode": "test", "carrier_facility": null, "residential": true,
- "federal_tax_id": null, "state_tax_id": null, "verifications": {"zip4": {"success":
- true, "errors": [], "details": null}, "delivery": {"success": true, "errors":
- [], "details": {"latitude": 37.77551, "longitude": -122.39697, "time_zone":
- "America/Los_Angeles"}}}}], "has_more": true}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '2996'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 4a484c0c67c9fbc8e2b9771400188c7c
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb35nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb2nuq 99aac35317
- x-runtime:
- - '0.039677'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/addresses?before_id=adr_d0ce4939fac311ef9ce63cecef1b359e&page_size=5
- response:
- body:
- string: '{"addresses": [{"id": "adr_d0af7486fac311efa766ac1f6bc539ae", "object":
- "Address", "created_at": "2025-03-06T19:47:19+00:00", "updated_at": "2025-03-06T19:47:19+00:00",
- "name": null, "company": "EasyPost", "street1": "000 unknown street", "street2":
- null, "city": "Not A City", "state": "ZZ", "zip": "00001", "country": "US",
- "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field":
- "address", "message": "Address not found", "suggestion": null}], "details":
- null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND",
- "field": "address", "message": "Address not found", "suggestion": null}],
- "details": {}}}}, {"id": "adr_d0a11741fac311ef811eac1f6bc53342", "object":
- "Address", "created_at": "2025-03-06T19:47:19+00:00", "updated_at": "2025-03-06T19:47:19+00:00",
- "name": null, "company": "EasyPost", "street1": "000 unknown street", "street2":
- null, "city": "Not A City", "state": "ZZ", "zip": "00001", "country": "US",
- "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {}}, {"id": "adr_d08a1a4afac311ef9cc23cecef1b359e", "object": "Address", "created_at":
- "2025-03-06T19:47:19+00:00", "updated_at": "2025-03-06T19:47:19+00:00", "name":
- "Jack Sparrow", "company": null, "street1": "388 Townsend St", "street2":
- "Apt 20", "city": "San Francisco", "state": "CA", "zip": "94107", "country":
- "US", "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {}}, {"id": "adr_fabb4013f08111efacb8ac1f6bc53342", "object": "Address", "created_at":
- "2025-02-21T18:30:51+00:00", "updated_at": "2025-02-21T18:30:51+00:00", "name":
- "Jack Sparrow", "company": null, "street1": "388 Townsend St", "street2":
- "Apt 20", "city": "San Francisco", "state": "CA", "zip": "94107", "country":
- "US", "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {}}, {"id": "adr_fab8798ef08111ef8ca73cecef1b359e", "object": "Address", "created_at":
- "2025-02-21T18:30:51+00:00", "updated_at": "2025-02-21T18:30:52+00:00", "name":
- "ELIZABETH SWAN", "company": null, "street1": "179 N HARBOR DR", "street2":
- null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country":
- "US", "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": false, "federal_tax_id": null, "state_tax_id": null,
- "verifications": {"zip4": {"success": true, "errors": [], "details": null},
- "delivery": {"success": true, "errors": [], "details": {"latitude": 33.8436,
- "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}], "has_more":
- true}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '2804'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 4a484c0c67c9fbc9e2b9771400188c94
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb38nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb2nuq 99aac35317
- x-runtime:
- - '0.035805'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_address_retrieve.yaml b/tests/cassettes/test_address_retrieve.yaml
deleted file mode 100644
index 7a641c77..00000000
--- a/tests/cassettes/test_address_retrieve.yaml
+++ /dev/null
@@ -1,144 +0,0 @@
-interactions:
-- request:
- body: '{"address": {"name": "Jack Sparrow", "street1": "388 Townsend St", "street2":
- "Apt 20", "city": "San Francisco", "state": "CA", "zip": "94107", "country":
- "US", "email": "test@example.com", "phone": "5555555555"}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '213'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/addresses
- response:
- body:
- string: '{"id": "adr_d128ff74fac311efa7a7ac1f6bc539ae", "object": "Address",
- "created_at": "2025-03-06T19:47:20+00:00", "updated_at": "2025-03-06T19:47:20+00:00",
- "name": "Jack Sparrow", "company": null, "street1": "388 Townsend St", "street2":
- "Apt 20", "city": "San Francisco", "state": "CA", "zip": "94107", "country":
- "US", "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '461'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- location:
- - /api/v2/addresses/adr_d128ff74fac311efa7a7ac1f6bc539ae
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 4a484c0a67c9fbc8e2b9771200188bfc
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb39nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb2nuq 99aac35317
- x-runtime:
- - '0.037012'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/addresses/adr_d128ff74fac311efa7a7ac1f6bc539ae
- response:
- body:
- string: '{"id": "adr_d128ff74fac311efa7a7ac1f6bc539ae", "object": "Address",
- "created_at": "2025-03-06T19:47:20+00:00", "updated_at": "2025-03-06T19:47:20+00:00",
- "name": "Jack Sparrow", "company": null, "street1": "388 Townsend St", "street2":
- "Apt 20", "city": "San Francisco", "state": "CA", "zip": "94107", "country":
- "US", "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '461'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 4a484c0a67c9fbc8e2b9771200188c22
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb40nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb2nuq 99aac35317
- x-runtime:
- - '0.027362'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_address_verify.yaml b/tests/cassettes/test_address_verify.yaml
deleted file mode 100644
index baef9af2..00000000
--- a/tests/cassettes/test_address_verify.yaml
+++ /dev/null
@@ -1,148 +0,0 @@
-interactions:
-- request:
- body: '{"address": {"name": "Jack Sparrow", "street1": "388 Townsend St", "street2":
- "Apt 20", "city": "San Francisco", "state": "CA", "zip": "94107", "country":
- "US", "email": "test@example.com", "phone": "5555555555"}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '213'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/addresses
- response:
- body:
- string: '{"id": "adr_d188b93cfac311efbc54ac1f6bc539aa", "object": "Address",
- "created_at": "2025-03-06T19:47:21+00:00", "updated_at": "2025-03-06T19:47:21+00:00",
- "name": "Jack Sparrow", "company": null, "street1": "388 Townsend St", "street2":
- "Apt 20", "city": "San Francisco", "state": "CA", "zip": "94107", "country":
- "US", "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '461'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- location:
- - /api/v2/addresses/adr_d188b93cfac311efbc54ac1f6bc539aa
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 4a484c1067c9fbc9e2b9771500188cc6
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb54nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb2nuq 99aac35317
- x-runtime:
- - '0.033082'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/addresses/adr_d188b93cfac311efbc54ac1f6bc539aa/verify
- response:
- body:
- string: '{"address": {"id": "adr_d1989bbffac311efbc56ac1f6bc539aa", "object":
- "Address", "created_at": "2025-03-06T19:47:21+00:00", "updated_at": "2025-03-06T19:47:21+00:00",
- "name": "JACK SPARROW", "company": null, "street1": "388 TOWNSEND ST APT 20",
- "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1670",
- "country": "US", "phone": "", "email": "", "mode": "test",
- "carrier_facility": null, "residential": true, "federal_tax_id": null, "state_tax_id":
- null, "verifications": {"zip4": {"success": true, "errors": [], "details":
- null}, "delivery": {"success": true, "errors": [], "details": {"latitude":
- 37.77551, "longitude": -122.39697, "time_zone": "America/Los_Angeles"}}}}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '658'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- location:
- - /api/v2/addresses/adr_d1989bbffac311efbc56ac1f6bc539aa
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 4a484c1067c9fbc9e2b9771500188ce2
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb39nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb2nuq 99aac35317
- x-runtime:
- - '0.056957'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_address_verify_invalid_address.yaml b/tests/cassettes/test_address_verify_invalid_address.yaml
deleted file mode 100644
index ee621111..00000000
--- a/tests/cassettes/test_address_verify_invalid_address.yaml
+++ /dev/null
@@ -1,138 +0,0 @@
-interactions:
-- request:
- body: '{"address": {"street1": "invalid"}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '35'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/addresses
- response:
- body:
- string: '{"id": "adr_d1b02f48fac311efa7f0ac1f6bc539ae", "object": "Address",
- "created_at": "2025-03-06T19:47:21+00:00", "updated_at": "2025-03-06T19:47:21+00:00",
- "name": null, "company": null, "street1": "invalid", "street2": null, "city":
- null, "state": null, "zip": null, "country": "US", "phone": "",
- "email": "", "mode": "test", "carrier_facility": null, "residential":
- null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '403'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- location:
- - /api/v2/addresses/adr_d1b02f48fac311efa7f0ac1f6bc539ae
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 4a484c0a67c9fbc9e2b9771600188d17
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb36nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb2nuq 99aac35317
- x-runtime:
- - '0.038483'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/addresses/adr_d1b02f48fac311efa7f0ac1f6bc539ae/verify
- response:
- body:
- string: '{"error": {"code": "ADDRESS.VERIFY.FAILURE", "message": "Unable to
- verify address.", "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": "address",
- "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING",
- "field": "street1", "message": "House number is missing", "suggestion": null}]}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '295'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 4a484c0a67c9fbc9e2b9771600188d2d
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb56nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb2nuq 99aac35317
- x-runtime:
- - '0.043378'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 422
- message: Unprocessable Entity
-version: 1
diff --git a/tests/cassettes/test_api_key_all.yaml b/tests/cassettes/test_api_key_all.yaml
deleted file mode 100644
index ef3dd0a9..00000000
--- a/tests/cassettes/test_api_key_all.yaml
+++ /dev/null
@@ -1,93 +0,0 @@
-interactions:
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/api_keys
- response:
- body:
- string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object":
- "ApiKey", "active": true, "key": "", "mode": "test", "created_at":
- "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object":
- "ApiKey", "active": true, "key": "", "mode": "production", "created_at":
- "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children":
- [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey",
- "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z",
- "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active":
- true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z",
- "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c",
- "keys": [{"object": "ApiKey", "active": true, "key": "", "mode":
- "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"},
- {"object": "ApiKey", "active": true, "key": "", "mode": "production",
- "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}],
- "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object":
- "ApiKey", "active": true, "key": "", "mode": "test", "created_at":
- "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object":
- "ApiKey", "active": true, "key": "", "mode": "production", "created_at":
- "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children":
- []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey",
- "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z",
- "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active":
- true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z",
- "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a",
- "keys": [{"object": "ApiKey", "active": true, "key": "", "mode":
- "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"},
- {"object": "ApiKey", "active": true, "key": "", "mode": "production",
- "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}],
- "children": []}]}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '2782'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-canary:
- - direct
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62967c9fbc9e2b9771700184c80
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb43nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.075092'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_api_key_authenticated_user.yaml b/tests/cassettes/test_api_key_authenticated_user.yaml
deleted file mode 100644
index 7c9f3001..00000000
--- a/tests/cassettes/test_api_key_authenticated_user.yaml
+++ /dev/null
@@ -1,177 +0,0 @@
-interactions:
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/users
- response:
- body:
- string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id":
- null, "name": "New Name", "phone_number": "", "verified": true,
- "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access":
- false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount":
- "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00",
- "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount":
- null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email":
- "", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd",
- "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name":
- "Test User2", "phone_number": "8005550100", "verified": true, "created_at":
- "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access":
- false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object":
- "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test
- User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z",
- "default_carbon_offset": false, "has_elevate_access": false, "children": []},
- {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id":
- "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number":
- "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset":
- false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12",
- "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name":
- "Test User", "phone_number": "8005550100", "verified": true, "created_at":
- "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access":
- false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object":
- "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test
- User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z",
- "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '2010'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62567c9fbc9e2b9771800184cb0
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb40nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.156923'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/api_keys
- response:
- body:
- string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object":
- "ApiKey", "active": true, "key": "", "mode": "test", "created_at":
- "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object":
- "ApiKey", "active": true, "key": "", "mode": "production", "created_at":
- "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children":
- [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey",
- "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z",
- "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active":
- true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z",
- "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c",
- "keys": [{"object": "ApiKey", "active": true, "key": "", "mode":
- "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"},
- {"object": "ApiKey", "active": true, "key": "", "mode": "production",
- "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}],
- "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object":
- "ApiKey", "active": true, "key": "", "mode": "test", "created_at":
- "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object":
- "ApiKey", "active": true, "key": "", "mode": "production", "created_at":
- "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children":
- []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey",
- "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z",
- "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active":
- true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z",
- "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a",
- "keys": [{"object": "ApiKey", "active": true, "key": "", "mode":
- "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"},
- {"object": "ApiKey", "active": true, "key": "", "mode": "production",
- "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}],
- "children": []}]}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '2782'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62567c9fbcae2b9771800184ced
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb41nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.084904'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_api_key_lifecycle.yaml b/tests/cassettes/test_api_key_lifecycle.yaml
deleted file mode 100644
index ed1aabba..00000000
--- a/tests/cassettes/test_api_key_lifecycle.yaml
+++ /dev/null
@@ -1,257 +0,0 @@
-interactions:
-- request:
- body: '{"mode": "production"}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '22'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/api_keys
- response:
- body:
- string: '{"object": "ApiKey", "key": "", "mode": "production", "created_at":
- "2026-02-02T21:31:26Z", "active": true, "id": "ak_e87ac0a105ea4760a5df59a757230365"}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '199'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 2e56ccf3698117aee2bb247402d1e34b
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb57nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq d9379ca146
- - extlb2nuq cbbd141214
- x-runtime:
- - '0.111460'
- x-version-label:
- - easypost-202602022023-e2aafa4ad5-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-- request:
- body: '{}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '2'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/api_keys/ak_e87ac0a105ea4760a5df59a757230365/disable
- response:
- body:
- string: '{"object": "ApiKey", "key": "", "mode": "production", "created_at":
- "2026-02-02T21:31:26Z", "active": false, "id": "ak_e87ac0a105ea4760a5df59a757230365"}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '200'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 2e56cced698117aee2bb247502d1e3ae
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb53nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq d9379ca146
- - extlb2nuq cbbd141214
- x-runtime:
- - '0.125884'
- x-version-label:
- - easypost-202602022023-e2aafa4ad5-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: '{}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '2'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/api_keys/ak_e87ac0a105ea4760a5df59a757230365/enable
- response:
- body:
- string: '{"object": "ApiKey", "key": "", "mode": "production", "created_at":
- "2026-02-02T21:31:26Z", "active": true, "id": "ak_e87ac0a105ea4760a5df59a757230365"}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '199'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 2e56ccee698117afe2bb247602d1e40f
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb42nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb6nuq d9379ca146
- - extlb2nuq cbbd141214
- x-runtime:
- - '0.120192'
- x-version-label:
- - easypost-202602022023-e2aafa4ad5-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '0'
- authorization:
- -
- user-agent:
- -
- method: DELETE
- uri: https://api.easypost.com/v2/api_keys/ak_e87ac0a105ea4760a5df59a757230365
- response:
- body:
- string: ''
- headers:
- cache-control:
- - private, no-cache, no-store
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 2e56ccf1698117afe2bb247702d1e476
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb42nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq d9379ca146
- - extlb2nuq cbbd141214
- x-runtime:
- - '0.105366'
- x-version-label:
- - easypost-202602022023-e2aafa4ad5-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 204
- message: No Content
-version: 1
diff --git a/tests/cassettes/test_api_key_retrieve_authenticated_user.yaml b/tests/cassettes/test_api_key_retrieve_authenticated_user.yaml
deleted file mode 100644
index f49d1064..00000000
--- a/tests/cassettes/test_api_key_retrieve_authenticated_user.yaml
+++ /dev/null
@@ -1,177 +0,0 @@
-interactions:
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/users
- response:
- body:
- string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id":
- null, "name": "New Name", "phone_number": "", "verified": true,
- "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access":
- false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount":
- "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00",
- "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount":
- null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email":
- "", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd",
- "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name":
- "Test User2", "phone_number": "8005550100", "verified": true, "created_at":
- "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access":
- false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object":
- "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test
- User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z",
- "default_carbon_offset": false, "has_elevate_access": false, "children": []},
- {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id":
- "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number":
- "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset":
- false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12",
- "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name":
- "Test User", "phone_number": "8005550100", "verified": true, "created_at":
- "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access":
- false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object":
- "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test
- User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z",
- "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '2010'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 2e56ccf0698116b8e2bb1c7902d05b35
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb41nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq d9379ca146
- - extlb2nuq cbbd141214
- x-runtime:
- - '0.148339'
- x-version-label:
- - easypost-202602022023-e2aafa4ad5-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/api_keys
- response:
- body:
- string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object":
- "ApiKey", "active": true, "key": "", "mode": "test", "created_at":
- "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object":
- "ApiKey", "active": true, "key": "", "mode": "production", "created_at":
- "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children":
- [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey",
- "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z",
- "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active":
- true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z",
- "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c",
- "keys": [{"object": "ApiKey", "active": true, "key": "", "mode":
- "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"},
- {"object": "ApiKey", "active": true, "key": "", "mode": "production",
- "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}],
- "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object":
- "ApiKey", "active": true, "key": "", "mode": "test", "created_at":
- "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object":
- "ApiKey", "active": true, "key": "", "mode": "production", "created_at":
- "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children":
- []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey",
- "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z",
- "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active":
- true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z",
- "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a",
- "keys": [{"object": "ApiKey", "active": true, "key": "", "mode":
- "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"},
- {"object": "ApiKey", "active": true, "key": "", "mode": "production",
- "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}],
- "children": []}]}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '2782'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 2e56ccef698116b9e2bb1c7c02d05ba9
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb38nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb6nuq d9379ca146
- - extlb2nuq cbbd141214
- x-runtime:
- - '0.086400'
- x-version-label:
- - easypost-202602022023-e2aafa4ad5-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_api_key_retrieve_child_user.yaml b/tests/cassettes/test_api_key_retrieve_child_user.yaml
deleted file mode 100644
index 97593c55..00000000
--- a/tests/cassettes/test_api_key_retrieve_child_user.yaml
+++ /dev/null
@@ -1,289 +0,0 @@
-interactions:
-- request:
- body: '{"user": {"name": "Test User"}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '31'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/users
- response:
- body:
- string: '{"id": "user_7b18c25890924f8ab96848aa3efc2765", "object": "User", "parent_id":
- "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number":
- "", "verified": true, "created_at": "2025-03-06T19:47:22Z", "default_carbon_offset":
- false, "has_elevate_access": false, "children": [], "api_keys": [{"object":
- "ApiKey", "key": "", "mode": "test", "created_at": "2025-03-06T19:47:22Z",
- "active": true, "id": "ak_0b4bbaf6145c4a4e991fd91ae6d8512b"}, {"object": "ApiKey",
- "key": "", "mode": "production", "created_at": "2025-03-06T19:47:22Z",
- "active": true, "id": "ak_4ac13156665942c99bbe31bab7cdb0da"}]}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '691'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62967c9fbcae2b9771900184d24
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb53nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.516833'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/users/user_7b18c25890924f8ab96848aa3efc2765
- response:
- body:
- string: '{"id": "user_7b18c25890924f8ab96848aa3efc2765", "object": "User", "parent_id":
- "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number":
- "", "verified": true, "created_at": "2025-03-06T19:47:22Z", "default_carbon_offset":
- false, "has_elevate_access": false, "children": []}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '284'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62967c9fbcae2b9771900184dd9
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb38nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.096345'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/api_keys
- response:
- body:
- string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object":
- "ApiKey", "active": true, "key": "", "mode": "test", "created_at":
- "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object":
- "ApiKey", "active": true, "key": "", "mode": "production", "created_at":
- "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children":
- [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey",
- "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z",
- "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active":
- true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z",
- "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c",
- "keys": [{"object": "ApiKey", "active": true, "key": "", "mode":
- "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"},
- {"object": "ApiKey", "active": true, "key": "", "mode": "production",
- "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}],
- "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object":
- "ApiKey", "active": true, "key": "", "mode": "test", "created_at":
- "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object":
- "ApiKey", "active": true, "key": "", "mode": "production", "created_at":
- "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children":
- []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey",
- "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z",
- "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active":
- true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z",
- "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a",
- "keys": [{"object": "ApiKey", "active": true, "key": "", "mode":
- "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"},
- {"object": "ApiKey", "active": true, "key": "", "mode": "production",
- "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}],
- "children": []}, {"id": "user_7b18c25890924f8ab96848aa3efc2765", "keys": [{"object":
- "ApiKey", "active": true, "key": "", "mode": "test", "created_at":
- "2025-03-06T19:47:22Z", "id": "ak_0b4bbaf6145c4a4e991fd91ae6d8512b"}, {"object":
- "ApiKey", "active": true, "key": "", "mode": "production", "created_at":
- "2025-03-06T19:47:22Z", "id": "ak_4ac13156665942c99bbe31bab7cdb0da"}], "children":
- []}]}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '3246'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62967c9fbcbe2b9771900184e0f
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb38nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.103280'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '0'
- authorization:
- -
- user-agent:
- -
- method: DELETE
- uri: https://api.easypost.com/v2/users/user_7b18c25890924f8ab96848aa3efc2765
- response:
- body:
- string: ''
- headers:
- cache-control:
- - private, no-cache, no-store
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62967c9fbcbe2b9771900184e39
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb33nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.091880'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 204
- message: No Content
-version: 1
diff --git a/tests/cassettes/test_batch_add_remove_shipment.yaml b/tests/cassettes/test_batch_add_remove_shipment.yaml
deleted file mode 100644
index f479284b..00000000
--- a/tests/cassettes/test_batch_add_remove_shipment.yaml
+++ /dev/null
@@ -1,372 +0,0 @@
-interactions:
-- request:
- body: '{"shipment": {"to_address": {"name": "Jack Sparrow", "street1": "388 Townsend
- St", "street2": "Apt 20", "city": "San Francisco", "state": "CA", "zip": "94107",
- "country": "US", "email": "test@example.com", "phone": "5555555555"}, "from_address":
- {"name": "Elizabeth Swan", "street1": "179 N Harbor Dr", "city": "Redondo Beach",
- "state": "CA", "zip": "90277", "country": "US", "email": "test@example.com",
- "phone": "5555555555"}, "parcel": {"length": 10, "width": 8, "height": 4, "weight":
- 15.4}, "service": "GroundAdvantage", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"],
- "carrier": "USPS"}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '606'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/shipments
- response:
- body:
- string: '{"id": "shp_243d43abc8d0484cbe01b684e76d20d5", "created_at": "2025-03-06T19:47:39Z",
- "is_return": false, "messages": [], "mode": "test", "options": {"currency":
- "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null,
- "status": "unknown", "tracking_code": "9400100208303109500645", "updated_at":
- "2025-03-06T19:47:40Z", "batch_id": null, "batch_status": null, "batch_message":
- null, "customs_info": null, "from_address": {"id": "adr_dca13f48fac311ef81f9ac1f6bc539aa",
- "object": "Address", "created_at": "2025-03-06T19:47:39+00:00", "updated_at":
- "2025-03-06T19:47:39+00:00", "name": "Elizabeth Swan", "company": null, "street1":
- "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA",
- "zip": "90277", "country": "US", "phone": "", "email": "",
- "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id":
- null, "state_tax_id": null, "verifications": {}}, "insurance": null, "order_id":
- null, "parcel": {"id": "prcl_011650c305ca44308b92d7cc35f30426", "object":
- "Parcel", "created_at": "2025-03-06T19:47:39Z", "updated_at": "2025-03-06T19:47:39Z",
- "length": 10.0, "width": 8.0, "height": 4.0, "predefined_package": null, "weight":
- 15.4, "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_d3a08d7159604f76b4356face3f3fd19",
- "created_at": "2025-03-06T19:47:40Z", "updated_at": "2025-03-06T19:47:40Z",
- "date_advance": 0, "integrated_form": "none", "label_date": "2025-03-06T19:47:40Z",
- "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type":
- "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20250306/e8c546c95c7af94bcab23bc8aae8819c07.png",
- "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file":
- null}, "rates": [{"id": "rate_502b242d978d402ca45ceb485dc7ae6e", "object":
- "Rate", "created_at": "2025-03-06T19:47:40Z", "updated_at": "2025-03-06T19:47:40Z",
- "mode": "test", "service": "Express", "carrier": "USPS", "rate": "34.15",
- "currency": "USD", "retail_rate": "39.10", "retail_currency": "USD", "list_rate":
- "34.15", "list_currency": "USD", "billing_type": "easypost", "delivery_days":
- 1, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days":
- 1, "shipment_id": "shp_243d43abc8d0484cbe01b684e76d20d5", "carrier_account_id":
- "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_36fcb1e13dd54924bbadb3396b3762cc",
- "object": "Rate", "created_at": "2025-03-06T19:47:40Z", "updated_at": "2025-03-06T19:47:40Z",
- "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.42",
- "currency": "USD", "retail_rate": "9.90", "retail_currency": "USD", "list_rate":
- "8.34", "list_currency": "USD", "billing_type": "easypost", "delivery_days":
- 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days":
- 3, "shipment_id": "shp_243d43abc8d0484cbe01b684e76d20d5", "carrier_account_id":
- "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1b8743bad96a42f99fbb090396865a69",
- "object": "Rate", "created_at": "2025-03-06T19:47:40Z", "updated_at": "2025-03-06T19:47:40Z",
- "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.07",
- "currency": "USD", "retail_rate": "8.85", "retail_currency": "USD", "list_rate":
- "6.57", "list_currency": "USD", "billing_type": "easypost", "delivery_days":
- 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days":
- 3, "shipment_id": "shp_243d43abc8d0484cbe01b684e76d20d5", "carrier_account_id":
- "ca_b25657e9896e4d63ac8151ac346ac41e"}], "refund_status": null, "scan_form":
- null, "selected_rate": {"id": "rate_1b8743bad96a42f99fbb090396865a69", "object":
- "Rate", "created_at": "2025-03-06T19:47:40Z", "updated_at": "2025-03-06T19:47:40Z",
- "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.07",
- "currency": "USD", "retail_rate": "8.85", "retail_currency": "USD", "list_rate":
- "6.57", "list_currency": "USD", "billing_type": "easypost", "delivery_days":
- 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days":
- 3, "shipment_id": "shp_243d43abc8d0484cbe01b684e76d20d5", "carrier_account_id":
- "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2d529ff81346463598d28ca891bce7b2",
- "object": "Tracker", "mode": "test", "tracking_code": "9400100208303109500645",
- "status": "unknown", "status_detail": "unknown", "created_at": "2025-03-06T19:47:40Z",
- "updated_at": "2025-03-06T19:47:40Z", "signed_by": null, "weight": null, "est_delivery_date":
- null, "shipment_id": "shp_243d43abc8d0484cbe01b684e76d20d5", "carrier": "USPS",
- "tracking_details": [], "fees": [], "carrier_detail": null, "public_url":
- "https://track.easypost.com/djE6dHJrXzJkNTI5ZmY4MTM0NjQ2MzU5OGQyOGNhODkxYmNlN2Iy"},
- "to_address": {"id": "adr_dc9d24b6fac311efa3153cecef1b359e", "object": "Address",
- "created_at": "2025-03-06T19:47:39+00:00", "updated_at": "2025-03-06T19:47:40+00:00",
- "name": "JACK SPARROW", "company": null, "street1": "388 TOWNSEND ST APT 20",
- "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1670",
- "country": "US", "phone": "", "email": "", "mode": "test",
- "carrier_facility": null, "residential": true, "federal_tax_id": null, "state_tax_id":
- null, "verifications": {"zip4": {"success": true, "errors": [], "details":
- null}, "delivery": {"success": true, "errors": [], "details": {"latitude":
- 37.77551, "longitude": -122.39697, "time_zone": "America/Los_Angeles"}}}},
- "usps_zone": 4, "return_address": {"id": "adr_dca13f48fac311ef81f9ac1f6bc539aa",
- "object": "Address", "created_at": "2025-03-06T19:47:39+00:00", "updated_at":
- "2025-03-06T19:47:39+00:00", "name": "Elizabeth Swan", "company": null, "street1":
- "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA",
- "zip": "90277", "country": "US", "phone": "", "email": "",
- "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id":
- null, "state_tax_id": null, "verifications": {}}, "buyer_address": {"id":
- "adr_dc9d24b6fac311efa3153cecef1b359e", "object": "Address", "created_at":
- "2025-03-06T19:47:39+00:00", "updated_at": "2025-03-06T19:47:40+00:00", "name":
- "JACK SPARROW", "company": null, "street1": "388 TOWNSEND ST APT 20", "street2":
- "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1670", "country":
- "US", "phone": "", "email": "", "mode": "test", "carrier_facility":
- null, "residential": true, "federal_tax_id": null, "state_tax_id": null, "verifications":
- {"zip4": {"success": true, "errors": [], "details": null}, "delivery": {"success":
- true, "errors": [], "details": {"latitude": 37.77551, "longitude": -122.39697,
- "time_zone": "America/Los_Angeles"}}}}, "forms": [], "fees": [{"object": "Fee",
- "type": "LabelFee", "amount": "0.00000", "charged": true, "refunded": false},
- {"object": "Fee", "type": "PostageFee", "amount": "6.07000", "charged": true,
- "refunded": false}], "object": "Shipment"}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '6456'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- location:
- - /api/v2/shipments/shp_243d43abc8d0484cbe01b684e76d20d5
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62b67c9fbdbe2b9773600186193
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb41nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.999460'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-- request:
- body: '{"batch": {}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '13'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/batches
- response:
- body:
- string: '{"id": "batch_25eeafb7c1d8478bbf67cf6c0a095b20", "object": "Batch",
- "mode": "test", "state": "created", "num_shipments": 0, "reference": null,
- "created_at": "2025-03-06T19:47:40Z", "updated_at": "2025-03-06T19:47:40Z",
- "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase":
- 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed":
- 0}, "pickup": null, "label_url": null}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '383'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62b67c9fbdce2b97736001862c9
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb58nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.034967'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: '{"shipments": [{"id": "shp_243d43abc8d0484cbe01b684e76d20d5"}]}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '63'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/batches/batch_25eeafb7c1d8478bbf67cf6c0a095b20/add_shipments
- response:
- body:
- string: '{"id": "batch_25eeafb7c1d8478bbf67cf6c0a095b20", "object": "Batch",
- "mode": "test", "state": "created", "num_shipments": 1, "reference": null,
- "created_at": "2025-03-06T19:47:40Z", "updated_at": "2025-03-06T19:47:40Z",
- "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message":
- null, "reference": null, "tracking_code": "9400100208303109500645", "id":
- "shp_243d43abc8d0484cbe01b684e76d20d5"}], "status": {"created": 0, "queued_for_purchase":
- 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed":
- 0}, "pickup": null, "label_url": null}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '542'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62b67c9fbdce2b97736001862e5
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb40nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.050961'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: '{"shipments": [{"id": "shp_243d43abc8d0484cbe01b684e76d20d5"}]}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '63'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/batches/batch_25eeafb7c1d8478bbf67cf6c0a095b20/remove_shipments
- response:
- body:
- string: '{"id": "batch_25eeafb7c1d8478bbf67cf6c0a095b20", "object": "Batch",
- "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null,
- "created_at": "2025-03-06T19:47:40Z", "updated_at": "2025-03-06T19:47:41Z",
- "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase":
- 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed":
- 0}, "pickup": null, "label_url": null}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '385'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62b67c9fbdde2b9773600186330
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb42nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.036024'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_batch_all.yaml b/tests/cassettes/test_batch_all.yaml
deleted file mode 100644
index 7d026910..00000000
--- a/tests/cassettes/test_batch_all.yaml
+++ /dev/null
@@ -1,76 +0,0 @@
-interactions:
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/batches?page_size=5
- response:
- body:
- string: '{"batches": [{"id": "batch_714d7667a73f450eb169b20c1425c6a2", "object":
- "Batch", "mode": "test", "state": "created", "num_shipments": 1, "reference":
- null, "created_at": "2025-03-06T19:47:23Z", "updated_at": "2025-03-06T19:47:23Z",
- "scan_form": null, "shipments": [{"batch_status": "created", "batch_message":
- null, "reference": null, "tracking_code": null, "id": "shp_18722621622046f48c2314f4624c5746"}],
- "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased":
- 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}, {"id":
- "batch_af1a8a3cfc1f444d961e620e2ade0f7a", "object": "Batch", "mode": "test",
- "state": "created", "num_shipments": 1, "reference": null, "created_at": "2025-03-06T19:47:23Z",
- "updated_at": "2025-03-06T19:47:23Z", "scan_form": null, "shipments": [{"batch_status":
- "created", "batch_message": null, "reference": null, "tracking_code": null,
- "id": "shp_60e1b0b799e74382b16366ba261282f3"}], "status": {"created": 1, "queued_for_purchase":
- 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed":
- 0}, "pickup": null, "label_url": null}], "has_more": false}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '1056'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62967c9fbcbe2b9773300184edf
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb54nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.156418'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_batch_buy.yaml b/tests/cassettes/test_batch_buy.yaml
deleted file mode 100644
index 7e891085..00000000
--- a/tests/cassettes/test_batch_buy.yaml
+++ /dev/null
@@ -1,152 +0,0 @@
-interactions:
-- request:
- body: '{"batch": {"shipments": [{"to_address": {"name": "Jack Sparrow", "street1":
- "388 Townsend St", "street2": "Apt 20", "city": "San Francisco", "state": "CA",
- "zip": "94107", "country": "US", "email": "test@example.com", "phone": "5555555555"},
- "from_address": {"name": "Elizabeth Swan", "street1": "179 N Harbor Dr", "city":
- "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "email": "test@example.com",
- "phone": "5555555555"}, "parcel": {"length": 10, "width": 8, "height": 4, "weight":
- 15.4}, "service": "GroundAdvantage", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"],
- "carrier": "USPS"}]}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '620'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/batches
- response:
- body:
- string: '{"id": "batch_a3e18200e5104896874b4af64a3dde38", "object": "Batch",
- "mode": "test", "state": "creating", "num_shipments": 1, "reference": null,
- "created_at": "2025-03-06T19:47:24Z", "updated_at": "2025-03-06T19:47:24Z",
- "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase":
- 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed":
- 0}, "pickup": null, "label_url": null}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '384'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-canary:
- - direct
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62667c9fbcce2b9773400184f42
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb32nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.048992'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: '{}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '2'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/batches/batch_a3e18200e5104896874b4af64a3dde38/buy
- response:
- body:
- string: '{"id": "batch_a3e18200e5104896874b4af64a3dde38", "object": "Batch",
- "mode": "test", "state": "created", "num_shipments": 1, "reference": null,
- "created_at": "2025-03-06T19:47:24Z", "updated_at": "2025-03-06T19:47:24Z",
- "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message":
- null, "reference": null, "tracking_code": null, "id": "shp_fd3accc750604a3c9fa45e16b61af49b"}],
- "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased":
- 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '524'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62667c9fbd1e2b97734001855c5
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb33nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.050381'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_batch_create.yaml b/tests/cassettes/test_batch_create.yaml
deleted file mode 100644
index 8a83a47e..00000000
--- a/tests/cassettes/test_batch_create.yaml
+++ /dev/null
@@ -1,79 +0,0 @@
-interactions:
-- request:
- body: '{"batch": {"shipments": [{"to_address": {"name": "Jack Sparrow", "street1":
- "388 Townsend St", "street2": "Apt 20", "city": "San Francisco", "state": "CA",
- "zip": "94107", "country": "US", "email": "test@example.com", "phone": "5555555555"},
- "from_address": {"name": "Elizabeth Swan", "street1": "179 N Harbor Dr", "city":
- "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "email": "test@example.com",
- "phone": "5555555555"}, "parcel": {"length": 10, "width": 8, "height": 4, "weight":
- 15.4}, "service": "GroundAdvantage", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"],
- "carrier": "USPS"}]}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '620'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/batches
- response:
- body:
- string: '{"id": "batch_714d7667a73f450eb169b20c1425c6a2", "object": "Batch",
- "mode": "test", "state": "creating", "num_shipments": 1, "reference": null,
- "created_at": "2025-03-06T19:47:23Z", "updated_at": "2025-03-06T19:47:23Z",
- "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase":
- 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed":
- 0}, "pickup": null, "label_url": null}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '384'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62a67c9fbcbe2b9773100184e69
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb35nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.040101'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_batch_create_scanform.yaml b/tests/cassettes/test_batch_create_scanform.yaml
deleted file mode 100644
index 01394a69..00000000
--- a/tests/cassettes/test_batch_create_scanform.yaml
+++ /dev/null
@@ -1,226 +0,0 @@
-interactions:
-- request:
- body: '{"batch": {"shipments": [{"to_address": {"name": "Jack Sparrow", "street1":
- "388 Townsend St", "street2": "Apt 20", "city": "San Francisco", "state": "CA",
- "zip": "94107", "country": "US", "email": "test@example.com", "phone": "5555555555"},
- "from_address": {"name": "Elizabeth Swan", "street1": "179 N Harbor Dr", "city":
- "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "email": "test@example.com",
- "phone": "5555555555"}, "parcel": {"length": 10, "width": 8, "height": 4, "weight":
- 15.4}, "service": "GroundAdvantage", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"],
- "carrier": "USPS"}]}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '620'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/batches
- response:
- body:
- string: '{"id": "batch_79b95699e2644f198db68d1824c11497", "object": "Batch",
- "mode": "test", "state": "creating", "num_shipments": 1, "reference": null,
- "created_at": "2025-03-06T19:47:29Z", "updated_at": "2025-03-06T19:47:29Z",
- "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase":
- 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed":
- 0}, "pickup": null, "label_url": null}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '384'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62967c9fbd1e2b97735001855fc
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb55nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.038535'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: '{}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '2'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/batches/batch_79b95699e2644f198db68d1824c11497/buy
- response:
- body:
- string: '{"id": "batch_79b95699e2644f198db68d1824c11497", "object": "Batch",
- "mode": "test", "state": "created", "num_shipments": 1, "reference": null,
- "created_at": "2025-03-06T19:47:29Z", "updated_at": "2025-03-06T19:47:29Z",
- "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message":
- null, "reference": null, "tracking_code": null, "id": "shp_042b8633dd58412899313410cd5ad5a7"}],
- "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased":
- 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '524'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62967c9fbd6e2b9773500185b86
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb36nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.051630'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: '{}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '2'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/batches/batch_79b95699e2644f198db68d1824c11497/scan_form
- response:
- body:
- string: '{"id": "batch_79b95699e2644f198db68d1824c11497", "object": "Batch",
- "mode": "test", "state": "purchased", "num_shipments": 1, "reference": null,
- "created_at": "2025-03-06T19:47:29Z", "updated_at": "2025-03-06T19:47:39Z",
- "scan_form": {"id": "sf_a1082a2498034042a96617a8d79ff0c4", "object": "ScanForm",
- "created_at": "2025-03-06T19:47:39Z", "updated_at": "2025-03-06T19:47:39Z",
- "tracking_codes": [], "address": null, "status": "creating", "message": null,
- "form_url": null, "form_file_type": null, "batch_id": "batch_79b95699e2644f198db68d1824c11497",
- "confirmation": null}, "shipments": [{"batch_status": "postage_purchased",
- "batch_message": null, "reference": null, "tracking_code": "9400100208303109500638",
- "id": "shp_042b8633dd58412899313410cd5ad5a7"}], "status": {"created": 0, "queued_for_purchase":
- 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed":
- 0}, "pickup": null, "label_url": null}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '856'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62967c9fbdbe2b9773500186158
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb56nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.072810'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_batch_label.yaml b/tests/cassettes/test_batch_label.yaml
deleted file mode 100644
index 13ffcda8..00000000
--- a/tests/cassettes/test_batch_label.yaml
+++ /dev/null
@@ -1,222 +0,0 @@
-interactions:
-- request:
- body: '{"batch": {"shipments": [{"to_address": {"name": "Jack Sparrow", "street1":
- "388 Townsend St", "street2": "Apt 20", "city": "San Francisco", "state": "CA",
- "zip": "94107", "country": "US", "email": "test@example.com", "phone": "5555555555"},
- "from_address": {"name": "Elizabeth Swan", "street1": "179 N Harbor Dr", "city":
- "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "email": "test@example.com",
- "phone": "5555555555"}, "parcel": {"length": 10, "width": 8, "height": 4, "weight":
- 15.4}, "service": "GroundAdvantage", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"],
- "carrier": "USPS"}]}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '620'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/batches
- response:
- body:
- string: '{"id": "batch_b09f402edaf0429491cc25c2d0c3238a", "object": "Batch",
- "mode": "test", "state": "creating", "num_shipments": 1, "reference": null,
- "created_at": "2025-03-06T19:47:41Z", "updated_at": "2025-03-06T19:47:41Z",
- "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase":
- 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed":
- 0}, "pickup": null, "label_url": null}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '384'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62b67c9fbdde2b977370018636c
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb57nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.043385'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: '{}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '2'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/batches/batch_b09f402edaf0429491cc25c2d0c3238a/buy
- response:
- body:
- string: '{"id": "batch_b09f402edaf0429491cc25c2d0c3238a", "object": "Batch",
- "mode": "test", "state": "created", "num_shipments": 1, "reference": null,
- "created_at": "2025-03-06T19:47:41Z", "updated_at": "2025-03-06T19:47:41Z",
- "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message":
- null, "reference": null, "tracking_code": null, "id": "shp_597cb548f2fc49a59bcb5f735e518718"}],
- "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased":
- 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '524'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62b67c9fbe2e2b9773700186893
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb40nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.054727'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: '{"file_format": "ZPL"}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '22'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/batches/batch_b09f402edaf0429491cc25c2d0c3238a/label
- response:
- body:
- string: '{"id": "batch_b09f402edaf0429491cc25c2d0c3238a", "object": "Batch",
- "mode": "test", "state": "label_generating", "num_shipments": 1, "reference":
- null, "created_at": "2025-03-06T19:47:41Z", "updated_at": "2025-03-06T19:47:51Z",
- "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message":
- null, "reference": null, "tracking_code": "9400100208303109500652", "id":
- "shp_597cb548f2fc49a59bcb5f735e518718"}], "status": {"created": 0, "queued_for_purchase":
- 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed":
- 0}, "pickup": null, "label_url": null}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '551'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62b67c9fbe7e2b9773700186dc6
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb40nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.035757'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_batch_retrieve.yaml b/tests/cassettes/test_batch_retrieve.yaml
deleted file mode 100644
index b8b83d08..00000000
--- a/tests/cassettes/test_batch_retrieve.yaml
+++ /dev/null
@@ -1,147 +0,0 @@
-interactions:
-- request:
- body: '{"batch": {"shipments": [{"to_address": {"name": "Jack Sparrow", "street1":
- "388 Townsend St", "street2": "Apt 20", "city": "San Francisco", "state": "CA",
- "zip": "94107", "country": "US", "email": "test@example.com", "phone": "5555555555"},
- "from_address": {"name": "Elizabeth Swan", "street1": "179 N Harbor Dr", "city":
- "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "email": "test@example.com",
- "phone": "5555555555"}, "parcel": {"length": 10, "width": 8, "height": 4, "weight":
- 15.4}, "service": "GroundAdvantage", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"],
- "carrier": "USPS"}]}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '620'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/batches
- response:
- body:
- string: '{"id": "batch_af1a8a3cfc1f444d961e620e2ade0f7a", "object": "Batch",
- "mode": "test", "state": "creating", "num_shipments": 1, "reference": null,
- "created_at": "2025-03-06T19:47:23Z", "updated_at": "2025-03-06T19:47:23Z",
- "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase":
- 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed":
- 0}, "pickup": null, "label_url": null}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '384'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62667c9fbcbe2b9773200184e8d
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb54nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.042310'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/batches/batch_af1a8a3cfc1f444d961e620e2ade0f7a
- response:
- body:
- string: '{"id": "batch_af1a8a3cfc1f444d961e620e2ade0f7a", "object": "Batch",
- "mode": "test", "state": "creating", "num_shipments": 1, "reference": null,
- "created_at": "2025-03-06T19:47:23Z", "updated_at": "2025-03-06T19:47:23Z",
- "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase":
- 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed":
- 0}, "pickup": null, "label_url": null}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '384'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-canary:
- - direct
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62667c9fbcbe2b9773200184ea8
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb32nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.023351'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_beta_get_lowest_stateless_rate.yaml b/tests/cassettes/test_beta_get_lowest_stateless_rate.yaml
deleted file mode 100644
index 62fcd32a..00000000
--- a/tests/cassettes/test_beta_get_lowest_stateless_rate.yaml
+++ /dev/null
@@ -1,98 +0,0 @@
-interactions:
-- request:
- body: '{"shipment": {"from_address": {"name": "Jack Sparrow", "street1": "388
- Townsend St", "street2": "Apt 20", "city": "San Francisco", "state": "CA", "zip":
- "94107", "country": "US", "email": "test@example.com", "phone": "5555555555"},
- "to_address": {"name": "Elizabeth Swan", "street1": "179 N Harbor Dr", "city":
- "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "email": "test@example.com",
- "phone": "5555555555"}, "parcel": {"length": 10, "width": 8, "height": 4, "weight":
- 15.4}}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '496'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/beta/rates
- response:
- body:
- string: '{"from_address": {"object": "Address", "name": "Jack Sparrow", "street1":
- "388 Townsend St", "street2": "Apt 20", "city": "San Francisco", "state":
- "CA", "zip": "94107", "country": "US", "phone": "", "email": ""},
- "to_address": {"object": "Address", "name": "Elizabeth Swan", "street1": "179
- N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country":
- "US", "phone": "", "email": ""}, "rates": [{"object":
- "Rate", "mode": "test", "service": "Express", "carrier": "USPS", "rate": "34.15",
- "currency": "USD", "retail_rate": "39.10", "retail_currency": "USD", "list_rate":
- "34.15", "list_currency": "USD", "billing_type": "easypost", "delivery_days":
- 1, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days":
- 1, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"object":
- "Rate", "mode": "test", "service": "Priority", "carrier": "USPS", "rate":
- "7.42", "currency": "USD", "retail_rate": "9.90", "retail_currency": "USD",
- "list_rate": "8.34", "list_currency": "USD", "billing_type": "easypost", "delivery_days":
- 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days":
- 2, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"object":
- "Rate", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate":
- "6.07", "currency": "USD", "retail_rate": "8.85", "retail_currency": "USD",
- "list_rate": "6.57", "list_currency": "USD", "billing_type": "easypost", "delivery_days":
- 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days":
- 3, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "options":
- {"currency": "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "parcel":
- {"object": "Parcel", "length": 10.0, "width": 8.0, "height": 4.0, "weight":
- 15.4}, "messages": []}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '1705'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- vary:
- - Origin
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62a67c9fbe8e2b9777600186e36
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb35nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.116136'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_beta_referral_customer_add_payment_method.yaml b/tests/cassettes/test_beta_referral_customer_add_payment_method.yaml
deleted file mode 100644
index fb9a31a3..00000000
--- a/tests/cassettes/test_beta_referral_customer_add_payment_method.yaml
+++ /dev/null
@@ -1,71 +0,0 @@
-interactions:
-- request:
- body: '{"payment_method": {"stripe_customer_id": "cus_123", "payment_method_reference":
- "ba_123", "priority": "primary"}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '114'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/beta/referral_customers/payment_method
- response:
- body:
- string: '{"error": {"code": "BILLING.INVALID_PAYMENT_GATEWAY_REFERENCE", "message":
- "Invalid connect integration.", "errors": []}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '115'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- vary:
- - Origin
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62967c9fbe8e2b9777700186e76
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb40nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.036253'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 422
- message: Unprocessable Entity
-version: 1
diff --git a/tests/cassettes/test_beta_referral_customer_create_bank_account_client_secret.yaml b/tests/cassettes/test_beta_referral_customer_create_bank_account_client_secret.yaml
deleted file mode 100644
index b6dcb767..00000000
--- a/tests/cassettes/test_beta_referral_customer_create_bank_account_client_secret.yaml
+++ /dev/null
@@ -1,69 +0,0 @@
-interactions:
-- request:
- body: '{}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '2'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/beta/financial_connections_sessions
- response:
- body:
- string: '{"client_secret": "fcsess_client_secret_Pk6DPwMAJUC4q9Y6T05jS5cG"}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '65'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- vary:
- - Origin
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 595be116677dbc1de2b8e9ec0053f5f4
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb35nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.599103'
- x-version-label:
- - easypost-202501062233-3c9302ef23-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-version: 1
diff --git a/tests/cassettes/test_beta_referral_customer_create_credit_card_client_secret.yaml b/tests/cassettes/test_beta_referral_customer_create_credit_card_client_secret.yaml
deleted file mode 100644
index df78cf32..00000000
--- a/tests/cassettes/test_beta_referral_customer_create_credit_card_client_secret.yaml
+++ /dev/null
@@ -1,69 +0,0 @@
-interactions:
-- request:
- body: '{}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '2'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/beta/setup_intents
- response:
- body:
- string: '{"client_secret": "seti_0QemQjDqT4huGUvdEmRKe2Vr_secret_RXsBcDsHB0wqRfqUAicRZbJi5SgCVo8"}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '88'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- vary:
- - Origin
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 595be115677dbc1ce2b8e9eb0053f566
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb33nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.674861'
- x-version-label:
- - easypost-202501062233-3c9302ef23-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_beta_referral_customer_refund_by_amount.yaml b/tests/cassettes/test_beta_referral_customer_refund_by_amount.yaml
deleted file mode 100644
index c1c307a2..00000000
--- a/tests/cassettes/test_beta_referral_customer_refund_by_amount.yaml
+++ /dev/null
@@ -1,71 +0,0 @@
-interactions:
-- request:
- body: '{"refund_amount": 2000}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '23'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/beta/referral_customers/refunds
- response:
- body:
- string: '{"error": {"code": "TRANSACTION.AMOUNT_INVALID", "message": "Refund
- amount is invalid. Please use a valid amount or escalate to finance.", "errors":
- []}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '147'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- vary:
- - Origin
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62b67c9fbe8e2b9777800186e8e
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb38nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.492218'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 422
- message: Unprocessable Entity
-version: 1
diff --git a/tests/cassettes/test_beta_referral_customer_refund_by_payment_log.yaml b/tests/cassettes/test_beta_referral_customer_refund_by_payment_log.yaml
deleted file mode 100644
index b45aa98f..00000000
--- a/tests/cassettes/test_beta_referral_customer_refund_by_payment_log.yaml
+++ /dev/null
@@ -1,70 +0,0 @@
-interactions:
-- request:
- body: '{"payment_log_id": "paylog_123"}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '32'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/beta/referral_customers/refunds
- response:
- body:
- string: '{"error": {"code": "TRANSACTION.DOES_NOT_EXIST", "message": "We could
- not find a transaction with that id.", "errors": []}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '117'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- vary:
- - Origin
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62667c9fbe9e2b9777900186f3c
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb34nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.029665'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 422
- message: Unprocessable Entity
-version: 1
diff --git a/tests/cassettes/test_beta_retrieve_stateless_rates.yaml b/tests/cassettes/test_beta_retrieve_stateless_rates.yaml
deleted file mode 100644
index e8cdc8ba..00000000
--- a/tests/cassettes/test_beta_retrieve_stateless_rates.yaml
+++ /dev/null
@@ -1,98 +0,0 @@
-interactions:
-- request:
- body: '{"shipment": {"from_address": {"name": "Jack Sparrow", "street1": "388
- Townsend St", "street2": "Apt 20", "city": "San Francisco", "state": "CA", "zip":
- "94107", "country": "US", "email": "test@example.com", "phone": "5555555555"},
- "to_address": {"name": "Elizabeth Swan", "street1": "179 N Harbor Dr", "city":
- "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "email": "test@example.com",
- "phone": "5555555555"}, "parcel": {"length": 10, "width": 8, "height": 4, "weight":
- 15.4}}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '496'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/beta/rates
- response:
- body:
- string: '{"from_address": {"object": "Address", "name": "Jack Sparrow", "street1":
- "388 Townsend St", "street2": "Apt 20", "city": "San Francisco", "state":
- "CA", "zip": "94107", "country": "US", "phone": "", "email": ""},
- "to_address": {"object": "Address", "name": "Elizabeth Swan", "street1": "179
- N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country":
- "US", "phone": "", "email": ""}, "rates": [{"object":
- "Rate", "mode": "test", "service": "Express", "carrier": "USPS", "rate": "34.15",
- "currency": "USD", "retail_rate": "39.10", "retail_currency": "USD", "list_rate":
- "34.15", "list_currency": "USD", "billing_type": "easypost", "delivery_days":
- 1, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days":
- 1, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"object":
- "Rate", "mode": "test", "service": "Priority", "carrier": "USPS", "rate":
- "7.42", "currency": "USD", "retail_rate": "9.90", "retail_currency": "USD",
- "list_rate": "8.34", "list_currency": "USD", "billing_type": "easypost", "delivery_days":
- 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days":
- 2, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"object":
- "Rate", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate":
- "6.07", "currency": "USD", "retail_rate": "8.85", "retail_currency": "USD",
- "list_rate": "6.57", "list_currency": "USD", "billing_type": "easypost", "delivery_days":
- 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days":
- 3, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "options":
- {"currency": "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "parcel":
- {"object": "Parcel", "length": 10.0, "width": 8.0, "height": 4.0, "weight":
- 15.4}, "messages": []}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '1705'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- vary:
- - Origin
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62767c9fbe7e2b9777500186df3
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb33nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.109833'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_carrier_account_all.yaml b/tests/cassettes/test_carrier_account_all.yaml
deleted file mode 100644
index 74b57ac9..00000000
--- a/tests/cassettes/test_carrier_account_all.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-interactions:
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- authorization:
- -
- user-agent:
- -
- method: GET
- uri: https://api.easypost.com/v2/carrier_accounts?page_size=5
- response:
- body:
- string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount",
- "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z",
- "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference":
- null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields":
- [], "credentials": {}, "test_credentials": {}}]'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '1068'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62867c9fbe9e2b9777c0018702a
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb54nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.036109'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_carrier_account_create.yaml b/tests/cassettes/test_carrier_account_create.yaml
deleted file mode 100644
index 1efdf479..00000000
--- a/tests/cassettes/test_carrier_account_create.yaml
+++ /dev/null
@@ -1,137 +0,0 @@
-interactions:
-- request:
- body: '{"carrier_account": {"type": "DhlEcsAccount", "credentials": {"client_id":
- "123456", "client_secret": "123abc", "distribution_center": "USLAX1", "pickup_id":
- "123456"}, "test_credentials": {"client_id": "123456", "client_secret": "123abc",
- "distribution_center": "USLAX1", "pickup_id": "123456"}}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '297'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/carrier_accounts
- response:
- body:
- string: '{"id": "ca_b3b0ce644621411badf5c1fb5bd388df", "object": "CarrierAccount",
- "type": "DhlEcsAccount", "clone": false, "created_at": "2025-03-06T19:47:53Z",
- "updated_at": "2025-03-06T19:47:53Z", "description": "DHL eCommerce Account",
- "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce",
- "logo": null, "fields": [], "credentials": {}, "test_credentials": {}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '1369'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62567c9fbe9e2b9777a00186f6d
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb55nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.153005'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '0'
- authorization:
- -
- user-agent:
- -
- method: DELETE
- uri: https://api.easypost.com/v2/carrier_accounts/ca_b3b0ce644621411badf5c1fb5bd388df
- response:
- body:
- string: '{}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '2'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 8e8eb62567c9fbe9e2b9777a00186fa1
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb39nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 51d74985a2
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.054696'
- x-version-label:
- - easypost-202503061913-8f39069a2d-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_carrier_account_create_amazon_shipping.yaml b/tests/cassettes/test_carrier_account_create_amazon_shipping.yaml
deleted file mode 100644
index eae66012..00000000
--- a/tests/cassettes/test_carrier_account_create_amazon_shipping.yaml
+++ /dev/null
@@ -1,134 +0,0 @@
-interactions:
-- request:
- body: '{"carrier_account_oauth_registrations": {"type": "AmazonShippingAccount"}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '74'
- Content-Type:
- - application/json
- authorization:
- -
- user-agent:
- -
- method: POST
- uri: https://api.easypost.com/v2/carrier_accounts/register_oauth
- response:
- body:
- string: '{"id": "ca_18bfc1a27cc349cfbf219cf0e754f917", "object": "CarrierAccount",
- "type": "AmazonShippingAccount", "clone": false, "created_at": "2025-04-10T19:12:34Z",
- "updated_at": "2025-04-10T19:12:34Z", "description": null, "reference": null,
- "billing_type": "carrier", "readable": "Amazon Shipping", "logo": null, "fields":
- [], "credentials": {}, "test_credentials": {}}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '1448'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 028443c067f81822e2bbac9c00135101
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb54nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb3nuq 284c5d344a
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.225842'
- x-version-label:
- - easypost-202504101604-e81adf64e4-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 201
- message: Created
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '0'
- authorization:
- -
- user-agent:
- -
- method: DELETE
- uri: https://api.easypost.com/v2/carrier_accounts/ca_18bfc1a27cc349cfbf219cf0e754f917
- response:
- body:
- string: '{}'
- headers:
- cache-control:
- - private, no-cache, no-store
- content-length:
- - '2'
- content-type:
- - application/json; charset=utf-8
- expires:
- - '0'
- pragma:
- - no-cache
- referrer-policy:
- - strict-origin-when-cross-origin
- strict-transport-security:
- - max-age=31536000; includeSubDomains; preload
- transfer-encoding:
- - chunked
- x-backend:
- - easypost
- x-content-type-options:
- - nosniff
- x-download-options:
- - noopen
- x-ep-request-uuid:
- - 028443c067f81822e2bbac9c00135164
- x-frame-options:
- - SAMEORIGIN
- x-node:
- - bigweb35nuq
- x-permitted-cross-domain-policies:
- - none
- x-proxied:
- - intlb4nuq 284c5d344a
- - extlb1nuq 99aac35317
- x-runtime:
- - '0.056642'
- x-version-label:
- - easypost-202504101604-e81adf64e4-master
- x-xss-protection:
- - 1; mode=block
- status:
- code: 200
- message: OK
-version: 1
diff --git a/tests/cassettes/test_carrier_account_create_ups.yaml b/tests/cassettes/test_carrier_account_create_ups.yaml
deleted file mode 100644
index 0a5daabc..00000000
--- a/tests/cassettes/test_carrier_account_create_ups.yaml
+++ /dev/null
@@ -1,135 +0,0 @@
-interactions:
-- request:
- body: '{"carrier_account_oauth_registrations": {"type": "UpsAccount", "account_number":
- "123456789"}}'
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- Connection:
- - keep-alive
- Content-Length:
- - '94'
- Content-Type:
- - application/json
- authorization:
- -