{"version":3,"file":"costParameterDestinationCountryService.js","sourceRoot":"","sources":["../../../../src/modules/services/costing/costParameterDestinationCountryService.ts"],"names":[],"mappings":"AAAA,IAAO,QAAQ,CAyCd;AAzCD,WAAO,QAAQ;IACX,IAAc,OAAO,CAqCpB;IArCD,WAAc,OAAO;QAEjB;YAII,gDAAoB,SAAuC,EAAU,GAA4C;gBAA7F,cAAS,GAAT,SAAS,CAA8B;gBAAU,QAAG,GAAH,GAAG,CAAyC;YACjH,CAAC;YAED,0EAAyB,GAAzB;gBACI,OAAO,IAAI,CAAC,SAAS,CAA6C,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,2DAA2D,EAAE;oBAC9I,aAAa,EAAE,gBAAgB;oBAC/B,QAAQ,EAAE,WAAW;oBACrB,SAAS,EAAE,YAAY;iBAC1B,EAAE;oBACK,KAAK,EAAE;wBACH,MAAM,EAAE,KAAK;wBACb,OAAO,EAAE,IAAI;wBACb,WAAW,EAAE,EAAE,QAAQ,EAAE,MAAM,CAAC,0BAA0B,CAAC,kBAAkB,EAAE;qBAClF;iBACJ,CAAC,CAAC;YACX,CAAC;YAED,uEAAsB,GAAtB;gBACI,OAAO,IAAI,CAAC,SAAS,CAA6C,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,wDAAwD,EAAE,EAC9I,CAAC,CAAC;YACP,CAAC;YAED,yEAAwB,GAAxB;gBACI,OAAO,IAAI,CAAC,SAAS,CAA6C,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,0DAA0D,EAAE;oBAC7I,KAAK,EAAE,QAAQ;iBAClB,CAAC,CAAC;YACP,CAAC;YA5BM,8CAAO,GAAG,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;YA+B1C,6CAAC;SAAA,AAjCD,IAiCC;QAjCY,8CAAsC,yCAiClD,CAAA;IAEL,CAAC,EArCa,OAAO,GAAP,gBAAO,KAAP,gBAAO,QAqCpB;IAED,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,wCAAwC,EAAE,QAAQ,CAAC,OAAO,CAAC,sCAAsC,CAAC,CAAC;AACrI,CAAC,EAzCM,QAAQ,KAAR,QAAQ,QAyCd","sourcesContent":["module services {\r\n export module costing {\r\n\r\n export class costParameterDestinationCountryService implements interfaces.costing.ICostParameterDestinationCountryService {\r\n\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 getDestinationCountryList(): ng.resource.IResourceClass {\r\n return this.$resource(this.ENV.DSP_URL + \"CostParameterDestinationCountry/GetDestinationCountryList\", {\r\n showAllActive: '@showAllActive',\r\n entityId: '@entityId',\r\n countryId: '@countryId'\r\n }, {\r\n query: {\r\n method: 'GET',\r\n isArray: true,\r\n interceptor: { response: config.appResourceDateInterceptor.parseResponseDates },\r\n }\r\n });\r\n }\r\n\r\n saveDestinationCountry(): ng.resource.IResourceClass {\r\n return this.$resource(this.ENV.DSP_URL + \"CostParameterDestinationCountry/SaveDestinationCountry\", {\r\n });\r\n }\r\n\r\n removeDestinationCountry(): ng.resource.IResourceClass {\r\n return this.$resource(this.ENV.DSP_URL + \"CostParameterDestinationCountry/RemoveDestinationCountry\", {\r\n cpuId: '@cpuId',\r\n });\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n\r\n angular.module(\"app\").service(\"costParameterDestinationCountryService\", services.costing.costParameterDestinationCountryService);\r\n}"]}