{"version":3,"file":"revenueAllocationCodeService.js","sourceRoot":"","sources":["../../../../src/modules/services/tariff/revenueAllocationCodeService.ts"],"names":[],"mappings":"AAAA,IAAO,QAAQ,CAqBd;AArBD,WAAO,QAAQ;IACX,IAAc,MAAM,CAkBnB;IAlBD,WAAc,MAAM;QAChB;YAGI,sCAAoB,SAAuC,EAAU,GAA4C;gBAA7F,cAAS,GAAT,SAAS,CAA8B;gBAAU,QAAG,GAAH,GAAG,CAAyC;YACjH,CAAC;YAED,iEAAiE;YACjE,sDAAe,GAAf,UAAgB,oBAA4B,EAAE,SAAiB,EAAE,YAAoB,EAAE,UAAkB,EAAE,UAAkB;gBACzH,OAAO,IAAI,CAAC,SAAS,CAA4C,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,kDAAkD,EAAE;oBACpI,oBAAoB,EAAE,oBAAoB;oBAC1C,SAAS,EAAE,SAAS;oBACpB,YAAY,EAAE,YAAY;oBAC1B,UAAU,EAAE,UAAU;oBACtB,UAAU,EAAE,UAAU;iBACzB,CAAC,CAAC;YACP,CAAC;YAdM,oCAAO,GAAG,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;YAe1C,mCAAC;SAAA,AAhBD,IAgBC;QAhBY,mCAA4B,+BAgBxC,CAAA;IACL,CAAC,EAlBa,MAAM,GAAN,eAAM,KAAN,eAAM,QAkBnB;IACD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,8BAA8B,EAAE,QAAQ,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAAC;AAChH,CAAC,EArBM,QAAQ,KAAR,QAAQ,QAqBd","sourcesContent":["module services {\r\n export module tariff {\r\n export class revenueAllocationCodeService implements interfaces.tariff.IRevenueAllocationCodeService {\r\n static $inject = [\"$resource\", \"ENV\"];\r\n\r\n constructor(private $resource: ng.resource.IResourceService, private ENV: interfaces.applicationcore.serverConfig) {\r\n }\r\n\r\n //Gets list of all TariffCountry for a dropdown/autocomplete list\r\n getDropdownList(declarationCountryId: number, taxTypeId: number, refundTypeId: number, searchText: string, numRecords: number): ng.resource.IResourceClass {\r\n return this.$resource(this.ENV.DSP_URL + \"RevenueAllocationCode/GetAllocationCodesDropDown\", {\r\n declarationCountryId: declarationCountryId,\r\n taxTypeId: taxTypeId,\r\n refundTypeId: refundTypeId,\r\n searchText: searchText,\r\n numRecords: numRecords\r\n });\r\n }\r\n }\r\n }\r\n angular.module(\"app\").service(\"revenueAllocationCodeService\", services.tariff.revenueAllocationCodeService);\r\n}"]}