export const OPERATIONS_ERRORS = { PAYMENT_REFERENCE_MISMATCH: [ 409, 'Payment references do not match the order', 'Payment reference verification failed', ], PAYMENT_CURRENCY_MISMATCH: [ 409, 'Payment currency does not match', 'Captured payment currency mismatch', ], PAYMENT_AMOUNT_MISMATCH: [ 409, 'Payment amount does not match', 'Captured payment amount mismatch', ], REFUND_AMOUNT_INVALID: [ 409, 'Refund exceeds the available captured amount', 'Refund amount or aggregate bound rejected', ], SHIPMENT_PAYMENT_REQUIRED: [ 409, 'Payment is required before shipping', 'Unpaid shipment attempt rejected', ], SHIPMENT_QUANTITY_INVALID: [ 409, 'Shipment quantity exceeds remaining items', 'Shipment quantity bound rejected', ], RETURN_QUANTITY_INVALID: [ 409, 'Return quantity exceeds eligible delivered items', 'Return quantity bound rejected', ], RETURN_WINDOW_CLOSED: [ 409, 'Return request is outside the configured window', 'Return timing rule rejected request', ], PRICING_POLICY_NOT_FOUND: [ 404, 'Pricing policy not found', 'Scoped pricing policy lookup failed', ], EVENT_NOT_FOUND: [ 404, 'Commerce event not found', 'Scoped commerce event lookup failed', ], EVENT_NOT_RETRYABLE: [ 409, 'This event cannot be retried', 'Delivered or actively leased event retry rejected', ], DELIVERY_UNAVAILABLE: [ 503, 'Notification delivery is not configured', 'No commerce notification adapter configured', ], } as const;