Skip to content

OrderingRequirement

Source code in docs_src/capo_outposts/types/ordering_requirement.py
class OrderingRequirement(TypedDict, closed=True):
    status_message: NotRequired["capo_outposts.types.status_message.StatusMessage"]
    """<p>A message about the ordering requirement.</p>"""
    ordering_requirement_type: NotRequired[
        "capo_outposts.types.ordering_requirement_type.OrderingRequirementType"
    ]
    """<p>The type of ordering requirement. Indicates which check failed or passed.</p> <ul> <li> <p> <code>OUTPOST_ACTIVE_CHECK_ERROR</code> - The Outpost must be in an active state.</p> </li> <li> <p> <code>MAXIMUM_ALLOWED_ORDERS_CHECK_ERROR</code> - The maximum number of allowed orders has been reached.</p> </li> <li> <p> <code>VALID_ZIP_CODE_CHECK_ERROR</code> - The site address must have a valid zip code.</p> </li> <li> <p> <code>RACK_PHYSICAL_PROPERTIES_CHECK_ERROR</code> - The rack physical properties do not meet requirements.</p> </li> <li> <p> <code>OPERATING_ADDRESS_EXISTENCE_CHECK_ERROR</code> - The site must have an operating address.</p> </li> <li> <p> <code>SHIPPING_ADDRESS_EXISTENCE_CHECK_ERROR</code> - The site must have a shipping address.</p> </li> <li> <p> <code>COUNTRY_CODE_MISMATCH_CHECK_ERROR</code> - The country code on the quote does not match the Outpost site country.</p> </li> <li> <p> <code>OUTPOST_GENERATION_MISMATCH_ERROR</code> - The Outpost generation does not match the requested configuration.</p> </li> <li> <p> <code>OUTPOST_ID_MISSING_ON_QUOTE_ERROR</code> - The quote must be associated with an Outpost before submitting an order.</p> </li> <li> <p> <code>ENTERPRISE_SUPPORT_ERROR</code> - Enterprise Support is required.</p> </li> <li> <p> <code>SHIPPING_ADDRESS_MISSING_CONTACT_NAME_ERROR</code> - The shipping address must have a contact name.</p> </li> <li> <p> <code>SHIPPING_ADDRESS_MISSING_CONTACT_NUMBER_ERROR</code> - The shipping address must have a contact phone number.</p> </li> <li> <p> <code>SHIPPING_ADDRESS_MISSING_CONTACT_INFO_ERROR</code> - The shipping address must have contact information.</p> </li> <li> <p> <code>OUTPOST_STATE_CHANGED_ERROR</code> - The Outpost state has changed since the quote was created.</p> </li> <li> <p> <code>OUTPOST_NOT_FOUND_ERROR</code> - The Outpost associated with the quote was not found.</p> </li> <li> <p> <code>OUTPOST_RENEWAL_REQUIRED_ERROR</code> - The Outpost requires a renewal before a new order can be submitted.</p> </li> <li> <p> <code>UNSUPPORTED</code> - The requirement type is not recognized.</p> </li> </ul>"""
    status: NotRequired[
        "capo_outposts.types.ordering_requirement_status.OrderingRequirementStatus"
    ]
    """<p>The status of the ordering requirement. Valid values are <code>PASS</code>, <code>FAIL</code>, and <code>EXEMPT</code>.</p>"""

ordering_requirement_type instance-attribute

ordering_requirement_type: NotRequired[OrderingRequirementType]

The type of ordering requirement. Indicates which check failed or passed.

  • OUTPOST_ACTIVE_CHECK_ERROR - The Outpost must be in an active state.

  • MAXIMUM_ALLOWED_ORDERS_CHECK_ERROR - The maximum number of allowed orders has been reached.

  • VALID_ZIP_CODE_CHECK_ERROR - The site address must have a valid zip code.

  • RACK_PHYSICAL_PROPERTIES_CHECK_ERROR - The rack physical properties do not meet requirements.

  • OPERATING_ADDRESS_EXISTENCE_CHECK_ERROR - The site must have an operating address.

  • SHIPPING_ADDRESS_EXISTENCE_CHECK_ERROR - The site must have a shipping address.

  • COUNTRY_CODE_MISMATCH_CHECK_ERROR - The country code on the quote does not match the Outpost site country.

  • OUTPOST_GENERATION_MISMATCH_ERROR - The Outpost generation does not match the requested configuration.

  • OUTPOST_ID_MISSING_ON_QUOTE_ERROR - The quote must be associated with an Outpost before submitting an order.

  • ENTERPRISE_SUPPORT_ERROR - Enterprise Support is required.

  • SHIPPING_ADDRESS_MISSING_CONTACT_NAME_ERROR - The shipping address must have a contact name.

  • SHIPPING_ADDRESS_MISSING_CONTACT_NUMBER_ERROR - The shipping address must have a contact phone number.

  • SHIPPING_ADDRESS_MISSING_CONTACT_INFO_ERROR - The shipping address must have contact information.

  • OUTPOST_STATE_CHANGED_ERROR - The Outpost state has changed since the quote was created.

  • OUTPOST_NOT_FOUND_ERROR - The Outpost associated with the quote was not found.

  • OUTPOST_RENEWAL_REQUIRED_ERROR - The Outpost requires a renewal before a new order can be submitted.

  • UNSUPPORTED - The requirement type is not recognized.

status instance-attribute

status: NotRequired[OrderingRequirementStatus]

The status of the ordering requirement. Valid values are PASS, FAIL, and EXEMPT.

status_message instance-attribute

status_message: NotRequired[StatusMessage]

A message about the ordering requirement.