@8ms/helpers 1.39.0 → 1.40.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 (1028) hide show
  1. package/dist/api/ApiResponse.d.mts +73 -0
  2. package/dist/api/ApiResponse.mjs +91 -0
  3. package/dist/api/index.d.mts +2 -0
  4. package/dist/api/index.mjs +13 -0
  5. package/dist/api/isError.d.mts +9 -0
  6. package/dist/api/isError.mjs +7 -0
  7. package/dist/api/isSuccess.d.mts +9 -0
  8. package/dist/api/isSuccess.mjs +7 -0
  9. package/dist/api/response.d.mts +2 -0
  10. package/dist/api/response.mjs +9 -0
  11. package/dist/array/contains.d.mts +11 -0
  12. package/dist/array/contains.mjs +7 -0
  13. package/dist/array/getArray.d.mts +10 -0
  14. package/dist/array/getArray.mjs +8 -0
  15. package/dist/atInternet/request.d.mts +31 -0
  16. package/dist/aws/athenaExpress/initClient.d.mts +15 -0
  17. package/dist/aws/athenaExpress/initClient.mjs +28 -0
  18. package/dist/aws/athenaExpress/query.d.mts +10 -0
  19. package/dist/aws/athenaExpress/query.mjs +13 -0
  20. package/dist/aws/ec2/initClient.d.mts +14 -0
  21. package/dist/aws/ec2/initClient.mjs +18 -0
  22. package/dist/aws/ec2/startInstances.d.mts +13 -0
  23. package/dist/aws/ec2/startInstances.mjs +17 -0
  24. package/dist/aws/ec2/stopInstances.d.mts +14 -0
  25. package/dist/aws/ec2/stopInstances.mjs +18 -0
  26. package/dist/aws/ecs/getClusters.d.mts +11 -0
  27. package/dist/aws/ecs/getClusters.mjs +23 -0
  28. package/dist/aws/ecs/getTaskDefinitions.d.mts +16 -0
  29. package/dist/aws/ecs/getTaskDefinitions.mjs +26 -0
  30. package/dist/aws/ecs/getTasks.d.mts +19 -0
  31. package/dist/aws/ecs/getTasks.mjs +29 -0
  32. package/dist/aws/ecs/initClient.d.mts +14 -0
  33. package/dist/aws/ecs/initClient.mjs +18 -0
  34. package/dist/aws/ecs/runTask.d.mts +19 -0
  35. package/dist/aws/ecs/runTask.mjs +24 -0
  36. package/dist/aws/getConfig.d.mts +18 -0
  37. package/dist/aws/getConfig.mjs +17 -0
  38. package/dist/aws/glue/initClient.d.mts +13 -0
  39. package/dist/aws/glue/initClient.mjs +17 -0
  40. package/dist/aws/glue/invoke.d.mts +11 -0
  41. package/dist/aws/glue/invoke.mjs +14 -0
  42. package/dist/aws/isResponse200.d.mts +11 -0
  43. package/dist/aws/isResponse200.mjs +16 -0
  44. package/dist/aws/lambda/getHandlerPath.d.mts +7 -0
  45. package/dist/aws/lambda/getHandlerPath.mjs +6 -0
  46. package/dist/aws/lambda/initClient.d.mts +13 -0
  47. package/dist/aws/lambda/initClient.mjs +17 -0
  48. package/dist/aws/lambda/invoke.d.mts +15 -0
  49. package/dist/aws/lambda/invoke.mjs +31 -0
  50. package/dist/aws/s3/copyFile.d.mts +18 -0
  51. package/dist/aws/s3/copyFile.mjs +15 -0
  52. package/dist/aws/s3/deleteFile.d.mts +14 -0
  53. package/dist/aws/s3/deleteFile.mjs +14 -0
  54. package/dist/aws/s3/deleteFiles.d.mts +14 -0
  55. package/dist/aws/s3/deleteFiles.mjs +14 -0
  56. package/dist/aws/s3/deleteFolder.d.mts +14 -0
  57. package/dist/aws/s3/deleteFolder.mjs +26 -0
  58. package/dist/aws/s3/getGlueJson.d.mts +12 -0
  59. package/dist/aws/s3/getGlueJson.mjs +8 -0
  60. package/dist/aws/s3/getPresignedPost.d.mts +28 -0
  61. package/dist/aws/s3/getPresignedPost.mjs +19 -0
  62. package/dist/aws/s3/getSignedUrl.d.mts +19 -0
  63. package/dist/aws/s3/getSignedUrl.mjs +17 -0
  64. package/dist/aws/s3/initClient.d.mts +15 -0
  65. package/dist/aws/s3/initClient.mjs +17 -0
  66. package/dist/aws/s3/isFileExists.d.mts +11 -0
  67. package/dist/aws/s3/isFileExists.mjs +21 -0
  68. package/dist/aws/s3/listFiles.d.mts +14 -0
  69. package/dist/aws/s3/listFiles.mjs +27 -0
  70. package/dist/aws/s3/listFilesIteratively.d.mts +11 -0
  71. package/dist/aws/s3/listFilesIteratively.mjs +40 -0
  72. package/dist/aws/s3/listFolders.d.mts +14 -0
  73. package/dist/aws/s3/listFolders.mjs +23 -0
  74. package/dist/aws/s3/moveFile.d.mts +16 -0
  75. package/dist/aws/s3/moveFile.mjs +18 -0
  76. package/dist/aws/s3/readBrotli.d.mts +18 -0
  77. package/dist/aws/s3/readBrotli.mjs +20 -0
  78. package/dist/aws/s3/readBuffer.d.mts +19 -0
  79. package/dist/aws/s3/readBuffer.mjs +29 -0
  80. package/dist/aws/s3/readFile.d.mts +38 -0
  81. package/dist/aws/s3/readFile.mjs +64 -0
  82. package/dist/aws/s3/readGzip.d.mts +18 -0
  83. package/dist/aws/s3/readGzip.mjs +20 -0
  84. package/dist/aws/s3/writeBrotli.d.mts +20 -0
  85. package/dist/aws/s3/writeBrotli.mjs +18 -0
  86. package/dist/aws/s3/writeFile.d.mts +18 -0
  87. package/dist/aws/s3/writeFile.mjs +16 -0
  88. package/dist/aws/s3/writeGzip.d.mts +20 -0
  89. package/dist/aws/s3/writeGzip.mjs +18 -0
  90. package/dist/aws/s3/writePresignedPost.d.mts +24 -0
  91. package/dist/aws/s3/writePresignedPost.mjs +28 -0
  92. package/dist/aws/s3/writeUrlContents.d.mts +16 -0
  93. package/dist/aws/s3/writeUrlContents.mjs +19 -0
  94. package/dist/aws/s3cache/getCache.d.mts +19 -0
  95. package/dist/aws/s3cache/getCache.mjs +25 -0
  96. package/dist/aws/s3cache/getKey.d.mts +15 -0
  97. package/dist/aws/s3cache/getKey.mjs +15 -0
  98. package/dist/aws/s3cache/index.d.mts +10 -0
  99. package/dist/aws/s3cache/saveCache.d.mts +16 -0
  100. package/dist/aws/s3cache/saveCache.mjs +14 -0
  101. package/dist/aws/s3cache/updateCache.d.mts +18 -0
  102. package/dist/aws/s3cache/updateCache.mjs +26 -0
  103. package/dist/aws/ses/SimpleEmail.d.mts +79 -0
  104. package/dist/aws/ses/SimpleEmail.mjs +122 -0
  105. package/dist/aws/ses/initClient.d.mts +15 -0
  106. package/dist/aws/ses/initClient.mjs +17 -0
  107. package/dist/aws/sqs/addToQueue.d.mts +35 -0
  108. package/dist/aws/sqs/addToQueue.mjs +20 -0
  109. package/dist/aws/sqs/deleteFromQueue.d.mts +16 -0
  110. package/dist/aws/sqs/deleteFromQueue.mjs +15 -0
  111. package/dist/aws/sqs/index.d.mts +18 -0
  112. package/dist/aws/sqs/initClient.d.mts +15 -0
  113. package/dist/aws/sqs/initClient.mjs +17 -0
  114. package/dist/aws/sqs/isEventSqs.d.mts +1 -0
  115. package/dist/aws/sqs/isEventSqs.mjs +1 -0
  116. package/dist/aws/ssm/getParameter.d.mts +16 -0
  117. package/dist/aws/ssm/getParameter.mjs +22 -0
  118. package/dist/aws/ssm/initClient.d.mts +15 -0
  119. package/dist/aws/ssm/initClient.mjs +17 -0
  120. package/dist/axios/delete.d.mts +14 -0
  121. package/dist/axios/delete.mjs +25 -0
  122. package/dist/axios/get.d.mts +16 -0
  123. package/dist/axios/get.mjs +24 -0
  124. package/dist/axios/post.d.mts +18 -0
  125. package/dist/axios/post.mjs +25 -0
  126. package/dist/boolean/getBoolean.d.mts +11 -0
  127. package/dist/boolean/getBoolean.mjs +11 -0
  128. package/dist/brightData/getCustomerId.d.mts +13 -0
  129. package/dist/brightData/getCustomerId.mjs +10 -0
  130. package/dist/brightData/getZone.d.mts +12 -0
  131. package/dist/brightData/getZone.mjs +10 -0
  132. package/dist/brightData/param.d.mts +11 -0
  133. package/dist/brightData/param.mjs +4 -0
  134. package/dist/brightData/serpApi/buildGoogleSerpUrl.d.mts +34 -0
  135. package/dist/brightData/serpApi/buildGoogleSerpUrl.mjs +100 -0
  136. package/dist/brightData/serpApi/buildGoogleTrendsUrl.d.mts +24 -0
  137. package/dist/brightData/serpApi/buildGoogleTrendsUrl.mjs +51 -0
  138. package/dist/brightData/serpApi/getAsyncRequestId.d.mts +17 -0
  139. package/dist/brightData/serpApi/getAsyncRequestId.mjs +35 -0
  140. package/dist/brightData/serpApi/getAsyncResults.d.mts +15 -0
  141. package/dist/brightData/serpApi/getAsyncResults.mjs +25 -0
  142. package/dist/brightData/serpApi/getRealtime.d.mts +13 -0
  143. package/dist/brightData/serpApi/getRealtime.mjs +25 -0
  144. package/dist/brightData/serpApi/type.d.mts +13 -0
  145. package/dist/brightData/serpApi/type.mjs +14 -0
  146. package/dist/brightData/webScraperIde/getBatch.d.mts +17 -0
  147. package/dist/brightData/webScraperIde/getBatch.mjs +22 -0
  148. package/dist/brightData/webScraperIde/getRealtime.d.mts +16 -0
  149. package/dist/brightData/webScraperIde/getRealtime.mjs +44 -0
  150. package/dist/chunk-y_GBKt04.mjs +5 -0
  151. package/dist/class/BaseClass.d.mts +45 -0
  152. package/dist/class/BaseClass.mjs +46 -0
  153. package/dist/crud/index.d.mts +9 -0
  154. package/dist/crud/index.mjs +10 -0
  155. package/dist/crypto/getDecrypt.d.mts +16 -0
  156. package/dist/crypto/getDecrypt.mjs +13 -0
  157. package/dist/crypto/getEncrypt.d.mts +16 -0
  158. package/dist/crypto/getEncrypt.mjs +13 -0
  159. package/dist/crypto/getRandom.d.mts +12 -0
  160. package/dist/crypto/getRandom.mjs +10 -0
  161. package/dist/crypto/getSha256.d.mts +12 -0
  162. package/dist/crypto/getSha256.mjs +13 -0
  163. package/dist/date/format.d.mts +13 -0
  164. package/dist/date/format.mjs +17 -0
  165. package/dist/date/getDate.d.mts +17 -0
  166. package/dist/date/getDate.mjs +107 -0
  167. package/dist/date/getDatesBetween.d.mts +16 -0
  168. package/dist/date/getDatesBetween.mjs +37 -0
  169. package/dist/date/getDurationHours.d.mts +11 -0
  170. package/dist/date/getDurationHours.mjs +24 -0
  171. package/dist/date/getDurationMinutes.d.mts +11 -0
  172. package/dist/date/getDurationMinutes.mjs +22 -0
  173. package/dist/date/getFinancialYear.d.mts +12 -0
  174. package/dist/date/getFinancialYear.mjs +31 -0
  175. package/dist/date/getFinancialYearToDate.d.mts +10 -0
  176. package/dist/date/getFinancialYearToDate.mjs +15 -0
  177. package/dist/date/getFinancialYearToYesterday.d.mts +10 -0
  178. package/dist/date/getFinancialYearToYesterday.mjs +15 -0
  179. package/dist/date/getFinancialYearWeeks.d.mts +12 -0
  180. package/dist/date/getFinancialYearWeeks.mjs +23 -0
  181. package/dist/date/getLastWeek.d.mts +16 -0
  182. package/dist/date/getLastWeek.mjs +30 -0
  183. package/dist/date/getMax.d.mts +16 -0
  184. package/dist/date/getMax.mjs +21 -0
  185. package/dist/date/getMidnight.d.mts +2 -0
  186. package/dist/date/getMidnight.mjs +11 -0
  187. package/dist/date/getMin.d.mts +16 -0
  188. package/dist/date/getMin.mjs +21 -0
  189. package/dist/date/getMonday.d.mts +18 -0
  190. package/dist/date/getMonday.mjs +31 -0
  191. package/dist/date/getNumber.d.mts +10 -0
  192. package/dist/date/getNumber.mjs +17 -0
  193. package/dist/date/getPredefinedTimeframe.d.mts +13 -0
  194. package/dist/date/getPredefinedTimeframe.mjs +15 -0
  195. package/dist/date/getSunday.d.mts +18 -0
  196. package/dist/date/getSunday.mjs +27 -0
  197. package/dist/date/getThisWeek.d.mts +16 -0
  198. package/dist/date/getThisWeek.mjs +36 -0
  199. package/dist/date/getTimeZoned.d.mts +2 -0
  200. package/dist/date/getTimeZoned.mjs +53 -0
  201. package/dist/date/getToday.d.mts +12 -0
  202. package/dist/date/getToday.mjs +21 -0
  203. package/dist/date/getTodayYmd.d.mts +7 -0
  204. package/dist/date/getTodayYmd.mjs +16 -0
  205. package/dist/date/getTodayYmdhis.d.mts +7 -0
  206. package/dist/date/getTodayYmdhis.mjs +16 -0
  207. package/dist/date/getTwoWeeksAgo.d.mts +16 -0
  208. package/dist/date/getTwoWeeksAgo.mjs +36 -0
  209. package/dist/date/getWeeksAgo.d.mts +22 -0
  210. package/dist/date/getWeeksAgo.mjs +22 -0
  211. package/dist/date/getYesterday.d.mts +15 -0
  212. package/dist/date/getYesterday.mjs +24 -0
  213. package/dist/date/index.d.mts +2 -0
  214. package/dist/date/index.mjs +36 -0
  215. package/dist/date/isDateValid.d.mts +11 -0
  216. package/dist/date/isDateValid.mjs +16 -0
  217. package/dist/date/isLastWeek.d.mts +12 -0
  218. package/dist/date/isLastWeek.mjs +11 -0
  219. package/dist/date/isThisWeek.d.mts +12 -0
  220. package/dist/date/isThisWeek.mjs +11 -0
  221. package/dist/date/parseExcelDate.d.mts +12 -0
  222. package/dist/date/parseExcelDate.mjs +18 -0
  223. package/dist/environment/getEnvironment.d.mts +9 -0
  224. package/dist/environment/getEnvironment.mjs +27 -0
  225. package/dist/environment/index.d.mts +12 -0
  226. package/dist/environment/index.mjs +14 -0
  227. package/dist/environment/isAws.d.mts +7 -0
  228. package/dist/environment/isAws.mjs +8 -0
  229. package/dist/environment/isDevelopment.d.mts +4 -0
  230. package/dist/environment/isDevelopment.mjs +6 -0
  231. package/dist/environment/isLocalhost.d.mts +7 -0
  232. package/dist/environment/isLocalhost.mjs +15 -0
  233. package/dist/environment/isProduction.d.mts +4 -0
  234. package/dist/environment/isProduction.mjs +6 -0
  235. package/dist/environment/isStaging.d.mts +4 -0
  236. package/dist/environment/isStaging.mjs +6 -0
  237. package/dist/environment/isVercel.d.mts +7 -0
  238. package/dist/environment/isVercel.mjs +7 -0
  239. package/dist/eskimi/ageGroups.d.mts +7 -0
  240. package/dist/eskimi/ageGroups.mjs +41 -0
  241. package/dist/eskimi/campaign.d.mts +22 -0
  242. package/dist/eskimi/campaign.mjs +1 -0
  243. package/dist/eskimi/devices.d.mts +7 -0
  244. package/dist/eskimi/devices.mjs +10 -0
  245. package/dist/eskimi/endpoints.d.mts +18 -0
  246. package/dist/eskimi/endpoints.mjs +16 -0
  247. package/dist/eskimi/genders.d.mts +7 -0
  248. package/dist/eskimi/genders.mjs +10 -0
  249. package/dist/eskimi/getAccessToken.d.mts +14 -0
  250. package/dist/eskimi/getAccessToken.mjs +19 -0
  251. package/dist/eskimi/getAgeGroup.d.mts +11 -0
  252. package/dist/eskimi/getAgeGroup.mjs +12 -0
  253. package/dist/eskimi/getCampaignIds.d.mts +11 -0
  254. package/dist/eskimi/getCampaignIds.mjs +9 -0
  255. package/dist/eskimi/getData.d.mts +13 -0
  256. package/dist/eskimi/getData.mjs +20 -0
  257. package/dist/eskimi/getDevice.d.mts +11 -0
  258. package/dist/eskimi/getDevice.mjs +12 -0
  259. package/dist/eskimi/getGender.d.mts +11 -0
  260. package/dist/eskimi/getGender.mjs +12 -0
  261. package/dist/file/createDirectory.d.mts +13 -0
  262. package/dist/file/createDirectory.mjs +16 -0
  263. package/dist/file/writeFile.d.mts +1 -0
  264. package/dist/file/writeFile.mjs +1 -0
  265. package/dist/getMidnight-Cr5sAuOj.d.mts +12 -0
  266. package/dist/getTimeZoned-D7uY_mE6.d.mts +15 -0
  267. package/dist/global/forceUpdate.d.mts +12 -0
  268. package/dist/global/forceUpdate.mjs +16 -0
  269. package/dist/global/init.d.mts +16 -0
  270. package/dist/global/init.mjs +16 -0
  271. package/dist/global/isSet.d.mts +12 -0
  272. package/dist/global/isSet.mjs +9 -0
  273. package/dist/global/maxCache.d.mts +12 -0
  274. package/dist/global/maxCache.mjs +15 -0
  275. package/dist/global/read.d.mts +12 -0
  276. package/dist/global/read.mjs +15 -0
  277. package/dist/global.d.mts +42 -0
  278. package/dist/google/bigQuery/IsTableExists.d.mts +17 -0
  279. package/dist/google/bigQuery/IsTableExists.mjs +19 -0
  280. package/dist/google/bigQuery/createDataset.d.mts +17 -0
  281. package/dist/google/bigQuery/createDataset.mjs +15 -0
  282. package/dist/google/bigQuery/createTable.d.mts +20 -0
  283. package/dist/google/bigQuery/createTable.mjs +21 -0
  284. package/dist/google/bigQuery/getClient.d.mts +11 -0
  285. package/dist/google/bigQuery/getClient.mjs +19 -0
  286. package/dist/google/bigQuery/getDatasets.d.mts +17 -0
  287. package/dist/google/bigQuery/getDatasets.mjs +17 -0
  288. package/dist/google/bigQuery/getTables.d.mts +14 -0
  289. package/dist/google/bigQuery/getTables.mjs +13 -0
  290. package/dist/google/bigQuery/initClient.d.mts +17 -0
  291. package/dist/google/bigQuery/initClient.mjs +27 -0
  292. package/dist/google/bigQuery/isDatasetExists.d.mts +16 -0
  293. package/dist/google/bigQuery/isDatasetExists.mjs +20 -0
  294. package/dist/google/bigQuery/loadData.d.mts +23 -0
  295. package/dist/google/bigQuery/loadData.mjs +20 -0
  296. package/dist/google/bigQuery/query.d.mts +24 -0
  297. package/dist/google/bigQuery/query.mjs +10 -0
  298. package/dist/google/getConfig.d.mts +24 -0
  299. package/dist/google/getConfig.mjs +21 -0
  300. package/dist/google/sheets/getAssociatedData.d.mts +18 -0
  301. package/dist/google/sheets/getAssociatedData.mjs +35 -0
  302. package/dist/google/sheets/getBatchData.d.mts +23 -0
  303. package/dist/google/sheets/getBatchData.mjs +15 -0
  304. package/dist/google/sheets/initClient.d.mts +16 -0
  305. package/dist/google/sheets/initClient.mjs +21 -0
  306. package/dist/google/sheets/isCellNa.d.mts +11 -0
  307. package/dist/google/sheets/isCellNa.mjs +7 -0
  308. package/dist/google/storage/copyToCloud.d.mts +18 -0
  309. package/dist/google/storage/copyToCloud.mjs +10 -0
  310. package/dist/google/storage/getClient.d.mts +12 -0
  311. package/dist/google/storage/getClient.mjs +19 -0
  312. package/dist/google/storage/initClient.d.mts +18 -0
  313. package/dist/google/storage/initClient.mjs +27 -0
  314. package/dist/google/storage/isFileExists.d.mts +12 -0
  315. package/dist/google/storage/isFileExists.mjs +11 -0
  316. package/dist/google/storage/writeFile.d.mts +13 -0
  317. package/dist/google/storage/writeFile.mjs +28 -0
  318. package/dist/googleAds/getCustomer.d.mts +12 -0
  319. package/dist/googleAds/getCustomer.mjs +13 -0
  320. package/dist/googleAds/initClient.d.mts +20 -0
  321. package/dist/googleAds/initClient.mjs +25 -0
  322. package/dist/googleAds/keywordPlanner/index.d.mts +241 -0
  323. package/dist/googleAds/keywordPlanner/index.mjs +244 -0
  324. package/dist/googleAds/keywordPlanner/request.d.mts +21 -0
  325. package/dist/googleAds/keywordPlanner/request.mjs +13 -0
  326. package/dist/googleAds/keywordPlanner/response.d.mts +28 -0
  327. package/dist/googleAds/keywordPlanner/response.mjs +1 -0
  328. package/dist/index-CiGy7MyK.d.mts +58 -0
  329. package/dist/index-gGQBTUJU.d.mts +12 -0
  330. package/dist/initClients.d.mts +46 -0
  331. package/dist/initClients.mjs +56 -0
  332. package/dist/json/getJsonNewline.d.mts +9 -0
  333. package/dist/json/getJsonNewline.mjs +7 -0
  334. package/dist/json/isJson.d.mts +12 -0
  335. package/dist/json/isJson.mjs +17 -0
  336. package/dist/littleWarden/getUrlStatus.d.mts +14 -0
  337. package/dist/littleWarden/getUrlStatus.mjs +16 -0
  338. package/dist/littleWarden/index.d.mts +8 -0
  339. package/dist/littleWarden/index.mjs +9 -0
  340. package/dist/littleWarden/isAllGood.d.mts +11 -0
  341. package/dist/littleWarden/isAllGood.mjs +12 -0
  342. package/dist/littleWarden/isDanger.d.mts +11 -0
  343. package/dist/littleWarden/isDanger.mjs +12 -0
  344. package/dist/littleWarden/isWarning.d.mts +11 -0
  345. package/dist/littleWarden/isWarning.mjs +12 -0
  346. package/dist/lumar/api/buildRequest.d.mts +28 -0
  347. package/dist/lumar/api/buildRequest.mjs +58 -0
  348. package/dist/lumar/api/filter.d.mts +8 -0
  349. package/dist/lumar/api/filter.mjs +1 -0
  350. package/dist/lumar/api/getData.d.mts +11 -0
  351. package/dist/lumar/api/getData.mjs +10 -0
  352. package/dist/lumar/api/initClient.d.mts +17 -0
  353. package/dist/lumar/api/initClient.mjs +28 -0
  354. package/dist/lumar/api/operands.d.mts +13 -0
  355. package/dist/lumar/api/operands.mjs +13 -0
  356. package/dist/lumar/api/orders.d.mts +11 -0
  357. package/dist/lumar/api/orders.mjs +7 -0
  358. package/dist/lumar/api/reports.d.mts +13 -0
  359. package/dist/lumar/api/reports.mjs +13 -0
  360. package/dist/lumar/graphql/columns.d.mts +31 -0
  361. package/dist/lumar/graphql/columns.mjs +31 -0
  362. package/dist/lumar/graphql/getData.d.mts +15 -0
  363. package/dist/lumar/graphql/getData.mjs +18 -0
  364. package/dist/lumar/graphql/getReportKey.d.mts +14 -0
  365. package/dist/lumar/graphql/getReportKey.mjs +9 -0
  366. package/dist/lumar/graphql/initClient.d.mts +16 -0
  367. package/dist/lumar/graphql/initClient.mjs +34 -0
  368. package/dist/lumar/graphql/operands.d.mts +18 -0
  369. package/dist/lumar/graphql/operands.mjs +18 -0
  370. package/dist/lumar/graphql/queries/crawl.d.mts +8 -0
  371. package/dist/lumar/graphql/queries/crawl.mjs +1 -0
  372. package/dist/lumar/graphql/queries/getCrawls.d.mts +23 -0
  373. package/dist/lumar/graphql/queries/getCrawls.mjs +33 -0
  374. package/dist/lumar/graphql/queries/getReportDifferences.d.mts +30 -0
  375. package/dist/lumar/graphql/queries/getReportDifferences.mjs +37 -0
  376. package/dist/lumar/graphql/queries/getRows.d.mts +50 -0
  377. package/dist/lumar/graphql/queries/getRows.mjs +57 -0
  378. package/dist/lumar/graphql/queries/getTotals.d.mts +33 -0
  379. package/dist/lumar/graphql/queries/getTotals.mjs +40 -0
  380. package/dist/lumar/graphql/queries/row.d.mts +159 -0
  381. package/dist/lumar/graphql/queries/row.mjs +1 -0
  382. package/dist/lumar/graphql/reportTemplates.d.mts +70 -0
  383. package/dist/lumar/graphql/reportTemplates.mjs +70 -0
  384. package/dist/lumar/graphql/reportTypes.d.mts +9 -0
  385. package/dist/lumar/graphql/reportTypes.mjs +9 -0
  386. package/dist/myTarget/getAccessToken.d.mts +14 -0
  387. package/dist/myTarget/getAccessToken.mjs +19 -0
  388. package/dist/myTarget/request.d.mts +15 -0
  389. package/dist/myTarget/request.mjs +17 -0
  390. package/dist/nextAuth/index.d.mts +9 -0
  391. package/dist/nextAuth/index.mjs +9 -0
  392. package/dist/nextAuth/isSessionReady.d.mts +8 -0
  393. package/dist/nextAuth/isSessionReady.mjs +10 -0
  394. package/dist/nextJs/getIp.d.mts +11 -0
  395. package/dist/nextJs/getIp.mjs +11 -0
  396. package/dist/nextJs/getUserAgent.d.mts +11 -0
  397. package/dist/nextJs/getUserAgent.mjs +7 -0
  398. package/dist/number/format.d.mts +13 -0
  399. package/dist/number/format.mjs +16 -0
  400. package/dist/number/getCurrency.d.mts +15 -0
  401. package/dist/number/getCurrency.mjs +17 -0
  402. package/dist/number/getDecimal.d.mts +11 -0
  403. package/dist/number/getDecimal.mjs +11 -0
  404. package/dist/number/getDivide.d.mts +13 -0
  405. package/dist/number/getDivide.mjs +17 -0
  406. package/dist/number/getNumber.d.mts +13 -0
  407. package/dist/number/getNumber.mjs +23 -0
  408. package/dist/number/getPercentIncrease.d.mts +16 -0
  409. package/dist/number/getPercentIncrease.mjs +13 -0
  410. package/dist/object/replaceKeys.d.mts +15 -0
  411. package/dist/object/replaceKeys.mjs +27 -0
  412. package/dist/prisma/getDecimal.d.mts +11 -0
  413. package/dist/prisma/getDecimal.mjs +17 -0
  414. package/dist/prisma/initClient.d.mts +8 -0
  415. package/dist/prisma/initClient.mjs +25 -0
  416. package/dist/response-CKsarnP-.d.mts +11 -0
  417. package/dist/snapchat/getAccessToken.d.mts +14 -0
  418. package/dist/snapchat/getAccessToken.mjs +29 -0
  419. package/dist/sorting/byNumberAscending.d.mts +13 -0
  420. package/dist/sorting/byNumberAscending.mjs +13 -0
  421. package/dist/sorting/byNumberDescending.d.mts +13 -0
  422. package/dist/sorting/byNumberDescending.mjs +13 -0
  423. package/dist/sorting/byStringAscending.d.mts +13 -0
  424. package/dist/sorting/byStringAscending.mjs +13 -0
  425. package/dist/sorting/byStringDescending.d.mts +13 -0
  426. package/dist/sorting/byStringDescending.mjs +13 -0
  427. package/dist/stream/sort.d.mts +16 -0
  428. package/dist/stream/sort.mjs +46 -0
  429. package/dist/string/getCapitalised.d.mts +15 -0
  430. package/dist/string/getCapitalised.mjs +13 -0
  431. package/dist/string/getClean.d.mts +32 -0
  432. package/dist/string/getClean.mjs +28 -0
  433. package/dist/string/getDecoded.d.mts +14 -0
  434. package/dist/string/getDecoded.mjs +19 -0
  435. package/dist/string/getFolder.d.mts +12 -0
  436. package/dist/string/getFolder.mjs +10 -0
  437. package/dist/string/getProperCase.d.mts +13 -0
  438. package/dist/string/getProperCase.mjs +14 -0
  439. package/dist/string/getString.d.mts +11 -0
  440. package/dist/string/getString.mjs +18 -0
  441. package/dist/string/getStringFromStream.d.mts +12 -0
  442. package/dist/string/getStringFromStream.mjs +15 -0
  443. package/dist/string/getWithoutAccents.d.mts +13 -0
  444. package/dist/string/getWithoutAccents.mjs +11 -0
  445. package/dist/string/getWithoutHtmlTags.d.mts +13 -0
  446. package/dist/string/getWithoutHtmlTags.mjs +11 -0
  447. package/dist/string/getWithoutPunctuation.d.mts +13 -0
  448. package/dist/string/getWithoutPunctuation.mjs +11 -0
  449. package/dist/string/getWithoutUnderscores.d.mts +12 -0
  450. package/dist/string/getWithoutUnderscores.mjs +10 -0
  451. package/dist/string/getWithoutWhitespaces.d.mts +13 -0
  452. package/dist/string/getWithoutWhitespaces.mjs +11 -0
  453. package/dist/swr/isAllData.d.mts +11 -0
  454. package/dist/swr/isAllData.mjs +12 -0
  455. package/dist/swr/isAnyError.d.mts +11 -0
  456. package/dist/swr/isAnyError.mjs +12 -0
  457. package/dist/swr/isAnyLoading.d.mts +11 -0
  458. package/dist/swr/isAnyLoading.mjs +12 -0
  459. package/dist/swr/isData.d.mts +11 -0
  460. package/dist/swr/isData.mjs +7 -0
  461. package/dist/swr/isError.d.mts +11 -0
  462. package/dist/swr/isError.mjs +7 -0
  463. package/dist/swr/isLoading.d.mts +11 -0
  464. package/dist/swr/isLoading.mjs +9 -0
  465. package/dist/upTimeRobot/getMonitors.d.mts +1 -0
  466. package/dist/upTimeRobot/getMonitors.mjs +3 -0
  467. package/dist/upTimeRobot/logTypes.d.mts +9 -0
  468. package/dist/upTimeRobot/logTypes.mjs +9 -0
  469. package/dist/upTimeRobot/monitorStatuses.d.mts +10 -0
  470. package/dist/upTimeRobot/monitorStatuses.mjs +10 -0
  471. package/dist/upTimeRobot/monitorSubTypes.d.mts +12 -0
  472. package/dist/upTimeRobot/monitorSubTypes.mjs +12 -0
  473. package/dist/upTimeRobot/monitorTypes.d.mts +10 -0
  474. package/dist/upTimeRobot/monitorTypes.mjs +10 -0
  475. package/dist/upTimeRobot/requestStatuses.d.mts +7 -0
  476. package/dist/upTimeRobot/requestStatuses.mjs +7 -0
  477. package/dist/url/buildParameters.d.mts +13 -0
  478. package/dist/url/buildParameters.mjs +17 -0
  479. package/dist/url/buildRelative.d.mts +13 -0
  480. package/dist/url/buildRelative.mjs +13 -0
  481. package/dist/url/buildUrl.d.mts +16 -0
  482. package/dist/url/buildUrl.mjs +18 -0
  483. package/dist/url/isAbsolute.d.mts +11 -0
  484. package/dist/url/isAbsolute.mjs +14 -0
  485. package/dist/url/isRelative.d.mts +11 -0
  486. package/dist/url/isRelative.mjs +7 -0
  487. package/dist/url/url.d.mts +9 -0
  488. package/dist/url/url.mjs +1 -0
  489. package/dist/url/writeUrlContents.d.mts +16 -0
  490. package/dist/url/writeUrlContents.mjs +30 -0
  491. package/dist/util/defaultTo.d.mts +12 -0
  492. package/dist/util/defaultTo.mjs +20 -0
  493. package/dist/util/getBrotliCompressed.d.mts +14 -0
  494. package/dist/util/getBrotliCompressed.mjs +15 -0
  495. package/dist/util/getBrotliDecompressed.d.mts +14 -0
  496. package/dist/util/getBrotliDecompressed.mjs +17 -0
  497. package/dist/util/getClean.d.mts +18 -0
  498. package/dist/util/getClean.mjs +15 -0
  499. package/dist/util/getGzipCompressed.d.mts +14 -0
  500. package/dist/util/getGzipCompressed.mjs +15 -0
  501. package/dist/util/getGzipDecompressed.d.mts +14 -0
  502. package/dist/util/getGzipDecompressed.mjs +17 -0
  503. package/dist/util/getWithoutHash.d.mts +12 -0
  504. package/dist/util/getWithoutHash.mjs +14 -0
  505. package/dist/util/getWithoutParameter.d.mts +12 -0
  506. package/dist/util/getWithoutParameter.mjs +14 -0
  507. package/dist/util/isUndefined.d.mts +14 -0
  508. package/dist/util/isUndefined.mjs +15 -0
  509. package/dist/util/promiseChunks.d.mts +12 -0
  510. package/dist/util/promiseChunks.mjs +18 -0
  511. package/dist/util/sleep.d.mts +7 -0
  512. package/dist/util/sleep.mjs +6 -0
  513. package/dist/webWorker/index.d.mts +8 -0
  514. package/dist/webWorker/index.mjs +9 -0
  515. package/dist/xml/getXml.d.mts +7 -0
  516. package/dist/xml/getXml.mjs +14 -0
  517. package/package.json +339 -44
  518. package/.github/workflows/deploy_npmjs.yml +0 -17
  519. package/api/ApiResponse.d.ts +0 -50
  520. package/api/ApiResponse.js +0 -94
  521. package/api/index.d.ts +0 -9
  522. package/api/index.js +0 -13
  523. package/api/isError.d.ts +0 -6
  524. package/api/isError.js +0 -7
  525. package/api/isSuccess.d.ts +0 -6
  526. package/api/isSuccess.js +0 -7
  527. package/api/response.d.ts +0 -8
  528. package/api/response.js +0 -9
  529. package/array/contains.d.ts +0 -9
  530. package/array/contains.js +0 -7
  531. package/array/getArray.d.ts +0 -8
  532. package/array/getArray.js +0 -11
  533. package/atInternet/request.d.ts +0 -30
  534. package/atInternet/request.js +0 -2
  535. package/aws/athenaExpress/initClient.d.ts +0 -12
  536. package/aws/athenaExpress/initClient.js +0 -31
  537. package/aws/athenaExpress/query.d.ts +0 -8
  538. package/aws/athenaExpress/query.js +0 -16
  539. package/aws/ec2/initClient.d.ts +0 -11
  540. package/aws/ec2/initClient.js +0 -23
  541. package/aws/ec2/startInstances.d.ts +0 -11
  542. package/aws/ec2/startInstances.js +0 -18
  543. package/aws/ec2/stopInstances.d.ts +0 -12
  544. package/aws/ec2/stopInstances.js +0 -19
  545. package/aws/ecs/getClusters.d.ts +0 -9
  546. package/aws/ecs/getClusters.js +0 -32
  547. package/aws/ecs/getTaskDefinitions.d.ts +0 -13
  548. package/aws/ecs/getTaskDefinitions.js +0 -35
  549. package/aws/ecs/getTasks.d.ts +0 -16
  550. package/aws/ecs/getTasks.js +0 -38
  551. package/aws/ecs/initClient.d.ts +0 -11
  552. package/aws/ecs/initClient.js +0 -23
  553. package/aws/ecs/runTask.d.ts +0 -16
  554. package/aws/ecs/runTask.js +0 -30
  555. package/aws/getConfig.d.ts +0 -13
  556. package/aws/getConfig.js +0 -27
  557. package/aws/glue/initClient.d.ts +0 -10
  558. package/aws/glue/initClient.js +0 -21
  559. package/aws/glue/invoke.d.ts +0 -9
  560. package/aws/glue/invoke.js +0 -23
  561. package/aws/isResponse200.d.ts +0 -7
  562. package/aws/isResponse200.js +0 -22
  563. package/aws/lambda/getHandlerPath.d.ts +0 -5
  564. package/aws/lambda/getHandlerPath.js +0 -7
  565. package/aws/lambda/initClient.d.ts +0 -10
  566. package/aws/lambda/initClient.js +0 -21
  567. package/aws/lambda/invoke.d.ts +0 -13
  568. package/aws/lambda/invoke.js +0 -61
  569. package/aws/s3/copyFile.d.ts +0 -13
  570. package/aws/s3/copyFile.js +0 -14
  571. package/aws/s3/deleteFile.d.ts +0 -9
  572. package/aws/s3/deleteFile.js +0 -13
  573. package/aws/s3/deleteFiles.d.ts +0 -9
  574. package/aws/s3/deleteFiles.js +0 -17
  575. package/aws/s3/deleteFolder.d.ts +0 -9
  576. package/aws/s3/deleteFolder.js +0 -36
  577. package/aws/s3/getGlueJson.d.ts +0 -8
  578. package/aws/s3/getGlueJson.js +0 -11
  579. package/aws/s3/getPresignedPost.d.ts +0 -20
  580. package/aws/s3/getPresignedPost.js +0 -19
  581. package/aws/s3/getSignedUrl.d.ts +0 -12
  582. package/aws/s3/getSignedUrl.js +0 -17
  583. package/aws/s3/initClient.d.ts +0 -10
  584. package/aws/s3/initClient.js +0 -19
  585. package/aws/s3/isFileExists.d.ts +0 -9
  586. package/aws/s3/isFileExists.js +0 -27
  587. package/aws/s3/listFiles.d.ts +0 -9
  588. package/aws/s3/listFiles.js +0 -33
  589. package/aws/s3/listFilesIteratively.d.ts +0 -9
  590. package/aws/s3/listFilesIteratively.js +0 -44
  591. package/aws/s3/listFolders.d.ts +0 -9
  592. package/aws/s3/listFolders.js +0 -32
  593. package/aws/s3/moveFile.d.ts +0 -10
  594. package/aws/s3/moveFile.js +0 -21
  595. package/aws/s3/readBrotli.d.ts +0 -11
  596. package/aws/s3/readBrotli.js +0 -28
  597. package/aws/s3/readBuffer.d.ts +0 -13
  598. package/aws/s3/readBuffer.js +0 -39
  599. package/aws/s3/readFile.d.ts +0 -31
  600. package/aws/s3/readFile.js +0 -83
  601. package/aws/s3/readGzip.d.ts +0 -11
  602. package/aws/s3/readGzip.js +0 -28
  603. package/aws/s3/writeBrotli.d.ts +0 -12
  604. package/aws/s3/writeBrotli.js +0 -28
  605. package/aws/s3/writeFile.d.ts +0 -11
  606. package/aws/s3/writeFile.js +0 -16
  607. package/aws/s3/writeGzip.d.ts +0 -12
  608. package/aws/s3/writeGzip.js +0 -28
  609. package/aws/s3/writePresignedPost.d.ts +0 -14
  610. package/aws/s3/writePresignedPost.js +0 -31
  611. package/aws/s3/writeUrlContents.d.ts +0 -10
  612. package/aws/s3/writeUrlContents.js +0 -26
  613. package/aws/s3cache/getCache.d.ts +0 -11
  614. package/aws/s3cache/getCache.js +0 -37
  615. package/aws/s3cache/getKey.d.ts +0 -10
  616. package/aws/s3cache/getKey.js +0 -18
  617. package/aws/s3cache/index.d.ts +0 -6
  618. package/aws/s3cache/index.js +0 -2
  619. package/aws/s3cache/saveCache.d.ts +0 -10
  620. package/aws/s3cache/saveCache.js +0 -17
  621. package/aws/s3cache/updateCache.d.ts +0 -10
  622. package/aws/s3cache/updateCache.js +0 -24
  623. package/aws/ses/SimpleEmail.d.ts +0 -51
  624. package/aws/ses/SimpleEmail.js +0 -114
  625. package/aws/ses/initClient.d.ts +0 -10
  626. package/aws/ses/initClient.js +0 -19
  627. package/aws/sqs/addToQueue.d.ts +0 -27
  628. package/aws/sqs/addToQueue.js +0 -26
  629. package/aws/sqs/deleteFromQueue.d.ts +0 -10
  630. package/aws/sqs/deleteFromQueue.js +0 -15
  631. package/aws/sqs/initClient.d.ts +0 -10
  632. package/aws/sqs/initClient.js +0 -19
  633. package/aws/sqs/isEventSqs.js +0 -13
  634. package/aws/ssm/getParameter.d.ts +0 -10
  635. package/aws/ssm/getParameter.js +0 -40
  636. package/aws/ssm/initClient.d.ts +0 -10
  637. package/aws/ssm/initClient.js +0 -19
  638. package/axios/delete.d.ts +0 -11
  639. package/axios/delete.js +0 -39
  640. package/axios/get.d.ts +0 -10
  641. package/axios/get.js +0 -38
  642. package/axios/post.d.ts +0 -11
  643. package/axios/post.js +0 -38
  644. package/boolean/getBoolean.d.ts +0 -7
  645. package/boolean/getBoolean.js +0 -16
  646. package/brightData/getCustomerId.d.ts +0 -10
  647. package/brightData/getCustomerId.js +0 -11
  648. package/brightData/getZone.d.ts +0 -9
  649. package/brightData/getZone.js +0 -10
  650. package/brightData/param.d.ts +0 -9
  651. package/brightData/param.js +0 -3
  652. package/brightData/serpApi/buildGoogleSerpUrl.d.ts +0 -32
  653. package/brightData/serpApi/buildGoogleSerpUrl.js +0 -115
  654. package/brightData/serpApi/buildGoogleTrendsUrl.d.ts +0 -22
  655. package/brightData/serpApi/buildGoogleTrendsUrl.js +0 -60
  656. package/brightData/serpApi/getAsyncRequestId.d.ts +0 -14
  657. package/brightData/serpApi/getAsyncRequestId.js +0 -50
  658. package/brightData/serpApi/getAsyncResults.d.ts +0 -12
  659. package/brightData/serpApi/getAsyncResults.js +0 -49
  660. package/brightData/serpApi/getRealtime.d.ts +0 -10
  661. package/brightData/serpApi/getRealtime.js +0 -35
  662. package/brightData/serpApi/type.d.ts +0 -11
  663. package/brightData/serpApi/type.js +0 -14
  664. package/brightData/webScraperIde/getBatch.d.ts +0 -14
  665. package/brightData/webScraperIde/getBatch.js +0 -34
  666. package/brightData/webScraperIde/getRealtime.d.ts +0 -13
  667. package/brightData/webScraperIde/getRealtime.js +0 -64
  668. package/class/BaseClass.d.ts +0 -31
  669. package/class/BaseClass.js +0 -50
  670. package/crud/index.d.ts +0 -6
  671. package/crud/index.js +0 -10
  672. package/crypto/getDecrypt.d.ts +0 -10
  673. package/crypto/getDecrypt.js +0 -13
  674. package/crypto/getEncrypt.d.ts +0 -10
  675. package/crypto/getEncrypt.js +0 -13
  676. package/crypto/getRandom.d.ts +0 -8
  677. package/crypto/getRandom.js +0 -12
  678. package/crypto/getSha256.d.ts +0 -8
  679. package/crypto/getSha256.js +0 -17
  680. package/date/format.d.ts +0 -10
  681. package/date/format.js +0 -21
  682. package/date/getDate.d.ts +0 -14
  683. package/date/getDate.js +0 -138
  684. package/date/getDatesBetween.d.ts +0 -13
  685. package/date/getDatesBetween.js +0 -54
  686. package/date/getDurationHours.d.ts +0 -9
  687. package/date/getDurationHours.js +0 -24
  688. package/date/getDurationMinutes.d.ts +0 -9
  689. package/date/getDurationMinutes.js +0 -22
  690. package/date/getFinancialYear.d.ts +0 -9
  691. package/date/getFinancialYear.js +0 -52
  692. package/date/getFinancialYearToDate.d.ts +0 -7
  693. package/date/getFinancialYearToDate.js +0 -20
  694. package/date/getFinancialYearToYesterday.d.ts +0 -7
  695. package/date/getFinancialYearToYesterday.js +0 -20
  696. package/date/getFinancialYearWeeks.d.ts +0 -9
  697. package/date/getFinancialYearWeeks.js +0 -33
  698. package/date/getLastWeek.d.ts +0 -10
  699. package/date/getLastWeek.js +0 -34
  700. package/date/getMax.d.ts +0 -13
  701. package/date/getMax.js +0 -24
  702. package/date/getMidnight.d.ts +0 -10
  703. package/date/getMidnight.js +0 -13
  704. package/date/getMin.d.ts +0 -13
  705. package/date/getMin.js +0 -24
  706. package/date/getMonday.d.ts +0 -15
  707. package/date/getMonday.js +0 -46
  708. package/date/getNumber.d.ts +0 -7
  709. package/date/getNumber.js +0 -20
  710. package/date/getPredefinedTimeframe.d.ts +0 -8
  711. package/date/getPredefinedTimeframe.js +0 -24
  712. package/date/getSunday.d.ts +0 -15
  713. package/date/getSunday.js +0 -42
  714. package/date/getThisWeek.d.ts +0 -10
  715. package/date/getThisWeek.js +0 -36
  716. package/date/getTimeZoned.d.ts +0 -13
  717. package/date/getTimeZoned.js +0 -55
  718. package/date/getToday.d.ts +0 -9
  719. package/date/getToday.js +0 -24
  720. package/date/getTodayYmd.d.ts +0 -5
  721. package/date/getTodayYmd.js +0 -21
  722. package/date/getTodayYmdhis.d.ts +0 -5
  723. package/date/getTodayYmdhis.js +0 -21
  724. package/date/getTwoWeeksAgo.d.ts +0 -10
  725. package/date/getTwoWeeksAgo.js +0 -36
  726. package/date/getWeeksAgo.d.ts +0 -13
  727. package/date/getWeeksAgo.js +0 -25
  728. package/date/getYesterday.d.ts +0 -9
  729. package/date/getYesterday.js +0 -52
  730. package/date/index.d.ts +0 -55
  731. package/date/index.js +0 -36
  732. package/date/isDateValid.d.ts +0 -7
  733. package/date/isDateValid.js +0 -20
  734. package/date/isLastWeek.d.ts +0 -6
  735. package/date/isLastWeek.js +0 -14
  736. package/date/isThisWeek.d.ts +0 -6
  737. package/date/isThisWeek.js +0 -14
  738. package/date/parseExcelDate.d.ts +0 -8
  739. package/date/parseExcelDate.js +0 -19
  740. package/environment/getEnvironment.d.ts +0 -6
  741. package/environment/getEnvironment.js +0 -43
  742. package/environment/index.d.ts +0 -9
  743. package/environment/index.js +0 -14
  744. package/environment/isAws.d.ts +0 -5
  745. package/environment/isAws.js +0 -8
  746. package/environment/isDevelopment.d.ts +0 -2
  747. package/environment/isDevelopment.js +0 -9
  748. package/environment/isLocalhost.d.ts +0 -5
  749. package/environment/isLocalhost.js +0 -25
  750. package/environment/isProduction.d.ts +0 -2
  751. package/environment/isProduction.js +0 -9
  752. package/environment/isStaging.d.ts +0 -2
  753. package/environment/isStaging.js +0 -9
  754. package/environment/isVercel.d.ts +0 -5
  755. package/environment/isVercel.js +0 -7
  756. package/eskimi/ageGroups.d.ts +0 -5
  757. package/eskimi/ageGroups.js +0 -41
  758. package/eskimi/campaign.d.ts +0 -19
  759. package/eskimi/campaign.js +0 -2
  760. package/eskimi/devices.d.ts +0 -5
  761. package/eskimi/devices.js +0 -13
  762. package/eskimi/endpoints.d.ts +0 -16
  763. package/eskimi/endpoints.js +0 -18
  764. package/eskimi/genders.d.ts +0 -5
  765. package/eskimi/genders.js +0 -13
  766. package/eskimi/getAccessToken.d.ts +0 -9
  767. package/eskimi/getAccessToken.js +0 -23
  768. package/eskimi/getAgeGroup.d.ts +0 -7
  769. package/eskimi/getAgeGroup.js +0 -17
  770. package/eskimi/getCampaignIds.d.ts +0 -7
  771. package/eskimi/getCampaignIds.js +0 -12
  772. package/eskimi/getData.d.ts +0 -8
  773. package/eskimi/getData.js +0 -23
  774. package/eskimi/getDevice.d.ts +0 -7
  775. package/eskimi/getDevice.js +0 -17
  776. package/eskimi/getGender.d.ts +0 -7
  777. package/eskimi/getGender.js +0 -17
  778. package/file/createDirectory.d.ts +0 -9
  779. package/file/createDirectory.js +0 -16
  780. package/file/writeFile.d.ts +0 -1
  781. package/file/writeFile.js +0 -2
  782. package/global/forceUpdate.d.ts +0 -8
  783. package/global/forceUpdate.js +0 -25
  784. package/global/init.d.ts +0 -10
  785. package/global/init.js +0 -18
  786. package/global/isSet.d.ts +0 -8
  787. package/global/isSet.js +0 -9
  788. package/global/maxCache.d.ts +0 -8
  789. package/global/maxCache.js +0 -17
  790. package/global/read.d.ts +0 -8
  791. package/global/read.js +0 -30
  792. package/google/bigQuery/IsTableExists.d.ts +0 -11
  793. package/google/bigQuery/IsTableExists.js +0 -25
  794. package/google/bigQuery/createDataset.d.ts +0 -11
  795. package/google/bigQuery/createDataset.js +0 -22
  796. package/google/bigQuery/createTable.d.ts +0 -12
  797. package/google/bigQuery/createTable.js +0 -31
  798. package/google/bigQuery/getClient.d.ts +0 -9
  799. package/google/bigQuery/getClient.js +0 -18
  800. package/google/bigQuery/getDatasets.d.ts +0 -13
  801. package/google/bigQuery/getDatasets.js +0 -27
  802. package/google/bigQuery/getTables.d.ts +0 -12
  803. package/google/bigQuery/getTables.js +0 -25
  804. package/google/bigQuery/initClient.d.ts +0 -11
  805. package/google/bigQuery/initClient.js +0 -29
  806. package/google/bigQuery/isDatasetExists.d.ts +0 -11
  807. package/google/bigQuery/isDatasetExists.js +0 -25
  808. package/google/bigQuery/loadData.d.ts +0 -18
  809. package/google/bigQuery/loadData.js +0 -32
  810. package/google/bigQuery/query.d.ts +0 -19
  811. package/google/bigQuery/query.js +0 -15
  812. package/google/getConfig.d.ts +0 -20
  813. package/google/getConfig.js +0 -23
  814. package/google/sheets/getAssociatedData.d.ts +0 -16
  815. package/google/sheets/getAssociatedData.js +0 -53
  816. package/google/sheets/getBatchData.d.ts +0 -18
  817. package/google/sheets/getBatchData.js +0 -19
  818. package/google/sheets/initClient.d.ts +0 -11
  819. package/google/sheets/initClient.js +0 -25
  820. package/google/sheets/isCellNa.d.ts +0 -7
  821. package/google/sheets/isCellNa.js +0 -7
  822. package/google/storage/copyToCloud.d.ts +0 -11
  823. package/google/storage/copyToCloud.js +0 -18
  824. package/google/storage/getClient.d.ts +0 -8
  825. package/google/storage/getClient.js +0 -18
  826. package/google/storage/initClient.d.ts +0 -12
  827. package/google/storage/initClient.js +0 -29
  828. package/google/storage/isFileExists.d.ts +0 -10
  829. package/google/storage/isFileExists.js +0 -19
  830. package/google/storage/writeFile.d.ts +0 -11
  831. package/google/storage/writeFile.js +0 -37
  832. package/googleAds/getCustomer.d.ts +0 -8
  833. package/googleAds/getCustomer.js +0 -14
  834. package/googleAds/initClient.d.ts +0 -16
  835. package/googleAds/initClient.js +0 -25
  836. package/googleAds/keywordPlanner/index.d.ts +0 -238
  837. package/googleAds/keywordPlanner/index.js +0 -244
  838. package/googleAds/keywordPlanner/request.d.ts +0 -18
  839. package/googleAds/keywordPlanner/request.js +0 -13
  840. package/googleAds/keywordPlanner/response.d.ts +0 -25
  841. package/googleAds/keywordPlanner/response.js +0 -2
  842. package/initClients.d.ts +0 -43
  843. package/initClients.js +0 -131
  844. package/json/getJsonNewline.d.ts +0 -5
  845. package/json/getJsonNewline.js +0 -17
  846. package/json/isJson.d.ts +0 -8
  847. package/json/isJson.js +0 -20
  848. package/littleWarden/getUrlStatus.d.ts +0 -9
  849. package/littleWarden/getUrlStatus.js +0 -21
  850. package/littleWarden/index.d.ts +0 -5
  851. package/littleWarden/index.js +0 -9
  852. package/littleWarden/isAllGood.d.ts +0 -7
  853. package/littleWarden/isAllGood.js +0 -15
  854. package/littleWarden/isDanger.d.ts +0 -7
  855. package/littleWarden/isDanger.js +0 -15
  856. package/littleWarden/isWarning.d.ts +0 -7
  857. package/littleWarden/isWarning.js +0 -15
  858. package/lumar/api/buildRequest.d.ts +0 -15
  859. package/lumar/api/buildRequest.js +0 -83
  860. package/lumar/api/filter.d.ts +0 -5
  861. package/lumar/api/filter.js +0 -2
  862. package/lumar/api/getData.d.ts +0 -6
  863. package/lumar/api/getData.js +0 -18
  864. package/lumar/api/initClient.d.ts +0 -13
  865. package/lumar/api/initClient.js +0 -38
  866. package/lumar/api/operands.d.ts +0 -11
  867. package/lumar/api/operands.js +0 -13
  868. package/lumar/api/orders.d.ts +0 -9
  869. package/lumar/api/orders.js +0 -7
  870. package/lumar/api/reports.d.ts +0 -11
  871. package/lumar/api/reports.js +0 -13
  872. package/lumar/graphql/columns.d.ts +0 -29
  873. package/lumar/graphql/columns.js +0 -31
  874. package/lumar/graphql/getData.d.ts +0 -9
  875. package/lumar/graphql/getData.js +0 -26
  876. package/lumar/graphql/getReportKey.d.ts +0 -9
  877. package/lumar/graphql/getReportKey.js +0 -9
  878. package/lumar/graphql/initClient.d.ts +0 -12
  879. package/lumar/graphql/initClient.js +0 -38
  880. package/lumar/graphql/operands.d.ts +0 -16
  881. package/lumar/graphql/operands.js +0 -18
  882. package/lumar/graphql/queries/crawl.d.ts +0 -5
  883. package/lumar/graphql/queries/crawl.js +0 -2
  884. package/lumar/graphql/queries/getCrawls.d.ts +0 -18
  885. package/lumar/graphql/queries/getCrawls.js +0 -33
  886. package/lumar/graphql/queries/getReportDifferences.d.ts +0 -24
  887. package/lumar/graphql/queries/getReportDifferences.js +0 -40
  888. package/lumar/graphql/queries/getRows.d.ts +0 -38
  889. package/lumar/graphql/queries/getRows.js +0 -57
  890. package/lumar/graphql/queries/getTotals.d.ts +0 -25
  891. package/lumar/graphql/queries/getTotals.js +0 -40
  892. package/lumar/graphql/queries/row.d.ts +0 -157
  893. package/lumar/graphql/queries/row.js +0 -2
  894. package/lumar/graphql/reportTemplates.d.ts +0 -68
  895. package/lumar/graphql/reportTemplates.js +0 -70
  896. package/lumar/graphql/reportTypes.d.ts +0 -7
  897. package/lumar/graphql/reportTypes.js +0 -9
  898. package/myTarget/getAccessToken.d.ts +0 -9
  899. package/myTarget/getAccessToken.js +0 -23
  900. package/myTarget/request.d.ts +0 -9
  901. package/myTarget/request.js +0 -23
  902. package/nextAuth/index.d.ts +0 -5
  903. package/nextAuth/index.js +0 -9
  904. package/nextAuth/isSessionReady.d.ts +0 -4
  905. package/nextAuth/isSessionReady.js +0 -12
  906. package/nextJs/getIp.d.ts +0 -7
  907. package/nextJs/getIp.js +0 -13
  908. package/nextJs/getUserAgent.d.ts +0 -7
  909. package/nextJs/getUserAgent.js +0 -7
  910. package/number/format.d.ts +0 -11
  911. package/number/format.js +0 -23
  912. package/number/getCurrency.d.ts +0 -10
  913. package/number/getCurrency.js +0 -20
  914. package/number/getDecimal.d.ts +0 -9
  915. package/number/getDecimal.js +0 -16
  916. package/number/getDivide.d.ts +0 -11
  917. package/number/getDivide.js +0 -26
  918. package/number/getNumber.d.ts +0 -8
  919. package/number/getNumber.js +0 -51
  920. package/number/getPercentIncrease.d.ts +0 -10
  921. package/number/getPercentIncrease.js +0 -22
  922. package/object/replaceKeys.d.ts +0 -10
  923. package/object/replaceKeys.js +0 -30
  924. package/prisma/getDecimal.d.ts +0 -9
  925. package/prisma/getDecimal.js +0 -25
  926. package/prisma/initClient.d.ts +0 -6
  927. package/prisma/initClient.js +0 -36
  928. package/snapchat/getAccessToken.d.ts +0 -9
  929. package/snapchat/getAccessToken.js +0 -35
  930. package/sorting/byNumberAscending.d.ts +0 -8
  931. package/sorting/byNumberAscending.js +0 -17
  932. package/sorting/byNumberDescending.d.ts +0 -8
  933. package/sorting/byNumberDescending.js +0 -17
  934. package/sorting/byStringAscending.d.ts +0 -8
  935. package/sorting/byStringAscending.js +0 -21
  936. package/sorting/byStringDescending.d.ts +0 -8
  937. package/sorting/byStringDescending.js +0 -21
  938. package/stream/sort.d.ts +0 -14
  939. package/stream/sort.js +0 -50
  940. package/string/getCapitalised.d.ts +0 -10
  941. package/string/getCapitalised.js +0 -17
  942. package/string/getClean.d.ts +0 -18
  943. package/string/getClean.js +0 -65
  944. package/string/getDecoded.d.ts +0 -10
  945. package/string/getDecoded.js +0 -26
  946. package/string/getFolder.d.ts +0 -8
  947. package/string/getFolder.js +0 -14
  948. package/string/getProperCase.d.ts +0 -11
  949. package/string/getProperCase.js +0 -27
  950. package/string/getString.d.ts +0 -7
  951. package/string/getString.js +0 -34
  952. package/string/getStringFromStream.d.ts +0 -8
  953. package/string/getStringFromStream.js +0 -16
  954. package/string/getWithoutAccents.d.ts +0 -9
  955. package/string/getWithoutAccents.js +0 -16
  956. package/string/getWithoutHtmlTags.d.ts +0 -9
  957. package/string/getWithoutHtmlTags.js +0 -15
  958. package/string/getWithoutPunctuation.d.ts +0 -9
  959. package/string/getWithoutPunctuation.js +0 -16
  960. package/string/getWithoutUnderscores.d.ts +0 -8
  961. package/string/getWithoutUnderscores.js +0 -14
  962. package/string/getWithoutWhitespaces.d.ts +0 -9
  963. package/string/getWithoutWhitespaces.js +0 -16
  964. package/swr/isAllData.d.ts +0 -7
  965. package/swr/isAllData.js +0 -19
  966. package/swr/isAnyError.d.ts +0 -7
  967. package/swr/isAnyError.js +0 -19
  968. package/swr/isAnyLoading.d.ts +0 -7
  969. package/swr/isAnyLoading.js +0 -21
  970. package/swr/isData.d.ts +0 -7
  971. package/swr/isData.js +0 -9
  972. package/swr/isError.d.ts +0 -7
  973. package/swr/isError.js +0 -7
  974. package/swr/isLoading.d.ts +0 -7
  975. package/swr/isLoading.js +0 -12
  976. package/upTimeRobot/getMonitors.js +0 -33
  977. package/upTimeRobot/logTypes.d.ts +0 -7
  978. package/upTimeRobot/logTypes.js +0 -9
  979. package/upTimeRobot/monitorStatuses.d.ts +0 -8
  980. package/upTimeRobot/monitorStatuses.js +0 -10
  981. package/upTimeRobot/monitorSubTypes.d.ts +0 -10
  982. package/upTimeRobot/monitorSubTypes.js +0 -12
  983. package/upTimeRobot/monitorTypes.d.ts +0 -8
  984. package/upTimeRobot/monitorTypes.js +0 -10
  985. package/upTimeRobot/requestStatuses.d.ts +0 -5
  986. package/upTimeRobot/requestStatuses.js +0 -7
  987. package/url/buildParameters.d.ts +0 -8
  988. package/url/buildParameters.js +0 -22
  989. package/url/buildRelative.d.ts +0 -8
  990. package/url/buildRelative.js +0 -13
  991. package/url/buildUrl.d.ts +0 -10
  992. package/url/buildUrl.js +0 -29
  993. package/url/isAbsolute.d.ts +0 -7
  994. package/url/isAbsolute.js +0 -15
  995. package/url/isRelative.d.ts +0 -7
  996. package/url/isRelative.js +0 -8
  997. package/url/url.d.ts +0 -6
  998. package/url/url.js +0 -2
  999. package/url/writeUrlContents.d.ts +0 -11
  1000. package/url/writeUrlContents.js +0 -43
  1001. package/util/defaultTo.d.ts +0 -10
  1002. package/util/defaultTo.js +0 -43
  1003. package/util/getBrotliCompressed.d.ts +0 -9
  1004. package/util/getBrotliCompressed.js +0 -19
  1005. package/util/getBrotliDecompressed.d.ts +0 -9
  1006. package/util/getBrotliDecompressed.js +0 -20
  1007. package/util/getClean.d.ts +0 -11
  1008. package/util/getClean.js +0 -28
  1009. package/util/getGzipCompressed.d.ts +0 -9
  1010. package/util/getGzipCompressed.js +0 -19
  1011. package/util/getGzipDecompressed.d.ts +0 -9
  1012. package/util/getGzipDecompressed.js +0 -20
  1013. package/util/getWithoutHash.d.ts +0 -8
  1014. package/util/getWithoutHash.js +0 -17
  1015. package/util/getWithoutParameter.d.ts +0 -8
  1016. package/util/getWithoutParameter.js +0 -17
  1017. package/util/isUndefined.d.ts +0 -9
  1018. package/util/isUndefined.js +0 -19
  1019. package/util/promiseChunks.d.ts +0 -10
  1020. package/util/promiseChunks.js +0 -18
  1021. package/util/sleep.d.ts +0 -5
  1022. package/util/sleep.js +0 -6
  1023. package/webWorker/index.d.ts +0 -5
  1024. package/webWorker/index.js +0 -9
  1025. package/xml/getXml.d.ts +0 -5
  1026. package/xml/getXml.js +0 -22
  1027. /package/{aws/sqs/isEventSqs.d.ts → dist/atInternet/request.mjs} +0 -0
  1028. /package/{upTimeRobot/getMonitors.d.ts → dist/aws/s3cache/index.mjs} +0 -0
@@ -1,8 +0,0 @@
1
- type GetFolder = {
2
- input: string;
3
- };
4
- /**
5
- * Take an input that may have a / before or after the input and return just the folder.
6
- */
7
- declare const getFolder: ({ input }: GetFolder) => string;
8
- export default getFolder;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const trim_1 = __importDefault(require("lodash/trim"));
7
- /**
8
- * Take an input that may have a / before or after the input and return just the folder.
9
- */
10
- const getFolder = ({ input }) => {
11
- return (0, trim_1.default)(input, '/')
12
- .trim();
13
- };
14
- exports.default = getFolder;
@@ -1,11 +0,0 @@
1
- type GetProperCase = {
2
- input: any;
3
- hyphen?: boolean;
4
- pipe?: boolean;
5
- underscore?: boolean;
6
- };
7
- /**
8
- * Return a string "With Proper Casing".
9
- */
10
- declare const getProperCase: (props: GetProperCase) => string;
11
- export default getProperCase;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const getString_1 = __importDefault(require("./getString"));
7
- /**
8
- * Return a string "With Proper Casing".
9
- */
10
- const getProperCase = (props) => {
11
- let string = (0, getString_1.default)({
12
- input: props.input,
13
- });
14
- if (props?.hyphen) {
15
- string = string.split(/-/g).join(' ');
16
- }
17
- if (props?.pipe) {
18
- string = string.split(/\|/g).join(' ');
19
- }
20
- if (props?.underscore) {
21
- string = string.split(/_/g).join(' ');
22
- }
23
- return string.replace(/\w\S*/g, word => word.charAt(0)
24
- .toUpperCase() + word.substr(1)
25
- .toLowerCase());
26
- };
27
- exports.default = getProperCase;
@@ -1,7 +0,0 @@
1
- /**
2
- * Convert into string.
3
- */
4
- declare const getString: ({ input }: {
5
- input: any;
6
- }) => string;
7
- export default getString;
@@ -1,34 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const isArray_1 = __importDefault(require("lodash/isArray"));
7
- const isDate_1 = __importDefault(require("lodash/isDate"));
8
- const isObject_1 = __importDefault(require("lodash/isObject"));
9
- const getNumber_1 = __importDefault(require("../date/getNumber"));
10
- /**
11
- * Convert into string.
12
- */
13
- const getString = ({ input }) => {
14
- let string = '';
15
- // Already a string
16
- if ('string' === typeof input) {
17
- string = input;
18
- }
19
- // Convert a number into a date
20
- else if ('number' === typeof input) {
21
- string = input.toString();
22
- }
23
- // Object or array to JSON
24
- else if ((0, isObject_1.default)(input) || (0, isArray_1.default)(input)) {
25
- string = JSON.stringify(input);
26
- }
27
- // Date
28
- else if ((0, isDate_1.default)(input)) {
29
- string = (0, getNumber_1.default)({ input })
30
- .toString();
31
- }
32
- return string;
33
- };
34
- exports.default = getString;
@@ -1,8 +0,0 @@
1
- /**
2
- * Converts a stream into a string.
3
- * https://stackoverflow.com/a/49428486
4
- */
5
- declare const getStringFromStream: ({ stream }: {
6
- stream: any;
7
- }) => Promise<string>;
8
- export default getStringFromStream;
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * Converts a stream into a string.
5
- * https://stackoverflow.com/a/49428486
6
- */
7
- const getStringFromStream = ({ stream }) => {
8
- const chunks = [];
9
- return new Promise((resolve, reject) => {
10
- stream.on('data', (chunk) => chunks.push(Buffer.from(chunk)));
11
- stream.on('error', (err) => reject(err));
12
- stream.on('end', () => resolve(Buffer.concat(chunks)
13
- .toString('utf8')));
14
- });
15
- };
16
- exports.default = getStringFromStream;
@@ -1,9 +0,0 @@
1
- type GetWithoutAccents = {
2
- input: string;
3
- };
4
- /**
5
- * Remove the accents from a string.
6
- * https://stackoverflow.com/a/37511463
7
- */
8
- declare const getWithoutAccents: ({ input }: GetWithoutAccents) => string;
9
- export default getWithoutAccents;
@@ -1,16 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const getString_1 = __importDefault(require("./getString"));
7
- /**
8
- * Remove the accents from a string.
9
- * https://stackoverflow.com/a/37511463
10
- */
11
- const getWithoutAccents = ({ input }) => {
12
- return (0, getString_1.default)({ input })
13
- .normalize("NFD")
14
- .replace(/[\u0300-\u036f]/g, "");
15
- };
16
- exports.default = getWithoutAccents;
@@ -1,9 +0,0 @@
1
- type GetWithoutHtmlTags = {
2
- input: any;
3
- };
4
- /**
5
- * Removes all HTML tags from an input.
6
- * https://css-tricks.com/snippets/javascript/strip-html-tags-in-javascript/
7
- */
8
- declare const getWithoutHtmlTags: ({ input }: GetWithoutHtmlTags) => string;
9
- export default getWithoutHtmlTags;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const getString_1 = __importDefault(require("./getString"));
7
- /**
8
- * Removes all HTML tags from an input.
9
- * https://css-tricks.com/snippets/javascript/strip-html-tags-in-javascript/
10
- */
11
- const getWithoutHtmlTags = ({ input }) => {
12
- return (0, getString_1.default)({ input })
13
- .replace(/(<([^>]+)>)/gi, '');
14
- };
15
- exports.default = getWithoutHtmlTags;
@@ -1,9 +0,0 @@
1
- type GetWithoutPunctuation = {
2
- input: string;
3
- };
4
- /**
5
- * Remove all punctuation from a string and replace with a space.
6
- * https://stackoverflow.com/a/25575009
7
- */
8
- declare const getWithoutPunctuation: ({ input }: GetWithoutPunctuation) => string;
9
- export default getWithoutPunctuation;
@@ -1,16 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const getString_1 = __importDefault(require("./getString"));
7
- /**
8
- * Remove all punctuation from a string and replace with a space.
9
- * https://stackoverflow.com/a/25575009
10
- */
11
- const getWithoutPunctuation = ({ input }) => {
12
- return (0, getString_1.default)({ input })
13
- .replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,\-.\/:;<=>?@\[\]^_`{|}~]/g, '')
14
- .replace(/\s+/g, ' ');
15
- };
16
- exports.default = getWithoutPunctuation;
@@ -1,8 +0,0 @@
1
- type GetWithoutUnderscores = {
2
- input: string;
3
- };
4
- /**
5
- * Replace all underscores with a space.
6
- */
7
- declare const getWithoutUnderscores: ({ input }: GetWithoutUnderscores) => string;
8
- export default getWithoutUnderscores;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const getString_1 = __importDefault(require("./getString"));
7
- /**
8
- * Replace all underscores with a space.
9
- */
10
- const getWithoutUnderscores = ({ input }) => {
11
- return (0, getString_1.default)({ input })
12
- .replace('_', ' ');
13
- };
14
- exports.default = getWithoutUnderscores;
@@ -1,9 +0,0 @@
1
- type GetWithoutWhitespaces = {
2
- input: string;
3
- };
4
- /**
5
- * Remove all new lines, tabs multiple spaces, with a single space.
6
- * https://stackoverflow.com/a/45029224
7
- */
8
- declare const getWithoutWhitespaces: ({ input }: GetWithoutWhitespaces) => string;
9
- export default getWithoutWhitespaces;
@@ -1,16 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const getString_1 = __importDefault(require("./getString"));
7
- /**
8
- * Remove all new lines, tabs multiple spaces, with a single space.
9
- * https://stackoverflow.com/a/45029224
10
- */
11
- const getWithoutWhitespaces = ({ input }) => {
12
- return (0, getString_1.default)({ input })
13
- .replace(/\s+/g, ' ')
14
- .trim();
15
- };
16
- exports.default = getWithoutWhitespaces;
@@ -1,7 +0,0 @@
1
- /**
2
- * Are all SWRs data ready.
3
- */
4
- declare const isAllData: ({ swrs }: {
5
- swrs: any;
6
- }) => boolean;
7
- export default isAllData;
package/swr/isAllData.js DELETED
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const isData_1 = __importDefault(require("./isData"));
7
- /**
8
- * Are all SWRs data ready.
9
- */
10
- const isAllData = ({ swrs }) => {
11
- let fetcherWithData = 0;
12
- for (const swr in swrs) {
13
- if ((0, isData_1.default)({ swr: swrs[swr] })) {
14
- fetcherWithData++;
15
- }
16
- }
17
- return fetcherWithData === Object.keys(swrs).length;
18
- };
19
- exports.default = isAllData;
@@ -1,7 +0,0 @@
1
- /**
2
- * Are any of the SWRs marked as an error.
3
- */
4
- declare const isAnyError: ({ swrs }: {
5
- swrs: any;
6
- }) => boolean;
7
- export default isAnyError;
package/swr/isAnyError.js DELETED
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const isError_1 = __importDefault(require("./isError"));
7
- /**
8
- * Are any of the SWRs marked as an error.
9
- */
10
- const isAnyError = ({ swrs }) => {
11
- let fetcherError = 0;
12
- for (const swr in swrs) {
13
- if ((0, isError_1.default)({ swr: swrs[swr] })) {
14
- fetcherError++;
15
- }
16
- }
17
- return fetcherError > 0;
18
- };
19
- exports.default = isAnyError;
@@ -1,7 +0,0 @@
1
- /**
2
- * Are any of SWRs loading
3
- */
4
- export declare const isAnyLoading: ({ swrs }: {
5
- swrs: any;
6
- }) => boolean;
7
- export default isAnyLoading;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.isAnyLoading = void 0;
7
- const isLoading_1 = __importDefault(require("./isLoading"));
8
- /**
9
- * Are any of SWRs loading
10
- */
11
- const isAnyLoading = ({ swrs }) => {
12
- let fetcherLoading = 0;
13
- for (const swr in swrs) {
14
- if ((0, isLoading_1.default)({ swr: swrs[swr] })) {
15
- fetcherLoading++;
16
- }
17
- }
18
- return fetcherLoading > 0;
19
- };
20
- exports.isAnyLoading = isAnyLoading;
21
- exports.default = exports.isAnyLoading;
package/swr/isData.d.ts DELETED
@@ -1,7 +0,0 @@
1
- /**
2
- * Check to see if a single SWR has an error.
3
- */
4
- declare const isData: ({ swr }: {
5
- swr: any;
6
- }) => boolean;
7
- export default isData;
package/swr/isData.js DELETED
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * Check to see if a single SWR has an error.
5
- */
6
- const isData = ({ swr }) => (undefined === swr.error || null === swr.error) &&
7
- undefined !== swr.data &&
8
- 'undefined' !== swr.data;
9
- exports.default = isData;
package/swr/isError.d.ts DELETED
@@ -1,7 +0,0 @@
1
- /**
2
- * Check to see if a single SWR has an error.
3
- */
4
- declare const isError: ({ swr }: {
5
- swr: any;
6
- }) => boolean;
7
- export default isError;
package/swr/isError.js DELETED
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * Check to see if a single SWR has an error.
5
- */
6
- const isError = ({ swr }) => undefined !== swr.error && null !== swr.error;
7
- exports.default = isError;
@@ -1,7 +0,0 @@
1
- /**
2
- * Check to see if a single SWR is loading.
3
- */
4
- declare const isLoading: ({ swr }: {
5
- swr: any;
6
- }) => boolean;
7
- export default isLoading;
package/swr/isLoading.js DELETED
@@ -1,12 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const isData_1 = __importDefault(require("./isData"));
7
- const isError_1 = __importDefault(require("./isError"));
8
- /**
9
- * Check to see if a single SWR is loading.
10
- */
11
- const isLoading = ({ swr }) => !(0, isError_1.default)({ swr }) && !(0, isData_1.default)({ swr });
12
- exports.default = isLoading;
@@ -1,33 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const isArray_1 = __importDefault(require("lodash/isArray"));
7
- const post_1 = __importDefault(require("../axios/post"));
8
- /**
9
- * Use the Up Time Robot API to retrieve up to 50 monitors at a time.
10
- * https://uptimerobot.com/api/
11
- */
12
- const getMonitors = async ({ apiKey, params }) => {
13
- let finalParams = {};
14
- if (undefined !== params) {
15
- finalParams = {
16
- ...params,
17
- };
18
- if (undefined !== params.monitors && (0, isArray_1.default)(params.monitors)) {
19
- finalParams['monitors'] = params.monitors.join('-');
20
- }
21
- if (undefined !== params.statuses && (0, isArray_1.default)(params.statuses)) {
22
- finalParams['statuses'] = params.statuses.join('-');
23
- }
24
- if (undefined !== params.types && (0, isArray_1.default)(params.types)) {
25
- finalParams['types'] = params.types.join('-');
26
- }
27
- }
28
- const response = await (0, post_1.default)({
29
- data: finalParams,
30
- url: `https://api.uptimerobot.com/v2/getMonitors?api_key=${apiKey}`,
31
- });
32
- return response;
33
- };
@@ -1,7 +0,0 @@
1
- declare const logTypes: {
2
- DOWN: number;
3
- UP: number;
4
- PAUSED: number;
5
- STARTED: number;
6
- };
7
- export default logTypes;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const logTypes = {
4
- DOWN: 1,
5
- UP: 2,
6
- PAUSED: 99,
7
- STARTED: 98,
8
- };
9
- exports.default = logTypes;
@@ -1,8 +0,0 @@
1
- declare const monitorStatuses: {
2
- PAUSED: number;
3
- NOT_CHECKED: number;
4
- UP: number;
5
- SEEMS_DOWN: number;
6
- DOWN: number;
7
- };
8
- export default monitorStatuses;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const monitorStatuses = {
4
- PAUSED: 0,
5
- NOT_CHECKED: 1,
6
- UP: 2,
7
- SEEMS_DOWN: 8,
8
- DOWN: 9,
9
- };
10
- exports.default = monitorStatuses;
@@ -1,10 +0,0 @@
1
- declare const monitorSubTypes: {
2
- HTTP: number;
3
- HTTPS: number;
4
- FTP: number;
5
- SMTP: number;
6
- POP3: number;
7
- IMAP: number;
8
- CUSTOM_PORT: number;
9
- };
10
- export default monitorSubTypes;
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const monitorSubTypes = {
4
- HTTP: 1,
5
- HTTPS: 2,
6
- FTP: 3,
7
- SMTP: 4,
8
- POP3: 5,
9
- IMAP: 6,
10
- CUSTOM_PORT: 99,
11
- };
12
- exports.default = monitorSubTypes;
@@ -1,8 +0,0 @@
1
- declare const monitorTypes: {
2
- HTTPS: number;
3
- KEYWORD: number;
4
- PING: number;
5
- PORT: number;
6
- HEARTBEAT: number;
7
- };
8
- export default monitorTypes;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const monitorTypes = {
4
- HTTPS: 1,
5
- KEYWORD: 2,
6
- PING: 3,
7
- PORT: 4,
8
- HEARTBEAT: 5,
9
- };
10
- exports.default = monitorTypes;
@@ -1,5 +0,0 @@
1
- declare const requestStatuses: {
2
- ERROR: string;
3
- SUCCESS: string;
4
- };
5
- export default requestStatuses;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const requestStatuses = {
4
- ERROR: 'fail',
5
- SUCCESS: 'ok',
6
- };
7
- exports.default = requestStatuses;
@@ -1,8 +0,0 @@
1
- /**
2
- * Take an object and return the parameter for a given URL irrespective of path.
3
- */
4
- declare const buildParameters: ({ existing, updated }: {
5
- existing: object;
6
- updated: object;
7
- }) => string;
8
- export default buildParameters;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const merge_1 = __importDefault(require("lodash/merge"));
7
- /**
8
- * Take an object and return the parameter for a given URL irrespective of path.
9
- */
10
- const buildParameters = ({ existing, updated }) => {
11
- const merged = (0, merge_1.default)(existing, updated);
12
- let response = '';
13
- if (Object.values(merged).length) {
14
- for (const key in merged) {
15
- const value = undefined === updated[key] ? existing[key] : updated[key];
16
- response += '' === response ? '?' : '&';
17
- response += `${encodeURIComponent(key)}=${encodeURIComponent(value)}`;
18
- }
19
- }
20
- return response;
21
- };
22
- exports.default = buildParameters;
@@ -1,8 +0,0 @@
1
- /**
2
- * Create a new relative URL based on the current path.
3
- */
4
- declare const buildRelative: ({ router, updated }: {
5
- router: any;
6
- updated: object;
7
- }) => string;
8
- export default buildRelative;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const buildParameters_1 = __importDefault(require("./buildParameters"));
7
- /**
8
- * Create a new relative URL based on the current path.
9
- */
10
- const buildRelative = ({ router, updated }) => {
11
- return `${router.pathname}${(0, buildParameters_1.default)({ existing: router.query, updated: updated || {} })}`;
12
- };
13
- exports.default = buildRelative;
package/url/buildUrl.d.ts DELETED
@@ -1,10 +0,0 @@
1
- import { Url } from './url';
2
- type BuildUrlType = {
3
- path: string;
4
- url: Url;
5
- };
6
- /**
7
- * Get the current base url.
8
- */
9
- declare const buildUrl: ({ path, url }: BuildUrlType) => string;
10
- export default buildUrl;