n8n-nodes-propstack 0.1.0 → 0.2.1
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 +5 -0
- package/dist/nodes/Propstack/PropstackTrigger.node.js +121 -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,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.eventsGetAll = exports.eventsFields = exports.eventsOperations = void 0;
|
|
4
|
+
exports.eventsOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: "Operation",
|
|
7
|
+
name: "operation",
|
|
8
|
+
type: "options",
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ["events"],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: "Get Many",
|
|
18
|
+
value: "getAll",
|
|
19
|
+
action: "Get many events",
|
|
20
|
+
description: "Retrieve a list of events",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
default: "getAll",
|
|
24
|
+
},
|
|
25
|
+
];
|
|
26
|
+
exports.eventsFields = [
|
|
27
|
+
{
|
|
28
|
+
displayName: "Additional Fields",
|
|
29
|
+
name: "additionalFields",
|
|
30
|
+
type: "collection",
|
|
31
|
+
placeholder: "Add Field",
|
|
32
|
+
default: {},
|
|
33
|
+
displayOptions: {
|
|
34
|
+
show: {
|
|
35
|
+
resource: ["events"],
|
|
36
|
+
operation: ["getAll"],
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
options: [
|
|
40
|
+
{
|
|
41
|
+
displayName: "Broker ID",
|
|
42
|
+
name: "broker",
|
|
43
|
+
type: "string",
|
|
44
|
+
default: "",
|
|
45
|
+
description: "Filter by assigned user ID",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
displayName: "Client ID",
|
|
49
|
+
name: "client",
|
|
50
|
+
type: "string",
|
|
51
|
+
default: "",
|
|
52
|
+
description: "Filter by contact ID",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
displayName: "Ends At After",
|
|
56
|
+
name: "endsAtAfter",
|
|
57
|
+
type: "dateTime",
|
|
58
|
+
default: "",
|
|
59
|
+
description: "Filter by end date range (after)",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
displayName: "Ends At Before",
|
|
63
|
+
name: "endsAtBefore",
|
|
64
|
+
type: "dateTime",
|
|
65
|
+
default: "",
|
|
66
|
+
description: "Filter by end date range (before)",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
displayName: "Note Type ID",
|
|
70
|
+
name: "noteType",
|
|
71
|
+
type: "string",
|
|
72
|
+
default: "",
|
|
73
|
+
description: "Filter by event category ID",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
displayName: "Project ID",
|
|
77
|
+
name: "project",
|
|
78
|
+
type: "string",
|
|
79
|
+
default: "",
|
|
80
|
+
description: "Filter by project ID",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
displayName: "Property ID",
|
|
84
|
+
name: "property",
|
|
85
|
+
type: "string",
|
|
86
|
+
default: "",
|
|
87
|
+
description: "Filter by property ID",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
displayName: "Recurring",
|
|
91
|
+
name: "recurring",
|
|
92
|
+
type: "boolean",
|
|
93
|
+
default: false,
|
|
94
|
+
description: "Whether to filter for recurring events only",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
displayName: "Starts At After",
|
|
98
|
+
name: "startsAtAfter",
|
|
99
|
+
type: "dateTime",
|
|
100
|
+
default: "",
|
|
101
|
+
description: "Filter by event start date range (after)",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
displayName: "Starts At Before",
|
|
105
|
+
name: "startsAtBefore",
|
|
106
|
+
type: "dateTime",
|
|
107
|
+
default: "",
|
|
108
|
+
description: "Filter by event start date range (before)",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
displayName: "State",
|
|
112
|
+
name: "state",
|
|
113
|
+
type: "options",
|
|
114
|
+
default: "cancelled",
|
|
115
|
+
options: [
|
|
116
|
+
{ name: "Cancelled", value: "cancelled" },
|
|
117
|
+
{ name: "Neutral", value: "neutral" },
|
|
118
|
+
{ name: "Took Place", value: "took_place" },
|
|
119
|
+
],
|
|
120
|
+
description: "Filter by event phase",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
displayName: "Tag ID",
|
|
124
|
+
name: "tag",
|
|
125
|
+
type: "string",
|
|
126
|
+
default: "",
|
|
127
|
+
description: "Filter by characteristic/group ID",
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
},
|
|
131
|
+
];
|
|
132
|
+
var getAll_1 = require("./getAll");
|
|
133
|
+
Object.defineProperty(exports, "eventsGetAll", { enumerable: true, get: function () { return getAll_1.eventsGetAll; } });
|
|
134
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/events/index.ts"],"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AQ;gBACrB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,mCAAmC;aACjD;SACF;KACF;CACF,CAAC;AAEF,mCAAwC;AAA/B,sGAAA,YAAY,OAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const featuresCreateDescription: INodeProperties[];
|
|
3
|
+
export declare function featuresCreate(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
+
export default featuresCreateDescription;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.featuresCreateDescription = void 0;
|
|
4
|
+
exports.featuresCreate = featuresCreate;
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
6
|
+
const helpers_1 = require("../../helpers");
|
|
7
|
+
const showForFeaturesCreate = {
|
|
8
|
+
operation: ["create"],
|
|
9
|
+
resource: ["features"],
|
|
10
|
+
};
|
|
11
|
+
exports.featuresCreateDescription = [
|
|
12
|
+
{
|
|
13
|
+
displayName: "Entity",
|
|
14
|
+
name: "entity",
|
|
15
|
+
type: "options",
|
|
16
|
+
required: true,
|
|
17
|
+
default: "for_clients",
|
|
18
|
+
displayOptions: {
|
|
19
|
+
show: showForFeaturesCreate,
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{ name: "Activities", value: "for_activities" },
|
|
23
|
+
{ name: "Clients", value: "for_clients" },
|
|
24
|
+
{ name: "Properties", value: "for_properties" },
|
|
25
|
+
],
|
|
26
|
+
description: "Entity type for the feature",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
displayName: "Name",
|
|
30
|
+
name: "name",
|
|
31
|
+
type: "string",
|
|
32
|
+
required: true,
|
|
33
|
+
default: "",
|
|
34
|
+
displayOptions: {
|
|
35
|
+
show: showForFeaturesCreate,
|
|
36
|
+
},
|
|
37
|
+
description: "Feature name (must be unique)",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
displayName: "Parent Feature ID",
|
|
41
|
+
name: "superGroupId",
|
|
42
|
+
type: "string",
|
|
43
|
+
default: "",
|
|
44
|
+
displayOptions: {
|
|
45
|
+
show: showForFeaturesCreate,
|
|
46
|
+
},
|
|
47
|
+
description: "Parent category ID",
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
function buildFeaturesCreateBody() {
|
|
51
|
+
const body = {};
|
|
52
|
+
body.entity = this.getNodeParameter("entity", 0);
|
|
53
|
+
body.name = this.getNodeParameter("name", 0);
|
|
54
|
+
const superGroupId = (0, helpers_1.extractResourceLocatorValue)(this.getNodeParameter("superGroupId", 0));
|
|
55
|
+
if (superGroupId) {
|
|
56
|
+
body.super_group_id = parseInt(superGroupId, 10);
|
|
57
|
+
}
|
|
58
|
+
return body;
|
|
59
|
+
}
|
|
60
|
+
async function featuresCreate() {
|
|
61
|
+
const body = buildFeaturesCreateBody.call(this);
|
|
62
|
+
const response = await helpers_1.propstackRequest.call(this, {
|
|
63
|
+
method: "POST",
|
|
64
|
+
url: constants_1.API_ENDPOINTS.FEATURES_CREATE,
|
|
65
|
+
body,
|
|
66
|
+
});
|
|
67
|
+
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
68
|
+
}
|
|
69
|
+
exports.default = exports.featuresCreateDescription;
|
|
70
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/features/create.ts"],"names":[],"mappings":";;;AAuEA,wCAcC;AA9ED,+CAAgD;AAChD,2CAA8E;AAE9E,MAAM,qBAAqB,GAAG;IAC5B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,UAAU,CAAC;CACvB,CAAC;AAEW,QAAA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GAAG,QAAQ,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;IACnD,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAEM,KAAK,UAAU,cAAc;IAGlC,MAAM,IAAI,GAAG,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAEhD,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,MAAM;QACd,GAAG,EAAE,yBAAa,CAAC,eAAe;QAClC,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,iCAAyB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const featuresGetAllDescription: INodeProperties[];
|
|
3
|
+
export declare function featuresGetAll(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
+
export default featuresGetAllDescription;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.featuresGetAllDescription = void 0;
|
|
4
|
+
exports.featuresGetAll = featuresGetAll;
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
6
|
+
const helpers_1 = require("../../helpers");
|
|
7
|
+
const showForFeaturesGetAll = {
|
|
8
|
+
operation: ["getAll"],
|
|
9
|
+
resource: ["features"],
|
|
10
|
+
};
|
|
11
|
+
exports.featuresGetAllDescription = [
|
|
12
|
+
{
|
|
13
|
+
displayName: "Entity",
|
|
14
|
+
name: "entity",
|
|
15
|
+
type: "options",
|
|
16
|
+
required: true,
|
|
17
|
+
default: "for_clients",
|
|
18
|
+
displayOptions: {
|
|
19
|
+
show: showForFeaturesGetAll,
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{ name: "Activities", value: "for_activities" },
|
|
23
|
+
{ name: "Clients", value: "for_clients" },
|
|
24
|
+
{ name: "Properties", value: "for_properties" },
|
|
25
|
+
],
|
|
26
|
+
description: "Entity type to retrieve features for",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
displayName: "Additional Fields",
|
|
30
|
+
name: "additionalFields",
|
|
31
|
+
type: "collection",
|
|
32
|
+
placeholder: "Add Field",
|
|
33
|
+
default: {},
|
|
34
|
+
displayOptions: {
|
|
35
|
+
show: showForFeaturesGetAll,
|
|
36
|
+
},
|
|
37
|
+
options: [
|
|
38
|
+
{
|
|
39
|
+
displayName: "Parent Feature ID",
|
|
40
|
+
name: "superGroupId",
|
|
41
|
+
type: "string",
|
|
42
|
+
default: "",
|
|
43
|
+
description: "Filter by parent category ID",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
];
|
|
48
|
+
async function featuresGetAll() {
|
|
49
|
+
const entity = this.getNodeParameter("entity", 0);
|
|
50
|
+
const options = this.getNodeParameter("additionalFields", 0);
|
|
51
|
+
const qs = {
|
|
52
|
+
entity,
|
|
53
|
+
};
|
|
54
|
+
if (options === null || options === void 0 ? void 0 : options.superGroupId) {
|
|
55
|
+
qs.super_group = parseInt(options.superGroupId, 10);
|
|
56
|
+
}
|
|
57
|
+
const response = await helpers_1.propstackRequest.call(this, {
|
|
58
|
+
method: "GET",
|
|
59
|
+
url: constants_1.API_ENDPOINTS.FEATURES_GET_ALL,
|
|
60
|
+
qs,
|
|
61
|
+
});
|
|
62
|
+
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
63
|
+
}
|
|
64
|
+
exports.default = exports.featuresGetAllDescription;
|
|
65
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/features/getAll.ts"],"names":[],"mappings":";;;AAqDA,wCA0BC;AAxED,+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,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,aAAa;QACtB,cAAc,EAAE;YACd,IAAI,EAAE,qBAAqB;SAC5B;QACD,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,gBAAgB,EAAE;YAC/C,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE;YACzC,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,gBAAgB,EAAE;SAChD;QACD,WAAW,EAAE,sCAAsC;KACpD;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,qBAAqB;SAC5B;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,8BAA8B;aAC5C;SACF;KACF;CACF,CAAC;AAEK,KAAK,UAAU,cAAc;IAGlC,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,CAAW,CAAC;IAC5D,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CACnC,kBAAkB,EAClB,CAAC,CACa,CAAC;IAEjB,MAAM,EAAE,GAAgB;QACtB,MAAM;KACP,CAAC;IAEF,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY,EAAE,CAAC;QAC1B,EAAE,CAAC,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC,YAAsB,EAAE,EAAE,CAAC,CAAC;IAChE,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,yBAAa,CAAC,gBAAgB;QACnC,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,iCAAyB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const featuresOperations: INodeProperties[];
|
|
3
|
+
export declare const featuresFields: INodeProperties[];
|
|
4
|
+
export { featuresCreate } from "./create";
|
|
5
|
+
export { featuresGetAll } from "./getAll";
|
|
6
|
+
export { featuresParentGetAll } from "./parentGetAll";
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.featuresParentGetAll = exports.featuresGetAll = exports.featuresCreate = exports.featuresFields = exports.featuresOperations = void 0;
|
|
4
|
+
exports.featuresOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: "Operation",
|
|
7
|
+
name: "operation",
|
|
8
|
+
type: "options",
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ["features"],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: "Create",
|
|
18
|
+
value: "create",
|
|
19
|
+
action: "Create feature",
|
|
20
|
+
description: "Create a new feature",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "Get Many",
|
|
24
|
+
value: "getAll",
|
|
25
|
+
action: "Get many features",
|
|
26
|
+
description: "Retrieve a list of features",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "Get Parent Features",
|
|
30
|
+
value: "getParentFeatures",
|
|
31
|
+
action: "Get parent features",
|
|
32
|
+
description: "Retrieve a list of parent features",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
default: "getAll",
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
exports.featuresFields = [
|
|
39
|
+
{
|
|
40
|
+
displayName: "Entity",
|
|
41
|
+
name: "entity",
|
|
42
|
+
type: "options",
|
|
43
|
+
required: true,
|
|
44
|
+
default: "for_clients",
|
|
45
|
+
displayOptions: {
|
|
46
|
+
show: {
|
|
47
|
+
resource: ["features"],
|
|
48
|
+
operation: ["create", "getAll", "getParentFeatures"],
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
options: [
|
|
52
|
+
{ name: "Activities", value: "for_activities" },
|
|
53
|
+
{ name: "Clients", value: "for_clients" },
|
|
54
|
+
{ name: "Properties", value: "for_properties" },
|
|
55
|
+
],
|
|
56
|
+
description: "Entity type",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
displayName: "Name",
|
|
60
|
+
name: "name",
|
|
61
|
+
type: "string",
|
|
62
|
+
required: true,
|
|
63
|
+
displayOptions: {
|
|
64
|
+
show: {
|
|
65
|
+
resource: ["features"],
|
|
66
|
+
operation: ["create"],
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
default: "",
|
|
70
|
+
description: "Feature name (must be unique)",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
displayName: "Parent Feature",
|
|
74
|
+
name: "superGroupId",
|
|
75
|
+
type: "resourceLocator",
|
|
76
|
+
default: { mode: "list", value: "" },
|
|
77
|
+
description: "Parent category for this feature",
|
|
78
|
+
displayOptions: {
|
|
79
|
+
show: {
|
|
80
|
+
resource: ["features"],
|
|
81
|
+
operation: ["create"],
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
modes: [
|
|
85
|
+
{
|
|
86
|
+
displayName: "From List",
|
|
87
|
+
name: "list",
|
|
88
|
+
type: "list",
|
|
89
|
+
typeOptions: {
|
|
90
|
+
searchListMethod: "searchParentFeatures",
|
|
91
|
+
searchable: true,
|
|
92
|
+
searchFilterRequired: false,
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
displayName: "By ID",
|
|
97
|
+
name: "id",
|
|
98
|
+
type: "string",
|
|
99
|
+
placeholder: "e.g. 12345",
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
displayName: "Include Child Features",
|
|
105
|
+
name: "includeGroups",
|
|
106
|
+
type: "boolean",
|
|
107
|
+
default: false,
|
|
108
|
+
displayOptions: {
|
|
109
|
+
show: {
|
|
110
|
+
resource: ["features"],
|
|
111
|
+
operation: ["getParentFeatures"],
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
description: "Whether to include child features",
|
|
115
|
+
},
|
|
116
|
+
];
|
|
117
|
+
var create_1 = require("./create");
|
|
118
|
+
Object.defineProperty(exports, "featuresCreate", { enumerable: true, get: function () { return create_1.featuresCreate; } });
|
|
119
|
+
var getAll_1 = require("./getAll");
|
|
120
|
+
Object.defineProperty(exports, "featuresGetAll", { enumerable: true, get: function () { return getAll_1.featuresGetAll; } });
|
|
121
|
+
var parentGetAll_1 = require("./parentGetAll");
|
|
122
|
+
Object.defineProperty(exports, "featuresParentGetAll", { enumerable: true, get: function () { return parentGetAll_1.featuresParentGetAll; } });
|
|
123
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/features/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAsB;IACnD;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,UAAU,CAAC;aACvB;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,gBAAgB;gBACxB,WAAW,EAAE,sBAAsB;aACpC;YACD;gBACE,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,mBAAmB;gBAC3B,WAAW,EAAE,6BAA6B;aAC3C;YACD;gBACE,IAAI,EAAE,qBAAqB;gBAC3B,KAAK,EAAE,mBAAmB;gBAC1B,MAAM,EAAE,qBAAqB;gBAC7B,WAAW,EAAE,oCAAoC;aAClD;SACF;QACD,OAAO,EAAE,QAAQ;KAClB;CACF,CAAC;AAEW,QAAA,cAAc,GAAsB;IAC/C;QACE,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,aAAa;QACtB,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,UAAU,CAAC;gBACtB,SAAS,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,mBAAmB,CAAC;aACrD;SACF;QACD,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,gBAAgB,EAAE;YAC/C,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE;YACzC,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,gBAAgB,EAAE;SAChD;QACD,WAAW,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,OAAA;AACvB,mCAA0C;AAAjC,wGAAA,cAAc,OAAA;AACvB,+CAAsD;AAA7C,oHAAA,oBAAoB,OAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const featuresParentGetAllDescription: INodeProperties[];
|
|
3
|
+
export declare function featuresParentGetAll(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
+
export default featuresParentGetAllDescription;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.featuresParentGetAllDescription = void 0;
|
|
4
|
+
exports.featuresParentGetAll = featuresParentGetAll;
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
6
|
+
const helpers_1 = require("../../helpers");
|
|
7
|
+
const showForFeaturesParentGetAll = {
|
|
8
|
+
operation: ["getParentFeatures"],
|
|
9
|
+
resource: ["features"],
|
|
10
|
+
};
|
|
11
|
+
exports.featuresParentGetAllDescription = [
|
|
12
|
+
{
|
|
13
|
+
displayName: "Entity",
|
|
14
|
+
name: "entity",
|
|
15
|
+
type: "options",
|
|
16
|
+
required: true,
|
|
17
|
+
default: "for_clients",
|
|
18
|
+
displayOptions: {
|
|
19
|
+
show: showForFeaturesParentGetAll,
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{ name: "Activities", value: "for_activities" },
|
|
23
|
+
{ name: "Clients", value: "for_clients" },
|
|
24
|
+
{ name: "Properties", value: "for_properties" },
|
|
25
|
+
],
|
|
26
|
+
description: "Entity type to retrieve parent features for",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
displayName: "Include Child Features",
|
|
30
|
+
name: "includeGroups",
|
|
31
|
+
type: "boolean",
|
|
32
|
+
default: false,
|
|
33
|
+
displayOptions: {
|
|
34
|
+
show: showForFeaturesParentGetAll,
|
|
35
|
+
},
|
|
36
|
+
description: "Whether to include child features",
|
|
37
|
+
},
|
|
38
|
+
];
|
|
39
|
+
async function featuresParentGetAll() {
|
|
40
|
+
const entity = this.getNodeParameter("entity", 0);
|
|
41
|
+
const includeGroups = this.getNodeParameter("includeGroups", 0);
|
|
42
|
+
const qs = {
|
|
43
|
+
entity,
|
|
44
|
+
};
|
|
45
|
+
if (includeGroups) {
|
|
46
|
+
qs.include = "groups";
|
|
47
|
+
}
|
|
48
|
+
const response = await helpers_1.propstackRequest.call(this, {
|
|
49
|
+
method: "GET",
|
|
50
|
+
url: constants_1.API_ENDPOINTS.FEATURES_PARENT_GET_ALL,
|
|
51
|
+
qs,
|
|
52
|
+
});
|
|
53
|
+
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
54
|
+
}
|
|
55
|
+
exports.default = exports.featuresParentGetAllDescription;
|
|
56
|
+
//# sourceMappingURL=parentGetAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parentGetAll.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/features/parentGetAll.ts"],"names":[],"mappings":";;;AA4CA,oDAuBC;AA5DD,+CAAgD;AAChD,2CAAiD;AAEjD,MAAM,2BAA2B,GAAG;IAClC,SAAS,EAAE,CAAC,mBAAmB,CAAC;IAChC,QAAQ,EAAE,CAAC,UAAU,CAAC;CACvB,CAAC;AAEW,QAAA,+BAA+B,GAAsB;IAChE;QACE,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,aAAa;QACtB,cAAc,EAAE;YACd,IAAI,EAAE,2BAA2B;SAClC;QACD,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,gBAAgB,EAAE;YAC/C,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE;YACzC,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,gBAAgB,EAAE;SAChD;QACD,WAAW,EAAE,6CAA6C;KAC3D;IACD;QACE,WAAW,EAAE,wBAAwB;QACrC,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,cAAc,EAAE;YACd,IAAI,EAAE,2BAA2B;SAClC;QACD,WAAW,EAAE,mCAAmC;KACjD;CACF,CAAC;AAEK,KAAK,UAAU,oBAAoB;IAGxC,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,CAAW,CAAC;IAC5D,MAAM,aAAa,GAAG,IAAI,CAAC,gBAAgB,CAAC,eAAe,EAAE,CAAC,CAAY,CAAC;IAE3E,MAAM,EAAE,GAAgB;QACtB,MAAM;KACP,CAAC;IAEF,IAAI,aAAa,EAAE,CAAC;QAClB,EAAE,CAAC,OAAO,GAAG,QAAQ,CAAC;IACxB,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,yBAAa,CAAC,uBAAuB;QAC1C,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,uCAA+B,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const locationsGetAllDescription: INodeProperties[];
|
|
3
|
+
export declare function locationsGetAll(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
+
export default locationsGetAllDescription;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.locationsGetAllDescription = void 0;
|
|
4
|
+
exports.locationsGetAll = locationsGetAll;
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
6
|
+
const helpers_1 = require("../../helpers");
|
|
7
|
+
exports.locationsGetAllDescription = [];
|
|
8
|
+
async function locationsGetAll() {
|
|
9
|
+
const response = await helpers_1.propstackRequest.call(this, {
|
|
10
|
+
method: "GET",
|
|
11
|
+
url: constants_1.API_ENDPOINTS.LOCATIONS_GET_ALL,
|
|
12
|
+
});
|
|
13
|
+
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
14
|
+
}
|
|
15
|
+
exports.default = exports.locationsGetAllDescription;
|
|
16
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/locations/getAll.ts"],"names":[],"mappings":";;;AAWA,0CAWC;AAhBD,+CAAgD;AAChD,2CAAiD;AAEpC,QAAA,0BAA0B,GAAsB,EAAE,CAAC;AAEzD,KAAK,UAAU,eAAe;IAGnC,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,yBAAa,CAAC,iBAAiB;KACrC,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,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.locationsGetAll = exports.locationsFields = exports.locationsOperations = void 0;
|
|
4
|
+
exports.locationsOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: "Operation",
|
|
7
|
+
name: "operation",
|
|
8
|
+
type: "options",
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ["locations"],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: "Get Many",
|
|
18
|
+
value: "getAll",
|
|
19
|
+
action: "Get many locations",
|
|
20
|
+
description: "Retrieve a list of locations",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
default: "getAll",
|
|
24
|
+
},
|
|
25
|
+
];
|
|
26
|
+
exports.locationsFields = [];
|
|
27
|
+
var getAll_1 = require("./getAll");
|
|
28
|
+
Object.defineProperty(exports, "locationsGetAll", { enumerable: true, get: function () { return getAll_1.locationsGetAll; } });
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/locations/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IACpD;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,WAAW,CAAC;aACxB;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,oBAAoB;gBAC5B,WAAW,EAAE,8BAA8B;aAC5C;SACF;QACD,OAAO,EAAE,QAAQ;KAClB;CACF,CAAC;AAEW,QAAA,eAAe,GAAsB,EAAE,CAAC;AAErD,mCAA2C;AAAlC,yGAAA,eAAe,OAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare const notesGetAllDescription: INodeProperties[];
|
|
3
|
+
export declare function notesGetAll(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
+
export default notesGetAllDescription;
|