shipstation-client
Version:
ShipStation V2 SDK
73 lines (64 loc) • 2.63 kB
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* ShipStation API v2
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* The error code specified for the failed API Call
* @export
* @enum {string}
*/
export const ErrorCode = {
AutoFundNotSupported: 'auto_fund_not_supported',
BatchCannotBeModified: 'batch_cannot_be_modified',
CarrierConflict: 'carrier_conflict',
CarrierDisconnected: 'carrier_disconnected',
CarrierNotConnected: 'carrier_not_connected',
CarrierNotSupported: 'carrier_not_supported',
ConfirmationNotSupported: 'confirmation_not_supported',
DefaultWarehouseCannotBeDeleted: 'default_warehouse_cannot_be_deleted',
FieldConflict: 'field_conflict',
FieldValueRequired: 'field_value_required',
Forbidden: 'forbidden',
IdentifierConflict: 'identifier_conflict',
IdentifiersMustMatch: 'identifiers_must_match',
InsufficientFunds: 'insufficient_funds',
InvalidAddress: 'invalid_address',
InvalidBillingPlan: 'invalid_billing_plan',
InvalidFieldValue: 'invalid_field_value',
InvalidIdentifier: 'invalid_identifier',
InvalidStatus: 'invalid_status',
InvalidStringLength: 'invalid_string_length',
LabelImagesNotSupported: 'label_images_not_supported',
MeterFailure: 'meter_failure',
OrderSourceNotActive: 'order_source_not_active',
RateLimitExceeded: 'rate_limit_exceeded',
RefreshNotSupported: 'refresh_not_supported',
RequestBodyRequired: 'request_body_required',
ReturnLabelNotSupported: 'return_label_not_supported',
SettingsNotSupported: 'settings_not_supported',
SubscriptionInactive: 'subscription_inactive',
TermsNotAccepted: 'terms_not_accepted',
TrackingNotSupported: 'tracking_not_supported',
TrialExpired: 'trial_expired',
Unauthorized: 'unauthorized',
Unknown: 'unknown',
Unspecified: 'unspecified',
VerificationFailure: 'verification_failure',
WarehouseConflict: 'warehouse_conflict',
WebhookEventTypeConflict: 'webhook_event_type_conflict',
CustomsItemsRequired: 'customs_items_required',
IncompatiblePairedLabels: 'incompatible_paired_labels',
InvalidChargeEvent: 'invalid_charge_event',
InvalidObject: 'invalid_object',
NoRatesReturned: 'no_rates_returned'
} as const;
export type ErrorCode = typeof ErrorCode[keyof typeof ErrorCode];