fix function signatures (#11261)
fix function signatures (#11261)

Documentation: https://github.com/mgonto/restangular#restangular-methods

According to the documentation and source code, `all` and `allUrl` return collections, not elements.
Additionally, the `post` signature without `subElement` is only available on collections, not elements.
chrismbarr/DefinitelyTyped,chrootsu/DefinitelyTyped,martinduparc/DefinitelyTyped,smrq/DefinitelyTyped,rcchen/DefinitelyTyped,jimthedev/DefinitelyTyped,mcrawshaw/DefinitelyTyped,smrq/DefinitelyTyped,gandjustas/DefinitelyTyped,psnider/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,aciccarello/DefinitelyTyped,arma-gast/DefinitelyTyped,danfma/DefinitelyTyped,chrootsu/DefinitelyTyped,benliddicott/DefinitelyTyped,georgemarshall/DefinitelyTyped,rcchen/DefinitelyTyped,HPFOD/DefinitelyTyped,georgemarshall/DefinitelyTyped,arusakov/DefinitelyTyped,rolandzwaga/DefinitelyTyped,slavomirvojacek/DefinitelyTyped,minodisk/DefinitelyTyped,schmuli/DefinitelyTyped,alexdresko/DefinitelyTyped,rolandzwaga/DefinitelyTyped,alexdresko/DefinitelyTyped,pocesar/DefinitelyTyped,benishouga/DefinitelyTyped,abbasmhd/DefinitelyTyped,shlomiassaf/DefinitelyTyped,slavomirvojacek/DefinitelyTyped,nycdotnet/DefinitelyTyped,benishouga/DefinitelyTyped,mcliment/DefinitelyTyped,hellopao/DefinitelyTyped,one-pieces/DefinitelyTyped,martinduparc/DefinitelyTyped,jimthedev/DefinitelyTyped,sledorze/DefinitelyTyped,minodisk/DefinitelyTyped,zuzusik/DefinitelyTyped,damianog/DefinitelyTyped,jimthedev/DefinitelyTyped,xStrom/DefinitelyTyped,dsebastien/DefinitelyTyped,psnider/DefinitelyTyped,AgentME/DefinitelyTyped,zuzusik/DefinitelyTyped,borisyankov/DefinitelyTyped,yuit/DefinitelyTyped,isman-usoh/DefinitelyTyped,scriby/DefinitelyTyped,abner/DefinitelyTyped,alvarorahul/DefinitelyTyped,Penryn/DefinitelyTyped,use-strict/DefinitelyTyped,syuilo/DefinitelyTyped,AgentME/DefinitelyTyped,progre/DefinitelyTyped,georgemarshall/DefinitelyTyped,slavomirvojacek/adbrain-typescript-definitions,arusakov/DefinitelyTyped,arusakov/DefinitelyTyped,magny/DefinitelyTyped,slavomirvojacek/adbrain-typescript-definitions,daptiv/DefinitelyTyped,georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped,QuatroCode/DefinitelyTyped,pocesar/DefinitelyTyped,subash-a/DefinitelyTyped,benishouga/DefinitelyTyped,johan-gorter/DefinitelyTyped,abbasmhd/DefinitelyTyped,aciccarello/DefinitelyTyped,borisyankov/DefinitelyTyped,johan-gorter/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,markogresak/DefinitelyTyped,psnider/DefinitelyTyped,schmuli/DefinitelyTyped,ashwinr/DefinitelyTyped,damianog/DefinitelyTyped,ashwinr/DefinitelyTyped,pocesar/DefinitelyTyped,syuilo/DefinitelyTyped,GiedriusGrabauskas/DefinitelyTyped,scriby/DefinitelyTyped,laurentiustamate94/DefinitelyTyped,arma-gast/DefinitelyTyped,AgentME/DefinitelyTyped,chrismbarr/DefinitelyTyped,YousefED/DefinitelyTyped,zuzusik/DefinitelyTyped,schmuli/DefinitelyTyped,sledorze/DefinitelyTyped,use-strict/DefinitelyTyped,alvarorahul/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,danfma/DefinitelyTyped,yuit/DefinitelyTyped,nycdotnet/DefinitelyTyped,YousefED/DefinitelyTyped,micurs/DefinitelyTyped,xStrom/DefinitelyTyped,magny/DefinitelyTyped,hellopao/DefinitelyTyped,progre/DefinitelyTyped,subash-a/DefinitelyTyped,hellopao/DefinitelyTyped,gandjustas/DefinitelyTyped,abner/DefinitelyTyped,shlomiassaf/DefinitelyTyped,Penryn/DefinitelyTyped,QuatroCode/DefinitelyTyped,isman-usoh/DefinitelyTyped,aciccarello/DefinitelyTyped,amir-arad/DefinitelyTyped,GiedriusGrabauskas/DefinitelyTyped,HPFOD/DefinitelyTyped,AgentME/DefinitelyTyped,martinduparc/DefinitelyTyped,mcrawshaw/DefinitelyTyped