{"version":3,"file":"npsSurvey.mjs","names":[],"sources":["../src/api/npsSurvey.ts"],"sourcesContent":["import type { NpsSurveyState } from 'n8n-workflow';\n\nimport type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport async function updateNpsSurveyState(context: IRestApiContext, state: NpsSurveyState) {\n\tawait makeRestApiRequest(context, 'PATCH', '/user-settings/nps-survey', state);\n}\n"],"mappings":";;;AAKA,eAAsB,qBAAqB,SAA0B,OAAuB;AAC3F,OAAM,mBAAmB,SAAS,SAAS,6BAA6B,MAAM"}