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,191 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.documentsGetAllDescription = void 0;
|
|
4
|
+
exports.documentsGetAll = documentsGetAll;
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
6
|
+
const helpers_1 = require("../../helpers");
|
|
7
|
+
const showForDocumentsGetAll = {
|
|
8
|
+
operation: ["getAll"],
|
|
9
|
+
resource: ["documents"],
|
|
10
|
+
};
|
|
11
|
+
exports.documentsGetAllDescription = [
|
|
12
|
+
{
|
|
13
|
+
displayName: "Return All",
|
|
14
|
+
name: "returnAll",
|
|
15
|
+
type: "boolean",
|
|
16
|
+
default: false,
|
|
17
|
+
displayOptions: {
|
|
18
|
+
show: showForDocumentsGetAll,
|
|
19
|
+
},
|
|
20
|
+
description: "Whether to return all results or only up to a given limit",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
displayName: "Limit",
|
|
24
|
+
name: "limit",
|
|
25
|
+
type: "number",
|
|
26
|
+
default: 50,
|
|
27
|
+
displayOptions: {
|
|
28
|
+
show: {
|
|
29
|
+
...showForDocumentsGetAll,
|
|
30
|
+
returnAll: [false],
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
description: "Max number of results to return",
|
|
34
|
+
typeOptions: {
|
|
35
|
+
minValue: 1,
|
|
36
|
+
maxValue: 100,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
displayName: "Additional Fields",
|
|
41
|
+
name: "additionalFields",
|
|
42
|
+
type: "collection",
|
|
43
|
+
placeholder: "Add Field",
|
|
44
|
+
default: {},
|
|
45
|
+
displayOptions: {
|
|
46
|
+
show: showForDocumentsGetAll,
|
|
47
|
+
},
|
|
48
|
+
options: [
|
|
49
|
+
{
|
|
50
|
+
displayName: "Client ID",
|
|
51
|
+
name: "client",
|
|
52
|
+
type: "string",
|
|
53
|
+
default: "",
|
|
54
|
+
description: "Filter by associated contact ID",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
displayName: "Deal ID",
|
|
58
|
+
name: "client_property",
|
|
59
|
+
type: "string",
|
|
60
|
+
default: "",
|
|
61
|
+
description: "Filter by associated deal ID",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
displayName: "Is Private",
|
|
65
|
+
name: "is_private",
|
|
66
|
+
type: "boolean",
|
|
67
|
+
default: false,
|
|
68
|
+
description: "Whether to filter by privacy status",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
displayName: "Order By",
|
|
72
|
+
name: "order_by",
|
|
73
|
+
type: "string",
|
|
74
|
+
default: "position,asc",
|
|
75
|
+
description: 'Sort results (e.g., "position,asc" or "created_at,desc")',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
displayName: "Page",
|
|
79
|
+
name: "page",
|
|
80
|
+
type: "number",
|
|
81
|
+
default: 1,
|
|
82
|
+
description: "Page number for pagination",
|
|
83
|
+
typeOptions: {
|
|
84
|
+
minValue: 1,
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
displayName: "Project ID",
|
|
89
|
+
name: "project",
|
|
90
|
+
type: "string",
|
|
91
|
+
default: "",
|
|
92
|
+
description: "Filter by associated project ID",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
displayName: "Property ID",
|
|
96
|
+
name: "property",
|
|
97
|
+
type: "string",
|
|
98
|
+
default: "",
|
|
99
|
+
description: "Filter by associated property ID",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
displayName: "Tag",
|
|
103
|
+
name: "tag",
|
|
104
|
+
type: "string",
|
|
105
|
+
default: "",
|
|
106
|
+
description: "Filter by document tag",
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
},
|
|
110
|
+
];
|
|
111
|
+
async function documentsGetAll() {
|
|
112
|
+
const returnAll = this.getNodeParameter("returnAll", 0);
|
|
113
|
+
const limit = this.getNodeParameter("limit", 0, 50);
|
|
114
|
+
const options = this.getNodeParameter("additionalFields", 0);
|
|
115
|
+
const page = (options === null || options === void 0 ? void 0 : options.page) || 1;
|
|
116
|
+
if (returnAll) {
|
|
117
|
+
let allResults = [];
|
|
118
|
+
let currentPage = 1;
|
|
119
|
+
let hasMore = true;
|
|
120
|
+
while (hasMore) {
|
|
121
|
+
const qs = {
|
|
122
|
+
page: currentPage,
|
|
123
|
+
per_page: 100,
|
|
124
|
+
};
|
|
125
|
+
if (options) {
|
|
126
|
+
if (options.order_by)
|
|
127
|
+
qs.order_by = options.order_by;
|
|
128
|
+
if (options.tag)
|
|
129
|
+
qs.tag = options.tag;
|
|
130
|
+
if (options.is_private !== undefined &&
|
|
131
|
+
options.is_private !== "") {
|
|
132
|
+
qs.is_private = options.is_private;
|
|
133
|
+
}
|
|
134
|
+
if (options.client)
|
|
135
|
+
qs.client = options.client;
|
|
136
|
+
if (options.property)
|
|
137
|
+
qs.property = options.property;
|
|
138
|
+
if (options.project)
|
|
139
|
+
qs.project = options.project;
|
|
140
|
+
if (options.client_property) {
|
|
141
|
+
qs.client_property = options.client_property;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
const response = await helpers_1.propstackRequest.call(this, {
|
|
145
|
+
method: "GET",
|
|
146
|
+
url: constants_1.API_ENDPOINTS.DOCUMENTS_GET_ALL,
|
|
147
|
+
qs,
|
|
148
|
+
});
|
|
149
|
+
const results = Array.isArray(response) ? response : [response];
|
|
150
|
+
allResults = allResults.concat(results);
|
|
151
|
+
if (results.length < 100) {
|
|
152
|
+
hasMore = false;
|
|
153
|
+
}
|
|
154
|
+
else {
|
|
155
|
+
currentPage++;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
return this.helpers.returnJsonArray(allResults);
|
|
159
|
+
}
|
|
160
|
+
const qs = {
|
|
161
|
+
page,
|
|
162
|
+
per_page: limit,
|
|
163
|
+
};
|
|
164
|
+
if (options) {
|
|
165
|
+
if (options.order_by)
|
|
166
|
+
qs.order_by = options.order_by;
|
|
167
|
+
if (options.tag)
|
|
168
|
+
qs.tag = options.tag;
|
|
169
|
+
if (options.is_private !== undefined &&
|
|
170
|
+
options.is_private !== "") {
|
|
171
|
+
qs.is_private = options.is_private;
|
|
172
|
+
}
|
|
173
|
+
if (options.client)
|
|
174
|
+
qs.client = options.client;
|
|
175
|
+
if (options.property)
|
|
176
|
+
qs.property = options.property;
|
|
177
|
+
if (options.project)
|
|
178
|
+
qs.project = options.project;
|
|
179
|
+
if (options.client_property) {
|
|
180
|
+
qs.client_property = options.client_property;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
const response = await helpers_1.propstackRequest.call(this, {
|
|
184
|
+
method: "GET",
|
|
185
|
+
url: constants_1.API_ENDPOINTS.DOCUMENTS_GET_ALL,
|
|
186
|
+
qs,
|
|
187
|
+
});
|
|
188
|
+
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
189
|
+
}
|
|
190
|
+
exports.default = exports.documentsGetAllDescription;
|
|
191
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/documents/getAll.ts"],"names":[],"mappings":";;;AAoHA,0CA0FC;AAvMD,+CAAgD;AAChD,2CAAiD;AAEjD,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,WAAW,CAAC;CACxB,CAAC;AAEW,QAAA,0BAA0B,GAAsB;IAC3D;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,cAAc,EAAE;YACd,IAAI,EAAE,sBAAsB;SAC7B;QACD,WAAW,EAAE,2DAA2D;KACzE;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,GAAG,sBAAsB;gBACzB,SAAS,EAAE,CAAC,KAAK,CAAC;aACnB;SACF;QACD,WAAW,EAAE,iCAAiC;QAC9C,WAAW,EAAE;YACX,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,GAAG;SACd;KACF;IACD;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,sBAAsB;SAC7B;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,iCAAiC;aAC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C;QAClD,IAAI,OAAO,CAAC,eAAe,EAAE,CAAC;YAC5B,EAAE,CAAC,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;QAC/C,CAAC;IACH,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,yBAAa,CAAC,iBAAiB;QACpC,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,kCAA0B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { INodeProperties } from "n8n-workflow";
|
|
2
|
+
import { documentsCreate } from "./create";
|
|
3
|
+
import { documentsGet } from "./get";
|
|
4
|
+
import { documentsGetAll } from "./getAll";
|
|
5
|
+
import { documentsUpdate } from "./update";
|
|
6
|
+
import { documentsDelete } from "./delete";
|
|
7
|
+
export { documentsCreate, documentsDelete, documentsGet, documentsGetAll, documentsUpdate, };
|
|
8
|
+
export declare const documentsDescription: INodeProperties[];
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.documentsDescription = exports.documentsUpdate = exports.documentsGetAll = exports.documentsGet = exports.documentsDelete = exports.documentsCreate = void 0;
|
|
4
|
+
const create_1 = require("./create");
|
|
5
|
+
Object.defineProperty(exports, "documentsCreate", { enumerable: true, get: function () { return create_1.documentsCreate; } });
|
|
6
|
+
const get_1 = require("./get");
|
|
7
|
+
Object.defineProperty(exports, "documentsGet", { enumerable: true, get: function () { return get_1.documentsGet; } });
|
|
8
|
+
const getAll_1 = require("./getAll");
|
|
9
|
+
Object.defineProperty(exports, "documentsGetAll", { enumerable: true, get: function () { return getAll_1.documentsGetAll; } });
|
|
10
|
+
const update_1 = require("./update");
|
|
11
|
+
Object.defineProperty(exports, "documentsUpdate", { enumerable: true, get: function () { return update_1.documentsUpdate; } });
|
|
12
|
+
const delete_1 = require("./delete");
|
|
13
|
+
Object.defineProperty(exports, "documentsDelete", { enumerable: true, get: function () { return delete_1.documentsDelete; } });
|
|
14
|
+
const documentIdField = {
|
|
15
|
+
displayName: "Document",
|
|
16
|
+
name: "documentId",
|
|
17
|
+
type: "resourceLocator",
|
|
18
|
+
required: true,
|
|
19
|
+
default: { mode: "list", value: "" },
|
|
20
|
+
description: "The document to operate on",
|
|
21
|
+
displayOptions: {
|
|
22
|
+
show: {
|
|
23
|
+
resource: ["documents"],
|
|
24
|
+
operation: ["get", "update", "delete"],
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
modes: [
|
|
28
|
+
{
|
|
29
|
+
displayName: "From List",
|
|
30
|
+
name: "list",
|
|
31
|
+
type: "list",
|
|
32
|
+
typeOptions: {
|
|
33
|
+
searchListMethod: "searchDocuments",
|
|
34
|
+
searchable: true,
|
|
35
|
+
searchFilterRequired: false,
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
displayName: "By ID",
|
|
40
|
+
name: "id",
|
|
41
|
+
type: "string",
|
|
42
|
+
placeholder: "e.g. 12345",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
};
|
|
46
|
+
exports.documentsDescription = [
|
|
47
|
+
{
|
|
48
|
+
displayName: "Operation",
|
|
49
|
+
name: "operation",
|
|
50
|
+
type: "options",
|
|
51
|
+
noDataExpression: true,
|
|
52
|
+
displayOptions: {
|
|
53
|
+
show: {
|
|
54
|
+
resource: ["documents"],
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
options: [
|
|
58
|
+
{
|
|
59
|
+
name: "Create",
|
|
60
|
+
value: "create",
|
|
61
|
+
action: "Create document",
|
|
62
|
+
description: "Create a new document",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: "Delete",
|
|
66
|
+
value: "delete",
|
|
67
|
+
action: "Delete document",
|
|
68
|
+
description: "Permanently remove a document",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: "Get",
|
|
72
|
+
value: "get",
|
|
73
|
+
action: "Get document",
|
|
74
|
+
description: "Retrieve a document",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: "Get Many",
|
|
78
|
+
value: "getAll",
|
|
79
|
+
action: "Get many documents",
|
|
80
|
+
description: "Retrieve a list of documents",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
name: "Update",
|
|
84
|
+
value: "update",
|
|
85
|
+
action: "Update document",
|
|
86
|
+
description: "Update an existing document",
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
default: "create",
|
|
90
|
+
},
|
|
91
|
+
documentIdField,
|
|
92
|
+
...create_1.documentsCreateDescription,
|
|
93
|
+
...get_1.documentsGetDescription,
|
|
94
|
+
...getAll_1.documentsGetAllDescription,
|
|
95
|
+
...update_1.documentsUpdateDescription,
|
|
96
|
+
...delete_1.documentsDeleteDescription,
|
|
97
|
+
];
|
|
98
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/documents/index.ts"],"names":[],"mappings":";;;AACA,qCAAuE;AAOrE,gGAPO,wBAAe,OAOP;AANjB,+BAA8D;AAQ5D,6FARO,kBAAY,OAQP;AAPd,qCAAuE;AAQrE,gGARO,wBAAe,OAQP;AAPjB,qCAAuE;AAQrE,gGARO,wBAAe,OAQP;AAPjB,qCAAuE;AAIrE,gGAJO,wBAAe,OAIP;AAMjB,MAAM,eAAe,GAAoB;IACvC,WAAW,EAAE,UAAU;IACvB,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,iBAAiB;IACvB,QAAQ,EAAE,I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BAC5B,WAAW,EAAE,8BAA8B;aAC5C;YACD;gBACE,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,iBAAiB;gBACzB,WAAW,EAAE,6BAA6B;aAC3C;SACF;QACD,OAAO,EAAE,QAAQ;KAClB;IACD,eAAe;IACf,GAAG,mCAA0B;IAC7B,GAAG,6BAAuB;IAC1B,GAAG,mCAA0B;IAC7B,GAAG,mCAA0B;IAC7B,GAAG,mCAA0B;CAC9B,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const documentsUpdateDescription: INodeProperties[];
|
|
3
|
+
export declare function documentsUpdate(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
+
export default documentsUpdateDescription;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.documentsUpdateDescription = void 0;
|
|
4
|
+
exports.documentsUpdate = documentsUpdate;
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
6
|
+
const helpers_1 = require("../../helpers");
|
|
7
|
+
const showForDocumentsUpdate = {
|
|
8
|
+
operation: ["update"],
|
|
9
|
+
resource: ["documents"],
|
|
10
|
+
};
|
|
11
|
+
exports.documentsUpdateDescription = [
|
|
12
|
+
{
|
|
13
|
+
displayName: "Additional Fields",
|
|
14
|
+
name: "additionalFields",
|
|
15
|
+
type: "collection",
|
|
16
|
+
placeholder: "Add Field",
|
|
17
|
+
default: {},
|
|
18
|
+
displayOptions: {
|
|
19
|
+
show: showForDocumentsUpdate,
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
displayName: "Client ID",
|
|
24
|
+
name: "client_id",
|
|
25
|
+
type: "string",
|
|
26
|
+
default: "",
|
|
27
|
+
description: "Associate with contact",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
displayName: "Document (Base64)",
|
|
31
|
+
name: "doc",
|
|
32
|
+
type: "string",
|
|
33
|
+
default: "",
|
|
34
|
+
description: "Base64-encoded file content",
|
|
35
|
+
typeOptions: {
|
|
36
|
+
rows: 4,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
displayName: "Is Exposee",
|
|
41
|
+
name: "is_exposee",
|
|
42
|
+
type: "boolean",
|
|
43
|
+
default: false,
|
|
44
|
+
description: "Whether to use as PDF brochure",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
displayName: "Is Floorplan",
|
|
48
|
+
name: "is_floorplan",
|
|
49
|
+
type: "boolean",
|
|
50
|
+
default: false,
|
|
51
|
+
description: "Whether to designate as floor plan",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
displayName: "Is Private",
|
|
55
|
+
name: "is_private",
|
|
56
|
+
type: "boolean",
|
|
57
|
+
default: false,
|
|
58
|
+
description: "Whether the document is private",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
displayName: "On Landing Page",
|
|
62
|
+
name: "on_landing_page",
|
|
63
|
+
type: "boolean",
|
|
64
|
+
default: false,
|
|
65
|
+
description: "Whether to display on landing page",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
displayName: "Project ID",
|
|
69
|
+
name: "project_id",
|
|
70
|
+
type: "string",
|
|
71
|
+
default: "",
|
|
72
|
+
description: "Associate with project",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
displayName: "Property ID",
|
|
76
|
+
name: "property_id",
|
|
77
|
+
type: "string",
|
|
78
|
+
default: "",
|
|
79
|
+
description: "Associate with property",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
displayName: "Tags",
|
|
83
|
+
name: "tags",
|
|
84
|
+
type: "string",
|
|
85
|
+
default: "",
|
|
86
|
+
description: "Document tags (comma-separated, new tags auto-created)",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
displayName: "Title",
|
|
90
|
+
name: "title",
|
|
91
|
+
type: "string",
|
|
92
|
+
default: "",
|
|
93
|
+
description: "Custom document name",
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
},
|
|
97
|
+
];
|
|
98
|
+
function buildDocumentsUpdateBody() {
|
|
99
|
+
const body = {};
|
|
100
|
+
const options = this.getNodeParameter("additionalFields", 0);
|
|
101
|
+
if (options) {
|
|
102
|
+
const fields = [
|
|
103
|
+
"title",
|
|
104
|
+
"doc",
|
|
105
|
+
"client_id",
|
|
106
|
+
"property_id",
|
|
107
|
+
"project_id",
|
|
108
|
+
"on_landing_page",
|
|
109
|
+
"is_floorplan",
|
|
110
|
+
"is_exposee",
|
|
111
|
+
"is_private",
|
|
112
|
+
];
|
|
113
|
+
for (const field of fields) {
|
|
114
|
+
if (options[field] !== undefined && options[field] !== "") {
|
|
115
|
+
body[field] = options[field];
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
if (options.tags) {
|
|
119
|
+
body.tags = options.tags
|
|
120
|
+
.split(",")
|
|
121
|
+
.map((tag) => tag.trim());
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
return body;
|
|
125
|
+
}
|
|
126
|
+
async function documentsUpdate() {
|
|
127
|
+
const documentId = (0, helpers_1.extractResourceLocatorValue)(this.getNodeParameter("documentId", 0));
|
|
128
|
+
const body = buildDocumentsUpdateBody.call(this);
|
|
129
|
+
const response = await helpers_1.propstackRequest.call(this, {
|
|
130
|
+
method: "PUT",
|
|
131
|
+
url: constants_1.API_ENDPOINTS.DOCUMENTS_UPDATE(documentId),
|
|
132
|
+
body,
|
|
133
|
+
});
|
|
134
|
+
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
135
|
+
}
|
|
136
|
+
exports.default = exports.documentsUpdateDescription;
|
|
137
|
+
//# sourceMappingURL=update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/documents/update.ts"],"names":[],"mappings":";;;AA8IA,0CAiBC;AAxJD,+CAAgD;AAChD,2CAA8E;AAE9E,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,WAAW,CAAC;CACxB,CAAC;AAEW,QAAA,0BAA0B,GAAsB;IAC3D;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,sBAAsB;SAC7B;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,wBAAwB;aACtC;YACD;gBACE,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,6BAA6B;gBAC1C,WAAW,EAAE;oBACX,IAAI,EAAE,CAAC;iBACR;aACF;YACD;gBACE,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,gCAAgC;aAC9C;YACD;gBACE,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,oCAAoC;aAClD;YACD;gBACE,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,iCAAiC;aAC/C;YACD;gBACE,WAAW,EAAE,iBAAiB;gBAC9B,IA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OAAO,CAAC,IAAI,EAAE,CAAC;YACjB,IAAI,CAAC,IAAI,GAAI,OAAO,CAAC,IAAe;iBACjC,KAAK,CAAC,GAAG,CAAC;iBACV,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAEM,KAAK,UAAU,eAAe;IAGnC,MAAM,UAAU,GAAG,IAAA,qCAA2B,EAC5C,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,CAAC,CAAC,CACvC,CAAC;IACF,MAAM,IAAI,GAAG,wBAAwB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAEjD,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,yBAAa,CAAC,gBAAgB,CAAC,UAAU,CAAC;QAC/C,IAAI;KACL,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,kCAA0B,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const emailsGetDescription: INodeProperties[];
|
|
3
|
+
export declare function emailsGet(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
+
export default emailsGetDescription;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.emailsGetDescription = void 0;
|
|
4
|
+
exports.emailsGet = emailsGet;
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
6
|
+
const helpers_1 = require("../../helpers");
|
|
7
|
+
exports.emailsGetDescription = [];
|
|
8
|
+
async function emailsGet() {
|
|
9
|
+
const emailId = (0, helpers_1.extractResourceLocatorValue)(this.getNodeParameter("emailId", 0));
|
|
10
|
+
const response = await helpers_1.propstackRequest.call(this, {
|
|
11
|
+
method: "GET",
|
|
12
|
+
url: constants_1.API_ENDPOINTS.EMAILS_GET(emailId),
|
|
13
|
+
});
|
|
14
|
+
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
15
|
+
}
|
|
16
|
+
exports.default = exports.emailsGetDescription;
|
|
17
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/emails/get.ts"],"names":[],"mappings":";;;AAWA,8BAeC;AApBD,+CAAgD;AAChD,2CAA8E;AAEjE,QAAA,oBAAoB,GAAsB,EAAE,CAAC;AAEnD,KAAK,UAAU,SAAS;IAG7B,MAAM,OAAO,GAAG,IAAA,qCAA2B,EACzC,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,CAAC,CACpC,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,yBAAa,CAAC,UAAU,CAAC,OAAO,CAAC;KACvC,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,4BAAoB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const emailsGetAllDescription: INodeProperties[];
|
|
3
|
+
export declare function emailsGetAll(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
+
export default emailsGetAllDescription;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.emailsGetAllDescription = void 0;
|
|
4
|
+
exports.emailsGetAll = emailsGetAll;
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
6
|
+
const helpers_1 = require("../../helpers");
|
|
7
|
+
const showForEmailsGetAll = {
|
|
8
|
+
operation: ["getAll"],
|
|
9
|
+
resource: ["emails"],
|
|
10
|
+
};
|
|
11
|
+
exports.emailsGetAllDescription = [
|
|
12
|
+
{
|
|
13
|
+
displayName: "Return All",
|
|
14
|
+
name: "returnAll",
|
|
15
|
+
type: "boolean",
|
|
16
|
+
default: false,
|
|
17
|
+
displayOptions: {
|
|
18
|
+
show: showForEmailsGetAll,
|
|
19
|
+
},
|
|
20
|
+
description: "Whether to return all results or only up to a given limit",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
displayName: "Limit",
|
|
24
|
+
name: "limit",
|
|
25
|
+
type: "number",
|
|
26
|
+
default: 50,
|
|
27
|
+
displayOptions: {
|
|
28
|
+
show: {
|
|
29
|
+
...showForEmailsGetAll,
|
|
30
|
+
returnAll: [false],
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
description: "Max number of results to return",
|
|
34
|
+
typeOptions: {
|
|
35
|
+
minValue: 1,
|
|
36
|
+
maxValue: 100,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
displayName: "Additional Fields",
|
|
41
|
+
name: "additionalFields",
|
|
42
|
+
type: "collection",
|
|
43
|
+
placeholder: "Add Field",
|
|
44
|
+
default: {},
|
|
45
|
+
displayOptions: {
|
|
46
|
+
show: showForEmailsGetAll,
|
|
47
|
+
},
|
|
48
|
+
options: [
|
|
49
|
+
{
|
|
50
|
+
displayName: "Page",
|
|
51
|
+
name: "page",
|
|
52
|
+
type: "number",
|
|
53
|
+
default: 1,
|
|
54
|
+
description: "Page number for pagination",
|
|
55
|
+
typeOptions: {
|
|
56
|
+
minValue: 1,
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
},
|
|
61
|
+
];
|
|
62
|
+
async function emailsGetAll() {
|
|
63
|
+
const returnAll = this.getNodeParameter("returnAll", 0);
|
|
64
|
+
const limit = this.getNodeParameter("limit", 0, 50);
|
|
65
|
+
const options = this.getNodeParameter("additionalFields", 0);
|
|
66
|
+
const page = (options === null || options === void 0 ? void 0 : options.page) || 1;
|
|
67
|
+
if (returnAll) {
|
|
68
|
+
let allResults = [];
|
|
69
|
+
let currentPage = 1;
|
|
70
|
+
let hasMore = true;
|
|
71
|
+
while (hasMore) {
|
|
72
|
+
const qs = {
|
|
73
|
+
page: currentPage,
|
|
74
|
+
per_page: 100,
|
|
75
|
+
};
|
|
76
|
+
const response = await helpers_1.propstackRequest.call(this, {
|
|
77
|
+
method: "GET",
|
|
78
|
+
url: constants_1.API_ENDPOINTS.EMAILS_GET_ALL,
|
|
79
|
+
qs,
|
|
80
|
+
});
|
|
81
|
+
const results = Array.isArray(response) ? response : [response];
|
|
82
|
+
allResults = allResults.concat(results);
|
|
83
|
+
if (results.length < 100) {
|
|
84
|
+
hasMore = false;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
currentPage++;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return this.helpers.returnJsonArray(allResults);
|
|
91
|
+
}
|
|
92
|
+
const qs = {
|
|
93
|
+
page,
|
|
94
|
+
per_page: limit,
|
|
95
|
+
};
|
|
96
|
+
const response = await helpers_1.propstackRequest.call(this, {
|
|
97
|
+
method: "GET",
|
|
98
|
+
url: constants_1.API_ENDPOINTS.EMAILS_GET_ALL,
|
|
99
|
+
qs,
|
|
100
|
+
});
|
|
101
|
+
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
102
|
+
}
|
|
103
|
+
exports.default = exports.emailsGetAllDescription;
|
|
104
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/emails/getAll.ts"],"names":[],"mappings":";;;AAmEA,oCAwDC;AApHD,+CAAgD;AAChD,2CAAiD;AAEjD,MAAM,mBAAmB,GAAG;IAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACrB,CAAC;AAEW,QAAA,uBAAuB,GAAsB;IACxD;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,cAAc,EAAE;YACd,IAAI,EAAE,mBAAmB;SAC1B;QACD,WAAW,EAAE,2DAA2D;KACzE;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,GAAG,mBAAmB;gBACtB,SAAS,EAAE,CAAC,KAAK,CAAC;aACnB;SACF;QACD,WAAW,EAAE,iCAAiC;QAC9C,WAAW,EAAE;YACX,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,GAAG;SACd;KACF;IACD;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,mBAAmB;SAC1B;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC;gBACV,WAAW,EAAE,4BAA4B;gBACzC,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C,OAAO,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;IAClD,CAAC;IAED,MAAM,EAAE,GAAgB;QACtB,IAAI;QACJ,QAAQ,EAAE,KAAK;KAChB,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,yBAAa,CAAC,cAAc;QACjC,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,+BAAuB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { INodeProperties } from "n8n-workflow";
|
|
2
|
+
import { emailsSend } from "./send";
|
|
3
|
+
import { emailsGet } from "./get";
|
|
4
|
+
import { emailsGetAll } from "./getAll";
|
|
5
|
+
import { emailsUpdate } from "./update";
|
|
6
|
+
export { emailsGet, emailsGetAll, emailsSend, emailsUpdate };
|
|
7
|
+
export declare const emailsDescription: INodeProperties[];
|