from   mercos.mercos       import   mercos # 

class natuphitus(mercos):
    def __init__(self, argv:list):
        super(natuphitus, self, ).__init__(argv)
        
        
    def beforeSend_categorias(self, data):
        del data['categoria_pai_id']
        return data

    # Gambiarra porque o mercos nao liberou o method GET pra essa rota...
    def beforeDelete_titulos_vencidos(self, data) :
        
        data = {
            "data_vencimento": "2021-01-01",
            "valor": 0,
            "numero_documento": "0",
            "excluido": True,
            "cliente_id":  7590070 if self.environment_config['ambiente'] == "H" else 38837736
        }
        
        
        return data
    
        