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 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/activities/getAll.ts"],"names":[],"mappings":";;;AA4JA,4CA0IC;AA/RD,+CAAgD;AAChD,2CAAiD;AAEjD,MAAM,uBAAuB,GAAG;IAC9B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,YAAY,CAAC;CACzB,CAAC;AAEW,QAAA,2BAA2B,GAAsB;IAC5D;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,cAAc,EAAE;YACd,IAAI,EAAE,uBAAuB;SAC9B;QACD,WAAW,EAAE,2DAA2D;KACzE;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE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C;QAC7C,CAAC;QACD,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;YACzB,EAAE,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QACzC,CAAC;IACH,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,yBAAa,CAAC,kBAAkB;QACrC,EAAE;KACH,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC,OAAO,CAAC,eAAe,CACjC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAChD,CAAC;AACJ,CAAC;AAED,kBAAe,mCAA2B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const activitiesOperations: INodeProperties[];
|
|
3
|
+
export declare const activitiesFields: INodeProperties[];
|
|
4
|
+
export { activitiesGet } from "./get";
|
|
5
|
+
export { activitiesGetAll } from "./getAll";
|
|
6
|
+
export { activityTypesGetAll } from "./activityTypesGetAll";
|
|
7
|
+
export { reservationReasonsGetAll } from "./reservationReasonsGetAll";
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.reservationReasonsGetAll = exports.activityTypesGetAll = exports.activitiesGetAll = exports.activitiesGet = exports.activitiesFields = exports.activitiesOperations = void 0;
|
|
4
|
+
exports.activitiesOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: "Operation",
|
|
7
|
+
name: "operation",
|
|
8
|
+
type: "options",
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ["activities"],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: "Get",
|
|
18
|
+
value: "get",
|
|
19
|
+
action: "Get activity",
|
|
20
|
+
description: "Retrieve an activity",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "Get Many",
|
|
24
|
+
value: "getAll",
|
|
25
|
+
action: "Get many activities",
|
|
26
|
+
description: "Retrieve a list of activities",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "Get Activity Types",
|
|
30
|
+
value: "getActivityTypes",
|
|
31
|
+
action: "Get activity types",
|
|
32
|
+
description: "Retrieve available activity types",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: "Get Reservation Reasons",
|
|
36
|
+
value: "getReservationReasons",
|
|
37
|
+
action: "Get reservation reasons",
|
|
38
|
+
description: "Retrieve available reservation reasons",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
default: "getAll",
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
exports.activitiesFields = [
|
|
45
|
+
{
|
|
46
|
+
displayName: "Activity",
|
|
47
|
+
name: "activityId",
|
|
48
|
+
type: "resourceLocator",
|
|
49
|
+
required: true,
|
|
50
|
+
default: { mode: "list", value: "" },
|
|
51
|
+
description: "The activity to retrieve",
|
|
52
|
+
displayOptions: {
|
|
53
|
+
show: {
|
|
54
|
+
resource: ["activities"],
|
|
55
|
+
operation: ["get"],
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
modes: [
|
|
59
|
+
{
|
|
60
|
+
displayName: "From List",
|
|
61
|
+
name: "list",
|
|
62
|
+
type: "list",
|
|
63
|
+
typeOptions: {
|
|
64
|
+
searchListMethod: "searchActivities",
|
|
65
|
+
searchable: true,
|
|
66
|
+
searchFilterRequired: false,
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
displayName: "By ID",
|
|
71
|
+
name: "id",
|
|
72
|
+
type: "string",
|
|
73
|
+
placeholder: "e.g. 12345",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
displayName: "Return All",
|
|
79
|
+
name: "returnAll",
|
|
80
|
+
type: "boolean",
|
|
81
|
+
description: "Whether to return all results or only up to a given limit",
|
|
82
|
+
displayOptions: {
|
|
83
|
+
show: {
|
|
84
|
+
resource: ["activities"],
|
|
85
|
+
operation: ["getAll"],
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
default: false,
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
displayName: "Limit",
|
|
92
|
+
name: "limit",
|
|
93
|
+
type: "number",
|
|
94
|
+
description: "Max number of results to return",
|
|
95
|
+
displayOptions: {
|
|
96
|
+
show: {
|
|
97
|
+
resource: ["activities"],
|
|
98
|
+
operation: ["getAll"],
|
|
99
|
+
returnAll: [false],
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
typeOptions: {
|
|
103
|
+
minValue: 1,
|
|
104
|
+
},
|
|
105
|
+
default: 50,
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
displayName: "Additional Fields",
|
|
109
|
+
name: "additionalFields",
|
|
110
|
+
type: "collection",
|
|
111
|
+
placeholder: "Add Field",
|
|
112
|
+
default: {},
|
|
113
|
+
displayOptions: {
|
|
114
|
+
show: {
|
|
115
|
+
resource: ["activities"],
|
|
116
|
+
operation: ["getAll"],
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
options: [
|
|
120
|
+
{
|
|
121
|
+
displayName: "Broker ID",
|
|
122
|
+
name: "broker_id",
|
|
123
|
+
type: "string",
|
|
124
|
+
default: "",
|
|
125
|
+
description: "Activity owner/assignee ID",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
displayName: "Client IDs",
|
|
129
|
+
name: "client_ids",
|
|
130
|
+
type: "string",
|
|
131
|
+
default: "",
|
|
132
|
+
description: "Comma-separated list of contact IDs",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
displayName: "Creator ID",
|
|
136
|
+
name: "creator_id",
|
|
137
|
+
type: "string",
|
|
138
|
+
default: "",
|
|
139
|
+
description: "Creator identifier",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
displayName: "Expand",
|
|
143
|
+
name: "expand",
|
|
144
|
+
type: "boolean",
|
|
145
|
+
default: false,
|
|
146
|
+
description: "Whether to return detailed JSON with custom fields",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
displayName: "Item Type",
|
|
150
|
+
name: "item_type",
|
|
151
|
+
type: "options",
|
|
152
|
+
default: "message",
|
|
153
|
+
options: [
|
|
154
|
+
{ name: "Cancellation", value: "cancelation" },
|
|
155
|
+
{ name: "Decision", value: "decision" },
|
|
156
|
+
{ name: "Event", value: "event" },
|
|
157
|
+
{ name: "Letter", value: "letter" },
|
|
158
|
+
{ name: "Message", value: "message" },
|
|
159
|
+
{ name: "Note", value: "note" },
|
|
160
|
+
{ name: "Policy", value: "policy" },
|
|
161
|
+
{ name: "Reminder", value: "reminder" },
|
|
162
|
+
{ name: "SMS", value: "sms" },
|
|
163
|
+
],
|
|
164
|
+
description: "Activity type filter",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
displayName: "Not Completed",
|
|
168
|
+
name: "not_completed",
|
|
169
|
+
type: "boolean",
|
|
170
|
+
default: false,
|
|
171
|
+
description: "Whether to fetch incomplete items only",
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
displayName: "Order",
|
|
175
|
+
name: "order",
|
|
176
|
+
type: "options",
|
|
177
|
+
default: "desc",
|
|
178
|
+
options: [
|
|
179
|
+
{ name: "Ascending", value: "asc" },
|
|
180
|
+
{ name: "Descending", value: "desc" },
|
|
181
|
+
],
|
|
182
|
+
description: "Sort order",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
displayName: "Project IDs",
|
|
186
|
+
name: "project_ids",
|
|
187
|
+
type: "string",
|
|
188
|
+
default: "",
|
|
189
|
+
description: "Comma-separated list of project IDs",
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
displayName: "Property IDs",
|
|
193
|
+
name: "property_ids",
|
|
194
|
+
type: "string",
|
|
195
|
+
default: "",
|
|
196
|
+
description: "Comma-separated list of property IDs",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
displayName: "Reason IDs",
|
|
200
|
+
name: "reason_ids",
|
|
201
|
+
type: "string",
|
|
202
|
+
default: "",
|
|
203
|
+
description: "Comma-separated list of cancellation reason IDs",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
displayName: "Starts At From",
|
|
207
|
+
name: "starts_at_from",
|
|
208
|
+
type: "dateTime",
|
|
209
|
+
default: "",
|
|
210
|
+
description: "Start date range from (ISO 8601 format)",
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
displayName: "Starts At To",
|
|
214
|
+
name: "starts_at_to",
|
|
215
|
+
type: "dateTime",
|
|
216
|
+
default: "",
|
|
217
|
+
description: "Start date range to (ISO 8601 format)",
|
|
218
|
+
},
|
|
219
|
+
],
|
|
220
|
+
},
|
|
221
|
+
];
|
|
222
|
+
var get_1 = require("./get");
|
|
223
|
+
Object.defineProperty(exports, "activitiesGet", { enumerable: true, get: function () { return get_1.activitiesGet; } });
|
|
224
|
+
var getAll_1 = require("./getAll");
|
|
225
|
+
Object.defineProperty(exports, "activitiesGetAll", { enumerable: true, get: function () { return getAll_1.activitiesGetAll; } });
|
|
226
|
+
var activityTypesGetAll_1 = require("./activityTypesGetAll");
|
|
227
|
+
Object.defineProperty(exports, "activityTypesGetAll", { enumerable: true, get: function () { return activityTypesGetAll_1.activityTypesGetAll; } });
|
|
228
|
+
var reservationReasonsGetAll_1 = require("./reservationReasonsGetAll");
|
|
229
|
+
Object.defineProperty(exports, "reservationReasonsGetAll", { enumerable: true, get: function () { return reservationReasonsGetAll_1.reservationReasonsGetAll; } });
|
|
230
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/activities/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAsB;IACrD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,YAAY,CAAC;aACzB;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,cAAc;gBACtB,WAAW,EAAE,sBAAsB;aACpC;YACD;gBACE,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,qBAAqB;gBAC7B,WAAW,EAAE,+BAA+B;aAC7C;YACD;gBACE,IAAI,EAAE,oBAAoB;gBAC1B,KAAK,EAAE,kBAAkB;gBACzB,MAAM,EAAE,oBAAoB;gBAC5B,WAAW,EAAE,mCAAmC;aACjD;YACD;gBACE,IAAI,EAAE,yBAAyB;gBAC/B,KAAK,EAAE,uBAAuB;gBAC9B,MAAM,EAAE,yBAAyB;gBACjC,WAAW,EAAE,wCAAwC;aACtD;SACF;QACD,OAAO,EAAE,QAAQ;KAClB;CACF,CAAC;AAEW,QAAA,gBAAgB,GAAsB;IACjD;QACE,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;QACpC,WAAW,EAAE,0BAA0B;QACvC,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,KAAK,CAAC;aACnB;SACF;QACD,KAAK,EAAE;YACL;gBACE,WAAW,EAAE,WAAW;gBACxB,IAAI,EA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B,OAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const reservationReasonsGetAllDescription: INodeProperties[];
|
|
3
|
+
export declare function reservationReasonsGetAll(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
+
export default reservationReasonsGetAllDescription;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.reservationReasonsGetAllDescription = void 0;
|
|
4
|
+
exports.reservationReasonsGetAll = reservationReasonsGetAll;
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
6
|
+
const helpers_1 = require("../../helpers");
|
|
7
|
+
exports.reservationReasonsGetAllDescription = [];
|
|
8
|
+
async function reservationReasonsGetAll() {
|
|
9
|
+
const response = await helpers_1.propstackRequest.call(this, {
|
|
10
|
+
method: "GET",
|
|
11
|
+
url: constants_1.API_ENDPOINTS.RESERVATION_REASONS_GET_ALL,
|
|
12
|
+
});
|
|
13
|
+
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
14
|
+
}
|
|
15
|
+
exports.default = exports.reservationReasonsGetAllDescription;
|
|
16
|
+
//# sourceMappingURL=reservationReasonsGetAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reservationReasonsGetAll.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/activities/reservationReasonsGetAll.ts"],"names":[],"mappings":";;;AAWA,4DAWC;AAhBD,+CAAgD;AAChD,2CAAiD;AAEpC,QAAA,mCAAmC,GAAsB,EAAE,CAAC;AAElE,KAAK,UAAU,wBAAwB;IAG5C,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,yBAAa,CAAC,2BAA2B;KAC/C,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC,OAAO,CAAC,eAAe,CACjC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAChD,CAAC;AACJ,CAAC;AAED,kBAAe,2CAAmC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const brokersGetAllDescription: INodeProperties[];
|
|
3
|
+
export declare function brokersGetAll(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
+
export default brokersGetAllDescription;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.brokersGetAllDescription = void 0;
|
|
4
|
+
exports.brokersGetAll = brokersGetAll;
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
6
|
+
const helpers_1 = require("../../helpers");
|
|
7
|
+
exports.brokersGetAllDescription = [];
|
|
8
|
+
async function brokersGetAll() {
|
|
9
|
+
const response = await helpers_1.propstackRequest.call(this, {
|
|
10
|
+
method: "GET",
|
|
11
|
+
url: constants_1.API_ENDPOINTS.BROKERS_GET_ALL,
|
|
12
|
+
});
|
|
13
|
+
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
14
|
+
}
|
|
15
|
+
exports.default = exports.brokersGetAllDescription;
|
|
16
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/brokers/getAll.ts"],"names":[],"mappings":";;;AAWA,sCAWC;AAhBD,+CAAgD;AAChD,2CAAiD;AAEpC,QAAA,wBAAwB,GAAsB,EAAE,CAAC;AAEvD,KAAK,UAAU,aAAa;IAGjC,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,yBAAa,CAAC,eAAe;KACnC,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC,OAAO,CAAC,eAAe,CACjC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAChD,CAAC;AACJ,CAAC;AAED,kBAAe,gCAAwB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.brokersGetAll = exports.brokersFields = exports.brokersOperations = void 0;
|
|
4
|
+
exports.brokersOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: "Operation",
|
|
7
|
+
name: "operation",
|
|
8
|
+
type: "options",
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ["brokers"],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: "Get Many",
|
|
18
|
+
value: "getAll",
|
|
19
|
+
action: "Get many brokers",
|
|
20
|
+
description: "Retrieve a list of brokers",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
default: "getAll",
|
|
24
|
+
},
|
|
25
|
+
];
|
|
26
|
+
exports.brokersFields = [];
|
|
27
|
+
var getAll_1 = require("./getAll");
|
|
28
|
+
Object.defineProperty(exports, "brokersGetAll", { enumerable: true, get: function () { return getAll_1.brokersGetAll; } });
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/brokers/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAsB;IAClD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,SAAS,CAAC;aACtB;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,kBAAkB;gBAC1B,WAAW,EAAE,4BAA4B;aAC1C;SACF;QACD,OAAO,EAAE,QAAQ;KAClB;CACF,CAAC;AAEW,QAAA,aAAa,GAAsB,EAAE,CAAC;AAEnD,mCAAyC;AAAhC,uGAAA,aAAa,OAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const contactsCreateDescription: INodeProperties[];
|
|
3
|
+
export declare function contactsCreate(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
+
export default contactsCreateDescription;
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.contactsCreateDescription = void 0;
|
|
4
|
+
exports.contactsCreate = contactsCreate;
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
6
|
+
const helpers_1 = require("../../helpers");
|
|
7
|
+
const showForContactsCreate = {
|
|
8
|
+
operation: ["create"],
|
|
9
|
+
resource: ["contacts"],
|
|
10
|
+
};
|
|
11
|
+
exports.contactsCreateDescription = [
|
|
12
|
+
{
|
|
13
|
+
displayName: "Additional Fields",
|
|
14
|
+
name: "additionalFields",
|
|
15
|
+
type: "collection",
|
|
16
|
+
placeholder: "Add Field",
|
|
17
|
+
default: {},
|
|
18
|
+
displayOptions: {
|
|
19
|
+
show: showForContactsCreate,
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
displayName: "City",
|
|
24
|
+
name: "city",
|
|
25
|
+
type: "string",
|
|
26
|
+
default: "",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
displayName: "Company",
|
|
30
|
+
name: "company",
|
|
31
|
+
type: "string",
|
|
32
|
+
default: "",
|
|
33
|
+
description: "Company name",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
displayName: "Country",
|
|
37
|
+
name: "country",
|
|
38
|
+
type: "string",
|
|
39
|
+
default: "",
|
|
40
|
+
description: "Country code (ISO 3166-1 alpha-2)",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
displayName: "Custom Fields",
|
|
44
|
+
name: "partial_custom_fields",
|
|
45
|
+
type: "string",
|
|
46
|
+
default: "",
|
|
47
|
+
description: "Custom fields as JSON object",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
displayName: "Date of Birth",
|
|
51
|
+
name: "date_of_birth",
|
|
52
|
+
type: "dateTime",
|
|
53
|
+
default: "",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
displayName: "Email",
|
|
57
|
+
name: "email",
|
|
58
|
+
type: "string",
|
|
59
|
+
placeholder: "e.g. nathan@example.com",
|
|
60
|
+
default: "",
|
|
61
|
+
description: "Email address of the contact",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
displayName: "First Name",
|
|
65
|
+
name: "first_name",
|
|
66
|
+
type: "string",
|
|
67
|
+
default: "",
|
|
68
|
+
description: "First name of the contact",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
displayName: "GDPR Status",
|
|
72
|
+
name: "gdpr_status",
|
|
73
|
+
type: "options",
|
|
74
|
+
default: 0,
|
|
75
|
+
options: [
|
|
76
|
+
{ name: "Not Set", value: 0 },
|
|
77
|
+
{ name: "Accepted", value: 1 },
|
|
78
|
+
{ name: "Rejected", value: 2 },
|
|
79
|
+
{ name: "Withdrawn", value: 3 },
|
|
80
|
+
],
|
|
81
|
+
description: "GDPR consent status",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
displayName: "Group IDs",
|
|
85
|
+
name: "group_ids",
|
|
86
|
+
type: "string",
|
|
87
|
+
default: "",
|
|
88
|
+
description: "Comma-separated list of group IDs to assign the contact to",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
displayName: "House Number",
|
|
92
|
+
name: "house_number",
|
|
93
|
+
type: "string",
|
|
94
|
+
default: "",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
displayName: "Last Name",
|
|
98
|
+
name: "last_name",
|
|
99
|
+
type: "string",
|
|
100
|
+
default: "",
|
|
101
|
+
description: "Last name of the contact",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
displayName: "Mobile Phone",
|
|
105
|
+
name: "mobile_phone",
|
|
106
|
+
type: "string",
|
|
107
|
+
default: "",
|
|
108
|
+
description: "Mobile phone number",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
displayName: "Notes",
|
|
112
|
+
name: "notes",
|
|
113
|
+
type: "string",
|
|
114
|
+
default: "",
|
|
115
|
+
description: "Notes about the contact",
|
|
116
|
+
typeOptions: {
|
|
117
|
+
rows: 4,
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
displayName: "Phone Number",
|
|
122
|
+
name: "phone_number",
|
|
123
|
+
type: "string",
|
|
124
|
+
default: "",
|
|
125
|
+
description: "Primary phone number",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
displayName: "Position",
|
|
129
|
+
name: "position",
|
|
130
|
+
type: "string",
|
|
131
|
+
default: "",
|
|
132
|
+
description: "Position in the company",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
displayName: "Postal Code",
|
|
136
|
+
name: "postal_code",
|
|
137
|
+
type: "string",
|
|
138
|
+
default: "",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
displayName: "Salutation",
|
|
142
|
+
name: "salutation",
|
|
143
|
+
type: "options",
|
|
144
|
+
default: "mr",
|
|
145
|
+
options: [
|
|
146
|
+
{ name: "Dr", value: "dr" },
|
|
147
|
+
{ name: "Mr", value: "mr" },
|
|
148
|
+
{ name: "Ms", value: "ms" },
|
|
149
|
+
{ name: "Mx", value: "mx" },
|
|
150
|
+
{ name: "Prof", value: "prof" },
|
|
151
|
+
],
|
|
152
|
+
description: "Salutation for the contact",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
displayName: "Source",
|
|
156
|
+
name: "source",
|
|
157
|
+
type: "string",
|
|
158
|
+
default: "",
|
|
159
|
+
description: "Contact source/origin",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
displayName: "Status",
|
|
163
|
+
name: "status",
|
|
164
|
+
type: "string",
|
|
165
|
+
default: "",
|
|
166
|
+
description: "Contact status",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
displayName: "Street",
|
|
170
|
+
name: "street",
|
|
171
|
+
type: "string",
|
|
172
|
+
default: "",
|
|
173
|
+
description: "Street address",
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
},
|
|
177
|
+
];
|
|
178
|
+
function buildContactsCreateBody() {
|
|
179
|
+
const body = {};
|
|
180
|
+
const options = this.getNodeParameter("additionalFields", 0);
|
|
181
|
+
if (options) {
|
|
182
|
+
const fields = [
|
|
183
|
+
"salutation",
|
|
184
|
+
"first_name",
|
|
185
|
+
"last_name",
|
|
186
|
+
"email",
|
|
187
|
+
"phone_number",
|
|
188
|
+
"mobile_phone",
|
|
189
|
+
"company",
|
|
190
|
+
"position",
|
|
191
|
+
"street",
|
|
192
|
+
"house_number",
|
|
193
|
+
"postal_code",
|
|
194
|
+
"city",
|
|
195
|
+
"country",
|
|
196
|
+
"date_of_birth",
|
|
197
|
+
"status",
|
|
198
|
+
"source",
|
|
199
|
+
"notes",
|
|
200
|
+
"gdpr_status",
|
|
201
|
+
];
|
|
202
|
+
for (const field of fields) {
|
|
203
|
+
if (options[field] !== undefined && options[field] !== "") {
|
|
204
|
+
body[field] = options[field];
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
if (options.group_ids) {
|
|
208
|
+
body.group_ids = options.group_ids
|
|
209
|
+
.split(",")
|
|
210
|
+
.map((id) => id.trim());
|
|
211
|
+
}
|
|
212
|
+
if (options.partial_custom_fields) {
|
|
213
|
+
try {
|
|
214
|
+
body.partial_custom_fields = JSON.parse(options.partial_custom_fields);
|
|
215
|
+
}
|
|
216
|
+
catch {
|
|
217
|
+
body.partial_custom_fields = options.partial_custom_fields;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
return body;
|
|
222
|
+
}
|
|
223
|
+
async function contactsCreate() {
|
|
224
|
+
const body = buildContactsCreateBody.call(this);
|
|
225
|
+
const response = await helpers_1.propstackRequest.call(this, {
|
|
226
|
+
method: "POST",
|
|
227
|
+
url: constants_1.API_ENDPOINTS.CONTACTS_CREATE,
|
|
228
|
+
body: { client: body },
|
|
229
|
+
});
|
|
230
|
+
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
231
|
+
}
|
|
232
|
+
exports.default = exports.contactsCreateDescription;
|
|
233
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/contacts/create.ts"],"names":[],"mappings":";;;AAkPA,wCAcC;AAzPD,+CAAgD;AAChD,2CAAiD;AAEjD,MAAM,qBAAqB,GAAG;IAC5B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,UAAU,CAAC;CACvB,CAAC;AAEW,QAAA,yBAAyB,GAAsB;IAC1D;QACE,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE,qBAAqB;SAC5B;QACD,O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AAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAChD,CAAC;AACJ,CAAC;AAED,kBAAe,iCAAyB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const contactsDeleteDescription: INodeProperties[];
|
|
3
|
+
export declare function contactsDelete(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
+
export default contactsDeleteDescription;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.contactsDeleteDescription = void 0;
|
|
4
|
+
exports.contactsDelete = contactsDelete;
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
6
|
+
const helpers_1 = require("../../helpers");
|
|
7
|
+
exports.contactsDeleteDescription = [];
|
|
8
|
+
async function contactsDelete() {
|
|
9
|
+
const contactId = (0, helpers_1.extractResourceLocatorValue)(this.getNodeParameter("contactId", 0));
|
|
10
|
+
await helpers_1.propstackRequest.call(this, {
|
|
11
|
+
method: "DELETE",
|
|
12
|
+
url: constants_1.API_ENDPOINTS.CONTACTS_DELETE(contactId),
|
|
13
|
+
});
|
|
14
|
+
return [{ json: { deleted: true }, pairedItem: { item: 0 } }];
|
|
15
|
+
}
|
|
16
|
+
exports.default = exports.contactsDeleteDescription;
|
|
17
|
+
//# sourceMappingURL=delete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/contacts/delete.ts"],"names":[],"mappings":";;;AAWA,wCAaC;AAlBD,+CAAgD;AAChD,2CAA8E;AAEjE,QAAA,yBAAyB,GAAsB,EAAE,CAAC;AAExD,KAAK,UAAU,cAAc;IAGlC,MAAM,SAAS,GAAG,IAAA,qCAA2B,EAC3C,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAC,CACtC,CAAC;IAEF,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QAChC,MAAM,EAAE,QAAQ;QAChB,GAAG,EAAE,yBAAa,CAAC,eAAe,CAAC,SAAS,CAAC;KAC9C,CAAC,CAAC;IAEH,OAAO,CAAC,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;AAChE,CAAC;AAED,kBAAe,iCAAyB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const contactsGetDescription: INodeProperties[];
|
|
3
|
+
export declare function contactsGet(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
+
export default contactsGetDescription;
|