The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
// Distinct machine codes per rejection reason so clients can react correctly
// (only BOUND_TO_ANOTHER_SERVER means another server owns the key).
export const SERVER_BINDING_REJECTION_CODE = {
BOUND_TO_ANOTHER_SERVER: 'ENTERPRISE_KEY_BOUND_TO_ANOTHER_SERVER',
MISSING_SERVER_ID: 'ENTERPRISE_MISSING_SERVER_ID',
DEV_REQUIRES_ACTIVE_PRODUCTION: 'ENTERPRISE_DEV_REQUIRES_ACTIVE_PRODUCTION',
DEV_SLOT_IN_USE: 'ENTERPRISE_DEV_SLOT_IN_USE',
} as const;
export type ServerBindingRejectionCode =
(typeof SERVER_BINDING_REJECTION_CODE)[keyof typeof SERVER_BINDING_REJECTION_CODE];