/** * Indicates that the token sent in the \'Authorization\' header is either invalid or missing. Please check the value in the token field along with the token expiration time before retrying. */ export declare class UnauthorizedError { /** * Snake cased all caps error code interpreted from the HTTP status code that can programmatically be acted upon. */ code: UnauthorizedErrorCodeEnum; /** * A human-readable explanation of the error, specific to this error occurrence. */ message: string; constructor(unauthorizedError: UnauthorizedErrorProperties); } export type UnauthorizedErrorCodeEnum = 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'ORDER_PURCHASE_UPDATE_NOT_FOUND' | 'TOO_MANY_REQUESTS' | 'INTERNAL_SERVER_ERROR' | 'BAD_GATEWAY' | 'RETRYABLE_ORDER_PURCHASE_SCREEN_FAILURE' | 'RETRYABLE_ORDER_PURCHASE_UPDATE_FAILURE' | 'GATEWAY_TIMEOUT' | 'BAD_REQUEST'; export interface UnauthorizedErrorProperties { code: UnauthorizedErrorCodeEnum; message: string; }