Opposition Labor MP Iain Lees-Galloway was joined by his political opponents in supporting the Employment Standards Legislation Bill to end the use of the deals under which employees are required to be available for work but have no guaranteed minimum hours.
"To the best of my knowledge it's the first of its type (in the developed world), certainly in terms of the US and UK," Lees-Galloway told AFP.
The bill, which passed on Wednesday and comes into force on April 1, represents a win for workers, opposition Labour leader Andrew Little said.
"This will be welcome news for those workers who have been forced to sit by the phone and sometimes left with no work to show for it," he said in a statement.
New Zealand's Council of Trade Unions acknowledged those workers who made public their personal stories about the corrosive impact of no security of hours or income.