export const B2B_CREDIT_ERRORS = { B2B_CREDIT_POLICY_NOT_FOUND: [ 404, 'B2B credit proposal not found', 'Scoped B2B credit proposal lookup failed', ], B2B_CREDIT_ACCOUNT_UNVERIFIED: [ 409, 'Business account must be verified for credit terms', 'B2B credit account verification gate failed', ], B2B_CREDIT_PROPOSAL_REPLAY_CONFLICT: [ 409, 'Idempotency key was used for different credit terms', 'B2B credit proposal replay payload mismatch', ], B2B_CREDIT_EVENT_REPLAY_CONFLICT: [ 409, 'Idempotency key was used for a different credit decision', 'B2B credit event replay payload mismatch', ], B2B_CREDIT_REVIEW_STATE: [ 409, 'Credit proposal is no longer awaiting review', 'B2B credit review state invalid', ], B2B_CREDIT_SELF_REVIEW: [ 403, 'A different staff member must decide this credit proposal', 'B2B credit self-review rejected', ], B2B_CREDIT_ACTIVE_EXISTS: [ 409, 'An active credit policy already exists for this account and currency', 'B2B credit active policy overlap', ], B2B_CREDIT_SUSPEND_STATE: [ 409, 'Only an active credit policy can be suspended', 'B2B credit suspension state invalid', ], } as const;