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.
Files changed (502) hide show
  1. package/README.md +132 -28
  2. package/dist/credentials/PropstackApi.credentials.d.ts +10 -0
  3. package/dist/credentials/PropstackApi.credentials.js +40 -0
  4. package/dist/credentials/PropstackApi.credentials.js.map +1 -0
  5. package/dist/credentials/PropstackV2Api.credentials.d.ts +10 -0
  6. package/dist/credentials/PropstackV2Api.credentials.js +41 -0
  7. package/dist/credentials/PropstackV2Api.credentials.js.map +1 -0
  8. package/dist/icons/propstack-logo.svg +1 -0
  9. package/dist/icons/propstack.dark.svg +1 -0
  10. package/dist/icons/propstack.svg +1 -0
  11. package/dist/nodes/Propstack/Propstack.node.d.ts +4 -0
  12. package/dist/nodes/Propstack/Propstack.node.js +30 -0
  13. package/dist/nodes/Propstack/Propstack.node.js.map +1 -0
  14. package/dist/nodes/Propstack/Propstack.node.json +17 -0
  15. package/dist/nodes/Propstack/PropstackTrigger.node.d.ts +12 -0
  16. package/dist/nodes/Propstack/PropstackTrigger.node.js +138 -0
  17. package/dist/nodes/Propstack/PropstackTrigger.node.js.map +1 -0
  18. package/dist/nodes/Propstack/PropstackTrigger.node.json +17 -0
  19. package/dist/nodes/Propstack/types.d.ts +59 -0
  20. package/dist/nodes/Propstack/types.js +3 -0
  21. package/dist/nodes/Propstack/types.js.map +1 -0
  22. package/dist/nodes/Propstack/v1/PropstackV1.d.ts +24 -0
  23. package/dist/nodes/Propstack/v1/PropstackV1.js +314 -0
  24. package/dist/nodes/Propstack/v1/PropstackV1.js.map +1 -0
  25. package/dist/nodes/Propstack/v1/constants.d.ts +66 -0
  26. package/dist/nodes/Propstack/v1/constants.js +70 -0
  27. package/dist/nodes/Propstack/v1/constants.js.map +1 -0
  28. package/dist/nodes/Propstack/v1/helpers.d.ts +7 -0
  29. package/dist/nodes/Propstack/v1/helpers.js +102 -0
  30. package/dist/nodes/Propstack/v1/helpers.js.map +1 -0
  31. package/dist/nodes/Propstack/v1/listSearch.d.ts +14 -0
  32. package/dist/nodes/Propstack/v1/listSearch.js +281 -0
  33. package/dist/nodes/Propstack/v1/listSearch.js.map +1 -0
  34. package/dist/nodes/Propstack/v1/resources/activities/activityTypesGetAll.d.ts +4 -0
  35. package/dist/nodes/Propstack/v1/resources/activities/activityTypesGetAll.js +16 -0
  36. package/dist/nodes/Propstack/v1/resources/activities/activityTypesGetAll.js.map +1 -0
  37. package/dist/nodes/Propstack/v1/resources/activities/get.d.ts +4 -0
  38. package/dist/nodes/Propstack/v1/resources/activities/get.js +33 -0
  39. package/dist/nodes/Propstack/v1/resources/activities/get.js.map +1 -0
  40. package/dist/nodes/Propstack/v1/resources/activities/getAll.d.ts +4 -0
  41. package/dist/nodes/Propstack/v1/resources/activities/getAll.js +278 -0
  42. package/dist/nodes/Propstack/v1/resources/activities/getAll.js.map +1 -0
  43. package/dist/nodes/Propstack/v1/resources/activities/index.d.ts +7 -0
  44. package/dist/nodes/Propstack/v1/resources/activities/index.js +230 -0
  45. package/dist/nodes/Propstack/v1/resources/activities/index.js.map +1 -0
  46. package/dist/nodes/Propstack/v1/resources/activities/reservationReasonsGetAll.d.ts +4 -0
  47. package/dist/nodes/Propstack/v1/resources/activities/reservationReasonsGetAll.js +16 -0
  48. package/dist/nodes/Propstack/v1/resources/activities/reservationReasonsGetAll.js.map +1 -0
  49. package/dist/nodes/Propstack/v1/resources/brokers/getAll.d.ts +4 -0
  50. package/dist/nodes/Propstack/v1/resources/brokers/getAll.js +16 -0
  51. package/dist/nodes/Propstack/v1/resources/brokers/getAll.js.map +1 -0
  52. package/dist/nodes/Propstack/v1/resources/brokers/index.d.ts +4 -0
  53. package/dist/nodes/Propstack/v1/resources/brokers/index.js +29 -0
  54. package/dist/nodes/Propstack/v1/resources/brokers/index.js.map +1 -0
  55. package/dist/nodes/Propstack/v1/resources/contacts/create.d.ts +4 -0
  56. package/dist/nodes/Propstack/v1/resources/contacts/create.js +233 -0
  57. package/dist/nodes/Propstack/v1/resources/contacts/create.js.map +1 -0
  58. package/dist/nodes/Propstack/v1/resources/contacts/delete.d.ts +4 -0
  59. package/dist/nodes/Propstack/v1/resources/contacts/delete.js +17 -0
  60. package/dist/nodes/Propstack/v1/resources/contacts/delete.js.map +1 -0
  61. package/dist/nodes/Propstack/v1/resources/contacts/get.d.ts +4 -0
  62. package/dist/nodes/Propstack/v1/resources/contacts/get.js +94 -0
  63. package/dist/nodes/Propstack/v1/resources/contacts/get.js.map +1 -0
  64. package/dist/nodes/Propstack/v1/resources/contacts/getAll.d.ts +4 -0
  65. package/dist/nodes/Propstack/v1/resources/contacts/getAll.js +287 -0
  66. package/dist/nodes/Propstack/v1/resources/contacts/getAll.js.map +1 -0
  67. package/dist/nodes/Propstack/v1/resources/contacts/index.d.ts +8 -0
  68. package/dist/nodes/Propstack/v1/resources/contacts/index.js +111 -0
  69. package/dist/nodes/Propstack/v1/resources/contacts/index.js.map +1 -0
  70. package/dist/nodes/Propstack/v1/resources/contacts/update.d.ts +4 -0
  71. package/dist/nodes/Propstack/v1/resources/contacts/update.js +258 -0
  72. package/dist/nodes/Propstack/v1/resources/contacts/update.js.map +1 -0
  73. package/dist/nodes/Propstack/v1/resources/customFields/getAll.d.ts +4 -0
  74. package/dist/nodes/Propstack/v1/resources/customFields/getAll.js +63 -0
  75. package/dist/nodes/Propstack/v1/resources/customFields/getAll.js.map +1 -0
  76. package/dist/nodes/Propstack/v1/resources/customFields/index.d.ts +4 -0
  77. package/dist/nodes/Propstack/v1/resources/customFields/index.js +70 -0
  78. package/dist/nodes/Propstack/v1/resources/customFields/index.js.map +1 -0
  79. package/dist/nodes/Propstack/v1/resources/dealPipelines/get.d.ts +4 -0
  80. package/dist/nodes/Propstack/v1/resources/dealPipelines/get.js +17 -0
  81. package/dist/nodes/Propstack/v1/resources/dealPipelines/get.js.map +1 -0
  82. package/dist/nodes/Propstack/v1/resources/dealPipelines/getAll.d.ts +4 -0
  83. package/dist/nodes/Propstack/v1/resources/dealPipelines/getAll.js +16 -0
  84. package/dist/nodes/Propstack/v1/resources/dealPipelines/getAll.js.map +1 -0
  85. package/dist/nodes/Propstack/v1/resources/dealPipelines/index.d.ts +5 -0
  86. package/dist/nodes/Propstack/v1/resources/dealPipelines/index.js +71 -0
  87. package/dist/nodes/Propstack/v1/resources/dealPipelines/index.js.map +1 -0
  88. package/dist/nodes/Propstack/v1/resources/deals/create.d.ts +4 -0
  89. package/dist/nodes/Propstack/v1/resources/deals/create.js +197 -0
  90. package/dist/nodes/Propstack/v1/resources/deals/create.js.map +1 -0
  91. package/dist/nodes/Propstack/v1/resources/deals/delete.d.ts +4 -0
  92. package/dist/nodes/Propstack/v1/resources/deals/delete.js +17 -0
  93. package/dist/nodes/Propstack/v1/resources/deals/delete.js.map +1 -0
  94. package/dist/nodes/Propstack/v1/resources/deals/get.d.ts +4 -0
  95. package/dist/nodes/Propstack/v1/resources/deals/get.js +59 -0
  96. package/dist/nodes/Propstack/v1/resources/deals/get.js.map +1 -0
  97. package/dist/nodes/Propstack/v1/resources/deals/getAll.d.ts +4 -0
  98. package/dist/nodes/Propstack/v1/resources/deals/getAll.js +366 -0
  99. package/dist/nodes/Propstack/v1/resources/deals/getAll.js.map +1 -0
  100. package/dist/nodes/Propstack/v1/resources/deals/index.d.ts +8 -0
  101. package/dist/nodes/Propstack/v1/resources/deals/index.js +111 -0
  102. package/dist/nodes/Propstack/v1/resources/deals/index.js.map +1 -0
  103. package/dist/nodes/Propstack/v1/resources/deals/update.d.ts +4 -0
  104. package/dist/nodes/Propstack/v1/resources/deals/update.js +150 -0
  105. package/dist/nodes/Propstack/v1/resources/deals/update.js.map +1 -0
  106. package/dist/nodes/Propstack/v1/resources/documents/create.d.ts +4 -0
  107. package/dist/nodes/Propstack/v1/resources/documents/create.js +140 -0
  108. package/dist/nodes/Propstack/v1/resources/documents/create.js.map +1 -0
  109. package/dist/nodes/Propstack/v1/resources/documents/delete.d.ts +4 -0
  110. package/dist/nodes/Propstack/v1/resources/documents/delete.js +17 -0
  111. package/dist/nodes/Propstack/v1/resources/documents/delete.js.map +1 -0
  112. package/dist/nodes/Propstack/v1/resources/documents/get.d.ts +4 -0
  113. package/dist/nodes/Propstack/v1/resources/documents/get.js +17 -0
  114. package/dist/nodes/Propstack/v1/resources/documents/get.js.map +1 -0
  115. package/dist/nodes/Propstack/v1/resources/documents/getAll.d.ts +4 -0
  116. package/dist/nodes/Propstack/v1/resources/documents/getAll.js +191 -0
  117. package/dist/nodes/Propstack/v1/resources/documents/getAll.js.map +1 -0
  118. package/dist/nodes/Propstack/v1/resources/documents/index.d.ts +8 -0
  119. package/dist/nodes/Propstack/v1/resources/documents/index.js +98 -0
  120. package/dist/nodes/Propstack/v1/resources/documents/index.js.map +1 -0
  121. package/dist/nodes/Propstack/v1/resources/documents/update.d.ts +4 -0
  122. package/dist/nodes/Propstack/v1/resources/documents/update.js +137 -0
  123. package/dist/nodes/Propstack/v1/resources/documents/update.js.map +1 -0
  124. package/dist/nodes/Propstack/v1/resources/emails/get.d.ts +4 -0
  125. package/dist/nodes/Propstack/v1/resources/emails/get.js +17 -0
  126. package/dist/nodes/Propstack/v1/resources/emails/get.js.map +1 -0
  127. package/dist/nodes/Propstack/v1/resources/emails/getAll.d.ts +4 -0
  128. package/dist/nodes/Propstack/v1/resources/emails/getAll.js +104 -0
  129. package/dist/nodes/Propstack/v1/resources/emails/getAll.js.map +1 -0
  130. package/dist/nodes/Propstack/v1/resources/emails/index.d.ts +7 -0
  131. package/dist/nodes/Propstack/v1/resources/emails/index.js +89 -0
  132. package/dist/nodes/Propstack/v1/resources/emails/index.js.map +1 -0
  133. package/dist/nodes/Propstack/v1/resources/emails/send.d.ts +4 -0
  134. package/dist/nodes/Propstack/v1/resources/emails/send.js +159 -0
  135. package/dist/nodes/Propstack/v1/resources/emails/send.js.map +1 -0
  136. package/dist/nodes/Propstack/v1/resources/emails/update.d.ts +4 -0
  137. package/dist/nodes/Propstack/v1/resources/emails/update.js +110 -0
  138. package/dist/nodes/Propstack/v1/resources/emails/update.js.map +1 -0
  139. package/dist/nodes/Propstack/v1/resources/events/getAll.d.ts +4 -0
  140. package/dist/nodes/Propstack/v1/resources/events/getAll.js +162 -0
  141. package/dist/nodes/Propstack/v1/resources/events/getAll.js.map +1 -0
  142. package/dist/nodes/Propstack/v1/resources/events/index.d.ts +4 -0
  143. package/dist/nodes/Propstack/v1/resources/events/index.js +134 -0
  144. package/dist/nodes/Propstack/v1/resources/events/index.js.map +1 -0
  145. package/dist/nodes/Propstack/v1/resources/features/create.d.ts +4 -0
  146. package/dist/nodes/Propstack/v1/resources/features/create.js +70 -0
  147. package/dist/nodes/Propstack/v1/resources/features/create.js.map +1 -0
  148. package/dist/nodes/Propstack/v1/resources/features/getAll.d.ts +4 -0
  149. package/dist/nodes/Propstack/v1/resources/features/getAll.js +65 -0
  150. package/dist/nodes/Propstack/v1/resources/features/getAll.js.map +1 -0
  151. package/dist/nodes/Propstack/v1/resources/features/index.d.ts +6 -0
  152. package/dist/nodes/Propstack/v1/resources/features/index.js +123 -0
  153. package/dist/nodes/Propstack/v1/resources/features/index.js.map +1 -0
  154. package/dist/nodes/Propstack/v1/resources/features/parentGetAll.d.ts +4 -0
  155. package/dist/nodes/Propstack/v1/resources/features/parentGetAll.js +56 -0
  156. package/dist/nodes/Propstack/v1/resources/features/parentGetAll.js.map +1 -0
  157. package/dist/nodes/Propstack/v1/resources/locations/getAll.d.ts +4 -0
  158. package/dist/nodes/Propstack/v1/resources/locations/getAll.js +16 -0
  159. package/dist/nodes/Propstack/v1/resources/locations/getAll.js.map +1 -0
  160. package/dist/nodes/Propstack/v1/resources/locations/index.d.ts +4 -0
  161. package/dist/nodes/Propstack/v1/resources/locations/index.js +29 -0
  162. package/dist/nodes/Propstack/v1/resources/locations/index.js.map +1 -0
  163. package/dist/nodes/Propstack/v1/resources/notes/getAll.d.ts +4 -0
  164. package/dist/nodes/Propstack/v1/resources/notes/getAll.js +98 -0
  165. package/dist/nodes/Propstack/v1/resources/notes/getAll.js.map +1 -0
  166. package/dist/nodes/Propstack/v1/resources/notes/index.d.ts +4 -0
  167. package/dist/nodes/Propstack/v1/resources/notes/index.js +87 -0
  168. package/dist/nodes/Propstack/v1/resources/notes/index.js.map +1 -0
  169. package/dist/nodes/Propstack/v1/resources/portalExport/index.d.ts +4 -0
  170. package/dist/nodes/Propstack/v1/resources/portalExport/index.js +87 -0
  171. package/dist/nodes/Propstack/v1/resources/portalExport/index.js.map +1 -0
  172. package/dist/nodes/Propstack/v1/resources/portalExport/publish.d.ts +4 -0
  173. package/dist/nodes/Propstack/v1/resources/portalExport/publish.js +88 -0
  174. package/dist/nodes/Propstack/v1/resources/portalExport/publish.js.map +1 -0
  175. package/dist/nodes/Propstack/v1/resources/projects/create.d.ts +4 -0
  176. package/dist/nodes/Propstack/v1/resources/projects/create.js +230 -0
  177. package/dist/nodes/Propstack/v1/resources/projects/create.js.map +1 -0
  178. package/dist/nodes/Propstack/v1/resources/projects/delete.d.ts +4 -0
  179. package/dist/nodes/Propstack/v1/resources/projects/delete.js +17 -0
  180. package/dist/nodes/Propstack/v1/resources/projects/delete.js.map +1 -0
  181. package/dist/nodes/Propstack/v1/resources/projects/get.d.ts +4 -0
  182. package/dist/nodes/Propstack/v1/resources/projects/get.js +23 -0
  183. package/dist/nodes/Propstack/v1/resources/projects/get.js.map +1 -0
  184. package/dist/nodes/Propstack/v1/resources/projects/getAll.d.ts +4 -0
  185. package/dist/nodes/Propstack/v1/resources/projects/getAll.js +124 -0
  186. package/dist/nodes/Propstack/v1/resources/projects/getAll.js.map +1 -0
  187. package/dist/nodes/Propstack/v1/resources/projects/index.d.ts +8 -0
  188. package/dist/nodes/Propstack/v1/resources/projects/index.js +111 -0
  189. package/dist/nodes/Propstack/v1/resources/projects/index.js.map +1 -0
  190. package/dist/nodes/Propstack/v1/resources/projects/update.d.ts +4 -0
  191. package/dist/nodes/Propstack/v1/resources/projects/update.js +231 -0
  192. package/dist/nodes/Propstack/v1/resources/projects/update.js.map +1 -0
  193. package/dist/nodes/Propstack/v1/resources/properties/create.d.ts +4 -0
  194. package/dist/nodes/Propstack/v1/resources/properties/create.js +359 -0
  195. package/dist/nodes/Propstack/v1/resources/properties/create.js.map +1 -0
  196. package/dist/nodes/Propstack/v1/resources/properties/delete.d.ts +4 -0
  197. package/dist/nodes/Propstack/v1/resources/properties/delete.js +17 -0
  198. package/dist/nodes/Propstack/v1/resources/properties/delete.js.map +1 -0
  199. package/dist/nodes/Propstack/v1/resources/properties/get.d.ts +4 -0
  200. package/dist/nodes/Propstack/v1/resources/properties/get.js +66 -0
  201. package/dist/nodes/Propstack/v1/resources/properties/get.js.map +1 -0
  202. package/dist/nodes/Propstack/v1/resources/properties/getAll.d.ts +4 -0
  203. package/dist/nodes/Propstack/v1/resources/properties/getAll.js +493 -0
  204. package/dist/nodes/Propstack/v1/resources/properties/getAll.js.map +1 -0
  205. package/dist/nodes/Propstack/v1/resources/properties/index.d.ts +8 -0
  206. package/dist/nodes/Propstack/v1/resources/properties/index.js +111 -0
  207. package/dist/nodes/Propstack/v1/resources/properties/index.js.map +1 -0
  208. package/dist/nodes/Propstack/v1/resources/properties/update.d.ts +4 -0
  209. package/dist/nodes/Propstack/v1/resources/properties/update.js +377 -0
  210. package/dist/nodes/Propstack/v1/resources/properties/update.js.map +1 -0
  211. package/dist/nodes/Propstack/v1/resources/searchProfiles/create.d.ts +4 -0
  212. package/dist/nodes/Propstack/v1/resources/searchProfiles/create.js +292 -0
  213. package/dist/nodes/Propstack/v1/resources/searchProfiles/create.js.map +1 -0
  214. package/dist/nodes/Propstack/v1/resources/searchProfiles/delete.d.ts +4 -0
  215. package/dist/nodes/Propstack/v1/resources/searchProfiles/delete.js +33 -0
  216. package/dist/nodes/Propstack/v1/resources/searchProfiles/delete.js.map +1 -0
  217. package/dist/nodes/Propstack/v1/resources/searchProfiles/getAll.d.ts +4 -0
  218. package/dist/nodes/Propstack/v1/resources/searchProfiles/getAll.js +106 -0
  219. package/dist/nodes/Propstack/v1/resources/searchProfiles/getAll.js.map +1 -0
  220. package/dist/nodes/Propstack/v1/resources/searchProfiles/index.d.ts +7 -0
  221. package/dist/nodes/Propstack/v1/resources/searchProfiles/index.js +448 -0
  222. package/dist/nodes/Propstack/v1/resources/searchProfiles/index.js.map +1 -0
  223. package/dist/nodes/Propstack/v1/resources/searchProfiles/update.d.ts +4 -0
  224. package/dist/nodes/Propstack/v1/resources/searchProfiles/update.js +287 -0
  225. package/dist/nodes/Propstack/v1/resources/searchProfiles/update.js.map +1 -0
  226. package/dist/nodes/Propstack/v1/resources/tasks/create.d.ts +4 -0
  227. package/dist/nodes/Propstack/v1/resources/tasks/create.js +236 -0
  228. package/dist/nodes/Propstack/v1/resources/tasks/create.js.map +1 -0
  229. package/dist/nodes/Propstack/v1/resources/tasks/delete.d.ts +2 -0
  230. package/dist/nodes/Propstack/v1/resources/tasks/delete.js +14 -0
  231. package/dist/nodes/Propstack/v1/resources/tasks/delete.js.map +1 -0
  232. package/dist/nodes/Propstack/v1/resources/tasks/get.d.ts +2 -0
  233. package/dist/nodes/Propstack/v1/resources/tasks/get.js +14 -0
  234. package/dist/nodes/Propstack/v1/resources/tasks/get.js.map +1 -0
  235. package/dist/nodes/Propstack/v1/resources/tasks/getAll.d.ts +2 -0
  236. package/dist/nodes/Propstack/v1/resources/tasks/getAll.js +47 -0
  237. package/dist/nodes/Propstack/v1/resources/tasks/getAll.js.map +1 -0
  238. package/dist/nodes/Propstack/v1/resources/tasks/index.d.ts +8 -0
  239. package/dist/nodes/Propstack/v1/resources/tasks/index.js +485 -0
  240. package/dist/nodes/Propstack/v1/resources/tasks/index.js.map +1 -0
  241. package/dist/nodes/Propstack/v1/resources/tasks/update.d.ts +2 -0
  242. package/dist/nodes/Propstack/v1/resources/tasks/update.js +87 -0
  243. package/dist/nodes/Propstack/v1/resources/tasks/update.js.map +1 -0
  244. package/dist/nodes/Propstack/v1/resources/teams/create.d.ts +4 -0
  245. package/dist/nodes/Propstack/v1/resources/teams/create.js +133 -0
  246. package/dist/nodes/Propstack/v1/resources/teams/create.js.map +1 -0
  247. package/dist/nodes/Propstack/v1/resources/teams/delete.d.ts +4 -0
  248. package/dist/nodes/Propstack/v1/resources/teams/delete.js +17 -0
  249. package/dist/nodes/Propstack/v1/resources/teams/delete.js.map +1 -0
  250. package/dist/nodes/Propstack/v1/resources/teams/get.d.ts +4 -0
  251. package/dist/nodes/Propstack/v1/resources/teams/get.js +17 -0
  252. package/dist/nodes/Propstack/v1/resources/teams/get.js.map +1 -0
  253. package/dist/nodes/Propstack/v1/resources/teams/getAll.d.ts +4 -0
  254. package/dist/nodes/Propstack/v1/resources/teams/getAll.js +80 -0
  255. package/dist/nodes/Propstack/v1/resources/teams/getAll.js.map +1 -0
  256. package/dist/nodes/Propstack/v1/resources/teams/index.d.ts +8 -0
  257. package/dist/nodes/Propstack/v1/resources/teams/index.js +273 -0
  258. package/dist/nodes/Propstack/v1/resources/teams/index.js.map +1 -0
  259. package/dist/nodes/Propstack/v1/resources/teams/update.d.ts +4 -0
  260. package/dist/nodes/Propstack/v1/resources/teams/update.js +45 -0
  261. package/dist/nodes/Propstack/v1/resources/teams/update.js.map +1 -0
  262. package/dist/nodes/Propstack/v1/resources/webhooks/create.d.ts +2 -0
  263. package/dist/nodes/Propstack/v1/resources/webhooks/create.js +25 -0
  264. package/dist/nodes/Propstack/v1/resources/webhooks/create.js.map +1 -0
  265. package/dist/nodes/Propstack/v1/resources/webhooks/delete.d.ts +2 -0
  266. package/dist/nodes/Propstack/v1/resources/webhooks/delete.js +14 -0
  267. package/dist/nodes/Propstack/v1/resources/webhooks/delete.js.map +1 -0
  268. package/dist/nodes/Propstack/v1/resources/webhooks/getAll.d.ts +2 -0
  269. package/dist/nodes/Propstack/v1/resources/webhooks/getAll.js +18 -0
  270. package/dist/nodes/Propstack/v1/resources/webhooks/getAll.js.map +1 -0
  271. package/dist/nodes/Propstack/v1/resources/webhooks/index.d.ts +7 -0
  272. package/dist/nodes/Propstack/v1/resources/webhooks/index.js +126 -0
  273. package/dist/nodes/Propstack/v1/resources/webhooks/index.js.map +1 -0
  274. package/dist/nodes/Propstack/v2/PropstackV2.d.ts +18 -0
  275. package/dist/nodes/Propstack/v2/PropstackV2.js +195 -0
  276. package/dist/nodes/Propstack/v2/PropstackV2.js.map +1 -0
  277. package/dist/nodes/Propstack/v2/constants.d.ts +49 -0
  278. package/dist/nodes/Propstack/v2/constants.js +53 -0
  279. package/dist/nodes/Propstack/v2/constants.js.map +1 -0
  280. package/dist/nodes/Propstack/v2/helpers.d.ts +20 -0
  281. package/dist/nodes/Propstack/v2/helpers.js +218 -0
  282. package/dist/nodes/Propstack/v2/helpers.js.map +1 -0
  283. package/dist/nodes/Propstack/v2/listSearch.d.ts +9 -0
  284. package/dist/nodes/Propstack/v2/listSearch.js +80 -0
  285. package/dist/nodes/Propstack/v2/listSearch.js.map +1 -0
  286. package/dist/nodes/Propstack/v2/resources/activities/index.d.ts +4 -0
  287. package/dist/nodes/Propstack/v2/resources/activities/index.js +20 -0
  288. package/dist/nodes/Propstack/v2/resources/activities/index.js.map +1 -0
  289. package/dist/nodes/Propstack/v2/resources/activities/scroll.d.ts +3 -0
  290. package/dist/nodes/Propstack/v2/resources/activities/scroll.js +38 -0
  291. package/dist/nodes/Propstack/v2/resources/activities/scroll.js.map +1 -0
  292. package/dist/nodes/Propstack/v2/resources/brokers/create.d.ts +3 -0
  293. package/dist/nodes/Propstack/v2/resources/brokers/create.js +48 -0
  294. package/dist/nodes/Propstack/v2/resources/brokers/create.js.map +1 -0
  295. package/dist/nodes/Propstack/v2/resources/brokers/fields.d.ts +5 -0
  296. package/dist/nodes/Propstack/v2/resources/brokers/fields.js +54 -0
  297. package/dist/nodes/Propstack/v2/resources/brokers/fields.js.map +1 -0
  298. package/dist/nodes/Propstack/v2/resources/brokers/get.d.ts +2 -0
  299. package/dist/nodes/Propstack/v2/resources/brokers/get.js +19 -0
  300. package/dist/nodes/Propstack/v2/resources/brokers/get.js.map +1 -0
  301. package/dist/nodes/Propstack/v2/resources/brokers/getAll.d.ts +3 -0
  302. package/dist/nodes/Propstack/v2/resources/brokers/getAll.js +57 -0
  303. package/dist/nodes/Propstack/v2/resources/brokers/getAll.js.map +1 -0
  304. package/dist/nodes/Propstack/v2/resources/brokers/index.d.ts +7 -0
  305. package/dist/nodes/Propstack/v2/resources/brokers/index.js +65 -0
  306. package/dist/nodes/Propstack/v2/resources/brokers/index.js.map +1 -0
  307. package/dist/nodes/Propstack/v2/resources/brokers/update.d.ts +3 -0
  308. package/dist/nodes/Propstack/v2/resources/brokers/update.js +25 -0
  309. package/dist/nodes/Propstack/v2/resources/brokers/update.js.map +1 -0
  310. package/dist/nodes/Propstack/v2/resources/clientProperties/create.d.ts +3 -0
  311. package/dist/nodes/Propstack/v2/resources/clientProperties/create.js +90 -0
  312. package/dist/nodes/Propstack/v2/resources/clientProperties/create.js.map +1 -0
  313. package/dist/nodes/Propstack/v2/resources/clientProperties/delete.d.ts +2 -0
  314. package/dist/nodes/Propstack/v2/resources/clientProperties/delete.js +14 -0
  315. package/dist/nodes/Propstack/v2/resources/clientProperties/delete.js.map +1 -0
  316. package/dist/nodes/Propstack/v2/resources/clientProperties/fields.d.ts +5 -0
  317. package/dist/nodes/Propstack/v2/resources/clientProperties/fields.js +118 -0
  318. package/dist/nodes/Propstack/v2/resources/clientProperties/fields.js.map +1 -0
  319. package/dist/nodes/Propstack/v2/resources/clientProperties/get.d.ts +2 -0
  320. package/dist/nodes/Propstack/v2/resources/clientProperties/get.js +20 -0
  321. package/dist/nodes/Propstack/v2/resources/clientProperties/get.js.map +1 -0
  322. package/dist/nodes/Propstack/v2/resources/clientProperties/getAll.d.ts +3 -0
  323. package/dist/nodes/Propstack/v2/resources/clientProperties/getAll.js +125 -0
  324. package/dist/nodes/Propstack/v2/resources/clientProperties/getAll.js.map +1 -0
  325. package/dist/nodes/Propstack/v2/resources/clientProperties/index.d.ts +9 -0
  326. package/dist/nodes/Propstack/v2/resources/clientProperties/index.js +116 -0
  327. package/dist/nodes/Propstack/v2/resources/clientProperties/index.js.map +1 -0
  328. package/dist/nodes/Propstack/v2/resources/clientProperties/scroll.d.ts +3 -0
  329. package/dist/nodes/Propstack/v2/resources/clientProperties/scroll.js +69 -0
  330. package/dist/nodes/Propstack/v2/resources/clientProperties/scroll.js.map +1 -0
  331. package/dist/nodes/Propstack/v2/resources/clientProperties/update.d.ts +3 -0
  332. package/dist/nodes/Propstack/v2/resources/clientProperties/update.js +45 -0
  333. package/dist/nodes/Propstack/v2/resources/clientProperties/update.js.map +1 -0
  334. package/dist/nodes/Propstack/v2/resources/clients/create.d.ts +3 -0
  335. package/dist/nodes/Propstack/v2/resources/clients/create.js +33 -0
  336. package/dist/nodes/Propstack/v2/resources/clients/create.js.map +1 -0
  337. package/dist/nodes/Propstack/v2/resources/clients/delete.d.ts +2 -0
  338. package/dist/nodes/Propstack/v2/resources/clients/delete.js +14 -0
  339. package/dist/nodes/Propstack/v2/resources/clients/delete.js.map +1 -0
  340. package/dist/nodes/Propstack/v2/resources/clients/fields.d.ts +5 -0
  341. package/dist/nodes/Propstack/v2/resources/clients/fields.js +470 -0
  342. package/dist/nodes/Propstack/v2/resources/clients/fields.js.map +1 -0
  343. package/dist/nodes/Propstack/v2/resources/clients/get.d.ts +2 -0
  344. package/dist/nodes/Propstack/v2/resources/clients/get.js +20 -0
  345. package/dist/nodes/Propstack/v2/resources/clients/get.js.map +1 -0
  346. package/dist/nodes/Propstack/v2/resources/clients/getAll.d.ts +3 -0
  347. package/dist/nodes/Propstack/v2/resources/clients/getAll.js +115 -0
  348. package/dist/nodes/Propstack/v2/resources/clients/getAll.js.map +1 -0
  349. package/dist/nodes/Propstack/v2/resources/clients/getDeleted.d.ts +3 -0
  350. package/dist/nodes/Propstack/v2/resources/clients/getDeleted.js +81 -0
  351. package/dist/nodes/Propstack/v2/resources/clients/getDeleted.js.map +1 -0
  352. package/dist/nodes/Propstack/v2/resources/clients/index.d.ts +10 -0
  353. package/dist/nodes/Propstack/v2/resources/clients/index.js +127 -0
  354. package/dist/nodes/Propstack/v2/resources/clients/index.js.map +1 -0
  355. package/dist/nodes/Propstack/v2/resources/clients/scroll.d.ts +3 -0
  356. package/dist/nodes/Propstack/v2/resources/clients/scroll.js +71 -0
  357. package/dist/nodes/Propstack/v2/resources/clients/scroll.js.map +1 -0
  358. package/dist/nodes/Propstack/v2/resources/clients/update.d.ts +3 -0
  359. package/dist/nodes/Propstack/v2/resources/clients/update.js +34 -0
  360. package/dist/nodes/Propstack/v2/resources/clients/update.js.map +1 -0
  361. package/dist/nodes/Propstack/v2/resources/customFields/create.d.ts +3 -0
  362. package/dist/nodes/Propstack/v2/resources/customFields/create.js +42 -0
  363. package/dist/nodes/Propstack/v2/resources/customFields/create.js.map +1 -0
  364. package/dist/nodes/Propstack/v2/resources/customFields/createOption.d.ts +3 -0
  365. package/dist/nodes/Propstack/v2/resources/customFields/createOption.js +27 -0
  366. package/dist/nodes/Propstack/v2/resources/customFields/createOption.js.map +1 -0
  367. package/dist/nodes/Propstack/v2/resources/customFields/delete.d.ts +2 -0
  368. package/dist/nodes/Propstack/v2/resources/customFields/delete.js +11 -0
  369. package/dist/nodes/Propstack/v2/resources/customFields/delete.js.map +1 -0
  370. package/dist/nodes/Propstack/v2/resources/customFields/deleteOption.d.ts +3 -0
  371. package/dist/nodes/Propstack/v2/resources/customFields/deleteOption.js +23 -0
  372. package/dist/nodes/Propstack/v2/resources/customFields/deleteOption.js.map +1 -0
  373. package/dist/nodes/Propstack/v2/resources/customFields/fields.d.ts +3 -0
  374. package/dist/nodes/Propstack/v2/resources/customFields/fields.js +18 -0
  375. package/dist/nodes/Propstack/v2/resources/customFields/fields.js.map +1 -0
  376. package/dist/nodes/Propstack/v2/resources/customFields/get.d.ts +2 -0
  377. package/dist/nodes/Propstack/v2/resources/customFields/get.js +11 -0
  378. package/dist/nodes/Propstack/v2/resources/customFields/get.js.map +1 -0
  379. package/dist/nodes/Propstack/v2/resources/customFields/getAll.d.ts +3 -0
  380. package/dist/nodes/Propstack/v2/resources/customFields/getAll.js +29 -0
  381. package/dist/nodes/Propstack/v2/resources/customFields/getAll.js.map +1 -0
  382. package/dist/nodes/Propstack/v2/resources/customFields/index.d.ts +10 -0
  383. package/dist/nodes/Propstack/v2/resources/customFields/index.js +63 -0
  384. package/dist/nodes/Propstack/v2/resources/customFields/index.js.map +1 -0
  385. package/dist/nodes/Propstack/v2/resources/customFields/update.d.ts +3 -0
  386. package/dist/nodes/Propstack/v2/resources/customFields/update.js +29 -0
  387. package/dist/nodes/Propstack/v2/resources/customFields/update.js.map +1 -0
  388. package/dist/nodes/Propstack/v2/resources/history/get.d.ts +2 -0
  389. package/dist/nodes/Propstack/v2/resources/history/get.js +27 -0
  390. package/dist/nodes/Propstack/v2/resources/history/get.js.map +1 -0
  391. package/dist/nodes/Propstack/v2/resources/history/index.d.ts +4 -0
  392. package/dist/nodes/Propstack/v2/resources/history/index.js +60 -0
  393. package/dist/nodes/Propstack/v2/resources/history/index.js.map +1 -0
  394. package/dist/nodes/Propstack/v2/resources/noteAttachments/create.d.ts +3 -0
  395. package/dist/nodes/Propstack/v2/resources/noteAttachments/create.js +51 -0
  396. package/dist/nodes/Propstack/v2/resources/noteAttachments/create.js.map +1 -0
  397. package/dist/nodes/Propstack/v2/resources/noteAttachments/index.d.ts +4 -0
  398. package/dist/nodes/Propstack/v2/resources/noteAttachments/index.js +20 -0
  399. package/dist/nodes/Propstack/v2/resources/noteAttachments/index.js.map +1 -0
  400. package/dist/nodes/Propstack/v2/resources/projects/create.d.ts +3 -0
  401. package/dist/nodes/Propstack/v2/resources/projects/create.js +30 -0
  402. package/dist/nodes/Propstack/v2/resources/projects/create.js.map +1 -0
  403. package/dist/nodes/Propstack/v2/resources/projects/delete.d.ts +2 -0
  404. package/dist/nodes/Propstack/v2/resources/projects/delete.js +14 -0
  405. package/dist/nodes/Propstack/v2/resources/projects/delete.js.map +1 -0
  406. package/dist/nodes/Propstack/v2/resources/projects/fields.d.ts +5 -0
  407. package/dist/nodes/Propstack/v2/resources/projects/fields.js +114 -0
  408. package/dist/nodes/Propstack/v2/resources/projects/fields.js.map +1 -0
  409. package/dist/nodes/Propstack/v2/resources/projects/get.d.ts +2 -0
  410. package/dist/nodes/Propstack/v2/resources/projects/get.js +20 -0
  411. package/dist/nodes/Propstack/v2/resources/projects/get.js.map +1 -0
  412. package/dist/nodes/Propstack/v2/resources/projects/getAll.d.ts +3 -0
  413. package/dist/nodes/Propstack/v2/resources/projects/getAll.js +91 -0
  414. package/dist/nodes/Propstack/v2/resources/projects/getAll.js.map +1 -0
  415. package/dist/nodes/Propstack/v2/resources/projects/index.d.ts +8 -0
  416. package/dist/nodes/Propstack/v2/resources/projects/index.js +107 -0
  417. package/dist/nodes/Propstack/v2/resources/projects/index.js.map +1 -0
  418. package/dist/nodes/Propstack/v2/resources/projects/update.d.ts +3 -0
  419. package/dist/nodes/Propstack/v2/resources/projects/update.js +31 -0
  420. package/dist/nodes/Propstack/v2/resources/projects/update.js.map +1 -0
  421. package/dist/nodes/Propstack/v2/resources/properties/create.d.ts +3 -0
  422. package/dist/nodes/Propstack/v2/resources/properties/create.js +93 -0
  423. package/dist/nodes/Propstack/v2/resources/properties/create.js.map +1 -0
  424. package/dist/nodes/Propstack/v2/resources/properties/createLink.d.ts +3 -0
  425. package/dist/nodes/Propstack/v2/resources/properties/createLink.js +98 -0
  426. package/dist/nodes/Propstack/v2/resources/properties/createLink.js.map +1 -0
  427. package/dist/nodes/Propstack/v2/resources/properties/delete.d.ts +2 -0
  428. package/dist/nodes/Propstack/v2/resources/properties/delete.js +14 -0
  429. package/dist/nodes/Propstack/v2/resources/properties/delete.js.map +1 -0
  430. package/dist/nodes/Propstack/v2/resources/properties/deleteLink.d.ts +3 -0
  431. package/dist/nodes/Propstack/v2/resources/properties/deleteLink.js +31 -0
  432. package/dist/nodes/Propstack/v2/resources/properties/deleteLink.js.map +1 -0
  433. package/dist/nodes/Propstack/v2/resources/properties/fields.d.ts +5 -0
  434. package/dist/nodes/Propstack/v2/resources/properties/fields.js +1237 -0
  435. package/dist/nodes/Propstack/v2/resources/properties/fields.js.map +1 -0
  436. package/dist/nodes/Propstack/v2/resources/properties/get.d.ts +2 -0
  437. package/dist/nodes/Propstack/v2/resources/properties/get.js +21 -0
  438. package/dist/nodes/Propstack/v2/resources/properties/get.js.map +1 -0
  439. package/dist/nodes/Propstack/v2/resources/properties/getAll.d.ts +3 -0
  440. package/dist/nodes/Propstack/v2/resources/properties/getAll.js +166 -0
  441. package/dist/nodes/Propstack/v2/resources/properties/getAll.js.map +1 -0
  442. package/dist/nodes/Propstack/v2/resources/properties/getDeleted.d.ts +3 -0
  443. package/dist/nodes/Propstack/v2/resources/properties/getDeleted.js +82 -0
  444. package/dist/nodes/Propstack/v2/resources/properties/getDeleted.js.map +1 -0
  445. package/dist/nodes/Propstack/v2/resources/properties/getOptions.d.ts +3 -0
  446. package/dist/nodes/Propstack/v2/resources/properties/getOptions.js +50 -0
  447. package/dist/nodes/Propstack/v2/resources/properties/getOptions.js.map +1 -0
  448. package/dist/nodes/Propstack/v2/resources/properties/index.d.ts +14 -0
  449. package/dist/nodes/Propstack/v2/resources/properties/index.js +163 -0
  450. package/dist/nodes/Propstack/v2/resources/properties/index.js.map +1 -0
  451. package/dist/nodes/Propstack/v2/resources/properties/scroll.d.ts +3 -0
  452. package/dist/nodes/Propstack/v2/resources/properties/scroll.js +56 -0
  453. package/dist/nodes/Propstack/v2/resources/properties/scroll.js.map +1 -0
  454. package/dist/nodes/Propstack/v2/resources/properties/update.d.ts +3 -0
  455. package/dist/nodes/Propstack/v2/resources/properties/update.js +34 -0
  456. package/dist/nodes/Propstack/v2/resources/properties/update.js.map +1 -0
  457. package/dist/nodes/Propstack/v2/resources/properties/updateLink.d.ts +3 -0
  458. package/dist/nodes/Propstack/v2/resources/properties/updateLink.js +100 -0
  459. package/dist/nodes/Propstack/v2/resources/properties/updateLink.js.map +1 -0
  460. package/dist/nodes/Propstack/v2/resources/reference/getAll.d.ts +2 -0
  461. package/dist/nodes/Propstack/v2/resources/reference/getAll.js +30 -0
  462. package/dist/nodes/Propstack/v2/resources/reference/getAll.js.map +1 -0
  463. package/dist/nodes/Propstack/v2/resources/reference/index.d.ts +3 -0
  464. package/dist/nodes/Propstack/v2/resources/reference/index.js +55 -0
  465. package/dist/nodes/Propstack/v2/resources/reference/index.js.map +1 -0
  466. package/dist/nodes/Propstack/v2/resources/relationships/create.d.ts +3 -0
  467. package/dist/nodes/Propstack/v2/resources/relationships/create.js +64 -0
  468. package/dist/nodes/Propstack/v2/resources/relationships/create.js.map +1 -0
  469. package/dist/nodes/Propstack/v2/resources/relationships/delete.d.ts +2 -0
  470. package/dist/nodes/Propstack/v2/resources/relationships/delete.js +11 -0
  471. package/dist/nodes/Propstack/v2/resources/relationships/delete.js.map +1 -0
  472. package/dist/nodes/Propstack/v2/resources/relationships/getAll.d.ts +3 -0
  473. package/dist/nodes/Propstack/v2/resources/relationships/getAll.js +53 -0
  474. package/dist/nodes/Propstack/v2/resources/relationships/getAll.js.map +1 -0
  475. package/dist/nodes/Propstack/v2/resources/relationships/index.d.ts +6 -0
  476. package/dist/nodes/Propstack/v2/resources/relationships/index.js +48 -0
  477. package/dist/nodes/Propstack/v2/resources/relationships/index.js.map +1 -0
  478. package/dist/nodes/Propstack/v2/resources/snippets/addAttachment.d.ts +3 -0
  479. package/dist/nodes/Propstack/v2/resources/snippets/addAttachment.js +36 -0
  480. package/dist/nodes/Propstack/v2/resources/snippets/addAttachment.js.map +1 -0
  481. package/dist/nodes/Propstack/v2/resources/snippets/create.d.ts +3 -0
  482. package/dist/nodes/Propstack/v2/resources/snippets/create.js +43 -0
  483. package/dist/nodes/Propstack/v2/resources/snippets/create.js.map +1 -0
  484. package/dist/nodes/Propstack/v2/resources/snippets/delete.d.ts +2 -0
  485. package/dist/nodes/Propstack/v2/resources/snippets/delete.js +11 -0
  486. package/dist/nodes/Propstack/v2/resources/snippets/delete.js.map +1 -0
  487. package/dist/nodes/Propstack/v2/resources/snippets/fields.d.ts +4 -0
  488. package/dist/nodes/Propstack/v2/resources/snippets/fields.js +19 -0
  489. package/dist/nodes/Propstack/v2/resources/snippets/fields.js.map +1 -0
  490. package/dist/nodes/Propstack/v2/resources/snippets/getAll.d.ts +3 -0
  491. package/dist/nodes/Propstack/v2/resources/snippets/getAll.js +45 -0
  492. package/dist/nodes/Propstack/v2/resources/snippets/getAll.js.map +1 -0
  493. package/dist/nodes/Propstack/v2/resources/snippets/index.d.ts +8 -0
  494. package/dist/nodes/Propstack/v2/resources/snippets/index.js +56 -0
  495. package/dist/nodes/Propstack/v2/resources/snippets/index.js.map +1 -0
  496. package/dist/nodes/Propstack/v2/resources/snippets/update.d.ts +3 -0
  497. package/dist/nodes/Propstack/v2/resources/snippets/update.js +29 -0
  498. package/dist/nodes/Propstack/v2/resources/snippets/update.js.map +1 -0
  499. package/dist/package.json +71 -0
  500. package/dist/tsconfig.tsbuildinfo +1 -0
  501. package/package.json +69 -29
  502. package/index.js +0 -1
@@ -0,0 +1,24 @@
1
+ import { type IExecuteFunctions, type INodeExecutionData, type INodeType, type INodeTypeBaseDescription, type INodeTypeDescription } from "n8n-workflow";
2
+ import { searchActivities, searchContacts, searchDeals, searchDealPipelines, searchDocuments, searchEmails, searchParentFeatures, searchProjects, searchProperties, searchSearchProfiles, searchTasks, searchTeams, searchWebhooks } from "./listSearch";
3
+ export declare class PropstackV1 implements INodeType {
4
+ description: INodeTypeDescription;
5
+ constructor(baseDescription: INodeTypeBaseDescription);
6
+ methods: {
7
+ listSearch: {
8
+ searchActivities: typeof searchActivities;
9
+ searchContacts: typeof searchContacts;
10
+ searchDeals: typeof searchDeals;
11
+ searchDealPipelines: typeof searchDealPipelines;
12
+ searchDocuments: typeof searchDocuments;
13
+ searchEmails: typeof searchEmails;
14
+ searchParentFeatures: typeof searchParentFeatures;
15
+ searchProjects: typeof searchProjects;
16
+ searchProperties: typeof searchProperties;
17
+ searchSearchProfiles: typeof searchSearchProfiles;
18
+ searchTasks: typeof searchTasks;
19
+ searchTeams: typeof searchTeams;
20
+ searchWebhooks: typeof searchWebhooks;
21
+ };
22
+ };
23
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
24
+ }
@@ -0,0 +1,314 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropstackV1 = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const constants_1 = require("./constants");
6
+ const listSearch_1 = require("./listSearch");
7
+ const contacts_1 = require("./resources/contacts");
8
+ const properties_1 = require("./resources/properties");
9
+ const deals_1 = require("./resources/deals");
10
+ const emails_1 = require("./resources/emails");
11
+ const documents_1 = require("./resources/documents");
12
+ const projects_1 = require("./resources/projects");
13
+ const tasks_1 = require("./resources/tasks");
14
+ const teams_1 = require("./resources/teams");
15
+ const activities_1 = require("./resources/activities");
16
+ const customFields_1 = require("./resources/customFields");
17
+ const dealPipelines_1 = require("./resources/dealPipelines");
18
+ const locations_1 = require("./resources/locations");
19
+ const features_1 = require("./resources/features");
20
+ const brokers_1 = require("./resources/brokers");
21
+ const portalExport_1 = require("./resources/portalExport");
22
+ const searchProfiles_1 = require("./resources/searchProfiles");
23
+ const events_1 = require("./resources/events");
24
+ const notes_1 = require("./resources/notes");
25
+ const webhooks_1 = require("./resources/webhooks");
26
+ class PropstackV1 {
27
+ constructor(baseDescription) {
28
+ this.methods = {
29
+ listSearch: {
30
+ searchActivities: listSearch_1.searchActivities,
31
+ searchContacts: listSearch_1.searchContacts,
32
+ searchDeals: listSearch_1.searchDeals,
33
+ searchDealPipelines: listSearch_1.searchDealPipelines,
34
+ searchDocuments: listSearch_1.searchDocuments,
35
+ searchEmails: listSearch_1.searchEmails,
36
+ searchParentFeatures: listSearch_1.searchParentFeatures,
37
+ searchProjects: listSearch_1.searchProjects,
38
+ searchProperties: listSearch_1.searchProperties,
39
+ searchSearchProfiles: listSearch_1.searchSearchProfiles,
40
+ searchTasks: listSearch_1.searchTasks,
41
+ searchTeams: listSearch_1.searchTeams,
42
+ searchWebhooks: listSearch_1.searchWebhooks,
43
+ },
44
+ };
45
+ this.description = {
46
+ ...baseDescription,
47
+ version: 1,
48
+ defaults: {
49
+ name: "Propstack",
50
+ },
51
+ inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
52
+ outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
53
+ credentials: [
54
+ {
55
+ name: "propstackApi",
56
+ required: true,
57
+ },
58
+ ],
59
+ requestDefaults: {
60
+ baseURL: constants_1.API_ENDPOINTS.BASE_URL,
61
+ headers: {
62
+ Accept: "application/json",
63
+ "Content-Type": "application/json",
64
+ },
65
+ },
66
+ properties: [
67
+ {
68
+ displayName: "Resource",
69
+ name: "resource",
70
+ type: "options",
71
+ noDataExpression: true,
72
+ options: [
73
+ {
74
+ name: "Activity",
75
+ value: "activities",
76
+ },
77
+ {
78
+ name: "Broker",
79
+ value: "brokers",
80
+ },
81
+ {
82
+ name: "Contact",
83
+ value: "contacts",
84
+ },
85
+ {
86
+ name: "Custom Field",
87
+ value: "customFields",
88
+ },
89
+ {
90
+ name: "Deal",
91
+ value: "deals",
92
+ },
93
+ {
94
+ name: "Deal Pipeline",
95
+ value: "dealPipelines",
96
+ },
97
+ {
98
+ name: "Document",
99
+ value: "documents",
100
+ },
101
+ {
102
+ name: "Email",
103
+ value: "emails",
104
+ },
105
+ {
106
+ name: "Event",
107
+ value: "events",
108
+ },
109
+ {
110
+ name: "Feature",
111
+ value: "features",
112
+ },
113
+ {
114
+ name: "Location",
115
+ value: "locations",
116
+ },
117
+ {
118
+ name: "Note",
119
+ value: "notes",
120
+ },
121
+ {
122
+ name: "Portal Export",
123
+ value: "portalExport",
124
+ },
125
+ {
126
+ name: "Project",
127
+ value: "projects",
128
+ },
129
+ {
130
+ name: "Property",
131
+ value: "properties",
132
+ },
133
+ {
134
+ name: "Search Profile",
135
+ value: "searchProfiles",
136
+ },
137
+ {
138
+ name: "Task",
139
+ value: "tasks",
140
+ },
141
+ {
142
+ name: "Team",
143
+ value: "teams",
144
+ },
145
+ {
146
+ name: "Webhook",
147
+ value: "webhooks",
148
+ },
149
+ ],
150
+ default: "contacts",
151
+ },
152
+ ...activities_1.activitiesOperations,
153
+ ...activities_1.activitiesFields,
154
+ ...brokers_1.brokersOperations,
155
+ ...brokers_1.brokersFields,
156
+ ...contacts_1.contactsDescription,
157
+ ...customFields_1.customFieldsOperations,
158
+ ...customFields_1.customFieldsFields,
159
+ ...deals_1.dealsDescription,
160
+ ...dealPipelines_1.dealPipelinesOperations,
161
+ ...dealPipelines_1.dealPipelinesFields,
162
+ ...documents_1.documentsDescription,
163
+ ...emails_1.emailsDescription,
164
+ ...events_1.eventsOperations,
165
+ ...events_1.eventsFields,
166
+ ...features_1.featuresOperations,
167
+ ...features_1.featuresFields,
168
+ ...locations_1.locationsOperations,
169
+ ...locations_1.locationsFields,
170
+ ...notes_1.notesOperations,
171
+ ...notes_1.notesFields,
172
+ ...portalExport_1.portalExportOperations,
173
+ ...portalExport_1.portalExportFields,
174
+ ...projects_1.projectsDescription,
175
+ ...properties_1.propertiesDescription,
176
+ ...searchProfiles_1.searchProfilesOperations,
177
+ ...searchProfiles_1.searchProfilesFields,
178
+ ...tasks_1.tasksOperations,
179
+ ...tasks_1.tasksFields,
180
+ ...teams_1.teamsOperations,
181
+ ...teams_1.teamsFields,
182
+ ...webhooks_1.webhooksOperations,
183
+ ...webhooks_1.webhooksFields,
184
+ ],
185
+ };
186
+ }
187
+ async execute() {
188
+ var _a;
189
+ const resource = this.getNodeParameter("resource", 0);
190
+ const operation = this.getNodeParameter("operation", 0);
191
+ await this.getCredentials("propstackApi");
192
+ const handlers = {
193
+ activities: {
194
+ get: activities_1.activitiesGet,
195
+ getAll: activities_1.activitiesGetAll,
196
+ getActivityTypes: activities_1.activityTypesGetAll,
197
+ getReservationReasons: activities_1.reservationReasonsGetAll,
198
+ },
199
+ brokers: {
200
+ getAll: brokers_1.brokersGetAll,
201
+ },
202
+ customFields: {
203
+ getAll: customFields_1.customFieldsGetAll,
204
+ },
205
+ contacts: {
206
+ create: contacts_1.contactsCreate,
207
+ delete: contacts_1.contactsDelete,
208
+ get: contacts_1.contactsGet,
209
+ getAll: contacts_1.contactsGetAll,
210
+ update: contacts_1.contactsUpdate,
211
+ },
212
+ deals: {
213
+ create: deals_1.dealsCreate,
214
+ delete: deals_1.dealsDelete,
215
+ get: deals_1.dealsGet,
216
+ getAll: deals_1.dealsGetAll,
217
+ update: deals_1.dealsUpdate,
218
+ },
219
+ dealPipelines: {
220
+ get: dealPipelines_1.dealPipelinesGet,
221
+ getAll: dealPipelines_1.dealPipelinesGetAll,
222
+ },
223
+ documents: {
224
+ create: documents_1.documentsCreate,
225
+ delete: documents_1.documentsDelete,
226
+ get: documents_1.documentsGet,
227
+ getAll: documents_1.documentsGetAll,
228
+ update: documents_1.documentsUpdate,
229
+ },
230
+ emails: {
231
+ get: emails_1.emailsGet,
232
+ getAll: emails_1.emailsGetAll,
233
+ send: emails_1.emailsSend,
234
+ update: emails_1.emailsUpdate,
235
+ },
236
+ events: {
237
+ getAll: events_1.eventsGetAll,
238
+ },
239
+ features: {
240
+ create: features_1.featuresCreate,
241
+ getAll: features_1.featuresGetAll,
242
+ getParentFeatures: features_1.featuresParentGetAll,
243
+ },
244
+ locations: {
245
+ getAll: locations_1.locationsGetAll,
246
+ },
247
+ notes: {
248
+ getAll: notes_1.notesGetAll,
249
+ },
250
+ portalExport: {
251
+ publish: portalExport_1.portalExportPublish,
252
+ },
253
+ projects: {
254
+ create: projects_1.projectsCreate,
255
+ delete: projects_1.projectsDelete,
256
+ get: projects_1.projectsGet,
257
+ getAll: projects_1.projectsGetAll,
258
+ update: projects_1.projectsUpdate,
259
+ },
260
+ properties: {
261
+ create: properties_1.propertiesCreate,
262
+ delete: properties_1.propertiesDelete,
263
+ get: properties_1.propertiesGet,
264
+ getAll: properties_1.propertiesGetAll,
265
+ update: properties_1.propertiesUpdate,
266
+ },
267
+ searchProfiles: {
268
+ create: searchProfiles_1.searchProfilesCreate,
269
+ delete: searchProfiles_1.searchProfilesDelete,
270
+ getAll: searchProfiles_1.searchProfilesGetAll,
271
+ update: searchProfiles_1.searchProfilesUpdate,
272
+ },
273
+ tasks: {
274
+ create: tasks_1.tasksCreate,
275
+ delete: tasks_1.tasksDelete,
276
+ get: tasks_1.tasksGet,
277
+ getAll: tasks_1.tasksGetAll,
278
+ update: tasks_1.tasksUpdate,
279
+ },
280
+ teams: {
281
+ create: teams_1.teamsCreate,
282
+ delete: teams_1.teamsDelete,
283
+ get: teams_1.teamsGet,
284
+ getAll: teams_1.teamsGetAll,
285
+ update: teams_1.teamsUpdate,
286
+ },
287
+ webhooks: {
288
+ create: webhooks_1.webhooksCreate,
289
+ delete: webhooks_1.webhooksDelete,
290
+ getAll: webhooks_1.webhooksGetAll,
291
+ },
292
+ };
293
+ try {
294
+ const handler = (_a = handlers[resource]) === null || _a === void 0 ? void 0 : _a[operation];
295
+ if (!handler) {
296
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unsupported operation "${operation}" for resource "${resource}"`);
297
+ }
298
+ const res = await handler.call(this);
299
+ return [res];
300
+ }
301
+ catch (error) {
302
+ if (this.continueOnFail()) {
303
+ const message = error instanceof Error ? error.message : `${error}`;
304
+ return [[{ json: { error: message }, pairedItem: { item: 0 } }]];
305
+ }
306
+ if (error instanceof n8n_workflow_1.NodeApiError || error instanceof n8n_workflow_1.NodeOperationError) {
307
+ throw error;
308
+ }
309
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), error instanceof Error ? error.message : `${error}`);
310
+ }
311
+ }
312
+ }
313
+ exports.PropstackV1 = PropstackV1;
314
+ //# sourceMappingURL=PropstackV1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropstackV1.js","sourceRoot":"","sources":["../../../../nodes/Propstack/v1/PropstackV1.ts"],"names":[],"mappings":";;;AAAA,+CASsB;AACtB,2CAA4C;A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C,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC;gBACpE,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;YACnE,CAAC;YACD,IAAI,KAAK,YAAY,2BAAY,IAAI,KAAK,YAAY,iCAAkB,EAAE,CAAC;gBACzE,MAAM,KAAK,CAAC;YACd,CAAC;YACD,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC;QACpG,CAAC;IACH,CAAC;CACF;AA7SD,kCA6SC"}
@@ -0,0 +1,66 @@
1
+ export declare const API_ENDPOINTS: {
2
+ BASE_URL: string;
3
+ CONTACTS_CREATE: string;
4
+ CONTACTS_DELETE: (id: string) => string;
5
+ CONTACTS_GET: (id: string) => string;
6
+ CONTACTS_GET_ALL: string;
7
+ CONTACTS_UPDATE: (id: string) => string;
8
+ PROPERTIES_CREATE: string;
9
+ PROPERTIES_DELETE: (id: string) => string;
10
+ PROPERTIES_GET: (id: string) => string;
11
+ PROPERTIES_GET_ALL: string;
12
+ PROPERTIES_UPDATE: (id: string) => string;
13
+ PROPERTY_STATUSES_GET_ALL: string;
14
+ DEALS_CREATE: string;
15
+ DEALS_DELETE: (id: string) => string;
16
+ DEALS_GET: (id: string) => string;
17
+ DEALS_GET_ALL: string;
18
+ DEALS_UPDATE: (id: string) => string;
19
+ EMAILS_SEND: string;
20
+ EMAILS_GET: (id: string) => string;
21
+ EMAILS_GET_ALL: string;
22
+ EMAILS_UPDATE: (id: string) => string;
23
+ DOCUMENTS_CREATE: string;
24
+ DOCUMENTS_DELETE: (id: string) => string;
25
+ DOCUMENTS_GET: (id: string) => string;
26
+ DOCUMENTS_GET_ALL: string;
27
+ DOCUMENTS_UPDATE: (id: string) => string;
28
+ DOCUMENTS_TAGS_GET_ALL: string;
29
+ PROJECTS_CREATE: string;
30
+ PROJECTS_DELETE: (id: string) => string;
31
+ PROJECTS_GET: (id: string) => string;
32
+ PROJECTS_GET_ALL: string;
33
+ PROJECTS_UPDATE: (id: string) => string;
34
+ TASKS_CREATE: string;
35
+ TASKS_DELETE: (id: string) => string;
36
+ TASKS_GET: (id: string) => string;
37
+ TASKS_GET_ALL: string;
38
+ TASKS_UPDATE: (id: string) => string;
39
+ TEAMS_CREATE: string;
40
+ TEAMS_DELETE: (id: string) => string;
41
+ TEAMS_GET: (id: string) => string;
42
+ TEAMS_GET_ALL: string;
43
+ TEAMS_UPDATE: (id: string) => string;
44
+ ACTIVITIES_GET: (id: string) => string;
45
+ ACTIVITIES_GET_ALL: string;
46
+ ACTIVITY_TYPES_GET_ALL: string;
47
+ RESERVATION_REASONS_GET_ALL: string;
48
+ CUSTOM_FIELDS_GET_ALL: string;
49
+ DEAL_PIPELINES_GET: (id: string) => string;
50
+ DEAL_PIPELINES_GET_ALL: string;
51
+ LOCATIONS_GET_ALL: string;
52
+ FEATURES_CREATE: string;
53
+ FEATURES_GET_ALL: string;
54
+ FEATURES_PARENT_GET_ALL: string;
55
+ BROKERS_GET_ALL: string;
56
+ PORTAL_EXPORT: string;
57
+ SEARCH_PROFILES_CREATE: string;
58
+ SEARCH_PROFILES_DELETE: (id: string) => string;
59
+ SEARCH_PROFILES_GET_ALL: string;
60
+ SEARCH_PROFILES_UPDATE: (id: string) => string;
61
+ EVENTS_GET_ALL: string;
62
+ NOTES_GET_ALL: string;
63
+ WEBHOOKS_CREATE: string;
64
+ WEBHOOKS_DELETE: (id: string) => string;
65
+ WEBHOOKS_GET_ALL: string;
66
+ };
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_ENDPOINTS = void 0;
4
+ exports.API_ENDPOINTS = {
5
+ BASE_URL: "https://api.propstack.de",
6
+ CONTACTS_CREATE: "/v1/contacts",
7
+ CONTACTS_DELETE: (id) => `/v1/contacts/${id}`,
8
+ CONTACTS_GET: (id) => `/v1/contacts/${id}`,
9
+ CONTACTS_GET_ALL: "/v1/contacts",
10
+ CONTACTS_UPDATE: (id) => `/v1/contacts/${id}`,
11
+ PROPERTIES_CREATE: "/v1/units",
12
+ PROPERTIES_DELETE: (id) => `/v1/units/${id}`,
13
+ PROPERTIES_GET: (id) => `/v1/units/${id}`,
14
+ PROPERTIES_GET_ALL: "/v1/units",
15
+ PROPERTIES_UPDATE: (id) => `/v1/units/${id}`,
16
+ PROPERTY_STATUSES_GET_ALL: "/v1/property_statuses",
17
+ DEALS_CREATE: "/v1/client_properties",
18
+ DEALS_DELETE: (id) => `/v1/client_properties/${id}`,
19
+ DEALS_GET: (id) => `/v1/client_properties/${id}`,
20
+ DEALS_GET_ALL: "/v1/client_properties",
21
+ DEALS_UPDATE: (id) => `/v1/client_properties/${id}`,
22
+ EMAILS_SEND: "/v1/messages",
23
+ EMAILS_GET: (id) => `/v1/messages/${id}`,
24
+ EMAILS_GET_ALL: "/v1/messages",
25
+ EMAILS_UPDATE: (id) => `/v1/messages/${id}`,
26
+ DOCUMENTS_CREATE: "/v1/documents",
27
+ DOCUMENTS_DELETE: (id) => `/v1/documents/${id}`,
28
+ DOCUMENTS_GET: (id) => `/v1/documents/${id}`,
29
+ DOCUMENTS_GET_ALL: "/v1/documents",
30
+ DOCUMENTS_UPDATE: (id) => `/v1/documents/${id}`,
31
+ DOCUMENTS_TAGS_GET_ALL: "/v1/documents/tags",
32
+ PROJECTS_CREATE: "/v1/projects",
33
+ PROJECTS_DELETE: (id) => `/v1/projects/${id}`,
34
+ PROJECTS_GET: (id) => `/v1/projects/${id}`,
35
+ PROJECTS_GET_ALL: "/v1/projects",
36
+ PROJECTS_UPDATE: (id) => `/v1/projects/${id}`,
37
+ TASKS_CREATE: "/v1/tasks",
38
+ TASKS_DELETE: (id) => `/v1/tasks/${id}`,
39
+ TASKS_GET: (id) => `/v1/tasks/${id}`,
40
+ TASKS_GET_ALL: "/v1/tasks",
41
+ TASKS_UPDATE: (id) => `/v1/tasks/${id}`,
42
+ TEAMS_CREATE: "/v1/teams",
43
+ TEAMS_DELETE: (id) => `/v1/teams/${id}`,
44
+ TEAMS_GET: (id) => `/v1/teams/${id}`,
45
+ TEAMS_GET_ALL: "/v1/teams",
46
+ TEAMS_UPDATE: (id) => `/v1/teams/${id}`,
47
+ ACTIVITIES_GET: (id) => `/v1/activities/${id}`,
48
+ ACTIVITIES_GET_ALL: "/v1/activities",
49
+ ACTIVITY_TYPES_GET_ALL: "/v1/activity_types",
50
+ RESERVATION_REASONS_GET_ALL: "/v1/reservation_reasons",
51
+ CUSTOM_FIELDS_GET_ALL: "/v1/custom_field_groups",
52
+ DEAL_PIPELINES_GET: (id) => `/v1/deal_pipelines/${id}`,
53
+ DEAL_PIPELINES_GET_ALL: "/v1/deal_pipelines",
54
+ LOCATIONS_GET_ALL: "/v1/locations",
55
+ FEATURES_CREATE: "/v1/groups",
56
+ FEATURES_GET_ALL: "/v1/groups",
57
+ FEATURES_PARENT_GET_ALL: "/v1/super_groups",
58
+ BROKERS_GET_ALL: "/v1/brokers",
59
+ PORTAL_EXPORT: "/v1/portals/publish",
60
+ SEARCH_PROFILES_CREATE: "/v1/saved_queries",
61
+ SEARCH_PROFILES_DELETE: (id) => `/v1/saved_queries/${id}`,
62
+ SEARCH_PROFILES_GET_ALL: "/v1/saved_queries",
63
+ SEARCH_PROFILES_UPDATE: (id) => `/v1/saved_queries/${id}`,
64
+ EVENTS_GET_ALL: "/v1/events",
65
+ NOTES_GET_ALL: "/v1/notes",
66
+ WEBHOOKS_CREATE: "/v1/hooks",
67
+ WEBHOOKS_DELETE: (id) => `/v1/hooks/${id}`,
68
+ WEBHOOKS_GET_ALL: "/v1/hooks",
69
+ };
70
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","s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E,eAAe;IAClC,eAAe,EAAE,YAAY;IAC7B,gBAAgB,EAAE,YAAY;IAC9B,uBAAuB,EAAE,kBAAkB;IAC3C,eAAe,EAAE,aAAa;IAC9B,aAAa,EAAE,qBAAqB;IACpC,sBAAsB,EAAE,mBAAmB;IAC3C,sBAAsB,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,qBAAqB,EAAE,EAAE;IACjE,uBAAuB,EAAE,mBAAmB;IAC5C,sBAAsB,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,qBAAqB,EAAE,EAAE;IACjE,cAAc,EAAE,YAAY;IAC5B,aAAa,EAAE,WAAW;IAC1B,eAAe,EAAE,WAAW;IAC5B,eAAe,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,aAAa,EAAE,EAAE;IAClD,gBAAgB,EAAE,WAAW;CAC9B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type IDataObject, type IExecuteFunctions, type IHookFunctions, type IHttpRequestOptions, type ILoadOptionsFunctions } from "n8n-workflow";
2
+ export declare function simplifyResponse(items: IDataObject[], fields: string[]): IDataObject[];
3
+ export declare function extractResourceLocatorValue(value: any): string;
4
+ export declare function propstackRequest(this: IExecuteFunctions | ILoadOptionsFunctions | IHookFunctions, options?: Partial<IHttpRequestOptions>): Promise<any>;
5
+ type MappingValue = string | ((v: unknown) => [string, unknown] | undefined);
6
+ export declare function buildQs(additional: IDataObject, mapping: Record<string, MappingValue>): IDataObject;
7
+ export {};
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.simplifyResponse = simplifyResponse;
4
+ exports.extractResourceLocatorValue = extractResourceLocatorValue;
5
+ exports.propstackRequest = propstackRequest;
6
+ exports.buildQs = buildQs;
7
+ const n8n_workflow_1 = require("n8n-workflow");
8
+ function simplifyResponse(items, fields) {
9
+ return items.map((item) => {
10
+ const simplified = {};
11
+ for (const field of fields) {
12
+ if (item[field] !== undefined) {
13
+ simplified[field] = item[field];
14
+ }
15
+ }
16
+ return simplified;
17
+ });
18
+ }
19
+ const constants_1 = require("./constants");
20
+ function getDescriptionForStatusCode(statusCode) {
21
+ if (!statusCode)
22
+ return undefined;
23
+ if (statusCode === 401)
24
+ return "Check that your API key is valid";
25
+ if (statusCode === 403)
26
+ return "You don't have permission to access this resource";
27
+ if (statusCode === 404)
28
+ return "The requested resource was not found";
29
+ if (statusCode === 429)
30
+ return "Rate limit exceeded. Wait before retrying";
31
+ if (statusCode >= 500)
32
+ return "The Propstack API is experiencing issues. Try again later";
33
+ return undefined;
34
+ }
35
+ function extractResourceLocatorValue(value) {
36
+ var _a;
37
+ if (typeof value === "object" && value !== null) {
38
+ return String((_a = value.value) !== null && _a !== void 0 ? _a : "");
39
+ }
40
+ return String(value !== null && value !== void 0 ? value : "");
41
+ }
42
+ async function propstackRequest(options = {}) {
43
+ var _a;
44
+ const credentials = await this.getCredentials("propstackApi");
45
+ const apiToken = credentials === null || credentials === void 0 ? void 0 : credentials.apiToken;
46
+ if (!apiToken) {
47
+ throw new Error("propstackApi apiToken is required");
48
+ }
49
+ const headers = {
50
+ Accept: "application/json",
51
+ "Content-Type": "application/json",
52
+ ...((_a = options.headers) !== null && _a !== void 0 ? _a : {}),
53
+ "X-API-KEY": apiToken,
54
+ };
55
+ const opts = {
56
+ baseURL: constants_1.API_ENDPOINTS.BASE_URL,
57
+ ...options,
58
+ headers,
59
+ };
60
+ try {
61
+ return await this.helpers.httpRequest(opts);
62
+ }
63
+ catch (error) {
64
+ const err = error;
65
+ throw new n8n_workflow_1.NodeApiError(this.getNode(), error, {
66
+ message: err.message,
67
+ description: getDescriptionForStatusCode(err.httpStatusCode),
68
+ });
69
+ }
70
+ }
71
+ function buildQs(additional, mapping) {
72
+ const qs = {};
73
+ if (!additional)
74
+ return qs;
75
+ for (const [field, mapTo] of Object.entries(mapping)) {
76
+ const val = additional[field];
77
+ if (val === undefined || val === "")
78
+ continue;
79
+ if (typeof mapTo === "function") {
80
+ const pair = mapTo(val);
81
+ if (!pair)
82
+ continue;
83
+ const [k, v] = pair;
84
+ if (v !== undefined)
85
+ qs[k] = v;
86
+ continue;
87
+ }
88
+ const key = mapTo;
89
+ if (Array.isArray(val)) {
90
+ if (val.length)
91
+ qs[key] = val.join(",");
92
+ continue;
93
+ }
94
+ if (typeof val === "boolean") {
95
+ qs[key] = val;
96
+ continue;
97
+ }
98
+ qs[key] = val;
99
+ }
100
+ return qs;
101
+ }
102
+ //# sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../nodes/Propstack/v1/helpers.ts"],"names":[],"mappings":";;AAUA,4CAUC;AAcD,kEAKC;AAED,4CAiCC;AAMD,0BAkCC;AAlHD,+CAQsB;AAEtB,SAAgB,gBAAgB,CAAC,KAAoB,EAAE,MAAgB;IACrE,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACxB,MAAM,UAAU,GAAgB,EAAE,CAAC;QACnC,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YAC3B,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,SAAS,EAAE,CAAC;gBAC9B,UAAU,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;YAClC,CAAC;QACH,CAAC;QACD,OAAO,UAAU,CAAC;IACpB,CAAC,CAAC,CAAC;AACL,CAAC;AACD,2CAA4C;AAE5C,SAAS,2BAA2B,CAAC,UAAmB;IACtD,IAAI,CAAC,UAAU;QAAE,OAAO,SAAS,CAAC;IAClC,IAAI,UAAU,KAAK,GAAG;QAAE,OAAO,kCAAkC,CAAC;IAClE,IAAI,UAAU,KAAK,GAAG;QAAE,OAAO,mDAAmD,CAAC;IACnF,IAAI,UAAU,KAAK,GAAG;QAAE,OAAO,sCAAsC,CAAC;IACtE,IAAI,UAAU,KAAK,GAAG;QAAE,OAAO,2CAA2C,CAAC;IAC3E,IAAI,UAAU,IAAI,G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chResult } from "n8n-workflow";
2
+ export declare function searchActivities(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
3
+ export declare function searchContacts(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
4
+ export declare function searchDeals(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
5
+ export declare function searchDealPipelines(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
6
+ export declare function searchDocuments(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
7
+ export declare function searchEmails(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
8
+ export declare function searchParentFeatures(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
9
+ export declare function searchProjects(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
10
+ export declare function searchProperties(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
11
+ export declare function searchSearchProfiles(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
12
+ export declare function searchTasks(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
13
+ export declare function searchTeams(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
14
+ export declare function searchWebhooks(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;