def get_operation_id_number(value: str) -> str:
    """
    Validates then extracts from PAPI operation IDs just the final number.
    eg:
        papiv1:       'operations/EMj9o52aLhj78ZLxzunkiHcg0e2BmaAdKg9wcm9kdWN0aW9uUXVldWU -> EMj9o52aLhj78ZLxzunkiHcg0e2BmaAdKg9wcm9kdWN0aW9uUXVldWU'
        papiv2alpha1: 'projects/project_name/operations/01234567891011121314' -> '01234567891011121314'
    """
    return value.split('/')[-1]