{"version":3,"file":"CplPIyMJ.js","sources":["../../../../utils/createGenericJourney.ts"],"sourcesContent":["export const createGenericJourney = (options: {\n verticalCode: string;\n origin: string;\n}) => {\n const { apiURL, env } = useRuntimeConfig().public;\n\n return fetch(new URL(\"/core/apis/data/createGenericJourney\", apiURL), {\n method: \"post\",\n body: JSON.stringify({\n verticalCode: options.verticalCode,\n origin: options.origin,\n }),\n }).then((r) => r.json());\n};\n"],"names":["createGenericJourney","options","apiURL","env","useRuntimeConfig","r"],"mappings":"kCAAa,MAAAA,EAAwBC,GAG/B,CACJ,KAAM,CAAE,OAAAC,EAAQ,IAAAC,GAAQC,EAAmB,EAAA,OAE3C,OAAO,MAAM,IAAI,IAAI,uCAAwCF,CAAM,EAAG,CACpE,OAAQ,OACR,KAAM,KAAK,UAAU,CACnB,aAAcD,EAAQ,aACtB,OAAQA,EAAQ,MACjB,CAAA,CACF,CAAA,EAAE,KAAMI,GAAMA,EAAE,MAAM,CACzB"}