n8n-nodes-userpilot 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COMMERCIAL_LICENSE.md +31 -0
- package/LICENSE +46 -0
- package/LICENSING_FAQ.md +18 -0
- package/README.md +186 -0
- package/dist/credentials/UserPilotApi.credentials.d.ts +10 -0
- package/dist/credentials/UserPilotApi.credentials.d.ts.map +1 -0
- package/dist/credentials/UserPilotApi.credentials.js +54 -0
- package/dist/credentials/UserPilotApi.credentials.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -0
- package/dist/nodes/UserPilot/UserPilot.node.d.ts +6 -0
- package/dist/nodes/UserPilot/UserPilot.node.d.ts.map +1 -0
- package/dist/nodes/UserPilot/UserPilot.node.js +1216 -0
- package/dist/nodes/UserPilot/UserPilot.node.js.map +1 -0
- package/dist/nodes/UserPilot/UserPilotTrigger.node.d.ts +13 -0
- package/dist/nodes/UserPilot/UserPilotTrigger.node.d.ts.map +1 -0
- package/dist/nodes/UserPilot/UserPilotTrigger.node.js +190 -0
- package/dist/nodes/UserPilot/UserPilotTrigger.node.js.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/create.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/banner/create.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/create.js +23 -0
- package/dist/nodes/UserPilot/actions/banner/create.js.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/delete.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/banner/delete.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/delete.js +16 -0
- package/dist/nodes/UserPilot/actions/banner/delete.js.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/get.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/banner/get.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/get.js +15 -0
- package/dist/nodes/UserPilot/actions/banner/get.js.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/getAnalytics.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/banner/getAnalytics.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/getAnalytics.js +15 -0
- package/dist/nodes/UserPilot/actions/banner/getAnalytics.js.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/index.d.ts +9 -0
- package/dist/nodes/UserPilot/actions/banner/index.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/index.js +26 -0
- package/dist/nodes/UserPilot/actions/banner/index.js.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/list.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/banner/list.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/list.js +22 -0
- package/dist/nodes/UserPilot/actions/banner/list.js.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/publish.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/banner/publish.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/publish.js +15 -0
- package/dist/nodes/UserPilot/actions/banner/publish.js.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/unpublish.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/banner/unpublish.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/unpublish.js +15 -0
- package/dist/nodes/UserPilot/actions/banner/unpublish.js.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/update.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/banner/update.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/banner/update.js +26 -0
- package/dist/nodes/UserPilot/actions/banner/update.js.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/create.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/checklist/create.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/create.js +23 -0
- package/dist/nodes/UserPilot/actions/checklist/create.js.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/delete.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/checklist/delete.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/delete.js +16 -0
- package/dist/nodes/UserPilot/actions/checklist/delete.js.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/get.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/checklist/get.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/get.js +15 -0
- package/dist/nodes/UserPilot/actions/checklist/get.js.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/getAnalytics.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/checklist/getAnalytics.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/getAnalytics.js +15 -0
- package/dist/nodes/UserPilot/actions/checklist/getAnalytics.js.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/getUserProgress.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/checklist/getUserProgress.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/getUserProgress.js +15 -0
- package/dist/nodes/UserPilot/actions/checklist/getUserProgress.js.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/index.d.ts +10 -0
- package/dist/nodes/UserPilot/actions/checklist/index.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/index.js +28 -0
- package/dist/nodes/UserPilot/actions/checklist/index.js.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/list.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/checklist/list.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/list.js +22 -0
- package/dist/nodes/UserPilot/actions/checklist/list.js.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/publish.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/checklist/publish.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/publish.js +15 -0
- package/dist/nodes/UserPilot/actions/checklist/publish.js.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/unpublish.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/checklist/unpublish.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/unpublish.js +15 -0
- package/dist/nodes/UserPilot/actions/checklist/unpublish.js.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/update.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/checklist/update.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/checklist/update.js +25 -0
- package/dist/nodes/UserPilot/actions/checklist/update.js.map +1 -0
- package/dist/nodes/UserPilot/actions/company/bulkUpdate.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/company/bulkUpdate.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/company/bulkUpdate.js +40 -0
- package/dist/nodes/UserPilot/actions/company/bulkUpdate.js.map +1 -0
- package/dist/nodes/UserPilot/actions/company/delete.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/company/delete.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/company/delete.js +25 -0
- package/dist/nodes/UserPilot/actions/company/delete.js.map +1 -0
- package/dist/nodes/UserPilot/actions/company/get.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/company/get.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/company/get.js +20 -0
- package/dist/nodes/UserPilot/actions/company/get.js.map +1 -0
- package/dist/nodes/UserPilot/actions/company/getAnalytics.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/company/getAnalytics.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/company/getAnalytics.js +15 -0
- package/dist/nodes/UserPilot/actions/company/getAnalytics.js.map +1 -0
- package/dist/nodes/UserPilot/actions/company/getUsers.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/company/getUsers.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/company/getUsers.js +23 -0
- package/dist/nodes/UserPilot/actions/company/getUsers.js.map +1 -0
- package/dist/nodes/UserPilot/actions/company/identify.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/company/identify.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/company/identify.js +35 -0
- package/dist/nodes/UserPilot/actions/company/identify.js.map +1 -0
- package/dist/nodes/UserPilot/actions/company/index.d.ts +10 -0
- package/dist/nodes/UserPilot/actions/company/index.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/company/index.js +28 -0
- package/dist/nodes/UserPilot/actions/company/index.js.map +1 -0
- package/dist/nodes/UserPilot/actions/company/list.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/company/list.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/company/list.js +22 -0
- package/dist/nodes/UserPilot/actions/company/list.js.map +1 -0
- package/dist/nodes/UserPilot/actions/company/search.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/company/search.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/company/search.js +25 -0
- package/dist/nodes/UserPilot/actions/company/search.js.map +1 -0
- package/dist/nodes/UserPilot/actions/company/update.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/company/update.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/company/update.js +41 -0
- package/dist/nodes/UserPilot/actions/company/update.js.map +1 -0
- package/dist/nodes/UserPilot/actions/dataExport/cancel.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/dataExport/cancel.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/dataExport/cancel.js +15 -0
- package/dist/nodes/UserPilot/actions/dataExport/cancel.js.map +1 -0
- package/dist/nodes/UserPilot/actions/dataExport/create.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/dataExport/create.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/dataExport/create.js +40 -0
- package/dist/nodes/UserPilot/actions/dataExport/create.js.map +1 -0
- package/dist/nodes/UserPilot/actions/dataExport/download.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/dataExport/download.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/dataExport/download.js +60 -0
- package/dist/nodes/UserPilot/actions/dataExport/download.js.map +1 -0
- package/dist/nodes/UserPilot/actions/dataExport/getStatus.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/dataExport/getStatus.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/dataExport/getStatus.js +20 -0
- package/dist/nodes/UserPilot/actions/dataExport/getStatus.js.map +1 -0
- package/dist/nodes/UserPilot/actions/dataExport/index.d.ts +6 -0
- package/dist/nodes/UserPilot/actions/dataExport/index.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/dataExport/index.js +20 -0
- package/dist/nodes/UserPilot/actions/dataExport/index.js.map +1 -0
- package/dist/nodes/UserPilot/actions/dataExport/list.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/dataExport/list.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/dataExport/list.js +22 -0
- package/dist/nodes/UserPilot/actions/dataExport/list.js.map +1 -0
- package/dist/nodes/UserPilot/actions/event/bulkImport.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/event/bulkImport.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/event/bulkImport.js +32 -0
- package/dist/nodes/UserPilot/actions/event/bulkImport.js.map +1 -0
- package/dist/nodes/UserPilot/actions/event/bulkTrack.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/event/bulkTrack.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/event/bulkTrack.js +42 -0
- package/dist/nodes/UserPilot/actions/event/bulkTrack.js.map +1 -0
- package/dist/nodes/UserPilot/actions/event/createDefinition.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/event/createDefinition.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/event/createDefinition.js +19 -0
- package/dist/nodes/UserPilot/actions/event/createDefinition.js.map +1 -0
- package/dist/nodes/UserPilot/actions/event/getAnalytics.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/event/getAnalytics.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/event/getAnalytics.js +15 -0
- package/dist/nodes/UserPilot/actions/event/getAnalytics.js.map +1 -0
- package/dist/nodes/UserPilot/actions/event/getDefinition.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/event/getDefinition.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/event/getDefinition.js +15 -0
- package/dist/nodes/UserPilot/actions/event/getDefinition.js.map +1 -0
- package/dist/nodes/UserPilot/actions/event/index.d.ts +8 -0
- package/dist/nodes/UserPilot/actions/event/index.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/event/index.js +24 -0
- package/dist/nodes/UserPilot/actions/event/index.js.map +1 -0
- package/dist/nodes/UserPilot/actions/event/listDefinitions.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/event/listDefinitions.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/event/listDefinitions.js +22 -0
- package/dist/nodes/UserPilot/actions/event/listDefinitions.js.map +1 -0
- package/dist/nodes/UserPilot/actions/event/track.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/event/track.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/event/track.js +31 -0
- package/dist/nodes/UserPilot/actions/event/track.js.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/create.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/flow/create.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/create.js +22 -0
- package/dist/nodes/UserPilot/actions/flow/create.js.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/delete.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/flow/delete.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/delete.js +16 -0
- package/dist/nodes/UserPilot/actions/flow/delete.js.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/duplicate.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/flow/duplicate.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/duplicate.js +15 -0
- package/dist/nodes/UserPilot/actions/flow/duplicate.js.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/get.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/flow/get.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/get.js +20 -0
- package/dist/nodes/UserPilot/actions/flow/get.js.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/getAnalytics.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/flow/getAnalytics.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/getAnalytics.js +15 -0
- package/dist/nodes/UserPilot/actions/flow/getAnalytics.js.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/index.d.ts +11 -0
- package/dist/nodes/UserPilot/actions/flow/index.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/index.js +30 -0
- package/dist/nodes/UserPilot/actions/flow/index.js.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/list.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/flow/list.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/list.js +26 -0
- package/dist/nodes/UserPilot/actions/flow/list.js.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/publish.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/flow/publish.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/publish.js +15 -0
- package/dist/nodes/UserPilot/actions/flow/publish.js.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/trigger.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/flow/trigger.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/trigger.js +31 -0
- package/dist/nodes/UserPilot/actions/flow/trigger.js.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/unpublish.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/flow/unpublish.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/unpublish.js +15 -0
- package/dist/nodes/UserPilot/actions/flow/unpublish.js.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/update.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/flow/update.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/flow/update.js +24 -0
- package/dist/nodes/UserPilot/actions/flow/update.js.map +1 -0
- package/dist/nodes/UserPilot/actions/job/cancel.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/job/cancel.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/job/cancel.js +15 -0
- package/dist/nodes/UserPilot/actions/job/cancel.js.map +1 -0
- package/dist/nodes/UserPilot/actions/job/getErrors.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/job/getErrors.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/job/getErrors.js +15 -0
- package/dist/nodes/UserPilot/actions/job/getErrors.js.map +1 -0
- package/dist/nodes/UserPilot/actions/job/getStatus.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/job/getStatus.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/job/getStatus.js +20 -0
- package/dist/nodes/UserPilot/actions/job/getStatus.js.map +1 -0
- package/dist/nodes/UserPilot/actions/job/index.d.ts +6 -0
- package/dist/nodes/UserPilot/actions/job/index.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/job/index.js +20 -0
- package/dist/nodes/UserPilot/actions/job/index.js.map +1 -0
- package/dist/nodes/UserPilot/actions/job/list.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/job/list.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/job/list.js +29 -0
- package/dist/nodes/UserPilot/actions/job/list.js.map +1 -0
- package/dist/nodes/UserPilot/actions/job/retry.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/job/retry.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/job/retry.js +15 -0
- package/dist/nodes/UserPilot/actions/job/retry.js.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/create.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/nps/create.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/create.js +24 -0
- package/dist/nodes/UserPilot/actions/nps/create.js.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/delete.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/nps/delete.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/delete.js +16 -0
- package/dist/nodes/UserPilot/actions/nps/delete.js.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/exportData.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/nps/exportData.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/exportData.js +15 -0
- package/dist/nodes/UserPilot/actions/nps/exportData.js.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/get.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/nps/get.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/get.js +15 -0
- package/dist/nodes/UserPilot/actions/nps/get.js.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/getAnalytics.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/nps/getAnalytics.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/getAnalytics.js +15 -0
- package/dist/nodes/UserPilot/actions/nps/getAnalytics.js.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/getResponses.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/nps/getResponses.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/getResponses.js +23 -0
- package/dist/nodes/UserPilot/actions/nps/getResponses.js.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/index.d.ts +11 -0
- package/dist/nodes/UserPilot/actions/nps/index.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/index.js +30 -0
- package/dist/nodes/UserPilot/actions/nps/index.js.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/list.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/nps/list.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/list.js +22 -0
- package/dist/nodes/UserPilot/actions/nps/list.js.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/listSurveys.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/nps/listSurveys.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/listSurveys.js +26 -0
- package/dist/nodes/UserPilot/actions/nps/listSurveys.js.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/publish.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/nps/publish.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/publish.js +15 -0
- package/dist/nodes/UserPilot/actions/nps/publish.js.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/unpublish.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/nps/unpublish.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/unpublish.js +15 -0
- package/dist/nodes/UserPilot/actions/nps/unpublish.js.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/update.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/nps/update.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/nps/update.js +26 -0
- package/dist/nodes/UserPilot/actions/nps/update.js.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/createModule.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/createModule.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/createModule.js +18 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/createModule.js.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/deleteModule.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/deleteModule.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/deleteModule.js +16 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/deleteModule.js.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/get.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/get.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/get.js +14 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/get.js.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/getModuleAnalytics.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/getModuleAnalytics.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/getModuleAnalytics.js +15 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/getModuleAnalytics.js.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/index.d.ts +9 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/index.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/index.js +26 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/index.js.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/listModules.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/listModules.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/listModules.js +22 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/listModules.js.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/reorderModules.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/reorderModules.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/reorderModules.js +15 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/reorderModules.js.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/update.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/update.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/update.js +15 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/update.js.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/updateModule.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/updateModule.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/updateModule.js +23 -0
- package/dist/nodes/UserPilot/actions/resourceCenter/updateModule.js.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/create.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/segment/create.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/create.js +20 -0
- package/dist/nodes/UserPilot/actions/segment/create.js.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/delete.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/segment/delete.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/delete.js +16 -0
- package/dist/nodes/UserPilot/actions/segment/delete.js.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/get.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/segment/get.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/get.js +15 -0
- package/dist/nodes/UserPilot/actions/segment/get.js.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/getSize.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/segment/getSize.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/getSize.js +15 -0
- package/dist/nodes/UserPilot/actions/segment/getSize.js.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/getUsers.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/segment/getUsers.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/getUsers.js +23 -0
- package/dist/nodes/UserPilot/actions/segment/getUsers.js.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/index.d.ts +8 -0
- package/dist/nodes/UserPilot/actions/segment/index.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/index.js +24 -0
- package/dist/nodes/UserPilot/actions/segment/index.js.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/list.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/segment/list.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/list.js +22 -0
- package/dist/nodes/UserPilot/actions/segment/list.js.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/update.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/segment/update.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/segment/update.js +21 -0
- package/dist/nodes/UserPilot/actions/segment/update.js.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/create.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/spotlight/create.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/create.js +24 -0
- package/dist/nodes/UserPilot/actions/spotlight/create.js.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/delete.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/spotlight/delete.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/delete.js +16 -0
- package/dist/nodes/UserPilot/actions/spotlight/delete.js.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/get.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/spotlight/get.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/get.js +15 -0
- package/dist/nodes/UserPilot/actions/spotlight/get.js.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/getAnalytics.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/spotlight/getAnalytics.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/getAnalytics.js +15 -0
- package/dist/nodes/UserPilot/actions/spotlight/getAnalytics.js.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/index.d.ts +9 -0
- package/dist/nodes/UserPilot/actions/spotlight/index.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/index.js +26 -0
- package/dist/nodes/UserPilot/actions/spotlight/index.js.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/list.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/spotlight/list.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/list.js +22 -0
- package/dist/nodes/UserPilot/actions/spotlight/list.js.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/publish.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/spotlight/publish.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/publish.js +15 -0
- package/dist/nodes/UserPilot/actions/spotlight/publish.js.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/unpublish.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/spotlight/unpublish.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/unpublish.js +15 -0
- package/dist/nodes/UserPilot/actions/spotlight/unpublish.js.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/update.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/spotlight/update.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/spotlight/update.js +26 -0
- package/dist/nodes/UserPilot/actions/spotlight/update.js.map +1 -0
- package/dist/nodes/UserPilot/actions/user/bulkImport.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/user/bulkImport.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/user/bulkImport.js +32 -0
- package/dist/nodes/UserPilot/actions/user/bulkImport.js.map +1 -0
- package/dist/nodes/UserPilot/actions/user/bulkUpdate.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/user/bulkUpdate.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/user/bulkUpdate.js +40 -0
- package/dist/nodes/UserPilot/actions/user/bulkUpdate.js.map +1 -0
- package/dist/nodes/UserPilot/actions/user/delete.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/user/delete.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/user/delete.js +25 -0
- package/dist/nodes/UserPilot/actions/user/delete.js.map +1 -0
- package/dist/nodes/UserPilot/actions/user/get.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/user/get.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/user/get.js +20 -0
- package/dist/nodes/UserPilot/actions/user/get.js.map +1 -0
- package/dist/nodes/UserPilot/actions/user/getEvents.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/user/getEvents.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/user/getEvents.js +15 -0
- package/dist/nodes/UserPilot/actions/user/getEvents.js.map +1 -0
- package/dist/nodes/UserPilot/actions/user/getFlows.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/user/getFlows.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/user/getFlows.js +15 -0
- package/dist/nodes/UserPilot/actions/user/getFlows.js.map +1 -0
- package/dist/nodes/UserPilot/actions/user/identify.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/user/identify.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/user/identify.js +39 -0
- package/dist/nodes/UserPilot/actions/user/identify.js.map +1 -0
- package/dist/nodes/UserPilot/actions/user/index.d.ts +12 -0
- package/dist/nodes/UserPilot/actions/user/index.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/user/index.js +32 -0
- package/dist/nodes/UserPilot/actions/user/index.js.map +1 -0
- package/dist/nodes/UserPilot/actions/user/list.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/user/list.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/user/list.js +22 -0
- package/dist/nodes/UserPilot/actions/user/list.js.map +1 -0
- package/dist/nodes/UserPilot/actions/user/merge.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/user/merge.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/user/merge.js +19 -0
- package/dist/nodes/UserPilot/actions/user/merge.js.map +1 -0
- package/dist/nodes/UserPilot/actions/user/search.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/user/search.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/user/search.js +25 -0
- package/dist/nodes/UserPilot/actions/user/search.js.map +1 -0
- package/dist/nodes/UserPilot/actions/user/update.d.ts +3 -0
- package/dist/nodes/UserPilot/actions/user/update.d.ts.map +1 -0
- package/dist/nodes/UserPilot/actions/user/update.js +49 -0
- package/dist/nodes/UserPilot/actions/user/update.js.map +1 -0
- package/dist/nodes/UserPilot/transport/apiRequest.d.ts +30 -0
- package/dist/nodes/UserPilot/transport/apiRequest.d.ts.map +1 -0
- package/dist/nodes/UserPilot/transport/apiRequest.js +189 -0
- package/dist/nodes/UserPilot/transport/apiRequest.js.map +1 -0
- package/dist/nodes/UserPilot/transport/index.d.ts +2 -0
- package/dist/nodes/UserPilot/transport/index.d.ts.map +1 -0
- package/dist/nodes/UserPilot/transport/index.js +24 -0
- package/dist/nodes/UserPilot/transport/index.js.map +1 -0
- package/dist/nodes/UserPilot/types/UserPilotTypes.d.ts +107 -0
- package/dist/nodes/UserPilot/types/UserPilotTypes.d.ts.map +1 -0
- package/dist/nodes/UserPilot/types/UserPilotTypes.js +9 -0
- package/dist/nodes/UserPilot/types/UserPilotTypes.js.map +1 -0
- package/dist/nodes/UserPilot/userpilot.svg +7 -0
- package/dist/nodes/UserPilot/utils/helpers.d.ts +55 -0
- package/dist/nodes/UserPilot/utils/helpers.d.ts.map +1 -0
- package/dist/nodes/UserPilot/utils/helpers.js +183 -0
- package/dist/nodes/UserPilot/utils/helpers.js.map +1 -0
- package/dist/nodes/UserPilot/utils/index.d.ts +2 -0
- package/dist/nodes/UserPilot/utils/index.d.ts.map +1 -0
- package/dist/nodes/UserPilot/utils/index.js +24 -0
- package/dist/nodes/UserPilot/utils/index.js.map +1 -0
- package/package.json +77 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.identify = identify;
|
|
10
|
+
const transport_1 = require("../../transport");
|
|
11
|
+
const utils_1 = require("../../utils");
|
|
12
|
+
async function identify(index) {
|
|
13
|
+
const companyId = this.getNodeParameter('companyId', index);
|
|
14
|
+
const additionalFields = this.getNodeParameter('additionalFields', index, {});
|
|
15
|
+
const properties = {};
|
|
16
|
+
if (additionalFields.name) {
|
|
17
|
+
properties.name = additionalFields.name;
|
|
18
|
+
}
|
|
19
|
+
if (additionalFields.createdAt) {
|
|
20
|
+
properties.created_at = additionalFields.createdAt;
|
|
21
|
+
}
|
|
22
|
+
const customProperties = (0, utils_1.processCustomProperties)(additionalFields.customPropertiesUi);
|
|
23
|
+
const body = (0, utils_1.buildCompanyObject)(companyId, (0, utils_1.processAdditionalFields)(properties), customProperties);
|
|
24
|
+
const response = await transport_1.userPilotApiRequest.call(this, 'POST', '/v1/companies/identify', body);
|
|
25
|
+
return [
|
|
26
|
+
{
|
|
27
|
+
json: {
|
|
28
|
+
success: true,
|
|
29
|
+
company_id: companyId,
|
|
30
|
+
...response,
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
];
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=identify.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identify.js","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/company/identify.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAMH,4BAqCC;AAxCD,+CAAsD;AACtD,uCAAmG;AAE5F,KAAK,UAAU,QAAQ,CAE5B,KAAa;IAEb,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,KAAK,CAAW,CAAC;IACtE,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,KAAK,EAAE,EAAE,CAAgB,CAAC;IAE7F,MAAM,UAAU,GAAgB,EAAE,CAAC;IAEnC,IAAI,gBAAgB,CAAC,IAAI,EAAE,CAAC;QAC1B,UAAU,CAAC,IAAI,GAAG,gBAAgB,CAAC,IAAI,CAAC;IAC1C,CAAC;IACD,IAAI,gBAAgB,CAAC,SAAS,EAAE,CAAC;QAC/B,UAAU,CAAC,UAAU,GAAG,gBAAgB,CAAC,SAAS,CAAC;IACrD,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAA,+BAAuB,EAC9C,gBAAgB,CAAC,kBAAyE,CAC3F,CAAC;IAEF,MAAM,IAAI,GAAG,IAAA,0BAAkB,EAC7B,SAAS,EACT,IAAA,+BAAuB,EAAC,UAAU,CAAC,EACnC,gBAAgB,CACjB,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,+BAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,wBAAwB,EAAE,IAAI,CAAC,CAAC;IAE9F,OAAO;QACL;YACE,IAAI,EAAE;gBACJ,OAAO,EAAE,IAAI;gBACb,UAAU,EAAE,SAAS;gBACrB,GAAG,QAAQ;aACZ;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { identify } from './identify';
|
|
2
|
+
export { update } from './update';
|
|
3
|
+
export { get } from './get';
|
|
4
|
+
export { deleteCompany } from './delete';
|
|
5
|
+
export { bulkUpdate } from './bulkUpdate';
|
|
6
|
+
export { list } from './list';
|
|
7
|
+
export { search } from './search';
|
|
8
|
+
export { getUsers } from './getUsers';
|
|
9
|
+
export { getAnalytics } from './getAnalytics';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/company/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.getAnalytics = exports.getUsers = exports.search = exports.list = exports.bulkUpdate = exports.deleteCompany = exports.get = exports.update = exports.identify = void 0;
|
|
10
|
+
var identify_1 = require("./identify");
|
|
11
|
+
Object.defineProperty(exports, "identify", { enumerable: true, get: function () { return identify_1.identify; } });
|
|
12
|
+
var update_1 = require("./update");
|
|
13
|
+
Object.defineProperty(exports, "update", { enumerable: true, get: function () { return update_1.update; } });
|
|
14
|
+
var get_1 = require("./get");
|
|
15
|
+
Object.defineProperty(exports, "get", { enumerable: true, get: function () { return get_1.get; } });
|
|
16
|
+
var delete_1 = require("./delete");
|
|
17
|
+
Object.defineProperty(exports, "deleteCompany", { enumerable: true, get: function () { return delete_1.deleteCompany; } });
|
|
18
|
+
var bulkUpdate_1 = require("./bulkUpdate");
|
|
19
|
+
Object.defineProperty(exports, "bulkUpdate", { enumerable: true, get: function () { return bulkUpdate_1.bulkUpdate; } });
|
|
20
|
+
var list_1 = require("./list");
|
|
21
|
+
Object.defineProperty(exports, "list", { enumerable: true, get: function () { return list_1.list; } });
|
|
22
|
+
var search_1 = require("./search");
|
|
23
|
+
Object.defineProperty(exports, "search", { enumerable: true, get: function () { return search_1.search; } });
|
|
24
|
+
var getUsers_1 = require("./getUsers");
|
|
25
|
+
Object.defineProperty(exports, "getUsers", { enumerable: true, get: function () { return getUsers_1.getUsers; } });
|
|
26
|
+
var getAnalytics_1 = require("./getAnalytics");
|
|
27
|
+
Object.defineProperty(exports, "getAnalytics", { enumerable: true, get: function () { return getAnalytics_1.getAnalytics; } });
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/company/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,6BAA4B;AAAnB,0FAAA,GAAG,OAAA;AACZ,mCAAyC;AAAhC,uGAAA,aAAa,OAAA;AACtB,2CAA0C;AAAjC,wGAAA,UAAU,OAAA;AACnB,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,+CAA8C;AAArC,4GAAA,YAAY,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/company/list.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAG1E,wBAAsB,IAAI,CAAC,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAYhG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.list = list;
|
|
10
|
+
const transport_1 = require("../../transport");
|
|
11
|
+
async function list(index) {
|
|
12
|
+
const returnAll = this.getNodeParameter('returnAll', index);
|
|
13
|
+
const limit = this.getNodeParameter('limit', index, 50);
|
|
14
|
+
if (returnAll) {
|
|
15
|
+
const response = await transport_1.userPilotApiRequestAllItems.call(this, 'GET', '/v1/companies');
|
|
16
|
+
return response.map((item) => ({ json: item }));
|
|
17
|
+
}
|
|
18
|
+
const response = await transport_1.userPilotApiRequest.call(this, 'GET', '/v1/companies', undefined, { limit });
|
|
19
|
+
const items = response.results || response.data || response;
|
|
20
|
+
return Array.isArray(items) ? items.map((item) => ({ json: item })) : [{ json: items }];
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/company/list.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAKH,oBAYC;AAdD,+CAAmF;AAE5E,KAAK,UAAU,IAAI,CAA0B,KAAa;IAC/D,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,KAAK,CAAY,CAAC;IACvE,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CAAW,CAAC;IAElE,IAAI,SAAS,EAAE,CAAC;QACd,MAAM,QAAQ,GAAG,MAAM,uCAA2B,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,eAAe,CAAC,CAAC;QACtF,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACvD,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,+BAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,eAAe,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IACpG,MAAM,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC;IAC5D,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;AAC/F,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/company/search.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAG1E,wBAAsB,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAgBlG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.search = search;
|
|
10
|
+
const transport_1 = require("../../transport");
|
|
11
|
+
async function search(index) {
|
|
12
|
+
const searchProperty = this.getNodeParameter('companySearchProperty', index);
|
|
13
|
+
const searchValue = this.getNodeParameter('companySearchValue', index);
|
|
14
|
+
const returnAll = this.getNodeParameter('returnAll', index);
|
|
15
|
+
const limit = this.getNodeParameter('limit', index, 50);
|
|
16
|
+
const query = { [searchProperty]: searchValue };
|
|
17
|
+
if (returnAll) {
|
|
18
|
+
const response = await transport_1.userPilotApiRequestAllItems.call(this, 'GET', '/v1/companies/search', query);
|
|
19
|
+
return response.map((item) => ({ json: item }));
|
|
20
|
+
}
|
|
21
|
+
const response = await transport_1.userPilotApiRequest.call(this, 'GET', '/v1/companies/search', undefined, { ...query, limit });
|
|
22
|
+
const items = response.results || response.data || response;
|
|
23
|
+
return Array.isArray(items) ? items.map((item) => ({ json: item })) : [{ json: items }];
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=search.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/company/search.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAKH,wBAgBC;AAlBD,+CAAmF;AAE5E,KAAK,UAAU,MAAM,CAA0B,KAAa;IACjE,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CAAC,uBAAuB,EAAE,KAAK,CAAW,CAAC;IACvF,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,KAAK,CAAW,CAAC;IACjF,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,KAAK,CAAY,CAAC;IACvE,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CAAW,CAAC;IAElE,MAAM,KAAK,GAAG,EAAE,CAAC,cAAc,CAAC,EAAE,WAAW,EAAE,CAAC;IAEhD,IAAI,SAAS,EAAE,CAAC;QACd,MAAM,QAAQ,GAAG,MAAM,uCAA2B,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,CAAC,CAAC;QACpG,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACvD,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,+BAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,sBAAsB,EAAE,SAAS,EAAE,EAAE,GAAG,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IACrH,MAAM,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC;IAC5D,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;AAC/F,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/company/update.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAe,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAIvF,wBAAsB,MAAM,CAC1B,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAoC/B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.update = update;
|
|
10
|
+
const transport_1 = require("../../transport");
|
|
11
|
+
const utils_1 = require("../../utils");
|
|
12
|
+
async function update(index) {
|
|
13
|
+
const companyId = this.getNodeParameter('companyId', index);
|
|
14
|
+
const updateFields = this.getNodeParameter('updateFields', index, {});
|
|
15
|
+
const properties = {
|
|
16
|
+
company_id: companyId,
|
|
17
|
+
};
|
|
18
|
+
if (updateFields.name) {
|
|
19
|
+
properties.name = updateFields.name;
|
|
20
|
+
}
|
|
21
|
+
if (updateFields.createdAt) {
|
|
22
|
+
properties.created_at = updateFields.createdAt;
|
|
23
|
+
}
|
|
24
|
+
const customProperties = (0, utils_1.processCustomProperties)(updateFields.customPropertiesUi);
|
|
25
|
+
const body = {
|
|
26
|
+
...(0, utils_1.processAdditionalFields)(properties),
|
|
27
|
+
...customProperties,
|
|
28
|
+
};
|
|
29
|
+
const response = await transport_1.userPilotApiRequest.call(this, 'POST', '/v1/companies/identify', body);
|
|
30
|
+
return [
|
|
31
|
+
{
|
|
32
|
+
json: {
|
|
33
|
+
success: true,
|
|
34
|
+
company_id: companyId,
|
|
35
|
+
updated: true,
|
|
36
|
+
...response,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
];
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/company/update.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAMH,wBAuCC;AA1CD,+CAAsD;AACtD,uCAA+E;AAExE,KAAK,UAAU,MAAM,CAE1B,KAAa;IAEb,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,KAAK,CAAW,CAAC;IACtE,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,KAAK,EAAE,EAAE,CAAgB,CAAC;IAErF,MAAM,UAAU,GAAgB;QAC9B,UAAU,EAAE,SAAS;KACtB,CAAC;IAEF,IAAI,YAAY,CAAC,IAAI,EAAE,CAAC;QACtB,UAAU,CAAC,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;IACtC,CAAC;IACD,IAAI,YAAY,CAAC,SAAS,EAAE,CAAC;QAC3B,UAAU,CAAC,UAAU,GAAG,YAAY,CAAC,SAAS,CAAC;IACjD,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAA,+BAAuB,EAC9C,YAAY,CAAC,kBAAyE,CACvF,CAAC;IAEF,MAAM,IAAI,GAAG;QACX,GAAG,IAAA,+BAAuB,EAAC,UAAU,CAAC;QACtC,GAAG,gBAAgB;KACpB,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,+BAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,wBAAwB,EAAE,IAAI,CAAC,CAAC;IAE9F,OAAO;QACL;YACE,IAAI,EAAE;gBACJ,OAAO,EAAE,IAAI;gBACb,UAAU,EAAE,SAAS;gBACrB,OAAO,EAAE,IAAI;gBACb,GAAG,QAAQ;aACZ;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel.d.ts","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/dataExport/cancel.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGtD,wBAAsB,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAGjF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.cancel = cancel;
|
|
10
|
+
const transport_1 = require("../../transport");
|
|
11
|
+
async function cancel(index) {
|
|
12
|
+
const exportId = this.getNodeParameter('exportId', index);
|
|
13
|
+
return transport_1.userPilotApiRequest.call(this, 'POST', `/v1/exports/${exportId}/cancel`);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=cancel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel.js","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/dataExport/cancel.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAKH,wBAGC;AALD,+CAAsD;AAE/C,KAAK,UAAU,MAAM,CAA0B,KAAa;IACjE,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,KAAK,CAAW,CAAC;IACpE,OAAO,+BAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,eAAe,QAAQ,SAAS,CAAC,CAAC;AAClF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/dataExport/create.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAe,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGvF,wBAAsB,MAAM,CAC1B,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAgC/B"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.create = create;
|
|
10
|
+
const transport_1 = require("../../transport");
|
|
11
|
+
async function create(index) {
|
|
12
|
+
const exportType = this.getNodeParameter('exportType', index);
|
|
13
|
+
const additionalFields = this.getNodeParameter('additionalFields', index, {});
|
|
14
|
+
const body = {
|
|
15
|
+
export_type: exportType,
|
|
16
|
+
};
|
|
17
|
+
if (additionalFields.dateFrom) {
|
|
18
|
+
body.date_from = additionalFields.dateFrom;
|
|
19
|
+
}
|
|
20
|
+
if (additionalFields.dateTo) {
|
|
21
|
+
body.date_to = additionalFields.dateTo;
|
|
22
|
+
}
|
|
23
|
+
if (additionalFields.format) {
|
|
24
|
+
body.format = additionalFields.format;
|
|
25
|
+
}
|
|
26
|
+
if (additionalFields.fields) {
|
|
27
|
+
body.fields = additionalFields.fields;
|
|
28
|
+
}
|
|
29
|
+
const response = await transport_1.userPilotApiRequest.call(this, 'POST', '/v1/exports', body);
|
|
30
|
+
return [
|
|
31
|
+
{
|
|
32
|
+
json: {
|
|
33
|
+
success: true,
|
|
34
|
+
export_type: exportType,
|
|
35
|
+
...response,
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
];
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/dataExport/create.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAKH,wBAmCC;AArCD,+CAAsD;AAE/C,KAAK,UAAU,MAAM,CAE1B,KAAa;IAEb,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,KAAK,CAAW,CAAC;IACxE,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,KAAK,EAAE,EAAE,CAAgB,CAAC;IAE7F,MAAM,IAAI,GAAgB;QACxB,WAAW,EAAE,UAAU;KACxB,CAAC;IAEF,IAAI,gBAAgB,CAAC,QAAQ,EAAE,CAAC;QAC9B,IAAI,CAAC,SAAS,GAAG,gBAAgB,CAAC,QAAQ,CAAC;IAC7C,CAAC;IACD,IAAI,gBAAgB,CAAC,MAAM,EAAE,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,gBAAgB,CAAC,MAAM,CAAC;IACzC,CAAC;IACD,IAAI,gBAAgB,CAAC,MAAM,EAAE,CAAC;QAC5B,IAAI,CAAC,MAAM,GAAG,gBAAgB,CAAC,MAAM,CAAC;IACxC,CAAC;IACD,IAAI,gBAAgB,CAAC,MAAM,EAAE,CAAC;QAC5B,IAAI,CAAC,MAAM,GAAG,gBAAgB,CAAC,MAAM,CAAC;IACxC,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,+BAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,IAAI,CAAC,CAAC;IAEnF,OAAO;QACL;YACE,IAAI,EAAE;gBACJ,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,UAAU;gBACvB,GAAG,QAAQ;aACZ;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/dataExport/download.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAG1E,wBAAsB,QAAQ,CAC5B,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,kBAAkB,EAAE,CAAC,CA8D/B"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.download = download;
|
|
10
|
+
const transport_1 = require("../../transport");
|
|
11
|
+
async function download(index) {
|
|
12
|
+
const jobId = this.getNodeParameter('jobId', index);
|
|
13
|
+
// First get the export status to check if ready and get download URL
|
|
14
|
+
const statusResponse = await transport_1.userPilotApiRequest.call(this, 'GET', `/v1/exports/${encodeURIComponent(jobId)}`);
|
|
15
|
+
if (statusResponse.status !== 'completed') {
|
|
16
|
+
return [
|
|
17
|
+
{
|
|
18
|
+
json: {
|
|
19
|
+
success: false,
|
|
20
|
+
job_id: jobId,
|
|
21
|
+
status: statusResponse.status,
|
|
22
|
+
message: 'Export is not yet completed. Please try again later.',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
];
|
|
26
|
+
}
|
|
27
|
+
if (!statusResponse.download_url) {
|
|
28
|
+
return [
|
|
29
|
+
{
|
|
30
|
+
json: {
|
|
31
|
+
success: false,
|
|
32
|
+
job_id: jobId,
|
|
33
|
+
status: statusResponse.status,
|
|
34
|
+
message: 'No download URL available for this export.',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
}
|
|
39
|
+
// Download the file
|
|
40
|
+
const downloadUrl = statusResponse.download_url;
|
|
41
|
+
const fileResponse = await this.helpers.httpRequest({
|
|
42
|
+
method: 'GET',
|
|
43
|
+
url: downloadUrl,
|
|
44
|
+
encoding: 'arraybuffer',
|
|
45
|
+
});
|
|
46
|
+
const binaryData = await this.helpers.prepareBinaryData(Buffer.from(fileResponse), `export_${jobId}.csv`, 'text/csv');
|
|
47
|
+
return [
|
|
48
|
+
{
|
|
49
|
+
json: {
|
|
50
|
+
success: true,
|
|
51
|
+
job_id: jobId,
|
|
52
|
+
status: 'completed',
|
|
53
|
+
},
|
|
54
|
+
binary: {
|
|
55
|
+
data: binaryData,
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
];
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=download.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download.js","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/dataExport/download.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAKH,4BAiEC;AAnED,+CAAsD;AAE/C,KAAK,UAAU,QAAQ,CAE5B,KAAa;IAEb,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,KAAK,CAAW,CAAC;IAE9D,qEAAqE;IACrE,MAAM,cAAc,GAAG,MAAM,+BAAmB,CAAC,IAAI,CACnD,IAAI,EACJ,KAAK,EACL,eAAe,kBAAkB,CAAC,KAAK,CAAC,EAAE,CAC3C,CAAC;IAEF,IAAI,cAAc,CAAC,MAAM,KAAK,WAAW,EAAE,CAAC;QAC1C,OAAO;YACL;gBACE,IAAI,EAAE;oBACJ,OAAO,EAAE,KAAK;oBACd,MAAM,EAAE,KAAK;oBACb,MAAM,EAAE,cAAc,CAAC,MAAM;oBAC7B,OAAO,EAAE,sDAAsD;iBAChE;aACF;SACF,CAAC;IACJ,CAAC;IAED,IAAI,CAAC,cAAc,CAAC,YAAY,EAAE,CAAC;QACjC,OAAO;YACL;gBACE,IAAI,EAAE;oBACJ,OAAO,EAAE,KAAK;oBACd,MAAM,EAAE,KAAK;oBACb,MAAM,EAAE,cAAc,CAAC,MAAM;oBAC7B,OAAO,EAAE,4CAA4C;iBACtD;aACF;SACF,CAAC;IACJ,CAAC;IAED,oBAAoB;IACpB,MAAM,WAAW,GAAG,cAAc,CAAC,YAAY,CAAC;IAChD,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC;QAClD,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,WAAW;QAChB,QAAQ,EAAE,aAAa;KACxB,CAAC,CAAC;IAEH,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,iBAAiB,CACrD,MAAM,CAAC,IAAI,CAAC,YAA2B,CAAC,EACxC,UAAU,KAAK,MAAM,EACrB,UAAU,CACX,CAAC;IAEF,OAAO;QACL;YACE,IAAI,EAAE;gBACJ,OAAO,EAAE,IAAI;gBACb,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE,WAAW;aACpB;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,UAAU;aACjB;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStatus.d.ts","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/dataExport/getStatus.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAG1E,wBAAsB,SAAS,CAC7B,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAc/B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.getStatus = getStatus;
|
|
10
|
+
const transport_1 = require("../../transport");
|
|
11
|
+
async function getStatus(index) {
|
|
12
|
+
const jobId = this.getNodeParameter('jobId', index);
|
|
13
|
+
const response = await transport_1.userPilotApiRequest.call(this, 'GET', `/v1/exports/${encodeURIComponent(jobId)}`);
|
|
14
|
+
return [
|
|
15
|
+
{
|
|
16
|
+
json: response,
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=getStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStatus.js","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/dataExport/getStatus.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAKH,8BAiBC;AAnBD,+CAAsD;AAE/C,KAAK,UAAU,SAAS,CAE7B,KAAa;IAEb,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,KAAK,CAAW,CAAC;IAE9D,MAAM,QAAQ,GAAG,MAAM,+BAAmB,CAAC,IAAI,CAC7C,IAAI,EACJ,KAAK,EACL,eAAe,kBAAkB,CAAC,KAAK,CAAC,EAAE,CAC3C,CAAC;IAEF,OAAO;QACL;YACE,IAAI,EAAE,QAAQ;SACf;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/dataExport/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.cancel = exports.list = exports.download = exports.getStatus = exports.create = void 0;
|
|
10
|
+
var create_1 = require("./create");
|
|
11
|
+
Object.defineProperty(exports, "create", { enumerable: true, get: function () { return create_1.create; } });
|
|
12
|
+
var getStatus_1 = require("./getStatus");
|
|
13
|
+
Object.defineProperty(exports, "getStatus", { enumerable: true, get: function () { return getStatus_1.getStatus; } });
|
|
14
|
+
var download_1 = require("./download");
|
|
15
|
+
Object.defineProperty(exports, "download", { enumerable: true, get: function () { return download_1.download; } });
|
|
16
|
+
var list_1 = require("./list");
|
|
17
|
+
Object.defineProperty(exports, "list", { enumerable: true, get: function () { return list_1.list; } });
|
|
18
|
+
var cancel_1 = require("./cancel");
|
|
19
|
+
Object.defineProperty(exports, "cancel", { enumerable: true, get: function () { return cancel_1.cancel; } });
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/dataExport/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,mCAAkC;AAAzB,gGAAA,MAAM,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/dataExport/list.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAG1E,wBAAsB,IAAI,CAAC,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAYhG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.list = list;
|
|
10
|
+
const transport_1 = require("../../transport");
|
|
11
|
+
async function list(index) {
|
|
12
|
+
const returnAll = this.getNodeParameter('returnAll', index);
|
|
13
|
+
const limit = this.getNodeParameter('limit', index, 50);
|
|
14
|
+
if (returnAll) {
|
|
15
|
+
const response = await transport_1.userPilotApiRequestAllItems.call(this, 'GET', '/v1/exports');
|
|
16
|
+
return response.map((item) => ({ json: item }));
|
|
17
|
+
}
|
|
18
|
+
const response = await transport_1.userPilotApiRequest.call(this, 'GET', '/v1/exports', undefined, { limit });
|
|
19
|
+
const items = response.results || response.data || response;
|
|
20
|
+
return Array.isArray(items) ? items.map((item) => ({ json: item })) : [{ json: items }];
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/dataExport/list.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAKH,oBAYC;AAdD,+CAAmF;AAE5E,KAAK,UAAU,IAAI,CAA0B,KAAa;IAC/D,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,KAAK,CAAY,CAAC;IACvE,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CAAW,CAAC;IAElE,IAAI,SAAS,EAAE,CAAC;QACd,MAAM,QAAQ,GAAG,MAAM,uCAA2B,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,aAAa,CAAC,CAAC;QACpF,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACvD,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,+BAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IAClG,MAAM,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC;IAC5D,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;AAC/F,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulkImport.d.ts","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/event/bulkImport.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAG1E,wBAAsB,UAAU,CAC9B,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,kBAAkB,EAAE,CAAC,CA6B/B"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.bulkImport = bulkImport;
|
|
10
|
+
const transport_1 = require("../../transport");
|
|
11
|
+
async function bulkImport(index) {
|
|
12
|
+
const binaryPropertyName = this.getNodeParameter('binaryPropertyName', index, 'data');
|
|
13
|
+
const items = this.getInputData();
|
|
14
|
+
const item = items[index];
|
|
15
|
+
if (!item.binary || !item.binary[binaryPropertyName]) {
|
|
16
|
+
throw new Error(`No binary data found in property "${binaryPropertyName}"`);
|
|
17
|
+
}
|
|
18
|
+
const binaryData = item.binary[binaryPropertyName];
|
|
19
|
+
const fileBuffer = await this.helpers.getBinaryDataBuffer(index, binaryPropertyName);
|
|
20
|
+
const fileName = binaryData.fileName || 'events.csv';
|
|
21
|
+
const response = await transport_1.userPilotApiFileUpload.call(this, '/v1/events/import', fileBuffer, fileName);
|
|
22
|
+
return [
|
|
23
|
+
{
|
|
24
|
+
json: {
|
|
25
|
+
success: true,
|
|
26
|
+
file_name: fileName,
|
|
27
|
+
...response,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=bulkImport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulkImport.js","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/event/bulkImport.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAKH,gCAgCC;AAlCD,+CAAyD;AAElD,KAAK,UAAU,UAAU,CAE9B,KAAa;IAEb,MAAM,kBAAkB,GAAG,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,KAAK,EAAE,MAAM,CAAW,CAAC;IAChG,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;IAClC,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;IAE1B,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,EAAE,CAAC;QACrD,MAAM,IAAI,KAAK,CAAC,qCAAqC,kBAAkB,GAAG,CAAC,CAAC;IAC9E,CAAC;IAED,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;IACnD,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC;IACrF,MAAM,QAAQ,GAAG,UAAU,CAAC,QAAQ,IAAI,YAAY,CAAC;IAErD,MAAM,QAAQ,GAAG,MAAM,kCAAsB,CAAC,IAAI,CAChD,IAAI,EACJ,mBAAmB,EACnB,UAAU,EACV,QAAQ,CACT,CAAC;IAEF,OAAO;QACL;YACE,IAAI,EAAE;gBACJ,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,QAAQ;gBACnB,GAAG,QAAQ;aACZ;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulkTrack.d.ts","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/event/bulkTrack.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAe,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAIvF,wBAAsB,SAAS,CAC7B,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAkC/B"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.bulkTrack = bulkTrack;
|
|
10
|
+
const transport_1 = require("../../transport");
|
|
11
|
+
const utils_1 = require("../../utils");
|
|
12
|
+
async function bulkTrack(index) {
|
|
13
|
+
const eventsInput = this.getNodeParameter('events', index);
|
|
14
|
+
let events;
|
|
15
|
+
if (typeof eventsInput === 'string') {
|
|
16
|
+
const parsed = (0, utils_1.parseJsonInput)(eventsInput);
|
|
17
|
+
events = Array.isArray(parsed) ? parsed : [parsed];
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
events = Array.isArray(eventsInput) ? eventsInput : [eventsInput];
|
|
21
|
+
}
|
|
22
|
+
(0, utils_1.validateBulkLimits)(events);
|
|
23
|
+
const body = {
|
|
24
|
+
events: events.map((event) => ({
|
|
25
|
+
user_id: event.user_id || event.userId,
|
|
26
|
+
event_name: event.event_name || event.eventName,
|
|
27
|
+
metadata: event.metadata || event.properties || {},
|
|
28
|
+
created_at: event.created_at || event.timestamp || new Date().toISOString(),
|
|
29
|
+
})),
|
|
30
|
+
};
|
|
31
|
+
const response = await transport_1.userPilotApiRequest.call(this, 'POST', '/v1/track/bulk', body);
|
|
32
|
+
return [
|
|
33
|
+
{
|
|
34
|
+
json: {
|
|
35
|
+
success: true,
|
|
36
|
+
total_events: events.length,
|
|
37
|
+
...response,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
];
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=bulkTrack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulkTrack.js","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/event/bulkTrack.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAMH,8BAqCC;AAxCD,+CAAsD;AACtD,uCAAiE;AAE1D,KAAK,UAAU,SAAS,CAE7B,KAAa;IAEb,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,KAAK,CAA2B,CAAC;IAErF,IAAI,MAAqB,CAAC;IAE1B,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE,CAAC;QACpC,MAAM,MAAM,GAAG,IAAA,sBAAc,EAAC,WAAW,CAAC,CAAC;QAC3C,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;IACrD,CAAC;SAAM,CAAC;QACN,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;IACpE,CAAC;IAED,IAAA,0BAAkB,EAAC,MAAM,CAAC,CAAC;IAE3B,MAAM,IAAI,GAAG;QACX,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;YAC7B,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,MAAM;YACtC,UAAU,EAAE,KAAK,CAAC,UAAU,IAAI,KAAK,CAAC,SAAS;YAC/C,QAAQ,EAAE,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,UAAU,IAAI,EAAE;YAClD,UAAU,EAAE,KAAK,CAAC,UAAU,IAAI,KAAK,CAAC,SAAS,IAAI,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SAC5E,CAAC,CAAC;KACJ,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,+BAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,gBAAgB,EAAE,IAAI,CAAC,CAAC;IAEtF,OAAO;QACL;YACE,IAAI,EAAE;gBACJ,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,MAAM,CAAC,MAAM;gBAC3B,GAAG,QAAQ;aACZ;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createDefinition.d.ts","sourceRoot":"","sources":["../../../../../nodes/UserPilot/actions/event/createDefinition.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAe,MAAM,cAAc,CAAC;AAGnE,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAQ3F"}
|