n8n-nodes-propstack 0.1.0 → 0.2.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/README.md +132 -28
- package/dist/credentials/PropstackApi.credentials.d.ts +10 -0
- package/dist/credentials/PropstackApi.credentials.js +40 -0
- package/dist/credentials/PropstackApi.credentials.js.map +1 -0
- package/dist/credentials/PropstackV2Api.credentials.d.ts +10 -0
- package/dist/credentials/PropstackV2Api.credentials.js +41 -0
- package/dist/credentials/PropstackV2Api.credentials.js.map +1 -0
- package/dist/icons/propstack-logo.svg +1 -0
- package/dist/icons/propstack.dark.svg +1 -0
- package/dist/icons/propstack.svg +1 -0
- package/dist/nodes/Propstack/Propstack.node.d.ts +4 -0
- package/dist/nodes/Propstack/Propstack.node.js +30 -0
- package/dist/nodes/Propstack/Propstack.node.js.map +1 -0
- package/dist/nodes/Propstack/Propstack.node.json +17 -0
- package/dist/nodes/Propstack/PropstackTrigger.node.d.ts +12 -0
- package/dist/nodes/Propstack/PropstackTrigger.node.js +138 -0
- package/dist/nodes/Propstack/PropstackTrigger.node.js.map +1 -0
- package/dist/nodes/Propstack/PropstackTrigger.node.json +17 -0
- package/dist/nodes/Propstack/types.d.ts +59 -0
- package/dist/nodes/Propstack/types.js +3 -0
- package/dist/nodes/Propstack/types.js.map +1 -0
- package/dist/nodes/Propstack/v1/PropstackV1.d.ts +24 -0
- package/dist/nodes/Propstack/v1/PropstackV1.js +314 -0
- package/dist/nodes/Propstack/v1/PropstackV1.js.map +1 -0
- package/dist/nodes/Propstack/v1/constants.d.ts +66 -0
- package/dist/nodes/Propstack/v1/constants.js +70 -0
- package/dist/nodes/Propstack/v1/constants.js.map +1 -0
- package/dist/nodes/Propstack/v1/helpers.d.ts +7 -0
- package/dist/nodes/Propstack/v1/helpers.js +102 -0
- package/dist/nodes/Propstack/v1/helpers.js.map +1 -0
- package/dist/nodes/Propstack/v1/listSearch.d.ts +14 -0
- package/dist/nodes/Propstack/v1/listSearch.js +281 -0
- package/dist/nodes/Propstack/v1/listSearch.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/activities/activityTypesGetAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/activities/activityTypesGetAll.js +16 -0
- package/dist/nodes/Propstack/v1/resources/activities/activityTypesGetAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/activities/get.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/activities/get.js +33 -0
- package/dist/nodes/Propstack/v1/resources/activities/get.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/activities/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/activities/getAll.js +278 -0
- package/dist/nodes/Propstack/v1/resources/activities/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/activities/index.d.ts +7 -0
- package/dist/nodes/Propstack/v1/resources/activities/index.js +230 -0
- package/dist/nodes/Propstack/v1/resources/activities/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/activities/reservationReasonsGetAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/activities/reservationReasonsGetAll.js +16 -0
- package/dist/nodes/Propstack/v1/resources/activities/reservationReasonsGetAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/brokers/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/brokers/getAll.js +16 -0
- package/dist/nodes/Propstack/v1/resources/brokers/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/brokers/index.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/brokers/index.js +29 -0
- package/dist/nodes/Propstack/v1/resources/brokers/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/contacts/create.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/contacts/create.js +233 -0
- package/dist/nodes/Propstack/v1/resources/contacts/create.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/contacts/delete.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/contacts/delete.js +17 -0
- package/dist/nodes/Propstack/v1/resources/contacts/delete.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/contacts/get.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/contacts/get.js +94 -0
- package/dist/nodes/Propstack/v1/resources/contacts/get.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/contacts/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/contacts/getAll.js +287 -0
- package/dist/nodes/Propstack/v1/resources/contacts/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/contacts/index.d.ts +8 -0
- package/dist/nodes/Propstack/v1/resources/contacts/index.js +111 -0
- package/dist/nodes/Propstack/v1/resources/contacts/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/contacts/update.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/contacts/update.js +258 -0
- package/dist/nodes/Propstack/v1/resources/contacts/update.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/customFields/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/customFields/getAll.js +63 -0
- package/dist/nodes/Propstack/v1/resources/customFields/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/customFields/index.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/customFields/index.js +70 -0
- package/dist/nodes/Propstack/v1/resources/customFields/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/dealPipelines/get.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/dealPipelines/get.js +17 -0
- package/dist/nodes/Propstack/v1/resources/dealPipelines/get.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/dealPipelines/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/dealPipelines/getAll.js +16 -0
- package/dist/nodes/Propstack/v1/resources/dealPipelines/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/dealPipelines/index.d.ts +5 -0
- package/dist/nodes/Propstack/v1/resources/dealPipelines/index.js +71 -0
- package/dist/nodes/Propstack/v1/resources/dealPipelines/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/deals/create.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/deals/create.js +197 -0
- package/dist/nodes/Propstack/v1/resources/deals/create.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/deals/delete.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/deals/delete.js +17 -0
- package/dist/nodes/Propstack/v1/resources/deals/delete.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/deals/get.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/deals/get.js +59 -0
- package/dist/nodes/Propstack/v1/resources/deals/get.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/deals/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/deals/getAll.js +366 -0
- package/dist/nodes/Propstack/v1/resources/deals/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/deals/index.d.ts +8 -0
- package/dist/nodes/Propstack/v1/resources/deals/index.js +111 -0
- package/dist/nodes/Propstack/v1/resources/deals/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/deals/update.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/deals/update.js +150 -0
- package/dist/nodes/Propstack/v1/resources/deals/update.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/documents/create.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/documents/create.js +140 -0
- package/dist/nodes/Propstack/v1/resources/documents/create.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/documents/delete.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/documents/delete.js +17 -0
- package/dist/nodes/Propstack/v1/resources/documents/delete.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/documents/get.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/documents/get.js +17 -0
- package/dist/nodes/Propstack/v1/resources/documents/get.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/documents/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/documents/getAll.js +191 -0
- package/dist/nodes/Propstack/v1/resources/documents/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/documents/index.d.ts +8 -0
- package/dist/nodes/Propstack/v1/resources/documents/index.js +98 -0
- package/dist/nodes/Propstack/v1/resources/documents/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/documents/update.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/documents/update.js +137 -0
- package/dist/nodes/Propstack/v1/resources/documents/update.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/emails/get.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/emails/get.js +17 -0
- package/dist/nodes/Propstack/v1/resources/emails/get.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/emails/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/emails/getAll.js +104 -0
- package/dist/nodes/Propstack/v1/resources/emails/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/emails/index.d.ts +7 -0
- package/dist/nodes/Propstack/v1/resources/emails/index.js +89 -0
- package/dist/nodes/Propstack/v1/resources/emails/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/emails/send.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/emails/send.js +159 -0
- package/dist/nodes/Propstack/v1/resources/emails/send.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/emails/update.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/emails/update.js +110 -0
- package/dist/nodes/Propstack/v1/resources/emails/update.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/events/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/events/getAll.js +162 -0
- package/dist/nodes/Propstack/v1/resources/events/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/events/index.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/events/index.js +134 -0
- package/dist/nodes/Propstack/v1/resources/events/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/features/create.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/features/create.js +70 -0
- package/dist/nodes/Propstack/v1/resources/features/create.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/features/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/features/getAll.js +65 -0
- package/dist/nodes/Propstack/v1/resources/features/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/features/index.d.ts +6 -0
- package/dist/nodes/Propstack/v1/resources/features/index.js +123 -0
- package/dist/nodes/Propstack/v1/resources/features/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/features/parentGetAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/features/parentGetAll.js +56 -0
- package/dist/nodes/Propstack/v1/resources/features/parentGetAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/locations/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/locations/getAll.js +16 -0
- package/dist/nodes/Propstack/v1/resources/locations/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/locations/index.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/locations/index.js +29 -0
- package/dist/nodes/Propstack/v1/resources/locations/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/notes/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/notes/getAll.js +98 -0
- package/dist/nodes/Propstack/v1/resources/notes/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/notes/index.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/notes/index.js +87 -0
- package/dist/nodes/Propstack/v1/resources/notes/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/portalExport/index.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/portalExport/index.js +87 -0
- package/dist/nodes/Propstack/v1/resources/portalExport/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/portalExport/publish.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/portalExport/publish.js +88 -0
- package/dist/nodes/Propstack/v1/resources/portalExport/publish.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/projects/create.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/projects/create.js +230 -0
- package/dist/nodes/Propstack/v1/resources/projects/create.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/projects/delete.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/projects/delete.js +17 -0
- package/dist/nodes/Propstack/v1/resources/projects/delete.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/projects/get.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/projects/get.js +23 -0
- package/dist/nodes/Propstack/v1/resources/projects/get.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/projects/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/projects/getAll.js +124 -0
- package/dist/nodes/Propstack/v1/resources/projects/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/projects/index.d.ts +8 -0
- package/dist/nodes/Propstack/v1/resources/projects/index.js +111 -0
- package/dist/nodes/Propstack/v1/resources/projects/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/projects/update.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/projects/update.js +231 -0
- package/dist/nodes/Propstack/v1/resources/projects/update.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/properties/create.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/properties/create.js +359 -0
- package/dist/nodes/Propstack/v1/resources/properties/create.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/properties/delete.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/properties/delete.js +17 -0
- package/dist/nodes/Propstack/v1/resources/properties/delete.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/properties/get.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/properties/get.js +66 -0
- package/dist/nodes/Propstack/v1/resources/properties/get.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/properties/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/properties/getAll.js +493 -0
- package/dist/nodes/Propstack/v1/resources/properties/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/properties/index.d.ts +8 -0
- package/dist/nodes/Propstack/v1/resources/properties/index.js +111 -0
- package/dist/nodes/Propstack/v1/resources/properties/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/properties/update.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/properties/update.js +377 -0
- package/dist/nodes/Propstack/v1/resources/properties/update.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/create.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/create.js +292 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/create.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/delete.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/delete.js +33 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/delete.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/getAll.js +106 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/index.d.ts +7 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/index.js +448 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/update.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/update.js +287 -0
- package/dist/nodes/Propstack/v1/resources/searchProfiles/update.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/tasks/create.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/tasks/create.js +236 -0
- package/dist/nodes/Propstack/v1/resources/tasks/create.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/tasks/delete.d.ts +2 -0
- package/dist/nodes/Propstack/v1/resources/tasks/delete.js +14 -0
- package/dist/nodes/Propstack/v1/resources/tasks/delete.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/tasks/get.d.ts +2 -0
- package/dist/nodes/Propstack/v1/resources/tasks/get.js +14 -0
- package/dist/nodes/Propstack/v1/resources/tasks/get.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/tasks/getAll.d.ts +2 -0
- package/dist/nodes/Propstack/v1/resources/tasks/getAll.js +47 -0
- package/dist/nodes/Propstack/v1/resources/tasks/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/tasks/index.d.ts +8 -0
- package/dist/nodes/Propstack/v1/resources/tasks/index.js +485 -0
- package/dist/nodes/Propstack/v1/resources/tasks/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/tasks/update.d.ts +2 -0
- package/dist/nodes/Propstack/v1/resources/tasks/update.js +87 -0
- package/dist/nodes/Propstack/v1/resources/tasks/update.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/teams/create.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/teams/create.js +133 -0
- package/dist/nodes/Propstack/v1/resources/teams/create.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/teams/delete.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/teams/delete.js +17 -0
- package/dist/nodes/Propstack/v1/resources/teams/delete.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/teams/get.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/teams/get.js +17 -0
- package/dist/nodes/Propstack/v1/resources/teams/get.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/teams/getAll.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/teams/getAll.js +80 -0
- package/dist/nodes/Propstack/v1/resources/teams/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/teams/index.d.ts +8 -0
- package/dist/nodes/Propstack/v1/resources/teams/index.js +273 -0
- package/dist/nodes/Propstack/v1/resources/teams/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/teams/update.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/teams/update.js +45 -0
- package/dist/nodes/Propstack/v1/resources/teams/update.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/webhooks/create.d.ts +2 -0
- package/dist/nodes/Propstack/v1/resources/webhooks/create.js +25 -0
- package/dist/nodes/Propstack/v1/resources/webhooks/create.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/webhooks/delete.d.ts +2 -0
- package/dist/nodes/Propstack/v1/resources/webhooks/delete.js +14 -0
- package/dist/nodes/Propstack/v1/resources/webhooks/delete.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/webhooks/getAll.d.ts +2 -0
- package/dist/nodes/Propstack/v1/resources/webhooks/getAll.js +18 -0
- package/dist/nodes/Propstack/v1/resources/webhooks/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/webhooks/index.d.ts +7 -0
- package/dist/nodes/Propstack/v1/resources/webhooks/index.js +126 -0
- package/dist/nodes/Propstack/v1/resources/webhooks/index.js.map +1 -0
- package/dist/nodes/Propstack/v2/PropstackV2.d.ts +18 -0
- package/dist/nodes/Propstack/v2/PropstackV2.js +195 -0
- package/dist/nodes/Propstack/v2/PropstackV2.js.map +1 -0
- package/dist/nodes/Propstack/v2/constants.d.ts +49 -0
- package/dist/nodes/Propstack/v2/constants.js +53 -0
- package/dist/nodes/Propstack/v2/constants.js.map +1 -0
- package/dist/nodes/Propstack/v2/helpers.d.ts +20 -0
- package/dist/nodes/Propstack/v2/helpers.js +218 -0
- package/dist/nodes/Propstack/v2/helpers.js.map +1 -0
- package/dist/nodes/Propstack/v2/listSearch.d.ts +9 -0
- package/dist/nodes/Propstack/v2/listSearch.js +80 -0
- package/dist/nodes/Propstack/v2/listSearch.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/activities/index.d.ts +4 -0
- package/dist/nodes/Propstack/v2/resources/activities/index.js +20 -0
- package/dist/nodes/Propstack/v2/resources/activities/index.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/activities/scroll.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/activities/scroll.js +38 -0
- package/dist/nodes/Propstack/v2/resources/activities/scroll.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/brokers/create.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/brokers/create.js +48 -0
- package/dist/nodes/Propstack/v2/resources/brokers/create.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/brokers/fields.d.ts +5 -0
- package/dist/nodes/Propstack/v2/resources/brokers/fields.js +54 -0
- package/dist/nodes/Propstack/v2/resources/brokers/fields.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/brokers/get.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/brokers/get.js +19 -0
- package/dist/nodes/Propstack/v2/resources/brokers/get.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/brokers/getAll.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/brokers/getAll.js +57 -0
- package/dist/nodes/Propstack/v2/resources/brokers/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/brokers/index.d.ts +7 -0
- package/dist/nodes/Propstack/v2/resources/brokers/index.js +65 -0
- package/dist/nodes/Propstack/v2/resources/brokers/index.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/brokers/update.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/brokers/update.js +25 -0
- package/dist/nodes/Propstack/v2/resources/brokers/update.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/create.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/create.js +90 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/create.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/delete.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/delete.js +14 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/delete.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/fields.d.ts +5 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/fields.js +118 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/fields.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/get.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/get.js +20 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/get.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/getAll.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/getAll.js +125 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/index.d.ts +9 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/index.js +116 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/index.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/scroll.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/scroll.js +69 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/scroll.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/update.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/update.js +45 -0
- package/dist/nodes/Propstack/v2/resources/clientProperties/update.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clients/create.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/clients/create.js +33 -0
- package/dist/nodes/Propstack/v2/resources/clients/create.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clients/delete.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/clients/delete.js +14 -0
- package/dist/nodes/Propstack/v2/resources/clients/delete.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clients/fields.d.ts +5 -0
- package/dist/nodes/Propstack/v2/resources/clients/fields.js +470 -0
- package/dist/nodes/Propstack/v2/resources/clients/fields.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clients/get.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/clients/get.js +20 -0
- package/dist/nodes/Propstack/v2/resources/clients/get.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clients/getAll.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/clients/getAll.js +115 -0
- package/dist/nodes/Propstack/v2/resources/clients/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clients/getDeleted.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/clients/getDeleted.js +81 -0
- package/dist/nodes/Propstack/v2/resources/clients/getDeleted.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clients/index.d.ts +10 -0
- package/dist/nodes/Propstack/v2/resources/clients/index.js +127 -0
- package/dist/nodes/Propstack/v2/resources/clients/index.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clients/scroll.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/clients/scroll.js +71 -0
- package/dist/nodes/Propstack/v2/resources/clients/scroll.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/clients/update.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/clients/update.js +34 -0
- package/dist/nodes/Propstack/v2/resources/clients/update.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/customFields/create.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/customFields/create.js +42 -0
- package/dist/nodes/Propstack/v2/resources/customFields/create.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/customFields/createOption.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/customFields/createOption.js +27 -0
- package/dist/nodes/Propstack/v2/resources/customFields/createOption.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/customFields/delete.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/customFields/delete.js +11 -0
- package/dist/nodes/Propstack/v2/resources/customFields/delete.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/customFields/deleteOption.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/customFields/deleteOption.js +23 -0
- package/dist/nodes/Propstack/v2/resources/customFields/deleteOption.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/customFields/fields.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/customFields/fields.js +18 -0
- package/dist/nodes/Propstack/v2/resources/customFields/fields.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/customFields/get.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/customFields/get.js +11 -0
- package/dist/nodes/Propstack/v2/resources/customFields/get.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/customFields/getAll.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/customFields/getAll.js +29 -0
- package/dist/nodes/Propstack/v2/resources/customFields/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/customFields/index.d.ts +10 -0
- package/dist/nodes/Propstack/v2/resources/customFields/index.js +63 -0
- package/dist/nodes/Propstack/v2/resources/customFields/index.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/customFields/update.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/customFields/update.js +29 -0
- package/dist/nodes/Propstack/v2/resources/customFields/update.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/history/get.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/history/get.js +27 -0
- package/dist/nodes/Propstack/v2/resources/history/get.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/history/index.d.ts +4 -0
- package/dist/nodes/Propstack/v2/resources/history/index.js +60 -0
- package/dist/nodes/Propstack/v2/resources/history/index.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/noteAttachments/create.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/noteAttachments/create.js +51 -0
- package/dist/nodes/Propstack/v2/resources/noteAttachments/create.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/noteAttachments/index.d.ts +4 -0
- package/dist/nodes/Propstack/v2/resources/noteAttachments/index.js +20 -0
- package/dist/nodes/Propstack/v2/resources/noteAttachments/index.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/projects/create.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/projects/create.js +30 -0
- package/dist/nodes/Propstack/v2/resources/projects/create.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/projects/delete.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/projects/delete.js +14 -0
- package/dist/nodes/Propstack/v2/resources/projects/delete.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/projects/fields.d.ts +5 -0
- package/dist/nodes/Propstack/v2/resources/projects/fields.js +114 -0
- package/dist/nodes/Propstack/v2/resources/projects/fields.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/projects/get.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/projects/get.js +20 -0
- package/dist/nodes/Propstack/v2/resources/projects/get.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/projects/getAll.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/projects/getAll.js +91 -0
- package/dist/nodes/Propstack/v2/resources/projects/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/projects/index.d.ts +8 -0
- package/dist/nodes/Propstack/v2/resources/projects/index.js +107 -0
- package/dist/nodes/Propstack/v2/resources/projects/index.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/projects/update.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/projects/update.js +31 -0
- package/dist/nodes/Propstack/v2/resources/projects/update.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/properties/create.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/properties/create.js +93 -0
- package/dist/nodes/Propstack/v2/resources/properties/create.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/properties/createLink.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/properties/createLink.js +98 -0
- package/dist/nodes/Propstack/v2/resources/properties/createLink.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/properties/delete.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/properties/delete.js +14 -0
- package/dist/nodes/Propstack/v2/resources/properties/delete.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/properties/deleteLink.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/properties/deleteLink.js +31 -0
- package/dist/nodes/Propstack/v2/resources/properties/deleteLink.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/properties/fields.d.ts +5 -0
- package/dist/nodes/Propstack/v2/resources/properties/fields.js +1237 -0
- package/dist/nodes/Propstack/v2/resources/properties/fields.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/properties/get.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/properties/get.js +21 -0
- package/dist/nodes/Propstack/v2/resources/properties/get.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/properties/getAll.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/properties/getAll.js +166 -0
- package/dist/nodes/Propstack/v2/resources/properties/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/properties/getDeleted.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/properties/getDeleted.js +82 -0
- package/dist/nodes/Propstack/v2/resources/properties/getDeleted.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/properties/getOptions.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/properties/getOptions.js +50 -0
- package/dist/nodes/Propstack/v2/resources/properties/getOptions.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/properties/index.d.ts +14 -0
- package/dist/nodes/Propstack/v2/resources/properties/index.js +163 -0
- package/dist/nodes/Propstack/v2/resources/properties/index.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/properties/scroll.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/properties/scroll.js +56 -0
- package/dist/nodes/Propstack/v2/resources/properties/scroll.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/properties/update.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/properties/update.js +34 -0
- package/dist/nodes/Propstack/v2/resources/properties/update.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/properties/updateLink.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/properties/updateLink.js +100 -0
- package/dist/nodes/Propstack/v2/resources/properties/updateLink.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/reference/getAll.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/reference/getAll.js +30 -0
- package/dist/nodes/Propstack/v2/resources/reference/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/reference/index.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/reference/index.js +55 -0
- package/dist/nodes/Propstack/v2/resources/reference/index.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/relationships/create.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/relationships/create.js +64 -0
- package/dist/nodes/Propstack/v2/resources/relationships/create.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/relationships/delete.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/relationships/delete.js +11 -0
- package/dist/nodes/Propstack/v2/resources/relationships/delete.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/relationships/getAll.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/relationships/getAll.js +53 -0
- package/dist/nodes/Propstack/v2/resources/relationships/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/relationships/index.d.ts +6 -0
- package/dist/nodes/Propstack/v2/resources/relationships/index.js +48 -0
- package/dist/nodes/Propstack/v2/resources/relationships/index.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/snippets/addAttachment.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/snippets/addAttachment.js +36 -0
- package/dist/nodes/Propstack/v2/resources/snippets/addAttachment.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/snippets/create.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/snippets/create.js +43 -0
- package/dist/nodes/Propstack/v2/resources/snippets/create.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/snippets/delete.d.ts +2 -0
- package/dist/nodes/Propstack/v2/resources/snippets/delete.js +11 -0
- package/dist/nodes/Propstack/v2/resources/snippets/delete.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/snippets/fields.d.ts +4 -0
- package/dist/nodes/Propstack/v2/resources/snippets/fields.js +19 -0
- package/dist/nodes/Propstack/v2/resources/snippets/fields.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/snippets/getAll.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/snippets/getAll.js +45 -0
- package/dist/nodes/Propstack/v2/resources/snippets/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/snippets/index.d.ts +8 -0
- package/dist/nodes/Propstack/v2/resources/snippets/index.js +56 -0
- package/dist/nodes/Propstack/v2/resources/snippets/index.js.map +1 -0
- package/dist/nodes/Propstack/v2/resources/snippets/update.d.ts +3 -0
- package/dist/nodes/Propstack/v2/resources/snippets/update.js +29 -0
- package/dist/nodes/Propstack/v2/resources/snippets/update.js.map +1 -0
- package/dist/package.json +71 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +69 -29
- package/index.js +0 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type IExecuteFunctions, type INodeExecutionData, type INodeType, type INodeTypeBaseDescription, type INodeTypeDescription } from "n8n-workflow";
|
|
2
|
+
import { searchActivities, searchContacts, searchDeals, searchDealPipelines, searchDocuments, searchEmails, searchParentFeatures, searchProjects, searchProperties, searchSearchProfiles, searchTasks, searchTeams, searchWebhooks } from "./listSearch";
|
|
3
|
+
export declare class PropstackV1 implements INodeType {
|
|
4
|
+
description: INodeTypeDescription;
|
|
5
|
+
constructor(baseDescription: INodeTypeBaseDescription);
|
|
6
|
+
methods: {
|
|
7
|
+
listSearch: {
|
|
8
|
+
searchActivities: typeof searchActivities;
|
|
9
|
+
searchContacts: typeof searchContacts;
|
|
10
|
+
searchDeals: typeof searchDeals;
|
|
11
|
+
searchDealPipelines: typeof searchDealPipelines;
|
|
12
|
+
searchDocuments: typeof searchDocuments;
|
|
13
|
+
searchEmails: typeof searchEmails;
|
|
14
|
+
searchParentFeatures: typeof searchParentFeatures;
|
|
15
|
+
searchProjects: typeof searchProjects;
|
|
16
|
+
searchProperties: typeof searchProperties;
|
|
17
|
+
searchSearchProfiles: typeof searchSearchProfiles;
|
|
18
|
+
searchTasks: typeof searchTasks;
|
|
19
|
+
searchTeams: typeof searchTeams;
|
|
20
|
+
searchWebhooks: typeof searchWebhooks;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PropstackV1 = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const constants_1 = require("./constants");
|
|
6
|
+
const listSearch_1 = require("./listSearch");
|
|
7
|
+
const contacts_1 = require("./resources/contacts");
|
|
8
|
+
const properties_1 = require("./resources/properties");
|
|
9
|
+
const deals_1 = require("./resources/deals");
|
|
10
|
+
const emails_1 = require("./resources/emails");
|
|
11
|
+
const documents_1 = require("./resources/documents");
|
|
12
|
+
const projects_1 = require("./resources/projects");
|
|
13
|
+
const tasks_1 = require("./resources/tasks");
|
|
14
|
+
const teams_1 = require("./resources/teams");
|
|
15
|
+
const activities_1 = require("./resources/activities");
|
|
16
|
+
const customFields_1 = require("./resources/customFields");
|
|
17
|
+
const dealPipelines_1 = require("./resources/dealPipelines");
|
|
18
|
+
const locations_1 = require("./resources/locations");
|
|
19
|
+
const features_1 = require("./resources/features");
|
|
20
|
+
const brokers_1 = require("./resources/brokers");
|
|
21
|
+
const portalExport_1 = require("./resources/portalExport");
|
|
22
|
+
const searchProfiles_1 = require("./resources/searchProfiles");
|
|
23
|
+
const events_1 = require("./resources/events");
|
|
24
|
+
const notes_1 = require("./resources/notes");
|
|
25
|
+
const webhooks_1 = require("./resources/webhooks");
|
|
26
|
+
class PropstackV1 {
|
|
27
|
+
constructor(baseDescription) {
|
|
28
|
+
this.methods = {
|
|
29
|
+
listSearch: {
|
|
30
|
+
searchActivities: listSearch_1.searchActivities,
|
|
31
|
+
searchContacts: listSearch_1.searchContacts,
|
|
32
|
+
searchDeals: listSearch_1.searchDeals,
|
|
33
|
+
searchDealPipelines: listSearch_1.searchDealPipelines,
|
|
34
|
+
searchDocuments: listSearch_1.searchDocuments,
|
|
35
|
+
searchEmails: listSearch_1.searchEmails,
|
|
36
|
+
searchParentFeatures: listSearch_1.searchParentFeatures,
|
|
37
|
+
searchProjects: listSearch_1.searchProjects,
|
|
38
|
+
searchProperties: listSearch_1.searchProperties,
|
|
39
|
+
searchSearchProfiles: listSearch_1.searchSearchProfiles,
|
|
40
|
+
searchTasks: listSearch_1.searchTasks,
|
|
41
|
+
searchTeams: listSearch_1.searchTeams,
|
|
42
|
+
searchWebhooks: listSearch_1.searchWebhooks,
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
this.description = {
|
|
46
|
+
...baseDescription,
|
|
47
|
+
version: 1,
|
|
48
|
+
defaults: {
|
|
49
|
+
name: "Propstack",
|
|
50
|
+
},
|
|
51
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
52
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
53
|
+
credentials: [
|
|
54
|
+
{
|
|
55
|
+
name: "propstackApi",
|
|
56
|
+
required: true,
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
requestDefaults: {
|
|
60
|
+
baseURL: constants_1.API_ENDPOINTS.BASE_URL,
|
|
61
|
+
headers: {
|
|
62
|
+
Accept: "application/json",
|
|
63
|
+
"Content-Type": "application/json",
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
properties: [
|
|
67
|
+
{
|
|
68
|
+
displayName: "Resource",
|
|
69
|
+
name: "resource",
|
|
70
|
+
type: "options",
|
|
71
|
+
noDataExpression: true,
|
|
72
|
+
options: [
|
|
73
|
+
{
|
|
74
|
+
name: "Activity",
|
|
75
|
+
value: "activities",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: "Broker",
|
|
79
|
+
value: "brokers",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: "Contact",
|
|
83
|
+
value: "contacts",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: "Custom Field",
|
|
87
|
+
value: "customFields",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: "Deal",
|
|
91
|
+
value: "deals",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: "Deal Pipeline",
|
|
95
|
+
value: "dealPipelines",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: "Document",
|
|
99
|
+
value: "documents",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: "Email",
|
|
103
|
+
value: "emails",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: "Event",
|
|
107
|
+
value: "events",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: "Feature",
|
|
111
|
+
value: "features",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
name: "Location",
|
|
115
|
+
value: "locations",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: "Note",
|
|
119
|
+
value: "notes",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: "Portal Export",
|
|
123
|
+
value: "portalExport",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: "Project",
|
|
127
|
+
value: "projects",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: "Property",
|
|
131
|
+
value: "properties",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
name: "Search Profile",
|
|
135
|
+
value: "searchProfiles",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
name: "Task",
|
|
139
|
+
value: "tasks",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: "Team",
|
|
143
|
+
value: "teams",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: "Webhook",
|
|
147
|
+
value: "webhooks",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
default: "contacts",
|
|
151
|
+
},
|
|
152
|
+
...activities_1.activitiesOperations,
|
|
153
|
+
...activities_1.activitiesFields,
|
|
154
|
+
...brokers_1.brokersOperations,
|
|
155
|
+
...brokers_1.brokersFields,
|
|
156
|
+
...contacts_1.contactsDescription,
|
|
157
|
+
...customFields_1.customFieldsOperations,
|
|
158
|
+
...customFields_1.customFieldsFields,
|
|
159
|
+
...deals_1.dealsDescription,
|
|
160
|
+
...dealPipelines_1.dealPipelinesOperations,
|
|
161
|
+
...dealPipelines_1.dealPipelinesFields,
|
|
162
|
+
...documents_1.documentsDescription,
|
|
163
|
+
...emails_1.emailsDescription,
|
|
164
|
+
...events_1.eventsOperations,
|
|
165
|
+
...events_1.eventsFields,
|
|
166
|
+
...features_1.featuresOperations,
|
|
167
|
+
...features_1.featuresFields,
|
|
168
|
+
...locations_1.locationsOperations,
|
|
169
|
+
...locations_1.locationsFields,
|
|
170
|
+
...notes_1.notesOperations,
|
|
171
|
+
...notes_1.notesFields,
|
|
172
|
+
...portalExport_1.portalExportOperations,
|
|
173
|
+
...portalExport_1.portalExportFields,
|
|
174
|
+
...projects_1.projectsDescription,
|
|
175
|
+
...properties_1.propertiesDescription,
|
|
176
|
+
...searchProfiles_1.searchProfilesOperations,
|
|
177
|
+
...searchProfiles_1.searchProfilesFields,
|
|
178
|
+
...tasks_1.tasksOperations,
|
|
179
|
+
...tasks_1.tasksFields,
|
|
180
|
+
...teams_1.teamsOperations,
|
|
181
|
+
...teams_1.teamsFields,
|
|
182
|
+
...webhooks_1.webhooksOperations,
|
|
183
|
+
...webhooks_1.webhooksFields,
|
|
184
|
+
],
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
async execute() {
|
|
188
|
+
var _a;
|
|
189
|
+
const resource = this.getNodeParameter("resource", 0);
|
|
190
|
+
const operation = this.getNodeParameter("operation", 0);
|
|
191
|
+
await this.getCredentials("propstackApi");
|
|
192
|
+
const handlers = {
|
|
193
|
+
activities: {
|
|
194
|
+
get: activities_1.activitiesGet,
|
|
195
|
+
getAll: activities_1.activitiesGetAll,
|
|
196
|
+
getActivityTypes: activities_1.activityTypesGetAll,
|
|
197
|
+
getReservationReasons: activities_1.reservationReasonsGetAll,
|
|
198
|
+
},
|
|
199
|
+
brokers: {
|
|
200
|
+
getAll: brokers_1.brokersGetAll,
|
|
201
|
+
},
|
|
202
|
+
customFields: {
|
|
203
|
+
getAll: customFields_1.customFieldsGetAll,
|
|
204
|
+
},
|
|
205
|
+
contacts: {
|
|
206
|
+
create: contacts_1.contactsCreate,
|
|
207
|
+
delete: contacts_1.contactsDelete,
|
|
208
|
+
get: contacts_1.contactsGet,
|
|
209
|
+
getAll: contacts_1.contactsGetAll,
|
|
210
|
+
update: contacts_1.contactsUpdate,
|
|
211
|
+
},
|
|
212
|
+
deals: {
|
|
213
|
+
create: deals_1.dealsCreate,
|
|
214
|
+
delete: deals_1.dealsDelete,
|
|
215
|
+
get: deals_1.dealsGet,
|
|
216
|
+
getAll: deals_1.dealsGetAll,
|
|
217
|
+
update: deals_1.dealsUpdate,
|
|
218
|
+
},
|
|
219
|
+
dealPipelines: {
|
|
220
|
+
get: dealPipelines_1.dealPipelinesGet,
|
|
221
|
+
getAll: dealPipelines_1.dealPipelinesGetAll,
|
|
222
|
+
},
|
|
223
|
+
documents: {
|
|
224
|
+
create: documents_1.documentsCreate,
|
|
225
|
+
delete: documents_1.documentsDelete,
|
|
226
|
+
get: documents_1.documentsGet,
|
|
227
|
+
getAll: documents_1.documentsGetAll,
|
|
228
|
+
update: documents_1.documentsUpdate,
|
|
229
|
+
},
|
|
230
|
+
emails: {
|
|
231
|
+
get: emails_1.emailsGet,
|
|
232
|
+
getAll: emails_1.emailsGetAll,
|
|
233
|
+
send: emails_1.emailsSend,
|
|
234
|
+
update: emails_1.emailsUpdate,
|
|
235
|
+
},
|
|
236
|
+
events: {
|
|
237
|
+
getAll: events_1.eventsGetAll,
|
|
238
|
+
},
|
|
239
|
+
features: {
|
|
240
|
+
create: features_1.featuresCreate,
|
|
241
|
+
getAll: features_1.featuresGetAll,
|
|
242
|
+
getParentFeatures: features_1.featuresParentGetAll,
|
|
243
|
+
},
|
|
244
|
+
locations: {
|
|
245
|
+
getAll: locations_1.locationsGetAll,
|
|
246
|
+
},
|
|
247
|
+
notes: {
|
|
248
|
+
getAll: notes_1.notesGetAll,
|
|
249
|
+
},
|
|
250
|
+
portalExport: {
|
|
251
|
+
publish: portalExport_1.portalExportPublish,
|
|
252
|
+
},
|
|
253
|
+
projects: {
|
|
254
|
+
create: projects_1.projectsCreate,
|
|
255
|
+
delete: projects_1.projectsDelete,
|
|
256
|
+
get: projects_1.projectsGet,
|
|
257
|
+
getAll: projects_1.projectsGetAll,
|
|
258
|
+
update: projects_1.projectsUpdate,
|
|
259
|
+
},
|
|
260
|
+
properties: {
|
|
261
|
+
create: properties_1.propertiesCreate,
|
|
262
|
+
delete: properties_1.propertiesDelete,
|
|
263
|
+
get: properties_1.propertiesGet,
|
|
264
|
+
getAll: properties_1.propertiesGetAll,
|
|
265
|
+
update: properties_1.propertiesUpdate,
|
|
266
|
+
},
|
|
267
|
+
searchProfiles: {
|
|
268
|
+
create: searchProfiles_1.searchProfilesCreate,
|
|
269
|
+
delete: searchProfiles_1.searchProfilesDelete,
|
|
270
|
+
getAll: searchProfiles_1.searchProfilesGetAll,
|
|
271
|
+
update: searchProfiles_1.searchProfilesUpdate,
|
|
272
|
+
},
|
|
273
|
+
tasks: {
|
|
274
|
+
create: tasks_1.tasksCreate,
|
|
275
|
+
delete: tasks_1.tasksDelete,
|
|
276
|
+
get: tasks_1.tasksGet,
|
|
277
|
+
getAll: tasks_1.tasksGetAll,
|
|
278
|
+
update: tasks_1.tasksUpdate,
|
|
279
|
+
},
|
|
280
|
+
teams: {
|
|
281
|
+
create: teams_1.teamsCreate,
|
|
282
|
+
delete: teams_1.teamsDelete,
|
|
283
|
+
get: teams_1.teamsGet,
|
|
284
|
+
getAll: teams_1.teamsGetAll,
|
|
285
|
+
update: teams_1.teamsUpdate,
|
|
286
|
+
},
|
|
287
|
+
webhooks: {
|
|
288
|
+
create: webhooks_1.webhooksCreate,
|
|
289
|
+
delete: webhooks_1.webhooksDelete,
|
|
290
|
+
getAll: webhooks_1.webhooksGetAll,
|
|
291
|
+
},
|
|
292
|
+
};
|
|
293
|
+
try {
|
|
294
|
+
const handler = (_a = handlers[resource]) === null || _a === void 0 ? void 0 : _a[operation];
|
|
295
|
+
if (!handler) {
|
|
296
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unsupported operation "${operation}" for resource "${resource}"`);
|
|
297
|
+
}
|
|
298
|
+
const res = await handler.call(this);
|
|
299
|
+
return [res];
|
|
300
|
+
}
|
|
301
|
+
catch (error) {
|
|
302
|
+
if (this.continueOnFail()) {
|
|
303
|
+
const message = error instanceof Error ? error.message : `${error}`;
|
|
304
|
+
return [[{ json: { error: message }, pairedItem: { item: 0 } }]];
|
|
305
|
+
}
|
|
306
|
+
if (error instanceof n8n_workflow_1.NodeApiError || error instanceof n8n_workflow_1.NodeOperationError) {
|
|
307
|
+
throw error;
|
|
308
|
+
}
|
|
309
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), error instanceof Error ? error.message : `${error}`);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
exports.PropstackV1 = PropstackV1;
|
|
314
|
+
//# sourceMappingURL=PropstackV1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropstackV1.js","sourceRoot":"","sources":["../../../../nodes/Propstack/v1/PropstackV1.ts"],"names":[],"mappings":";;;AAAA,+CASsB;AACtB,2CAA4C;AAC5C,6CAcsB;AACtB,mDAO8B;A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E,CAAC;gBACpE,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;YACnE,CAAC;YACD,IAAI,KAAK,YAAY,2BAAY,IAAI,KAAK,YAAY,iCAAkB,EAAE,CAAC;gBACzE,MAAM,KAAK,CAAC;YACd,CAAC;YACD,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC;QACpG,CAAC;IACH,CAAC;CACF;AA7SD,kCA6SC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare const API_ENDPOINTS: {
|
|
2
|
+
BASE_URL: string;
|
|
3
|
+
CONTACTS_CREATE: string;
|
|
4
|
+
CONTACTS_DELETE: (id: string) => string;
|
|
5
|
+
CONTACTS_GET: (id: string) => string;
|
|
6
|
+
CONTACTS_GET_ALL: string;
|
|
7
|
+
CONTACTS_UPDATE: (id: string) => string;
|
|
8
|
+
PROPERTIES_CREATE: string;
|
|
9
|
+
PROPERTIES_DELETE: (id: string) => string;
|
|
10
|
+
PROPERTIES_GET: (id: string) => string;
|
|
11
|
+
PROPERTIES_GET_ALL: string;
|
|
12
|
+
PROPERTIES_UPDATE: (id: string) => string;
|
|
13
|
+
PROPERTY_STATUSES_GET_ALL: string;
|
|
14
|
+
DEALS_CREATE: string;
|
|
15
|
+
DEALS_DELETE: (id: string) => string;
|
|
16
|
+
DEALS_GET: (id: string) => string;
|
|
17
|
+
DEALS_GET_ALL: string;
|
|
18
|
+
DEALS_UPDATE: (id: string) => string;
|
|
19
|
+
EMAILS_SEND: string;
|
|
20
|
+
EMAILS_GET: (id: string) => string;
|
|
21
|
+
EMAILS_GET_ALL: string;
|
|
22
|
+
EMAILS_UPDATE: (id: string) => string;
|
|
23
|
+
DOCUMENTS_CREATE: string;
|
|
24
|
+
DOCUMENTS_DELETE: (id: string) => string;
|
|
25
|
+
DOCUMENTS_GET: (id: string) => string;
|
|
26
|
+
DOCUMENTS_GET_ALL: string;
|
|
27
|
+
DOCUMENTS_UPDATE: (id: string) => string;
|
|
28
|
+
DOCUMENTS_TAGS_GET_ALL: string;
|
|
29
|
+
PROJECTS_CREATE: string;
|
|
30
|
+
PROJECTS_DELETE: (id: string) => string;
|
|
31
|
+
PROJECTS_GET: (id: string) => string;
|
|
32
|
+
PROJECTS_GET_ALL: string;
|
|
33
|
+
PROJECTS_UPDATE: (id: string) => string;
|
|
34
|
+
TASKS_CREATE: string;
|
|
35
|
+
TASKS_DELETE: (id: string) => string;
|
|
36
|
+
TASKS_GET: (id: string) => string;
|
|
37
|
+
TASKS_GET_ALL: string;
|
|
38
|
+
TASKS_UPDATE: (id: string) => string;
|
|
39
|
+
TEAMS_CREATE: string;
|
|
40
|
+
TEAMS_DELETE: (id: string) => string;
|
|
41
|
+
TEAMS_GET: (id: string) => string;
|
|
42
|
+
TEAMS_GET_ALL: string;
|
|
43
|
+
TEAMS_UPDATE: (id: string) => string;
|
|
44
|
+
ACTIVITIES_GET: (id: string) => string;
|
|
45
|
+
ACTIVITIES_GET_ALL: string;
|
|
46
|
+
ACTIVITY_TYPES_GET_ALL: string;
|
|
47
|
+
RESERVATION_REASONS_GET_ALL: string;
|
|
48
|
+
CUSTOM_FIELDS_GET_ALL: string;
|
|
49
|
+
DEAL_PIPELINES_GET: (id: string) => string;
|
|
50
|
+
DEAL_PIPELINES_GET_ALL: string;
|
|
51
|
+
LOCATIONS_GET_ALL: string;
|
|
52
|
+
FEATURES_CREATE: string;
|
|
53
|
+
FEATURES_GET_ALL: string;
|
|
54
|
+
FEATURES_PARENT_GET_ALL: string;
|
|
55
|
+
BROKERS_GET_ALL: string;
|
|
56
|
+
PORTAL_EXPORT: string;
|
|
57
|
+
SEARCH_PROFILES_CREATE: string;
|
|
58
|
+
SEARCH_PROFILES_DELETE: (id: string) => string;
|
|
59
|
+
SEARCH_PROFILES_GET_ALL: string;
|
|
60
|
+
SEARCH_PROFILES_UPDATE: (id: string) => string;
|
|
61
|
+
EVENTS_GET_ALL: string;
|
|
62
|
+
NOTES_GET_ALL: string;
|
|
63
|
+
WEBHOOKS_CREATE: string;
|
|
64
|
+
WEBHOOKS_DELETE: (id: string) => string;
|
|
65
|
+
WEBHOOKS_GET_ALL: string;
|
|
66
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.API_ENDPOINTS = void 0;
|
|
4
|
+
exports.API_ENDPOINTS = {
|
|
5
|
+
BASE_URL: "https://api.propstack.de",
|
|
6
|
+
CONTACTS_CREATE: "/v1/contacts",
|
|
7
|
+
CONTACTS_DELETE: (id) => `/v1/contacts/${id}`,
|
|
8
|
+
CONTACTS_GET: (id) => `/v1/contacts/${id}`,
|
|
9
|
+
CONTACTS_GET_ALL: "/v1/contacts",
|
|
10
|
+
CONTACTS_UPDATE: (id) => `/v1/contacts/${id}`,
|
|
11
|
+
PROPERTIES_CREATE: "/v1/units",
|
|
12
|
+
PROPERTIES_DELETE: (id) => `/v1/units/${id}`,
|
|
13
|
+
PROPERTIES_GET: (id) => `/v1/units/${id}`,
|
|
14
|
+
PROPERTIES_GET_ALL: "/v1/units",
|
|
15
|
+
PROPERTIES_UPDATE: (id) => `/v1/units/${id}`,
|
|
16
|
+
PROPERTY_STATUSES_GET_ALL: "/v1/property_statuses",
|
|
17
|
+
DEALS_CREATE: "/v1/client_properties",
|
|
18
|
+
DEALS_DELETE: (id) => `/v1/client_properties/${id}`,
|
|
19
|
+
DEALS_GET: (id) => `/v1/client_properties/${id}`,
|
|
20
|
+
DEALS_GET_ALL: "/v1/client_properties",
|
|
21
|
+
DEALS_UPDATE: (id) => `/v1/client_properties/${id}`,
|
|
22
|
+
EMAILS_SEND: "/v1/messages",
|
|
23
|
+
EMAILS_GET: (id) => `/v1/messages/${id}`,
|
|
24
|
+
EMAILS_GET_ALL: "/v1/messages",
|
|
25
|
+
EMAILS_UPDATE: (id) => `/v1/messages/${id}`,
|
|
26
|
+
DOCUMENTS_CREATE: "/v1/documents",
|
|
27
|
+
DOCUMENTS_DELETE: (id) => `/v1/documents/${id}`,
|
|
28
|
+
DOCUMENTS_GET: (id) => `/v1/documents/${id}`,
|
|
29
|
+
DOCUMENTS_GET_ALL: "/v1/documents",
|
|
30
|
+
DOCUMENTS_UPDATE: (id) => `/v1/documents/${id}`,
|
|
31
|
+
DOCUMENTS_TAGS_GET_ALL: "/v1/documents/tags",
|
|
32
|
+
PROJECTS_CREATE: "/v1/projects",
|
|
33
|
+
PROJECTS_DELETE: (id) => `/v1/projects/${id}`,
|
|
34
|
+
PROJECTS_GET: (id) => `/v1/projects/${id}`,
|
|
35
|
+
PROJECTS_GET_ALL: "/v1/projects",
|
|
36
|
+
PROJECTS_UPDATE: (id) => `/v1/projects/${id}`,
|
|
37
|
+
TASKS_CREATE: "/v1/tasks",
|
|
38
|
+
TASKS_DELETE: (id) => `/v1/tasks/${id}`,
|
|
39
|
+
TASKS_GET: (id) => `/v1/tasks/${id}`,
|
|
40
|
+
TASKS_GET_ALL: "/v1/tasks",
|
|
41
|
+
TASKS_UPDATE: (id) => `/v1/tasks/${id}`,
|
|
42
|
+
TEAMS_CREATE: "/v1/teams",
|
|
43
|
+
TEAMS_DELETE: (id) => `/v1/teams/${id}`,
|
|
44
|
+
TEAMS_GET: (id) => `/v1/teams/${id}`,
|
|
45
|
+
TEAMS_GET_ALL: "/v1/teams",
|
|
46
|
+
TEAMS_UPDATE: (id) => `/v1/teams/${id}`,
|
|
47
|
+
ACTIVITIES_GET: (id) => `/v1/activities/${id}`,
|
|
48
|
+
ACTIVITIES_GET_ALL: "/v1/activities",
|
|
49
|
+
ACTIVITY_TYPES_GET_ALL: "/v1/activity_types",
|
|
50
|
+
RESERVATION_REASONS_GET_ALL: "/v1/reservation_reasons",
|
|
51
|
+
CUSTOM_FIELDS_GET_ALL: "/v1/custom_field_groups",
|
|
52
|
+
DEAL_PIPELINES_GET: (id) => `/v1/deal_pipelines/${id}`,
|
|
53
|
+
DEAL_PIPELINES_GET_ALL: "/v1/deal_pipelines",
|
|
54
|
+
LOCATIONS_GET_ALL: "/v1/locations",
|
|
55
|
+
FEATURES_CREATE: "/v1/groups",
|
|
56
|
+
FEATURES_GET_ALL: "/v1/groups",
|
|
57
|
+
FEATURES_PARENT_GET_ALL: "/v1/super_groups",
|
|
58
|
+
BROKERS_GET_ALL: "/v1/brokers",
|
|
59
|
+
PORTAL_EXPORT: "/v1/portals/publish",
|
|
60
|
+
SEARCH_PROFILES_CREATE: "/v1/saved_queries",
|
|
61
|
+
SEARCH_PROFILES_DELETE: (id) => `/v1/saved_queries/${id}`,
|
|
62
|
+
SEARCH_PROFILES_GET_ALL: "/v1/saved_queries",
|
|
63
|
+
SEARCH_PROFILES_UPDATE: (id) => `/v1/saved_queries/${id}`,
|
|
64
|
+
EVENTS_GET_ALL: "/v1/events",
|
|
65
|
+
NOTES_GET_ALL: "/v1/notes",
|
|
66
|
+
WEBHOOKS_CREATE: "/v1/hooks",
|
|
67
|
+
WEBHOOKS_DELETE: (id) => `/v1/hooks/${id}`,
|
|
68
|
+
WEBHOOKS_GET_ALL: "/v1/hooks",
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../nodes/Propstack/v1/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,QAAQ,EAAE,0BAA0B;IACpC,eAAe,EAAE,cAAc;IAC/B,eAAe,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,gBAAgB,EAAE,EAAE;IACrD,YAAY,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC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BAAuB,EAAE,mBAAmB;IAC5C,sBAAsB,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,qBAAqB,EAAE,EAAE;IACjE,cAAc,EAAE,YAAY;IAC5B,aAAa,EAAE,WAAW;IAC1B,eAAe,EAAE,WAAW;IAC5B,eAAe,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,aAAa,EAAE,EAAE;IAClD,gBAAgB,EAAE,WAAW;CAC9B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type IDataObject, type IExecuteFunctions, type IHookFunctions, type IHttpRequestOptions, type ILoadOptionsFunctions } from "n8n-workflow";
|
|
2
|
+
export declare function simplifyResponse(items: IDataObject[], fields: string[]): IDataObject[];
|
|
3
|
+
export declare function extractResourceLocatorValue(value: any): string;
|
|
4
|
+
export declare function propstackRequest(this: IExecuteFunctions | ILoadOptionsFunctions | IHookFunctions, options?: Partial<IHttpRequestOptions>): Promise<any>;
|
|
5
|
+
type MappingValue = string | ((v: unknown) => [string, unknown] | undefined);
|
|
6
|
+
export declare function buildQs(additional: IDataObject, mapping: Record<string, MappingValue>): IDataObject;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.simplifyResponse = simplifyResponse;
|
|
4
|
+
exports.extractResourceLocatorValue = extractResourceLocatorValue;
|
|
5
|
+
exports.propstackRequest = propstackRequest;
|
|
6
|
+
exports.buildQs = buildQs;
|
|
7
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
8
|
+
function simplifyResponse(items, fields) {
|
|
9
|
+
return items.map((item) => {
|
|
10
|
+
const simplified = {};
|
|
11
|
+
for (const field of fields) {
|
|
12
|
+
if (item[field] !== undefined) {
|
|
13
|
+
simplified[field] = item[field];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return simplified;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
const constants_1 = require("./constants");
|
|
20
|
+
function getDescriptionForStatusCode(statusCode) {
|
|
21
|
+
if (!statusCode)
|
|
22
|
+
return undefined;
|
|
23
|
+
if (statusCode === 401)
|
|
24
|
+
return "Check that your API key is valid";
|
|
25
|
+
if (statusCode === 403)
|
|
26
|
+
return "You don't have permission to access this resource";
|
|
27
|
+
if (statusCode === 404)
|
|
28
|
+
return "The requested resource was not found";
|
|
29
|
+
if (statusCode === 429)
|
|
30
|
+
return "Rate limit exceeded. Wait before retrying";
|
|
31
|
+
if (statusCode >= 500)
|
|
32
|
+
return "The Propstack API is experiencing issues. Try again later";
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
function extractResourceLocatorValue(value) {
|
|
36
|
+
var _a;
|
|
37
|
+
if (typeof value === "object" && value !== null) {
|
|
38
|
+
return String((_a = value.value) !== null && _a !== void 0 ? _a : "");
|
|
39
|
+
}
|
|
40
|
+
return String(value !== null && value !== void 0 ? value : "");
|
|
41
|
+
}
|
|
42
|
+
async function propstackRequest(options = {}) {
|
|
43
|
+
var _a;
|
|
44
|
+
const credentials = await this.getCredentials("propstackApi");
|
|
45
|
+
const apiToken = credentials === null || credentials === void 0 ? void 0 : credentials.apiToken;
|
|
46
|
+
if (!apiToken) {
|
|
47
|
+
throw new Error("propstackApi apiToken is required");
|
|
48
|
+
}
|
|
49
|
+
const headers = {
|
|
50
|
+
Accept: "application/json",
|
|
51
|
+
"Content-Type": "application/json",
|
|
52
|
+
...((_a = options.headers) !== null && _a !== void 0 ? _a : {}),
|
|
53
|
+
"X-API-KEY": apiToken,
|
|
54
|
+
};
|
|
55
|
+
const opts = {
|
|
56
|
+
baseURL: constants_1.API_ENDPOINTS.BASE_URL,
|
|
57
|
+
...options,
|
|
58
|
+
headers,
|
|
59
|
+
};
|
|
60
|
+
try {
|
|
61
|
+
return await this.helpers.httpRequest(opts);
|
|
62
|
+
}
|
|
63
|
+
catch (error) {
|
|
64
|
+
const err = error;
|
|
65
|
+
throw new n8n_workflow_1.NodeApiError(this.getNode(), error, {
|
|
66
|
+
message: err.message,
|
|
67
|
+
description: getDescriptionForStatusCode(err.httpStatusCode),
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function buildQs(additional, mapping) {
|
|
72
|
+
const qs = {};
|
|
73
|
+
if (!additional)
|
|
74
|
+
return qs;
|
|
75
|
+
for (const [field, mapTo] of Object.entries(mapping)) {
|
|
76
|
+
const val = additional[field];
|
|
77
|
+
if (val === undefined || val === "")
|
|
78
|
+
continue;
|
|
79
|
+
if (typeof mapTo === "function") {
|
|
80
|
+
const pair = mapTo(val);
|
|
81
|
+
if (!pair)
|
|
82
|
+
continue;
|
|
83
|
+
const [k, v] = pair;
|
|
84
|
+
if (v !== undefined)
|
|
85
|
+
qs[k] = v;
|
|
86
|
+
continue;
|
|
87
|
+
}
|
|
88
|
+
const key = mapTo;
|
|
89
|
+
if (Array.isArray(val)) {
|
|
90
|
+
if (val.length)
|
|
91
|
+
qs[key] = val.join(",");
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
if (typeof val === "boolean") {
|
|
95
|
+
qs[key] = val;
|
|
96
|
+
continue;
|
|
97
|
+
}
|
|
98
|
+
qs[key] = val;
|
|
99
|
+
}
|
|
100
|
+
return qs;
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../nodes/Propstack/v1/helpers.ts"],"names":[],"mappings":";;AAUA,4CAUC;AAcD,kEAKC;AAED,4CAiCC;AAMD,0BAkCC;AAlHD,+CAQsB;AAEtB,SAAgB,gBAAgB,CAAC,KAAoB,EAAE,MAAgB;IACrE,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACxB,MAAM,UAAU,GAAgB,EAAE,CAAC;QACnC,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAA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AE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;YAC/B,SAAS;QACX,CAAC;QAED,MAAM,GAAG,GAAG,KAAK,CAAC;QAClB,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;YACvB,IAAI,GAAG,CAAC,MAAM;gBAAE,EAAE,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACxC,SAAS;QACX,CAAC;QAED,IAAI,OAAO,GAAG,KAAK,SAAS,EAAE,CAAC;YAC7B,EAAE,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;YACd,SAAS;QACX,CAAC;QAED,EAAE,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;IAChB,CAAC;IAED,OAAO,EAAE,CAAC;AACZ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ILoadOptionsFunctions, INodeListSearchResult } from "n8n-workflow";
|
|
2
|
+
export declare function searchActivities(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
3
|
+
export declare function searchContacts(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
4
|
+
export declare function searchDeals(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
5
|
+
export declare function searchDealPipelines(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
6
|
+
export declare function searchDocuments(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
7
|
+
export declare function searchEmails(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
8
|
+
export declare function searchParentFeatures(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
9
|
+
export declare function searchProjects(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
10
|
+
export declare function searchProperties(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
11
|
+
export declare function searchSearchProfiles(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
12
|
+
export declare function searchTasks(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
13
|
+
export declare function searchTeams(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
14
|
+
export declare function searchWebhooks(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|