/** * Canonical machine-readable error codes for the LivDot platform. * These codes are mapped to string slugs used in ApiError.type URLs. */ declare const ApiErrorCode: { readonly INVALID_CREDENTIALS: "auth/invalid-credentials"; readonly TOKEN_EXPIRED: "auth/token-expired"; readonly TOKEN_INVALID: "auth/token-invalid"; readonly TOKEN_MISSING: "auth/token-missing"; readonly UNAUTHORIZED: "auth/unauthorized"; readonly FORBIDDEN: "auth/forbidden"; readonly EMAIL_NOT_VERIFIED: "auth/email-not-verified"; readonly EMAIL_ALREADY_EXISTS: "auth/email-already-exists"; readonly COGNITO_ERROR: "auth/cognito-error"; readonly USER_NOT_FOUND: "user/user-not-found"; readonly HOST_PROFILE_NOT_FOUND: "user/host-profile-not-found"; readonly HOST_PROFILE_ALREADY_EXISTS: "user/host-profile-already-exists"; readonly VENDOR_PROFILE_NOT_FOUND: "user/vendor-profile-not-found"; readonly VENDOR_PROFILE_ALREADY_EXISTS: "user/vendor-profile-already-exists"; readonly VENDOR_NOT_VERIFIED: "user/vendor-not-verified"; readonly INVALID_STATE_TRANSITION: "marketplace/invalid-state-transition"; readonly REASON_REQUIRED: "marketplace/reason-required"; readonly ACCOUNT_SUSPENDED: "user/account-suspended"; readonly KYC_REQUIRED: "user/kyc-required"; readonly EVENT_NOT_FOUND: "event/event-not-found"; readonly EVENT_NOT_PUBLISHED: "event/event-not-published"; readonly EVENT_ALREADY_LIVE: "event/event-already-live"; readonly EVENT_CANCELLED: "event/event-cancelled"; readonly EVENT_ENDED: "event/event-ended"; readonly EVENT_STATE_TRANSITION_INVALID: "event/state-transition-invalid"; readonly EVENT_PREFLIGHT_FAILED: "event/preflight-failed"; readonly EVENT_MAX_TICKETS_REACHED: "event/max-tickets-reached"; readonly EVENT_GEO_RESTRICTED: "event/geo-restricted"; readonly EVENT_NOT_ACCESSIBLE: "event/not-accessible"; readonly EVENT_FEEDBACK_NOT_OPEN: "event/feedback-not-open"; readonly BOOKING_NOT_FOUND: "booking/booking-not-found"; readonly BOOKING_STATE_TRANSITION_INVALID: "booking/state-transition-invalid"; readonly VENDOR_UNAVAILABLE: "booking/vendor-unavailable"; readonly ESCROW_FUNDING_FAILED: "booking/escrow-funding-failed"; readonly BOOKING_ALREADY_EXISTS: "booking/booking-already-exists"; readonly JOB_LISTING_NOT_FOUND: "booking/job-listing-not-found"; readonly JOB_LISTING_CLOSED: "booking/job-listing-closed"; readonly INDICATION_OF_INTEREST_DUPLICATE: "booking/ioi-duplicate"; readonly INDICATION_OF_INTEREST_NOT_FOUND: "booking/ioi-not-found"; readonly HIRING_THREAD_NOT_FOUND: "booking/hiring-thread-not-found"; readonly HIRING_THREAD_FORBIDDEN: "booking/hiring-thread-forbidden"; readonly REVIEW_ALREADY_EXISTS: "booking/review-already-exists"; readonly BOOKING_NOT_REVIEWABLE: "booking/not-reviewable"; readonly BOOKING_REVIEW_REQUIRED_BEFORE_RELEASE: "booking/review-required-before-release"; readonly CREW_ASSIGNMENT_NOT_FOUND: "booking/crew-assignment-not-found"; readonly CREW_ASSIGNMENT_INVALID_STATE: "booking/crew-assignment-invalid-state"; readonly CREW_ASSIGNMENT_ALREADY_EXISTS: "booking/crew-assignment-already-exists"; readonly CREW_ASSIGNMENT_BOOKING_EXISTS: "booking/crew-assignment-booking-exists"; readonly STREAM_NOT_ACTIVE: "stream/stream-not-active"; readonly ENTITLEMENT_NOT_FOUND: "stream/entitlement-not-found"; readonly ENTITLEMENT_EXPIRED: "stream/entitlement-expired"; readonly ENTITLEMENT_REVOKED: "stream/entitlement-revoked"; readonly STREAM_CREDENTIALS_UNAVAILABLE: "stream/credentials-unavailable"; readonly IVS_ERROR: "stream/ivs-error"; readonly PAYMENT_NOT_FOUND: "payment/payment-not-found"; readonly PAYMENT_ALREADY_PROCESSED: "payment/already-processed"; readonly PAYMENT_FAILED: "payment/payment-failed"; readonly REFUND_NOT_ELIGIBLE: "payment/refund-not-eligible"; readonly PAYOUT_FAILED: "payment/payout-failed"; readonly INVALID_AMOUNT: "payment/invalid-amount"; readonly PROVIDER_ERROR: "payment/provider-error"; readonly DISPUTE_NOT_FOUND: "dispute/dispute-not-found"; readonly DISPUTE_ALREADY_EXISTS: "dispute/dispute-already-exists"; readonly DISPUTE_DEADLINE_EXCEEDED: "dispute/deadline-exceeded"; readonly VALIDATION_ERROR: "general/validation-error"; readonly RESOURCE_NOT_FOUND: "general/resource-not-found"; readonly CONFLICT: "general/conflict"; readonly RATE_LIMITED: "general/rate-limited"; readonly INTERNAL_SERVER_ERROR: "general/internal-server-error"; readonly SERVICE_UNAVAILABLE: "general/service-unavailable"; }; type ApiErrorCode = (typeof ApiErrorCode)[keyof typeof ApiErrorCode]; export { ApiErrorCode };