n8n-nodes-base 0.209.2 → 0.210.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.
Files changed (490) hide show
  1. package/dist/credentials/GitlabApi.credentials.js +1 -1
  2. package/dist/credentials/GitlabApi.credentials.js.map +1 -1
  3. package/dist/credentials/LinearApi.credentials.d.ts +2 -1
  4. package/dist/credentials/LinearApi.credentials.js +8 -0
  5. package/dist/credentials/LinearApi.credentials.js.map +1 -1
  6. package/dist/known/credentials.json +1 -0
  7. package/dist/nodes/AcuityScheduling/GenericFunctions.js +1 -1
  8. package/dist/nodes/AcuityScheduling/GenericFunctions.js.map +1 -1
  9. package/dist/nodes/Affinity/GenericFunctions.js +1 -1
  10. package/dist/nodes/Affinity/GenericFunctions.js.map +1 -1
  11. package/dist/nodes/AgileCrm/GenericFunctions.js +2 -2
  12. package/dist/nodes/AgileCrm/GenericFunctions.js.map +1 -1
  13. package/dist/nodes/Airtable/GenericFunctions.js +2 -2
  14. package/dist/nodes/Airtable/GenericFunctions.js.map +1 -1
  15. package/dist/nodes/ApiTemplateIo/ApiTemplateIo.node.js +4 -4
  16. package/dist/nodes/ApiTemplateIo/ApiTemplateIo.node.js.map +1 -1
  17. package/dist/nodes/Asana/GenericFunctions.js +1 -1
  18. package/dist/nodes/Asana/GenericFunctions.js.map +1 -1
  19. package/dist/nodes/Autopilot/GenericFunctions.js +1 -1
  20. package/dist/nodes/Autopilot/GenericFunctions.js.map +1 -1
  21. package/dist/nodes/Aws/Transcribe/GenericFunctions.js +1 -1
  22. package/dist/nodes/Aws/Transcribe/GenericFunctions.js.map +1 -1
  23. package/dist/nodes/Bannerbear/GenericFunctions.js +1 -1
  24. package/dist/nodes/Bannerbear/GenericFunctions.js.map +1 -1
  25. package/dist/nodes/Bitbucket/GenericFunctions.js +1 -1
  26. package/dist/nodes/Bitbucket/GenericFunctions.js.map +1 -1
  27. package/dist/nodes/Bitly/GenericFunctions.js +1 -1
  28. package/dist/nodes/Bitly/GenericFunctions.js.map +1 -1
  29. package/dist/nodes/Bitwarden/GenericFunctions.js +1 -2
  30. package/dist/nodes/Bitwarden/GenericFunctions.js.map +1 -1
  31. package/dist/nodes/Box/GenericFunctions.js +1 -1
  32. package/dist/nodes/Box/GenericFunctions.js.map +1 -1
  33. package/dist/nodes/Brandfetch/GenericFunctions.js +1 -1
  34. package/dist/nodes/Brandfetch/GenericFunctions.js.map +1 -1
  35. package/dist/nodes/Calendly/GenericFunctions.js +1 -1
  36. package/dist/nodes/Calendly/GenericFunctions.js.map +1 -1
  37. package/dist/nodes/CircleCi/GenericFunctions.js +1 -1
  38. package/dist/nodes/CircleCi/GenericFunctions.js.map +1 -1
  39. package/dist/nodes/Cisco/Webex/GenericFunctions.js +1 -1
  40. package/dist/nodes/Cisco/Webex/GenericFunctions.js.map +1 -1
  41. package/dist/nodes/Citrix/ADC/GenericFunctions.js +1 -1
  42. package/dist/nodes/Citrix/ADC/GenericFunctions.js.map +1 -1
  43. package/dist/nodes/Clearbit/GenericFunctions.js +1 -1
  44. package/dist/nodes/Clearbit/GenericFunctions.js.map +1 -1
  45. package/dist/nodes/ClickUp/GenericFunctions.js +1 -1
  46. package/dist/nodes/ClickUp/GenericFunctions.js.map +1 -1
  47. package/dist/nodes/Cockpit/GenericFunctions.js +1 -1
  48. package/dist/nodes/Cockpit/GenericFunctions.js.map +1 -1
  49. package/dist/nodes/Coda/GenericFunctions.js +1 -1
  50. package/dist/nodes/Coda/GenericFunctions.js.map +1 -1
  51. package/dist/nodes/CoinGecko/GenericFunctions.js +1 -1
  52. package/dist/nodes/CoinGecko/GenericFunctions.js.map +1 -1
  53. package/dist/nodes/CompareDatasets/GenericFunctions.js +5 -7
  54. package/dist/nodes/CompareDatasets/GenericFunctions.js.map +1 -1
  55. package/dist/nodes/Contentful/GenericFunctions.js +1 -1
  56. package/dist/nodes/Contentful/GenericFunctions.js.map +1 -1
  57. package/dist/nodes/ConvertKit/GenericFunctions.js +1 -1
  58. package/dist/nodes/ConvertKit/GenericFunctions.js.map +1 -1
  59. package/dist/nodes/Cortex/GenericFunctions.js +1 -1
  60. package/dist/nodes/Cortex/GenericFunctions.js.map +1 -1
  61. package/dist/nodes/DateTime/DateTime.node.js +1 -2
  62. package/dist/nodes/DateTime/DateTime.node.js.map +1 -1
  63. package/dist/nodes/DeepL/GenericFunctions.js +1 -1
  64. package/dist/nodes/DeepL/GenericFunctions.js.map +1 -1
  65. package/dist/nodes/Demio/GenericFunctions.js +1 -1
  66. package/dist/nodes/Demio/GenericFunctions.js.map +1 -1
  67. package/dist/nodes/Dhl/GenericFunctions.js +1 -1
  68. package/dist/nodes/Dhl/GenericFunctions.js.map +1 -1
  69. package/dist/nodes/Drift/GenericFunctions.js +1 -1
  70. package/dist/nodes/Drift/GenericFunctions.js.map +1 -1
  71. package/dist/nodes/ERPNext/GenericFunctions.js +1 -1
  72. package/dist/nodes/ERPNext/GenericFunctions.js.map +1 -1
  73. package/dist/nodes/EditImage/EditImage.node.js +1 -2
  74. package/dist/nodes/EditImage/EditImage.node.js.map +1 -1
  75. package/dist/nodes/Elastic/ElasticSecurity/ElasticSecurity.node.js +2 -2
  76. package/dist/nodes/Elastic/ElasticSecurity/ElasticSecurity.node.js.map +1 -1
  77. package/dist/nodes/EmailSend/EmailSend.node.js +1 -2
  78. package/dist/nodes/EmailSend/EmailSend.node.js.map +1 -1
  79. package/dist/nodes/ErrorTrigger/ErrorTrigger.node.js +1 -1
  80. package/dist/nodes/ErrorTrigger/ErrorTrigger.node.js.map +1 -1
  81. package/dist/nodes/Eventbrite/GenericFunctions.js +1 -1
  82. package/dist/nodes/Eventbrite/GenericFunctions.js.map +1 -1
  83. package/dist/nodes/ExecuteCommand/ExecuteCommand.node.js +1 -1
  84. package/dist/nodes/ExecuteCommand/ExecuteCommand.node.js.map +1 -1
  85. package/dist/nodes/Facebook/GenericFunctions.js +1 -1
  86. package/dist/nodes/Facebook/GenericFunctions.js.map +1 -1
  87. package/dist/nodes/Figma/GenericFunctions.js +1 -1
  88. package/dist/nodes/Figma/GenericFunctions.js.map +1 -1
  89. package/dist/nodes/Flow/GenericFunctions.js +1 -1
  90. package/dist/nodes/Flow/GenericFunctions.js.map +1 -1
  91. package/dist/nodes/FormIo/GenericFunctions.js +2 -4
  92. package/dist/nodes/FormIo/GenericFunctions.js.map +1 -1
  93. package/dist/nodes/Freshdesk/GenericFunctions.js +1 -1
  94. package/dist/nodes/Freshdesk/GenericFunctions.js.map +1 -1
  95. package/dist/nodes/GetResponse/GenericFunctions.js +1 -1
  96. package/dist/nodes/GetResponse/GenericFunctions.js.map +1 -1
  97. package/dist/nodes/GetResponse/GetResponse.node.js +1 -2
  98. package/dist/nodes/GetResponse/GetResponse.node.js.map +1 -1
  99. package/dist/nodes/Ghost/GenericFunctions.js +1 -1
  100. package/dist/nodes/Ghost/GenericFunctions.js.map +1 -1
  101. package/dist/nodes/Ghost/Ghost.node.js +1 -2
  102. package/dist/nodes/Ghost/Ghost.node.js.map +1 -1
  103. package/dist/nodes/Google/Analytics/GoogleAnalytics.node.d.ts +3 -11
  104. package/dist/nodes/Google/Analytics/GoogleAnalytics.node.js +10 -211
  105. package/dist/nodes/Google/Analytics/GoogleAnalytics.node.js.map +1 -1
  106. package/dist/nodes/Google/Analytics/{GenericFunctions.d.ts → v1/GenericFunctions.d.ts} +2 -2
  107. package/dist/nodes/Google/Analytics/{GenericFunctions.js → v1/GenericFunctions.js} +21 -6
  108. package/dist/nodes/Google/Analytics/v1/GenericFunctions.js.map +1 -0
  109. package/dist/nodes/Google/Analytics/v1/GoogleAnalyticsV1.node.d.ts +13 -0
  110. package/dist/nodes/Google/Analytics/v1/GoogleAnalyticsV1.node.js +231 -0
  111. package/dist/nodes/Google/Analytics/v1/GoogleAnalyticsV1.node.js.map +1 -0
  112. package/dist/nodes/Google/Analytics/{Interfaces.d.ts → v1/Interfaces.d.ts} +2 -0
  113. package/dist/nodes/Google/Analytics/{Interfaces.js → v1/Interfaces.js} +0 -0
  114. package/dist/nodes/Google/Analytics/v1/Interfaces.js.map +1 -0
  115. package/dist/nodes/Google/Analytics/{ReportDescription.d.ts → v1/ReportDescription.d.ts} +0 -0
  116. package/dist/nodes/Google/Analytics/{ReportDescription.js → v1/ReportDescription.js} +0 -0
  117. package/dist/nodes/Google/Analytics/v1/ReportDescription.js.map +1 -0
  118. package/dist/nodes/Google/Analytics/{UserActivityDescription.d.ts → v1/UserActivityDescription.d.ts} +0 -0
  119. package/dist/nodes/Google/Analytics/{UserActivityDescription.js → v1/UserActivityDescription.js} +0 -0
  120. package/dist/nodes/Google/Analytics/v1/UserActivityDescription.js.map +1 -0
  121. package/dist/nodes/Google/Analytics/v2/GoogleAnalyticsV2.node.d.ts +12 -0
  122. package/dist/nodes/Google/Analytics/v2/GoogleAnalyticsV2.node.js +20 -0
  123. package/dist/nodes/Google/Analytics/v2/GoogleAnalyticsV2.node.js.map +1 -0
  124. package/dist/nodes/Google/Analytics/v2/actions/node.type.d.ts +10 -0
  125. package/dist/nodes/Google/Analytics/v2/actions/node.type.js +3 -0
  126. package/dist/nodes/Google/Analytics/v2/actions/node.type.js.map +1 -0
  127. package/dist/nodes/Google/Analytics/v2/actions/report/FiltersDescription.d.ts +5 -0
  128. package/dist/nodes/Google/Analytics/v2/actions/report/FiltersDescription.js +478 -0
  129. package/dist/nodes/Google/Analytics/v2/actions/report/FiltersDescription.js.map +1 -0
  130. package/dist/nodes/Google/Analytics/v2/actions/report/Report.resource.d.ts +5 -0
  131. package/dist/nodes/Google/Analytics/v2/actions/report/Report.resource.js +79 -0
  132. package/dist/nodes/Google/Analytics/v2/actions/report/Report.resource.js.map +1 -0
  133. package/dist/nodes/Google/Analytics/v2/actions/report/get.ga4.operation.d.ts +4 -0
  134. package/dist/nodes/Google/Analytics/v2/actions/report/get.ga4.operation.js +562 -0
  135. package/dist/nodes/Google/Analytics/v2/actions/report/get.ga4.operation.js.map +1 -0
  136. package/dist/nodes/Google/Analytics/v2/actions/report/get.universal.operation.d.ts +4 -0
  137. package/dist/nodes/Google/Analytics/v2/actions/report/get.universal.operation.js +669 -0
  138. package/dist/nodes/Google/Analytics/v2/actions/report/get.universal.operation.js.map +1 -0
  139. package/dist/nodes/Google/Analytics/v2/actions/router.d.ts +3 -0
  140. package/dist/nodes/Google/Analytics/v2/actions/router.js +68 -0
  141. package/dist/nodes/Google/Analytics/v2/actions/router.js.map +1 -0
  142. package/dist/nodes/Google/Analytics/v2/actions/userActivity/UserActivity.resource.d.ts +4 -0
  143. package/dist/nodes/Google/Analytics/v2/actions/userActivity/UserActivity.resource.js +52 -0
  144. package/dist/nodes/Google/Analytics/v2/actions/userActivity/UserActivity.resource.js.map +1 -0
  145. package/dist/nodes/Google/Analytics/v2/actions/userActivity/search.operation.d.ts +4 -0
  146. package/dist/nodes/Google/Analytics/v2/actions/userActivity/search.operation.js +145 -0
  147. package/dist/nodes/Google/Analytics/v2/actions/userActivity/search.operation.js.map +1 -0
  148. package/dist/nodes/Google/Analytics/v2/actions/versionDescription.d.ts +2 -0
  149. package/dist/nodes/Google/Analytics/v2/actions/versionDescription.js +70 -0
  150. package/dist/nodes/Google/Analytics/v2/actions/versionDescription.js.map +1 -0
  151. package/dist/nodes/Google/Analytics/v2/helpers/Interfaces.d.ts +25 -0
  152. package/dist/nodes/Google/Analytics/v2/helpers/Interfaces.js +3 -0
  153. package/dist/nodes/Google/Analytics/v2/helpers/Interfaces.js.map +1 -0
  154. package/dist/nodes/Google/Analytics/v2/helpers/utils.d.ts +18 -0
  155. package/dist/nodes/Google/Analytics/v2/helpers/utils.js +210 -0
  156. package/dist/nodes/Google/Analytics/v2/helpers/utils.js.map +1 -0
  157. package/dist/nodes/Google/Analytics/v2/methods/index.d.ts +2 -0
  158. package/dist/nodes/Google/Analytics/v2/methods/index.js +29 -0
  159. package/dist/nodes/Google/Analytics/v2/methods/index.js.map +1 -0
  160. package/dist/nodes/Google/Analytics/v2/methods/listSearch.d.ts +3 -0
  161. package/dist/nodes/Google/Analytics/v2/methods/listSearch.js +40 -0
  162. package/dist/nodes/Google/Analytics/v2/methods/listSearch.js.map +1 -0
  163. package/dist/nodes/Google/Analytics/v2/methods/loadOptions.d.ts +7 -0
  164. package/dist/nodes/Google/Analytics/v2/methods/loadOptions.js +97 -0
  165. package/dist/nodes/Google/Analytics/v2/methods/loadOptions.js.map +1 -0
  166. package/dist/nodes/Google/Analytics/v2/transport/index.d.ts +4 -0
  167. package/dist/nodes/Google/Analytics/v2/transport/index.js +84 -0
  168. package/dist/nodes/Google/Analytics/v2/transport/index.js.map +1 -0
  169. package/dist/nodes/Google/BigQuery/GenericFunctions.js +2 -3
  170. package/dist/nodes/Google/BigQuery/GenericFunctions.js.map +1 -1
  171. package/dist/nodes/Google/Books/GenericFunctions.js +2 -3
  172. package/dist/nodes/Google/Books/GenericFunctions.js.map +1 -1
  173. package/dist/nodes/Google/Calendar/GenericFunctions.js +1 -1
  174. package/dist/nodes/Google/Calendar/GenericFunctions.js.map +1 -1
  175. package/dist/nodes/Google/Calendar/GoogleCalendar.node.js +8 -8
  176. package/dist/nodes/Google/Calendar/GoogleCalendar.node.js.map +1 -1
  177. package/dist/nodes/Google/Chat/GenericFunctions.js +2 -3
  178. package/dist/nodes/Google/Chat/GenericFunctions.js.map +1 -1
  179. package/dist/nodes/Google/CloudNaturalLanguage/GenericFunctions.js +1 -1
  180. package/dist/nodes/Google/CloudNaturalLanguage/GenericFunctions.js.map +1 -1
  181. package/dist/nodes/Google/CloudNaturalLanguage/GoogleCloudNaturalLanguage.node.js +2 -3
  182. package/dist/nodes/Google/CloudNaturalLanguage/GoogleCloudNaturalLanguage.node.js.map +1 -1
  183. package/dist/nodes/Google/Contacts/GenericFunctions.js +1 -1
  184. package/dist/nodes/Google/Contacts/GenericFunctions.js.map +1 -1
  185. package/dist/nodes/Google/Docs/GenericFunctions.js +2 -3
  186. package/dist/nodes/Google/Docs/GenericFunctions.js.map +1 -1
  187. package/dist/nodes/Google/Drive/GenericFunctions.js +4 -6
  188. package/dist/nodes/Google/Drive/GenericFunctions.js.map +1 -1
  189. package/dist/nodes/Google/Drive/GoogleDrive.node.js +2 -2
  190. package/dist/nodes/Google/Drive/GoogleDrive.node.js.map +1 -1
  191. package/dist/nodes/Google/Firebase/CloudFirestore/GenericFunctions.js +1 -1
  192. package/dist/nodes/Google/Firebase/CloudFirestore/GenericFunctions.js.map +1 -1
  193. package/dist/nodes/Google/Firebase/RealtimeDatabase/GenericFunctions.js +1 -1
  194. package/dist/nodes/Google/Firebase/RealtimeDatabase/GenericFunctions.js.map +1 -1
  195. package/dist/nodes/Google/GSuiteAdmin/GenericFunctions.js +1 -1
  196. package/dist/nodes/Google/GSuiteAdmin/GenericFunctions.js.map +1 -1
  197. package/dist/nodes/Google/Gmail/GenericFunctions.js +2 -3
  198. package/dist/nodes/Google/Gmail/GenericFunctions.js.map +1 -1
  199. package/dist/nodes/Google/Gmail/GmailTrigger.node.d.ts +6 -1
  200. package/dist/nodes/Google/Gmail/GmailTrigger.node.js +23 -0
  201. package/dist/nodes/Google/Gmail/GmailTrigger.node.js.map +1 -1
  202. package/dist/nodes/Google/Gmail/v1/GmailV1.node.js +10 -10
  203. package/dist/nodes/Google/Gmail/v1/GmailV1.node.js.map +1 -1
  204. package/dist/nodes/Google/Gmail/v2/GmailV2.node.js +1 -2
  205. package/dist/nodes/Google/Gmail/v2/GmailV2.node.js.map +1 -1
  206. package/dist/nodes/Google/Sheet/GoogleSheetsTrigger.node.js +6 -6
  207. package/dist/nodes/Google/Sheet/GoogleSheetsTrigger.node.js.map +1 -1
  208. package/dist/nodes/Google/Sheet/v1/GenericFunctions.js +2 -3
  209. package/dist/nodes/Google/Sheet/v1/GenericFunctions.js.map +1 -1
  210. package/dist/nodes/Google/Sheet/v1/GoogleSheetsV1.node.js +3 -4
  211. package/dist/nodes/Google/Sheet/v1/GoogleSheetsV1.node.js.map +1 -1
  212. package/dist/nodes/Google/Sheet/v2/actions/sheet/appendOrUpdate.operation.js +3 -3
  213. package/dist/nodes/Google/Sheet/v2/actions/sheet/appendOrUpdate.operation.js.map +1 -1
  214. package/dist/nodes/Google/Sheet/v2/actions/sheet/read.operation.js +4 -3
  215. package/dist/nodes/Google/Sheet/v2/actions/sheet/read.operation.js.map +1 -1
  216. package/dist/nodes/Google/Sheet/v2/actions/sheet/update.operation.js +3 -3
  217. package/dist/nodes/Google/Sheet/v2/actions/sheet/update.operation.js.map +1 -1
  218. package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheet.js +15 -13
  219. package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheet.js.map +1 -1
  220. package/dist/nodes/Google/Sheet/v2/transport/index.js +2 -3
  221. package/dist/nodes/Google/Sheet/v2/transport/index.js.map +1 -1
  222. package/dist/nodes/Google/Slides/GoogleSlides.node.js +1 -2
  223. package/dist/nodes/Google/Slides/GoogleSlides.node.js.map +1 -1
  224. package/dist/nodes/Google/Task/GenericFunctions.js +1 -1
  225. package/dist/nodes/Google/Task/GenericFunctions.js.map +1 -1
  226. package/dist/nodes/Google/Translate/GenericFunctions.js +1 -1
  227. package/dist/nodes/Google/Translate/GenericFunctions.js.map +1 -1
  228. package/dist/nodes/Google/YouTube/GenericFunctions.js +1 -1
  229. package/dist/nodes/Google/YouTube/GenericFunctions.js.map +1 -1
  230. package/dist/nodes/Gotify/GenericFunctions.js +1 -1
  231. package/dist/nodes/Gotify/GenericFunctions.js.map +1 -1
  232. package/dist/nodes/GraphQL/GraphQL.node.js +1 -1
  233. package/dist/nodes/GraphQL/GraphQL.node.js.map +1 -1
  234. package/dist/nodes/Gumroad/GenericFunctions.js +1 -1
  235. package/dist/nodes/Gumroad/GenericFunctions.js.map +1 -1
  236. package/dist/nodes/Harvest/GenericFunctions.js +1 -1
  237. package/dist/nodes/Harvest/GenericFunctions.js.map +1 -1
  238. package/dist/nodes/HelpScout/GenericFunctions.js +1 -1
  239. package/dist/nodes/HelpScout/GenericFunctions.js.map +1 -1
  240. package/dist/nodes/HelpScout/HelpScout.node.js +1 -2
  241. package/dist/nodes/HelpScout/HelpScout.node.js.map +1 -1
  242. package/dist/nodes/HighLevel/GenericFunctions.js +13 -21
  243. package/dist/nodes/HighLevel/GenericFunctions.js.map +1 -1
  244. package/dist/nodes/HomeAssistant/GenericFunctions.js +1 -2
  245. package/dist/nodes/HomeAssistant/GenericFunctions.js.map +1 -1
  246. package/dist/nodes/HtmlExtract/HtmlExtract.node.js +1 -1
  247. package/dist/nodes/HtmlExtract/HtmlExtract.node.js.map +1 -1
  248. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +20 -9
  249. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
  250. package/dist/nodes/Hubspot/GenericFunctions.js +2 -3
  251. package/dist/nodes/Hubspot/GenericFunctions.js.map +1 -1
  252. package/dist/nodes/Hubspot/Hubspot.node.js +6 -6
  253. package/dist/nodes/Hubspot/Hubspot.node.js.map +1 -1
  254. package/dist/nodes/Hubspot/HubspotTrigger.node.js +2 -2
  255. package/dist/nodes/Hubspot/HubspotTrigger.node.js.map +1 -1
  256. package/dist/nodes/Hunter/GenericFunctions.js +1 -1
  257. package/dist/nodes/Hunter/GenericFunctions.js.map +1 -1
  258. package/dist/nodes/If/If.node.js +14 -14
  259. package/dist/nodes/If/If.node.js.map +1 -1
  260. package/dist/nodes/Intercom/GenericFunctions.js +1 -1
  261. package/dist/nodes/Intercom/GenericFunctions.js.map +1 -1
  262. package/dist/nodes/InvoiceNinja/GenericFunctions.js +1 -1
  263. package/dist/nodes/InvoiceNinja/GenericFunctions.js.map +1 -1
  264. package/dist/nodes/InvoiceNinja/InvoiceNinja.node.js +1 -2
  265. package/dist/nodes/InvoiceNinja/InvoiceNinja.node.js.map +1 -1
  266. package/dist/nodes/ItemLists/ItemLists.node.js +37 -3
  267. package/dist/nodes/ItemLists/ItemLists.node.js.map +1 -1
  268. package/dist/nodes/ItemLists/ItemLists.node.json +9 -1
  269. package/dist/nodes/ItemLists/summarize.operation.d.ts +3 -0
  270. package/dist/nodes/ItemLists/summarize.operation.js +451 -0
  271. package/dist/nodes/ItemLists/summarize.operation.js.map +1 -0
  272. package/dist/nodes/Iterable/GenericFunctions.js +1 -1
  273. package/dist/nodes/Iterable/GenericFunctions.js.map +1 -1
  274. package/dist/nodes/Jira/GenericFunctions.js +1 -1
  275. package/dist/nodes/Jira/GenericFunctions.js.map +1 -1
  276. package/dist/nodes/Jira/Jira.node.js +3 -5
  277. package/dist/nodes/Jira/Jira.node.js.map +1 -1
  278. package/dist/nodes/JotForm/GenericFunctions.js +1 -1
  279. package/dist/nodes/JotForm/GenericFunctions.js.map +1 -1
  280. package/dist/nodes/Kafka/KafkaTrigger.node.js +2 -2
  281. package/dist/nodes/Kafka/KafkaTrigger.node.js.map +1 -1
  282. package/dist/nodes/Keap/GenericFunctions.js +1 -1
  283. package/dist/nodes/Keap/GenericFunctions.js.map +1 -1
  284. package/dist/nodes/KoBoToolbox/GenericFunctions.js +3 -5
  285. package/dist/nodes/KoBoToolbox/GenericFunctions.js.map +1 -1
  286. package/dist/nodes/Line/GenericFunctions.js +1 -1
  287. package/dist/nodes/Line/GenericFunctions.js.map +1 -1
  288. package/dist/nodes/Linear/GenericFunctions.js +1 -3
  289. package/dist/nodes/Linear/GenericFunctions.js.map +1 -1
  290. package/dist/nodes/Linear/Linear.node.js +3 -3
  291. package/dist/nodes/Linear/Linear.node.js.map +1 -1
  292. package/dist/nodes/Linear/Queries.js +24 -28
  293. package/dist/nodes/Linear/Queries.js.map +1 -1
  294. package/dist/nodes/LingvaNex/GenericFunctions.js +1 -1
  295. package/dist/nodes/LingvaNex/GenericFunctions.js.map +1 -1
  296. package/dist/nodes/Magento/GenericFunctions.js +1 -1
  297. package/dist/nodes/Magento/GenericFunctions.js.map +1 -1
  298. package/dist/nodes/Mailcheck/GenericFunctions.js +1 -1
  299. package/dist/nodes/Mailcheck/GenericFunctions.js.map +1 -1
  300. package/dist/nodes/Mailgun/Mailgun.node.js +1 -2
  301. package/dist/nodes/Mailgun/Mailgun.node.js.map +1 -1
  302. package/dist/nodes/Mailjet/GenericFunctions.js +1 -1
  303. package/dist/nodes/Mailjet/GenericFunctions.js.map +1 -1
  304. package/dist/nodes/Mandrill/Mandrill.node.js +1 -2
  305. package/dist/nodes/Mandrill/Mandrill.node.js.map +1 -1
  306. package/dist/nodes/Matrix/GenericFunctions.js +2 -3
  307. package/dist/nodes/Matrix/GenericFunctions.js.map +1 -1
  308. package/dist/nodes/Mautic/GenericFunctions.js +1 -1
  309. package/dist/nodes/Mautic/GenericFunctions.js.map +1 -1
  310. package/dist/nodes/Medium/GenericFunctions.js +1 -1
  311. package/dist/nodes/Medium/GenericFunctions.js.map +1 -1
  312. package/dist/nodes/Microsoft/Dynamics/GenericFunctions.js +1 -1
  313. package/dist/nodes/Microsoft/Dynamics/GenericFunctions.js.map +1 -1
  314. package/dist/nodes/Microsoft/Excel/GenericFunctions.js +1 -1
  315. package/dist/nodes/Microsoft/Excel/GenericFunctions.js.map +1 -1
  316. package/dist/nodes/Microsoft/OneDrive/GenericFunctions.js +1 -1
  317. package/dist/nodes/Microsoft/OneDrive/GenericFunctions.js.map +1 -1
  318. package/dist/nodes/Microsoft/Outlook/GenericFunctions.js +1 -1
  319. package/dist/nodes/Microsoft/Outlook/GenericFunctions.js.map +1 -1
  320. package/dist/nodes/Microsoft/Teams/GenericFunctions.js +1 -1
  321. package/dist/nodes/Microsoft/Teams/GenericFunctions.js.map +1 -1
  322. package/dist/nodes/Microsoft/ToDo/GenericFunctions.js +1 -1
  323. package/dist/nodes/Microsoft/ToDo/GenericFunctions.js.map +1 -1
  324. package/dist/nodes/MySql/GenericFunctions.js +1 -1
  325. package/dist/nodes/MySql/GenericFunctions.js.map +1 -1
  326. package/dist/nodes/N8n/GenericFunctions.js +7 -8
  327. package/dist/nodes/N8n/GenericFunctions.js.map +1 -1
  328. package/dist/nodes/Nasa/GenericFunctions.js +1 -1
  329. package/dist/nodes/Nasa/GenericFunctions.js.map +1 -1
  330. package/dist/nodes/Netlify/GenericFunctions.js +1 -1
  331. package/dist/nodes/Netlify/GenericFunctions.js.map +1 -1
  332. package/dist/nodes/NocoDB/GenericFunctions.js +1 -1
  333. package/dist/nodes/NocoDB/GenericFunctions.js.map +1 -1
  334. package/dist/nodes/Notion/DatabaseDescription.js +0 -12
  335. package/dist/nodes/Notion/DatabaseDescription.js.map +1 -1
  336. package/dist/nodes/Notion/GenericFunctions.d.ts +8 -7
  337. package/dist/nodes/Notion/GenericFunctions.js +22 -6
  338. package/dist/nodes/Notion/GenericFunctions.js.map +1 -1
  339. package/dist/nodes/Notion/Notion.node.js +2 -2
  340. package/dist/nodes/Notion/Notion.node.js.map +1 -1
  341. package/dist/nodes/Notion/NotionTrigger.node.js +2 -2
  342. package/dist/nodes/Notion/NotionTrigger.node.js.map +1 -1
  343. package/dist/nodes/Notion/v1/NotionV1.node.js +2 -2
  344. package/dist/nodes/Notion/v1/NotionV1.node.js.map +1 -1
  345. package/dist/nodes/Notion/v1/VersionDescription.js +3 -3
  346. package/dist/nodes/Notion/v1/VersionDescription.js.map +1 -1
  347. package/dist/nodes/Notion/v2/NotionV2.node.js +2 -2
  348. package/dist/nodes/Notion/v2/NotionV2.node.js.map +1 -1
  349. package/dist/nodes/Notion/v2/VersionDescription.js +3 -3
  350. package/dist/nodes/Notion/v2/VersionDescription.js.map +1 -1
  351. package/dist/nodes/Odoo/GenericFunctions.js +2 -2
  352. package/dist/nodes/Odoo/GenericFunctions.js.map +1 -1
  353. package/dist/nodes/OneSimpleApi/GenericFunctions.js +2 -1
  354. package/dist/nodes/OneSimpleApi/GenericFunctions.js.map +1 -1
  355. package/dist/nodes/Onfleet/GenericFunctions.js +1 -1
  356. package/dist/nodes/Onfleet/GenericFunctions.js.map +1 -1
  357. package/dist/nodes/OpenThesaurus/GenericFunctions.js +1 -1
  358. package/dist/nodes/OpenThesaurus/GenericFunctions.js.map +1 -1
  359. package/dist/nodes/Orbit/GenericFunctions.js +1 -1
  360. package/dist/nodes/Orbit/GenericFunctions.js.map +1 -1
  361. package/dist/nodes/Oura/GenericFunctions.js +1 -1
  362. package/dist/nodes/Oura/GenericFunctions.js.map +1 -1
  363. package/dist/nodes/PagerDuty/GenericFunctions.js +1 -1
  364. package/dist/nodes/PagerDuty/GenericFunctions.js.map +1 -1
  365. package/dist/nodes/PayPal/GenericFunctions.js +2 -2
  366. package/dist/nodes/PayPal/GenericFunctions.js.map +1 -1
  367. package/dist/nodes/Peekalink/GenericFunctions.js +1 -1
  368. package/dist/nodes/Peekalink/GenericFunctions.js.map +1 -1
  369. package/dist/nodes/PhilipsHue/GenericFunctions.js +1 -1
  370. package/dist/nodes/PhilipsHue/GenericFunctions.js.map +1 -1
  371. package/dist/nodes/ProfitWell/GenericFunctions.js +1 -1
  372. package/dist/nodes/ProfitWell/GenericFunctions.js.map +1 -1
  373. package/dist/nodes/Pushbullet/GenericFunctions.js +1 -1
  374. package/dist/nodes/Pushbullet/GenericFunctions.js.map +1 -1
  375. package/dist/nodes/Pushcut/GenericFunctions.js +1 -1
  376. package/dist/nodes/Pushcut/GenericFunctions.js.map +1 -1
  377. package/dist/nodes/QuestDb/QuestDb.node.js +1 -2
  378. package/dist/nodes/QuestDb/QuestDb.node.js.map +1 -1
  379. package/dist/nodes/Redis/Redis.node.js +1 -2
  380. package/dist/nodes/Redis/Redis.node.js.map +1 -1
  381. package/dist/nodes/S3/GenericFunctions.js +2 -2
  382. package/dist/nodes/S3/GenericFunctions.js.map +1 -1
  383. package/dist/nodes/Salesforce/GenericFunctions.js +2 -2
  384. package/dist/nodes/Salesforce/GenericFunctions.js.map +1 -1
  385. package/dist/nodes/Salesforce/Salesforce.node.js +1 -2
  386. package/dist/nodes/Salesforce/Salesforce.node.js.map +1 -1
  387. package/dist/nodes/Salesmate/GenericFunctions.js +1 -1
  388. package/dist/nodes/Salesmate/GenericFunctions.js.map +1 -1
  389. package/dist/nodes/SeaTable/GenericFunctions.js +2 -3
  390. package/dist/nodes/SeaTable/GenericFunctions.js.map +1 -1
  391. package/dist/nodes/SecurityScorecard/GenericFunctions.js +1 -1
  392. package/dist/nodes/SecurityScorecard/GenericFunctions.js.map +1 -1
  393. package/dist/nodes/SecurityScorecard/SecurityScorecard.node.js +1 -2
  394. package/dist/nodes/SecurityScorecard/SecurityScorecard.node.js.map +1 -1
  395. package/dist/nodes/Segment/GenericFunctions.js +1 -1
  396. package/dist/nodes/Segment/GenericFunctions.js.map +1 -1
  397. package/dist/nodes/SendGrid/SendGrid.node.js +2 -2
  398. package/dist/nodes/SendGrid/SendGrid.node.js.map +1 -1
  399. package/dist/nodes/SendInBlue/GenericFunctions.js +1 -1
  400. package/dist/nodes/SendInBlue/GenericFunctions.js.map +1 -1
  401. package/dist/nodes/SentryIo/GenericFunctions.js +1 -1
  402. package/dist/nodes/SentryIo/GenericFunctions.js.map +1 -1
  403. package/dist/nodes/ServiceNow/GenericFunctions.js +1 -1
  404. package/dist/nodes/ServiceNow/GenericFunctions.js.map +1 -1
  405. package/dist/nodes/Shopify/GenericFunctions.js +1 -1
  406. package/dist/nodes/Shopify/GenericFunctions.js.map +1 -1
  407. package/dist/nodes/Slack/GenericFunctions.js +1 -1
  408. package/dist/nodes/Slack/GenericFunctions.js.map +1 -1
  409. package/dist/nodes/Spotify/GenericFunctions.js +1 -1
  410. package/dist/nodes/Spotify/GenericFunctions.js.map +1 -1
  411. package/dist/nodes/Stackby/GenericFunction.js +1 -1
  412. package/dist/nodes/Stackby/GenericFunction.js.map +1 -1
  413. package/dist/nodes/Strava/GenericFunctions.js +1 -1
  414. package/dist/nodes/Strava/GenericFunctions.js.map +1 -1
  415. package/dist/nodes/Supabase/GenericFunctions.js +1 -1
  416. package/dist/nodes/Supabase/GenericFunctions.js.map +1 -1
  417. package/dist/nodes/SurveyMonkey/GenericFunctions.js +1 -1
  418. package/dist/nodes/SurveyMonkey/GenericFunctions.js.map +1 -1
  419. package/dist/nodes/SurveyMonkey/SurveyMonkeyTrigger.node.js +2 -2
  420. package/dist/nodes/SurveyMonkey/SurveyMonkeyTrigger.node.js.map +1 -1
  421. package/dist/nodes/Switch/Switch.node.js +14 -14
  422. package/dist/nodes/Switch/Switch.node.js.map +1 -1
  423. package/dist/nodes/Tapfiliate/GenericFunctions.js +1 -1
  424. package/dist/nodes/Tapfiliate/GenericFunctions.js.map +1 -1
  425. package/dist/nodes/Telegram/GenericFunctions.js +1 -1
  426. package/dist/nodes/Telegram/GenericFunctions.js.map +1 -1
  427. package/dist/nodes/Telegram/Telegram.node.js +2 -2
  428. package/dist/nodes/Telegram/Telegram.node.js.map +1 -1
  429. package/dist/nodes/TheHive/GenericFunctions.js +1 -1
  430. package/dist/nodes/TheHive/GenericFunctions.js.map +1 -1
  431. package/dist/nodes/Toggl/GenericFunctions.js +1 -1
  432. package/dist/nodes/Toggl/GenericFunctions.js.map +1 -1
  433. package/dist/nodes/TravisCi/GenericFunctions.js +1 -1
  434. package/dist/nodes/TravisCi/GenericFunctions.js.map +1 -1
  435. package/dist/nodes/Trello/GenericFunctions.js +1 -1
  436. package/dist/nodes/Trello/GenericFunctions.js.map +1 -1
  437. package/dist/nodes/Twake/GenericFunctions.js +1 -1
  438. package/dist/nodes/Twake/GenericFunctions.js.map +1 -1
  439. package/dist/nodes/Twitter/GenericFunctions.js +1 -1
  440. package/dist/nodes/Twitter/GenericFunctions.js.map +1 -1
  441. package/dist/nodes/Twitter/Twitter.node.js +1 -2
  442. package/dist/nodes/Twitter/Twitter.node.js.map +1 -1
  443. package/dist/nodes/Typeform/GenericFunctions.js +1 -1
  444. package/dist/nodes/Typeform/GenericFunctions.js.map +1 -1
  445. package/dist/nodes/Uplead/GenericFunctions.js +1 -1
  446. package/dist/nodes/Uplead/GenericFunctions.js.map +1 -1
  447. package/dist/nodes/UptimeRobot/GenericFunctions.js +1 -1
  448. package/dist/nodes/UptimeRobot/GenericFunctions.js.map +1 -1
  449. package/dist/nodes/Venafi/Datacenter/GenericFunctions.js +1 -1
  450. package/dist/nodes/Venafi/Datacenter/GenericFunctions.js.map +1 -1
  451. package/dist/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenterTrigger.node.js +1 -2
  452. package/dist/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenterTrigger.node.js.map +1 -1
  453. package/dist/nodes/Vero/GenericFunctions.js +1 -1
  454. package/dist/nodes/Vero/GenericFunctions.js.map +1 -1
  455. package/dist/nodes/Wait/Wait.node.js +3 -4
  456. package/dist/nodes/Wait/Wait.node.js.map +1 -1
  457. package/dist/nodes/Webflow/GenericFunctions.js +1 -1
  458. package/dist/nodes/Webflow/GenericFunctions.js.map +1 -1
  459. package/dist/nodes/Webhook/Webhook.node.js +3 -4
  460. package/dist/nodes/Webhook/Webhook.node.js.map +1 -1
  461. package/dist/nodes/Wekan/GenericFunctions.js +1 -1
  462. package/dist/nodes/Wekan/GenericFunctions.js.map +1 -1
  463. package/dist/nodes/WhatsApp/MediaFunctions.js +1 -1
  464. package/dist/nodes/WhatsApp/MediaFunctions.js.map +1 -1
  465. package/dist/nodes/WhatsApp/MessageFunctions.js +2 -2
  466. package/dist/nodes/WhatsApp/MessageFunctions.js.map +1 -1
  467. package/dist/nodes/WooCommerce/GenericFunctions.js +1 -1
  468. package/dist/nodes/WooCommerce/GenericFunctions.js.map +1 -1
  469. package/dist/nodes/Wordpress/GenericFunctions.js +1 -1
  470. package/dist/nodes/Wordpress/GenericFunctions.js.map +1 -1
  471. package/dist/nodes/Workable/GenericFunctions.js +1 -1
  472. package/dist/nodes/Workable/GenericFunctions.js.map +1 -1
  473. package/dist/nodes/Xero/GenericFunctions.js +1 -1
  474. package/dist/nodes/Xero/GenericFunctions.js.map +1 -1
  475. package/dist/nodes/Zendesk/GenericFunctions.js +1 -1
  476. package/dist/nodes/Zendesk/GenericFunctions.js.map +1 -1
  477. package/dist/nodes/Zoho/GenericFunctions.js +1 -1
  478. package/dist/nodes/Zoho/GenericFunctions.js.map +1 -1
  479. package/dist/nodes/Zoom/GenericFunctions.js +1 -1
  480. package/dist/nodes/Zoom/GenericFunctions.js.map +1 -1
  481. package/dist/nodes/Zulip/GenericFunctions.js +1 -1
  482. package/dist/nodes/Zulip/GenericFunctions.js.map +1 -1
  483. package/dist/tsconfig.tsbuildinfo +1 -1
  484. package/dist/types/credentials.json +2 -2
  485. package/dist/types/nodes.json +6 -5
  486. package/package.json +3 -3
  487. package/dist/nodes/Google/Analytics/GenericFunctions.js.map +0 -1
  488. package/dist/nodes/Google/Analytics/Interfaces.js.map +0 -1
  489. package/dist/nodes/Google/Analytics/ReportDescription.js.map +0 -1
  490. package/dist/nodes/Google/Analytics/UserActivityDescription.js.map +0 -1
@@ -0,0 +1,3 @@
1
+ import { IExecuteFunctions } from 'n8n-core';
2
+ import { INodeExecutionData } from 'n8n-workflow';
3
+ export declare function router(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.router = void 0;
27
+ const n8n_workflow_1 = require("n8n-workflow");
28
+ const userActivity = __importStar(require("./userActivity/UserActivity.resource"));
29
+ const report = __importStar(require("./report/Report.resource"));
30
+ async function router() {
31
+ const items = this.getInputData();
32
+ const returnData = [];
33
+ const resource = this.getNodeParameter('resource', 0);
34
+ const operation = this.getNodeParameter('operation', 0);
35
+ let responseData;
36
+ const googleAnalytics = {
37
+ resource,
38
+ operation,
39
+ };
40
+ for (let i = 0; i < items.length; i++) {
41
+ try {
42
+ switch (googleAnalytics.resource) {
43
+ case 'report':
44
+ const propertyType = this.getNodeParameter('propertyType', 0);
45
+ const operationBasedOnProperty = `${googleAnalytics.operation}${propertyType}`;
46
+ responseData = await report[operationBasedOnProperty].execute.call(this, i);
47
+ break;
48
+ case 'userActivity':
49
+ responseData = await userActivity[googleAnalytics.operation].execute.call(this, i);
50
+ break;
51
+ default:
52
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The resource "${resource}" is not known`);
53
+ }
54
+ returnData.push(...responseData);
55
+ }
56
+ catch (error) {
57
+ if (this.continueOnFail()) {
58
+ const executionErrorData = this.helpers.constructExecutionMetaData(this.helpers.returnJsonArray({ error: error.message }), { itemData: { item: i } });
59
+ returnData.push(...executionErrorData);
60
+ continue;
61
+ }
62
+ throw error;
63
+ }
64
+ }
65
+ return this.prepareOutputData(returnData);
66
+ }
67
+ exports.router = router;
68
+ //# sourceMappingURL=router.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"router.js","sourceRoot":"","sources":["../../../../../../nodes/Google/Analytics/v2/actions/router.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,+CAAsE;AAGtE,mFAAqE;AACrE,iEAAmD;AAE5C,KAAK,UAAU,MAAM;IAC3B,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;IAClC,MAAM,UAAU,GAAyB,EAAE,CAAC;IAC5C,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAkB,UAAU,EAAE,CAAC,CAAW,CAAC;IACj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UAAU,CAAC,IAAI,CAAC,GAAG,kBAAkB,CAAC,CAAC;gBACvC,SAAS;aACT;YACD,MAAM,KAAK,CAAC;SACZ;KACD;IACD,OAAO,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;AAC3C,CAAC;AA3CD,wBA2CC"}
@@ -0,0 +1,4 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ import * as search from './search.operation';
3
+ export { search };
4
+ export declare const description: INodeProperties[];
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.description = exports.search = void 0;
27
+ const search = __importStar(require("./search.operation"));
28
+ exports.search = search;
29
+ exports.description = [
30
+ {
31
+ displayName: 'Operation',
32
+ name: 'operation',
33
+ type: 'options',
34
+ noDataExpression: true,
35
+ displayOptions: {
36
+ show: {
37
+ resource: ['userActivity'],
38
+ },
39
+ },
40
+ options: [
41
+ {
42
+ name: 'Search',
43
+ value: 'search',
44
+ description: 'Return user activity data',
45
+ action: 'Search user activity data',
46
+ },
47
+ ],
48
+ default: 'search',
49
+ },
50
+ ...search.description,
51
+ ];
52
+ //# sourceMappingURL=UserActivity.resource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserActivity.resource.js","sourceRoot":"","sources":["../../../../../../../nodes/Google/Analytics/v2/actions/userActivity/UserActivity.resource.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,2DAA6C;AAEpC,wBAAM;AAEF,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,cAAc,CAAC;aAC1B;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,2BAA2B;gBACxC,MAAM,EAAE,2BAA2B;aACnC;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,MAAM,CAAC,WAAW;CACrB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { IExecuteFunctions } from 'n8n-core';
2
+ import { INodeExecutionData, INodeProperties } from 'n8n-workflow';
3
+ export declare const description: INodeProperties[];
4
+ export declare function execute(this: IExecuteFunctions, index: number): Promise<INodeExecutionData[]>;
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.execute = exports.description = void 0;
4
+ const transport_1 = require("../../transport");
5
+ exports.description = [
6
+ {
7
+ displayName: 'View Name or ID',
8
+ name: 'viewId',
9
+ type: 'options',
10
+ typeOptions: {
11
+ loadOptionsMethod: 'getViews',
12
+ },
13
+ default: '',
14
+ required: true,
15
+ displayOptions: {
16
+ show: {
17
+ resource: ['userActivity'],
18
+ operation: ['search'],
19
+ },
20
+ },
21
+ placeholder: '123456',
22
+ description: 'The view from Google Analytics. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
23
+ hint: "If there's nothing here, try changing the 'Property type' field above",
24
+ },
25
+ {
26
+ displayName: 'User ID',
27
+ name: 'userId',
28
+ type: 'string',
29
+ default: '',
30
+ required: true,
31
+ displayOptions: {
32
+ show: {
33
+ resource: ['userActivity'],
34
+ operation: ['search'],
35
+ },
36
+ },
37
+ placeholder: '123456',
38
+ description: 'ID of a user',
39
+ },
40
+ {
41
+ displayName: 'Return All',
42
+ name: 'returnAll',
43
+ type: 'boolean',
44
+ displayOptions: {
45
+ show: {
46
+ operation: ['search'],
47
+ resource: ['userActivity'],
48
+ },
49
+ },
50
+ default: false,
51
+ description: 'Whether to return all results or only up to a given limit',
52
+ },
53
+ {
54
+ displayName: 'Limit',
55
+ name: 'limit',
56
+ type: 'number',
57
+ displayOptions: {
58
+ show: {
59
+ operation: ['search'],
60
+ resource: ['userActivity'],
61
+ returnAll: [false],
62
+ },
63
+ },
64
+ typeOptions: {
65
+ minValue: 1,
66
+ maxValue: 500,
67
+ },
68
+ default: 100,
69
+ description: 'Max number of results to return',
70
+ },
71
+ {
72
+ displayName: 'Additional Fields',
73
+ name: 'additionalFields',
74
+ type: 'collection',
75
+ placeholder: 'Add Field',
76
+ default: {},
77
+ displayOptions: {
78
+ show: {
79
+ operation: ['search'],
80
+ resource: ['userActivity'],
81
+ },
82
+ },
83
+ options: [
84
+ {
85
+ displayName: 'Activity Types',
86
+ name: 'activityTypes',
87
+ type: 'multiOptions',
88
+ options: [
89
+ {
90
+ name: 'Ecommerce',
91
+ value: 'ECOMMERCE',
92
+ },
93
+ {
94
+ name: 'Event',
95
+ value: 'EVENT',
96
+ },
97
+ {
98
+ name: 'Goal',
99
+ value: 'GOAL',
100
+ },
101
+ {
102
+ name: 'Pageview',
103
+ value: 'PAGEVIEW',
104
+ },
105
+ {
106
+ name: 'Screenview',
107
+ value: 'SCREENVIEW',
108
+ },
109
+ ],
110
+ description: 'Type of activites requested',
111
+ default: [],
112
+ },
113
+ ],
114
+ },
115
+ ];
116
+ async function execute(index) {
117
+ const viewId = this.getNodeParameter('viewId', index);
118
+ const userId = this.getNodeParameter('userId', index);
119
+ const returnAll = this.getNodeParameter('returnAll', 0);
120
+ const additionalFields = this.getNodeParameter('additionalFields', index);
121
+ let responseData;
122
+ const body = {
123
+ viewId,
124
+ user: {
125
+ userId,
126
+ },
127
+ };
128
+ if (additionalFields.activityTypes) {
129
+ Object.assign(body, { activityTypes: additionalFields.activityTypes });
130
+ }
131
+ const method = 'POST';
132
+ const endpoint = '/v4/userActivity:search';
133
+ if (returnAll) {
134
+ responseData = await transport_1.googleApiRequestAllItems.call(this, 'sessions', method, endpoint, body);
135
+ }
136
+ else {
137
+ body.pageSize = this.getNodeParameter('limit', 0);
138
+ responseData = await transport_1.googleApiRequest.call(this, method, endpoint, body);
139
+ responseData = responseData.sessions;
140
+ }
141
+ const executionData = this.helpers.constructExecutionMetaData(this.helpers.returnJsonArray(responseData), { itemData: { item: index } });
142
+ return executionData;
143
+ }
144
+ exports.execute = execute;
145
+ //# sourceMappingURL=search.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Google/Analytics/v2/actions/userActivity/search.operation.ts"],"names":[],"mappings":";;;AAEA,+CAA6E;AAEhE,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACZ,iBAAiB,EAAE,UAAU;SAC7B;QACD,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,WAAW,EAAE,QAAQ;QACr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AG,MAAM,oCAAwB,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;KAC7F;SAAM;QACN,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;QAClD,YAAY,GAAG,MAAM,4BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;QACzE,YAAY,GAAG,YAAY,CAAC,QAAQ,CAAC;KACrC;IAED,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,0BAA0B,CAC5D,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,EAC1C,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAC7B,CAAC;IAEF,OAAO,aAAa,CAAC;AACtB,CAAC;AAxCD,0BAwCC"}
@@ -0,0 +1,2 @@
1
+ import { INodeTypeDescription } from 'n8n-workflow';
2
+ export declare const versionDescription: INodeTypeDescription;
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.versionDescription = void 0;
27
+ const userActivity = __importStar(require("./userActivity/UserActivity.resource"));
28
+ const report = __importStar(require("./report/Report.resource"));
29
+ exports.versionDescription = {
30
+ displayName: 'Google Analytics',
31
+ name: 'googleAnalytics',
32
+ icon: 'file:analytics.svg',
33
+ group: ['transform'],
34
+ version: 2,
35
+ subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
36
+ description: 'Use the Google Analytics API',
37
+ defaults: {
38
+ name: 'Google Analytics',
39
+ },
40
+ inputs: ['main'],
41
+ outputs: ['main'],
42
+ credentials: [
43
+ {
44
+ name: 'googleAnalyticsOAuth2',
45
+ required: true,
46
+ },
47
+ ],
48
+ properties: [
49
+ {
50
+ displayName: 'Resource',
51
+ name: 'resource',
52
+ type: 'options',
53
+ noDataExpression: true,
54
+ options: [
55
+ {
56
+ name: 'Report',
57
+ value: 'report',
58
+ },
59
+ {
60
+ name: 'User Activity',
61
+ value: 'userActivity',
62
+ },
63
+ ],
64
+ default: 'report',
65
+ },
66
+ ...report.description,
67
+ ...userActivity.description,
68
+ ],
69
+ };
70
+ //# sourceMappingURL=versionDescription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"versionDescription.js","sourceRoot":"","sources":["../../../../../../nodes/Google/Analytics/v2/actions/versionDescription.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,mFAAqE;AACrE,iEAAmD;AAEtC,QAAA,kBAAkB,GAAyB;IACvD,WAAW,EAAE,kBAAkB;IAC/B,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE,oBAAoB;IAC1B,KAAK,EAAE,CAAC,WAAW,CAAC;IACpB,OAAO,EAAE,CAAC;IACV,QAAQ,EAAE,8DAA8D;IACxE,WAAW,EAAE,8BAA8B;IAC3C,QAAQ,EAAE;QACT,IAAI,EAAE,kBAAkB;KACxB;IACD,MAAM,EAAE,CAAC,MAAM,CAAC;IAChB,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,WAAW,EAAE;QACZ;YACC,IAAI,EAAE,uBAAuB;YAC7B,QAAQ,EAAE,IAAI;SACd;KACD;IACD,UAAU,EAAE;QACX;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,SAAS;YACf,gBAAgB,EAAE,IAAI;YACtB,OAAO,EAAE;gBACR;oBACC,IAAI,EAAE,QAAQ;oBACd,KAAK,EAAE,QAAQ;iBACf;gBACD;oBACC,IAAI,EAAE,eAAe;oBACrB,KAAK,EAAE,cAAc;iBACrB;aACD;YACD,OAAO,EAAE,QAAQ;SACjB;QACD,GAAG,MAAM,CAAC,WAAW;QACrB,GAAG,YAAY,CAAC,WAAW;KAC3B;CACD,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { IDataObject } from 'n8n-workflow';
2
+ export interface IData {
3
+ viewId: string;
4
+ dimensions?: IDimension[];
5
+ dimensionFilterClauses?: {
6
+ filters: IDimensionFilter[];
7
+ };
8
+ pageSize?: number;
9
+ metrics?: IMetric[];
10
+ dateRanges?: IDataObject[];
11
+ }
12
+ export interface IDimension {
13
+ name?: string;
14
+ histogramBuckets?: string[];
15
+ }
16
+ export interface IDimensionFilter {
17
+ dimensionName?: string;
18
+ operator?: string;
19
+ expressions?: string[];
20
+ }
21
+ export interface IMetric {
22
+ expression?: string;
23
+ alias?: string;
24
+ formattingType?: string;
25
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../../../../../nodes/Google/Analytics/v2/helpers/Interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
1
+ import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core';
2
+ import { IDataObject, INodeListSearchItems, INodePropertyOptions } from 'n8n-workflow';
3
+ export declare function simplify(responseData: any | [any]): {
4
+ [x: string]: IDataObject | IDataObject[] | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[];
5
+ }[];
6
+ export declare function merge(responseData: [any]): {
7
+ columnHeader: IDataObject;
8
+ data: {
9
+ rows: [];
10
+ };
11
+ }[];
12
+ export declare function simplifyGA4(response: IDataObject): IDataObject[];
13
+ export declare function processFilters(expression: IDataObject): IDataObject[];
14
+ export declare function prepareDateRange(this: IExecuteFunctions | ILoadOptionsFunctions, period: string, itemIndex: number): IDataObject[];
15
+ export declare const defaultStartDate: () => string;
16
+ export declare const defaultEndDate: () => string;
17
+ export declare function checkDuplicates(this: IExecuteFunctions, data: IDataObject[], key: string, type: string): void;
18
+ export declare function sortLoadOptions(data: INodePropertyOptions[] | INodeListSearchItems[]): (INodePropertyOptions | INodeListSearchItems)[];
@@ -0,0 +1,210 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sortLoadOptions = exports.checkDuplicates = exports.defaultEndDate = exports.defaultStartDate = exports.prepareDateRange = exports.processFilters = exports.simplifyGA4 = exports.merge = exports.simplify = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const luxon_1 = require("luxon");
6
+ function simplify(responseData) {
7
+ const returnData = [];
8
+ for (const { columnHeader: { dimensions, metricHeader }, data: { rows }, } of responseData) {
9
+ if (rows === undefined) {
10
+ continue;
11
+ }
12
+ const metrics = metricHeader.metricHeaderEntries.map((entry) => entry.name);
13
+ for (const row of rows) {
14
+ const rowDimensions = {};
15
+ const rowMetrics = {};
16
+ if (dimensions) {
17
+ for (let i = 0; i < dimensions.length; i++) {
18
+ rowDimensions[dimensions[i]] = row.dimensions[i];
19
+ for (const [index, metric] of metrics.entries()) {
20
+ rowMetrics[metric] = row.metrics[0].values[index];
21
+ }
22
+ }
23
+ }
24
+ else {
25
+ for (const [index, metric] of metrics.entries()) {
26
+ rowMetrics[metric] = row.metrics[0].values[index];
27
+ }
28
+ }
29
+ returnData.push({ ...rowDimensions, ...rowMetrics });
30
+ }
31
+ }
32
+ return returnData;
33
+ }
34
+ exports.simplify = simplify;
35
+ function merge(responseData) {
36
+ const response = {
37
+ columnHeader: responseData[0].columnHeader,
38
+ data: responseData[0].data,
39
+ };
40
+ const allRows = [];
41
+ for (const { data: { rows }, } of responseData) {
42
+ allRows.push(...rows);
43
+ }
44
+ response.data.rows = allRows;
45
+ return [response];
46
+ }
47
+ exports.merge = merge;
48
+ function simplifyGA4(response) {
49
+ if (!response.rows)
50
+ return [];
51
+ const dimensionHeaders = (response.dimensionHeaders || []).map((header) => header.name);
52
+ const metricHeaders = (response.metricHeaders || []).map((header) => header.name);
53
+ const returnData = [];
54
+ response.rows.forEach((row) => {
55
+ if (!row)
56
+ return;
57
+ const rowDimensions = {};
58
+ const rowMetrics = {};
59
+ dimensionHeaders.forEach((dimension, index) => {
60
+ rowDimensions[dimension] = row.dimensionValues[index].value;
61
+ });
62
+ metricHeaders.forEach((metric, index) => {
63
+ rowMetrics[metric] = row.metricValues[index].value;
64
+ });
65
+ returnData.push({ ...rowDimensions, ...rowMetrics });
66
+ });
67
+ return returnData;
68
+ }
69
+ exports.simplifyGA4 = simplifyGA4;
70
+ function processFilters(expression) {
71
+ const processedFilters = [];
72
+ Object.entries(expression).forEach((entry) => {
73
+ const [filterType, filters] = entry;
74
+ filters.forEach((filter) => {
75
+ let fieldName = '';
76
+ switch (filter.listName) {
77
+ case 'other':
78
+ fieldName = filter.name;
79
+ delete filter.name;
80
+ break;
81
+ case 'custom':
82
+ fieldName = filter.name;
83
+ delete filter.name;
84
+ break;
85
+ default:
86
+ fieldName = filter.listName;
87
+ }
88
+ delete filter.listName;
89
+ if (filterType === 'inListFilter') {
90
+ filter.values = filter.values.split(',');
91
+ }
92
+ if (filterType === 'numericFilter') {
93
+ filter.value = {
94
+ [filter.valueType]: filter.value,
95
+ };
96
+ delete filter.valueType;
97
+ }
98
+ if (filterType === 'betweenFilter') {
99
+ filter.fromValue = {
100
+ [filter.valueType]: filter.fromValue,
101
+ };
102
+ filter.toValue = {
103
+ [filter.valueType]: filter.toValue,
104
+ };
105
+ delete filter.valueType;
106
+ }
107
+ processedFilters.push({
108
+ filter: {
109
+ fieldName,
110
+ [filterType]: filter,
111
+ },
112
+ });
113
+ });
114
+ });
115
+ return processedFilters;
116
+ }
117
+ exports.processFilters = processFilters;
118
+ function prepareDateRange(period, itemIndex) {
119
+ const dateRanges = [];
120
+ switch (period) {
121
+ case 'today':
122
+ dateRanges.push({
123
+ startDate: luxon_1.DateTime.local().startOf('day').toISODate(),
124
+ endDate: luxon_1.DateTime.now().toISODate(),
125
+ });
126
+ break;
127
+ case 'yesterday':
128
+ dateRanges.push({
129
+ startDate: luxon_1.DateTime.local().startOf('day').minus({ days: 1 }).toISODate(),
130
+ endDate: luxon_1.DateTime.local().endOf('day').minus({ days: 1 }).toISODate(),
131
+ });
132
+ break;
133
+ case 'lastCalendarWeek':
134
+ const begginingOfLastWeek = luxon_1.DateTime.local().startOf('week').minus({ weeks: 1 }).toISODate();
135
+ const endOfLastWeek = luxon_1.DateTime.local().endOf('week').minus({ weeks: 1 }).toISODate();
136
+ dateRanges.push({
137
+ startDate: begginingOfLastWeek,
138
+ endDate: endOfLastWeek,
139
+ });
140
+ break;
141
+ case 'lastCalendarMonth':
142
+ const begginingOfLastMonth = luxon_1.DateTime.local()
143
+ .startOf('month')
144
+ .minus({ months: 1 })
145
+ .toISODate();
146
+ const endOfLastMonth = luxon_1.DateTime.local().endOf('month').minus({ months: 1 }).toISODate();
147
+ dateRanges.push({
148
+ startDate: begginingOfLastMonth,
149
+ endDate: endOfLastMonth,
150
+ });
151
+ break;
152
+ case 'last7days':
153
+ dateRanges.push({
154
+ startDate: luxon_1.DateTime.now().minus({ days: 7 }).toISODate(),
155
+ endDate: luxon_1.DateTime.now().toISODate(),
156
+ });
157
+ break;
158
+ case 'last30days':
159
+ dateRanges.push({
160
+ startDate: luxon_1.DateTime.now().minus({ days: 30 }).toISODate(),
161
+ endDate: luxon_1.DateTime.now().toISODate(),
162
+ });
163
+ break;
164
+ case 'custom':
165
+ const start = luxon_1.DateTime.fromISO(this.getNodeParameter('startDate', itemIndex, ''));
166
+ const end = luxon_1.DateTime.fromISO(this.getNodeParameter('endDate', itemIndex, ''));
167
+ if (start > end) {
168
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Parameter Start: ${start.toISO()} cannot be after End: ${end.toISO()}`);
169
+ }
170
+ dateRanges.push({
171
+ startDate: start.toISODate(),
172
+ endDate: end.toISODate(),
173
+ });
174
+ break;
175
+ default:
176
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The period '${period}' is not supported, to specify own period use 'custom' option`);
177
+ }
178
+ return dateRanges;
179
+ }
180
+ exports.prepareDateRange = prepareDateRange;
181
+ const defaultStartDate = () => luxon_1.DateTime.now().startOf('day').minus({ days: 8 }).toISO();
182
+ exports.defaultStartDate = defaultStartDate;
183
+ const defaultEndDate = () => luxon_1.DateTime.now().startOf('day').minus({ days: 1 }).toISO();
184
+ exports.defaultEndDate = defaultEndDate;
185
+ function checkDuplicates(data, key, type) {
186
+ const fields = data.map((item) => item[key]);
187
+ const duplicates = fields.filter((field, i) => fields.indexOf(field) !== i);
188
+ const unique = Array.from(new Set(duplicates));
189
+ if (unique.length) {
190
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `A ${type} is specified more than once (${unique.join(', ')})`);
191
+ }
192
+ }
193
+ exports.checkDuplicates = checkDuplicates;
194
+ function sortLoadOptions(data) {
195
+ const returnData = [...data];
196
+ returnData.sort((a, b) => {
197
+ const aName = a.name.toLowerCase();
198
+ const bName = b.name.toLowerCase();
199
+ if (aName < bName) {
200
+ return -1;
201
+ }
202
+ if (aName > bName) {
203
+ return 1;
204
+ }
205
+ return 0;
206
+ });
207
+ return returnData;
208
+ }
209
+ exports.sortLoadOptions = sortLoadOptions;
210
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../nodes/Google/Analytics/v2/helpers/utils.ts"],"names":[],"mappings":";;;AACA,+CAKsB;AACtB,iCAAiC;AAGjC,SAAgB,QAAQ,CAAC,YAAyB;IACjD,MAAM,UAAU,GAAG,EAAE,CAAC;IACtB,KAAK,MAAM,EACV,YAAY,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,EAC1C,IAAI,EAAE,EAAE,IAAI,EAAE,GACd,IAAI,YAAY,EAAE;QAClB,IAAI,IAAI,KAAK,SAAS,EAAE;YAEvB,SAAS;SACT;QACD,MAAM,OAAO,GAAG,YAAY,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,KAAuB,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAC9F,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;YACvB,MAAM,aAAa,GAAgB,EAAE,CAAC;YACtC,MAAM,UAAU,GAAgB,EAAE,CAAC;YACnC,IAAI,UAAU,EAAE;gBACf,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;oBAC3C,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;oBACjD,KAAK,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,OAAO,CAAC,OAAO,EAAE,EAAE;wBAChD,UAAU,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;qBAClD;iBACD;aACD;iBAAM;gBACN,KAAK,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,OAAO,CAAC,OAAO,EAAE,EAAE;oBAChD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