@8ms/helpers 2.4.25 → 3.0.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 (370) hide show
  1. package/dist/_class/BaseNamespace.cjs +4 -9
  2. package/dist/_class/BaseNamespace.d.cts +2 -4
  3. package/dist/_class/BaseNamespace.d.mts +2 -4
  4. package/dist/_class/BaseNamespace.mjs +4 -9
  5. package/dist/aws/cloudWatchLog/server/{AwsCloudWatchLogNamespace.cjs → AwsCloudWatchLog.cjs} +9 -10
  6. package/dist/aws/cloudWatchLog/server/{AwsCloudWatchLogNamespace.d.cts → AwsCloudWatchLog.d.cts} +5 -6
  7. package/dist/aws/cloudWatchLog/server/{AwsCloudWatchLogNamespace.d.mts → AwsCloudWatchLog.d.mts} +5 -6
  8. package/dist/aws/cloudWatchLog/server/{AwsCloudWatchLogNamespace.mjs → AwsCloudWatchLog.mjs} +9 -10
  9. package/dist/aws/cloudWatchLog/server/index.cjs +2 -4
  10. package/dist/aws/cloudWatchLog/server/index.d.cts +2 -3
  11. package/dist/aws/cloudWatchLog/server/index.d.mts +2 -3
  12. package/dist/aws/cloudWatchLog/server/index.mjs +2 -3
  13. package/dist/aws/cloudWatchMetric/server/{AwsCloudWatchMetricNamespace.cjs → AwsCloudWatchMetric.cjs} +11 -10
  14. package/dist/aws/cloudWatchMetric/server/{AwsCloudWatchMetricNamespace.d.cts → AwsCloudWatchMetric.d.cts} +5 -6
  15. package/dist/aws/cloudWatchMetric/server/{AwsCloudWatchMetricNamespace.d.mts → AwsCloudWatchMetric.d.mts} +5 -6
  16. package/dist/aws/cloudWatchMetric/server/{AwsCloudWatchMetricNamespace.mjs → AwsCloudWatchMetric.mjs} +10 -8
  17. package/dist/aws/cloudWatchMetric/server/index.cjs +2 -4
  18. package/dist/aws/cloudWatchMetric/server/index.d.cts +2 -3
  19. package/dist/aws/cloudWatchMetric/server/index.d.mts +2 -3
  20. package/dist/aws/cloudWatchMetric/server/index.mjs +2 -3
  21. package/dist/aws/ec2/server/{AwsEc2Namespace.cjs → AwsEc2.cjs} +9 -7
  22. package/dist/aws/ec2/server/{AwsEc2Namespace.d.cts → AwsEc2.d.cts} +5 -6
  23. package/dist/aws/ec2/server/{AwsEc2Namespace.d.mts → AwsEc2.d.mts} +5 -6
  24. package/dist/aws/ec2/server/{AwsEc2Namespace.mjs → AwsEc2.mjs} +9 -7
  25. package/dist/aws/ec2/server/index.cjs +2 -4
  26. package/dist/aws/ec2/server/index.d.cts +2 -3
  27. package/dist/aws/ec2/server/index.d.mts +2 -3
  28. package/dist/aws/ec2/server/index.mjs +2 -3
  29. package/dist/aws/ecs/server/{AwsEcsNamespace.cjs → AwsEcs.cjs} +9 -9
  30. package/dist/aws/ecs/server/{AwsEcsNamespace.d.cts → AwsEcs.d.cts} +5 -6
  31. package/dist/aws/ecs/server/{AwsEcsNamespace.d.mts → AwsEcs.d.mts} +5 -6
  32. package/dist/aws/ecs/server/{AwsEcsNamespace.mjs → AwsEcs.mjs} +9 -9
  33. package/dist/aws/ecs/server/index.cjs +2 -4
  34. package/dist/aws/ecs/server/index.d.cts +2 -3
  35. package/dist/aws/ecs/server/index.d.mts +2 -3
  36. package/dist/aws/ecs/server/index.mjs +2 -3
  37. package/dist/aws/glue/server/{AwsGlueNamespace.cjs → AwsGlue.cjs} +9 -6
  38. package/dist/aws/glue/server/{AwsGlueNamespace.d.cts → AwsGlue.d.cts} +5 -6
  39. package/dist/aws/glue/server/{AwsGlueNamespace.d.mts → AwsGlue.d.mts} +5 -6
  40. package/dist/aws/glue/server/{AwsGlueNamespace.mjs → AwsGlue.mjs} +9 -6
  41. package/dist/aws/glue/server/index.cjs +2 -4
  42. package/dist/aws/glue/server/index.d.cts +2 -3
  43. package/dist/aws/glue/server/index.d.mts +2 -3
  44. package/dist/aws/glue/server/index.mjs +2 -3
  45. package/dist/aws/lambda/server/{AwsLambdaNamespace.cjs → AwsLambda.cjs} +9 -6
  46. package/dist/aws/lambda/server/{AwsLambdaNamespace.d.cts → AwsLambda.d.cts} +5 -6
  47. package/dist/aws/lambda/server/{AwsLambdaNamespace.d.mts → AwsLambda.d.mts} +5 -6
  48. package/dist/aws/lambda/server/{AwsLambdaNamespace.mjs → AwsLambda.mjs} +9 -6
  49. package/dist/aws/lambda/server/getHandlerPath.cjs +7 -0
  50. package/dist/aws/lambda/server/getHandlerPath.d.cts +4 -0
  51. package/dist/aws/lambda/server/getHandlerPath.d.mts +4 -0
  52. package/dist/aws/lambda/server/getHandlerPath.mjs +6 -0
  53. package/dist/aws/lambda/server/index.cjs +4 -5
  54. package/dist/aws/lambda/server/index.d.cts +3 -3
  55. package/dist/aws/lambda/server/index.d.mts +3 -3
  56. package/dist/aws/lambda/server/index.mjs +3 -3
  57. package/dist/aws/s3/server/{AwsS3Namespace.cjs → AwsS3.cjs} +12 -31
  58. package/dist/aws/s3/server/{AwsS3Namespace.d.cts → AwsS3.d.cts} +6 -7
  59. package/dist/aws/s3/server/{AwsS3Namespace.d.mts → AwsS3.d.mts} +6 -7
  60. package/dist/aws/s3/server/{AwsS3Namespace.mjs → AwsS3.mjs} +10 -29
  61. package/dist/aws/s3/server/awsS3File.cjs +12 -0
  62. package/dist/aws/s3/server/awsS3File.d.cts +12 -0
  63. package/dist/aws/s3/server/awsS3File.d.mts +12 -0
  64. package/dist/aws/s3/server/awsS3File.mjs +11 -0
  65. package/dist/aws/s3/server/index.cjs +4 -5
  66. package/dist/aws/s3/server/index.d.cts +3 -3
  67. package/dist/aws/s3/server/index.d.mts +3 -3
  68. package/dist/aws/s3/server/index.mjs +3 -3
  69. package/dist/aws/server/getAwsConfig.cjs +15 -0
  70. package/dist/aws/server/getAwsConfig.d.cts +18 -0
  71. package/dist/aws/server/getAwsConfig.d.mts +18 -0
  72. package/dist/aws/server/getAwsConfig.mjs +14 -0
  73. package/dist/aws/server/index.cjs +2 -2
  74. package/dist/aws/server/index.d.cts +2 -2
  75. package/dist/aws/server/index.d.mts +2 -2
  76. package/dist/aws/server/index.mjs +2 -2
  77. package/dist/aws/ses/server/{AwsSesNamespace.cjs → AwsSes.cjs} +9 -6
  78. package/dist/aws/ses/server/{AwsSesNamespace.d.cts → AwsSes.d.cts} +5 -6
  79. package/dist/aws/ses/server/{AwsSesNamespace.d.mts → AwsSes.d.mts} +5 -6
  80. package/dist/aws/ses/server/{AwsSesNamespace.mjs → AwsSes.mjs} +9 -6
  81. package/dist/aws/ses/server/index.cjs +2 -4
  82. package/dist/aws/ses/server/index.d.cts +2 -3
  83. package/dist/aws/ses/server/index.d.mts +2 -3
  84. package/dist/aws/ses/server/index.mjs +2 -3
  85. package/dist/aws/sqs/server/{AwsSqsNamespace.cjs → AwsSqs.cjs} +9 -8
  86. package/dist/aws/sqs/server/{AwsSqsNamespace.d.cts → AwsSqs.d.cts} +5 -6
  87. package/dist/aws/sqs/server/{AwsSqsNamespace.d.mts → AwsSqs.d.mts} +5 -6
  88. package/dist/aws/sqs/server/{AwsSqsNamespace.mjs → AwsSqs.mjs} +9 -8
  89. package/dist/aws/sqs/server/index.cjs +2 -4
  90. package/dist/aws/sqs/server/index.d.cts +2 -3
  91. package/dist/aws/sqs/server/index.d.mts +2 -3
  92. package/dist/aws/sqs/server/index.mjs +2 -3
  93. package/dist/aws/ssm/server/{AwsSsmNamespace.cjs → AwsSsm.cjs} +14 -14
  94. package/dist/aws/ssm/server/AwsSsm.d.cts +13 -0
  95. package/dist/aws/ssm/server/AwsSsm.d.mts +13 -0
  96. package/dist/aws/ssm/server/AwsSsm.mjs +34 -0
  97. package/dist/aws/ssm/server/index.cjs +2 -4
  98. package/dist/aws/ssm/server/index.d.cts +2 -3
  99. package/dist/aws/ssm/server/index.d.mts +2 -3
  100. package/dist/aws/ssm/server/index.mjs +2 -3
  101. package/dist/drizzle/server/{DrizzleNamespace.cjs → Drizzle.cjs} +5 -5
  102. package/dist/drizzle/server/{drizzle.d.cts → Drizzle.d.cts} +8 -4
  103. package/dist/drizzle/server/{drizzle.d.mts → Drizzle.d.mts} +8 -4
  104. package/dist/drizzle/server/{DrizzleNamespace.mjs → Drizzle.mjs} +5 -5
  105. package/dist/drizzle/server/index.cjs +2 -4
  106. package/dist/drizzle/server/index.d.cts +2 -3
  107. package/dist/drizzle/server/index.d.mts +2 -3
  108. package/dist/drizzle/server/index.mjs +2 -3
  109. package/dist/environment/environment.cjs +2 -2
  110. package/dist/environment/environment.mjs +2 -2
  111. package/dist/googleAds/server/{GoogleAdsNamespace.cjs → GoogleAds.cjs} +9 -10
  112. package/dist/googleAds/server/{GoogleAdsNamespace.d.cts → GoogleAds.d.cts} +9 -5
  113. package/dist/googleAds/server/{GoogleAdsNamespace.d.mts → GoogleAds.d.mts} +9 -5
  114. package/dist/googleAds/server/GoogleAds.mjs +28 -0
  115. package/dist/googleAds/server/index.cjs +2 -4
  116. package/dist/googleAds/server/index.d.cts +2 -3
  117. package/dist/googleAds/server/index.d.mts +2 -3
  118. package/dist/googleAds/server/index.mjs +2 -3
  119. package/dist/googleCloud/bigquery/server/{GoogleCloudBigqueryNamespace.cjs → GoogleCloudBigquery.cjs} +27 -33
  120. package/dist/googleCloud/bigquery/server/{GoogleCloudBigqueryNamespace.d.cts → GoogleCloudBigquery.d.cts} +14 -16
  121. package/dist/googleCloud/bigquery/server/{GoogleCloudBigqueryNamespace.d.mts → GoogleCloudBigquery.d.mts} +14 -16
  122. package/dist/googleCloud/bigquery/server/{GoogleCloudBigqueryNamespace.mjs → GoogleCloudBigquery.mjs} +27 -33
  123. package/dist/googleCloud/bigquery/server/getHandlerPath.cjs +7 -0
  124. package/dist/googleCloud/bigquery/server/getHandlerPath.d.cts +4 -0
  125. package/dist/googleCloud/bigquery/server/getHandlerPath.d.mts +4 -0
  126. package/dist/googleCloud/bigquery/server/getHandlerPath.mjs +6 -0
  127. package/dist/googleCloud/bigquery/server/index.cjs +4 -5
  128. package/dist/googleCloud/bigquery/server/index.d.cts +3 -3
  129. package/dist/googleCloud/bigquery/server/index.d.mts +3 -3
  130. package/dist/googleCloud/bigquery/server/index.mjs +3 -3
  131. package/dist/googleCloud/bigquery/server/loadData.d.cts +2 -2
  132. package/dist/googleCloud/bigquery/server/loadData.d.mts +2 -2
  133. package/dist/googleCloud/server/getGoogleCloudConfig.cjs +81 -0
  134. package/dist/googleCloud/server/getGoogleCloudConfig.d.cts +77 -0
  135. package/dist/googleCloud/server/getGoogleCloudConfig.d.mts +77 -0
  136. package/dist/googleCloud/server/getGoogleCloudConfig.mjs +78 -0
  137. package/dist/googleCloud/server/index.cjs +4 -2
  138. package/dist/googleCloud/server/index.d.cts +2 -2
  139. package/dist/googleCloud/server/index.d.mts +2 -2
  140. package/dist/googleCloud/server/index.mjs +2 -2
  141. package/dist/googleCloud/sheets/server/{GoogleCloudSheetsNamespace.cjs → GoogleCloudSheets.cjs} +10 -8
  142. package/dist/googleCloud/sheets/server/{GoogleCloudSheetsNamespace.d.cts → GoogleCloudSheets.d.cts} +8 -8
  143. package/dist/googleCloud/sheets/server/{GoogleCloudSheetsNamespace.d.mts → GoogleCloudSheets.d.mts} +8 -8
  144. package/dist/googleCloud/sheets/server/{GoogleCloudSheetsNamespace.mjs → GoogleCloudSheets.mjs} +10 -8
  145. package/dist/googleCloud/sheets/server/index.cjs +2 -2
  146. package/dist/googleCloud/sheets/server/index.d.cts +2 -2
  147. package/dist/googleCloud/sheets/server/index.d.mts +2 -2
  148. package/dist/googleCloud/sheets/server/index.mjs +2 -2
  149. package/dist/googleCloud/storage/server/{GoogleCloudStorageNamespace.cjs → GoogleCloudStorage.cjs} +15 -10
  150. package/dist/googleCloud/storage/server/{GoogleCloudStorageNamespace.d.cts → GoogleCloudStorage.d.cts} +10 -8
  151. package/dist/googleCloud/storage/server/{GoogleCloudStorageNamespace.d.mts → GoogleCloudStorage.d.mts} +10 -8
  152. package/dist/googleCloud/storage/server/{GoogleCloudStorageNamespace.mjs → GoogleCloudStorage.mjs} +15 -10
  153. package/dist/googleCloud/storage/server/index.cjs +2 -4
  154. package/dist/googleCloud/storage/server/index.d.cts +2 -3
  155. package/dist/googleCloud/storage/server/index.d.mts +2 -3
  156. package/dist/googleCloud/storage/server/index.mjs +2 -3
  157. package/dist/googlePageSpeed/server/{GooglePageSpeedNamespace.cjs → GooglePageSpeed.cjs} +8 -7
  158. package/dist/googlePageSpeed/server/GooglePageSpeed.d.cts +19 -0
  159. package/dist/googlePageSpeed/server/GooglePageSpeed.d.mts +19 -0
  160. package/dist/googlePageSpeed/server/{GooglePageSpeedNamespace.mjs → GooglePageSpeed.mjs} +7 -6
  161. package/dist/googlePageSpeed/server/category.cjs +11 -0
  162. package/dist/googlePageSpeed/server/category.d.cts +11 -0
  163. package/dist/googlePageSpeed/server/category.d.mts +11 -0
  164. package/dist/googlePageSpeed/server/category.mjs +10 -0
  165. package/dist/googlePageSpeed/server/index.cjs +6 -6
  166. package/dist/googlePageSpeed/server/index.d.cts +4 -3
  167. package/dist/googlePageSpeed/server/index.d.mts +4 -3
  168. package/dist/googlePageSpeed/server/index.mjs +4 -3
  169. package/dist/googlePageSpeed/server/strategy.cjs +9 -0
  170. package/dist/googlePageSpeed/server/strategy.d.cts +9 -0
  171. package/dist/googlePageSpeed/server/strategy.d.mts +9 -0
  172. package/dist/googlePageSpeed/server/strategy.mjs +8 -0
  173. package/dist/inngest/index.cjs +2 -2
  174. package/dist/inngest/index.d.cts +1 -1
  175. package/dist/inngest/index.d.mts +1 -1
  176. package/dist/inngest/index.mjs +1 -1
  177. package/dist/inngest/{inngest.cjs → inngestState.cjs} +1 -1
  178. package/dist/inngest/{inngest.d.mts → inngestState.d.cts} +1 -1
  179. package/dist/inngest/{inngest.d.cts → inngestState.d.mts} +1 -1
  180. package/dist/inngest/{inngest.mjs → inngestState.mjs} +1 -1
  181. package/dist/littleWarden/server/{LittleWardenNamespace.cjs → LittleWarden.cjs} +5 -4
  182. package/dist/littleWarden/server/{LittleWardenNamespace.d.cts → LittleWarden.d.cts} +7 -5
  183. package/dist/littleWarden/server/{LittleWardenNamespace.d.mts → LittleWarden.d.mts} +7 -5
  184. package/dist/littleWarden/server/{LittleWardenNamespace.mjs → LittleWarden.mjs} +5 -4
  185. package/dist/littleWarden/server/index.cjs +7 -8
  186. package/dist/littleWarden/server/index.d.cts +3 -3
  187. package/dist/littleWarden/server/index.d.mts +3 -3
  188. package/dist/littleWarden/server/index.mjs +3 -3
  189. package/dist/littleWarden/server/littleWardenAttrs.cjs +38 -0
  190. package/dist/littleWarden/server/{littleWarden.d.cts → littleWardenAttrs.d.cts} +2 -7
  191. package/dist/littleWarden/server/{littleWarden.d.mts → littleWardenAttrs.d.mts} +2 -7
  192. package/dist/littleWarden/server/littleWardenAttrs.mjs +33 -0
  193. package/dist/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.cts +7 -0
  194. package/dist/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.mts +7 -0
  195. package/dist/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.cts +35 -0
  196. package/dist/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.mts +35 -0
  197. package/dist/node_modules/@smithy/types/dist-types/identity/identity.d.cts +18 -0
  198. package/dist/node_modules/@smithy/types/dist-types/identity/identity.d.mts +18 -0
  199. package/dist/node_modules/@smithy/types/dist-types/index.d.cts +2 -0
  200. package/dist/node_modules/@smithy/types/dist-types/index.d.mts +2 -0
  201. package/dist/onePassword/server/OnePassword.cjs +44 -0
  202. package/dist/onePassword/server/OnePassword.d.cts +21 -0
  203. package/dist/onePassword/server/OnePassword.d.mts +21 -0
  204. package/dist/onePassword/server/{OnePasswordNamespace.mjs → OnePassword.mjs} +19 -13
  205. package/dist/onePassword/server/getIdsFromUrl.cjs +2 -2
  206. package/dist/onePassword/server/getIdsFromUrl.d.cts +2 -2
  207. package/dist/onePassword/server/getIdsFromUrl.d.mts +2 -2
  208. package/dist/onePassword/server/getIdsFromUrl.mjs +2 -2
  209. package/dist/onePassword/server/index.cjs +2 -4
  210. package/dist/onePassword/server/index.d.cts +2 -3
  211. package/dist/onePassword/server/index.d.mts +2 -3
  212. package/dist/onePassword/server/index.mjs +2 -3
  213. package/dist/openAi/server/{OpenAiNamespace.cjs → OpenAi.cjs} +10 -7
  214. package/dist/openAi/server/{OpenAiNamespace.d.cts → OpenAi.d.cts} +7 -5
  215. package/dist/openAi/server/{OpenAiNamespace.d.mts → OpenAi.d.mts} +7 -5
  216. package/dist/openAi/server/{OpenAiNamespace.mjs → OpenAi.mjs} +10 -7
  217. package/dist/openAi/server/index.cjs +2 -4
  218. package/dist/openAi/server/index.d.cts +2 -3
  219. package/dist/openAi/server/index.d.mts +2 -3
  220. package/dist/openAi/server/index.mjs +2 -3
  221. package/dist/snapchat/server/{SnapchatNamespace.cjs → Snapchat.cjs} +5 -4
  222. package/dist/snapchat/server/Snapchat.d.cts +22 -0
  223. package/dist/snapchat/server/Snapchat.d.mts +22 -0
  224. package/dist/snapchat/server/{SnapchatNamespace.mjs → Snapchat.mjs} +5 -4
  225. package/dist/snapchat/server/index.cjs +2 -4
  226. package/dist/snapchat/server/index.d.cts +2 -3
  227. package/dist/snapchat/server/index.d.mts +2 -3
  228. package/dist/snapchat/server/index.mjs +2 -3
  229. package/dist/swr/client/swr.cjs +1 -1
  230. package/dist/swr/client/swr.mjs +1 -1
  231. package/dist/upTimeRobot/server/UpTimeRobot.cjs +34 -0
  232. package/dist/upTimeRobot/server/{UpTimeRobotNamespace.d.cts → UpTimeRobot.d.cts} +7 -5
  233. package/dist/upTimeRobot/server/{UpTimeRobotNamespace.d.mts → UpTimeRobot.d.mts} +7 -5
  234. package/dist/upTimeRobot/server/UpTimeRobot.mjs +33 -0
  235. package/dist/upTimeRobot/server/index.cjs +12 -9
  236. package/dist/upTimeRobot/server/index.d.cts +7 -3
  237. package/dist/upTimeRobot/server/index.d.mts +7 -3
  238. package/dist/upTimeRobot/server/index.mjs +7 -3
  239. package/dist/upTimeRobot/server/logType.cjs +10 -0
  240. package/dist/upTimeRobot/server/logType.d.cts +10 -0
  241. package/dist/upTimeRobot/server/logType.d.mts +10 -0
  242. package/dist/upTimeRobot/server/logType.mjs +9 -0
  243. package/dist/upTimeRobot/server/monitorStatus.cjs +11 -0
  244. package/dist/upTimeRobot/server/monitorStatus.d.cts +11 -0
  245. package/dist/upTimeRobot/server/monitorStatus.d.mts +11 -0
  246. package/dist/upTimeRobot/server/monitorStatus.mjs +10 -0
  247. package/dist/upTimeRobot/server/monitorSubTypes.cjs +13 -0
  248. package/dist/upTimeRobot/server/monitorSubTypes.d.cts +13 -0
  249. package/dist/upTimeRobot/server/monitorSubTypes.d.mts +13 -0
  250. package/dist/upTimeRobot/server/monitorSubTypes.mjs +12 -0
  251. package/dist/upTimeRobot/server/monitorType.cjs +11 -0
  252. package/dist/upTimeRobot/server/monitorType.d.cts +11 -0
  253. package/dist/upTimeRobot/server/monitorType.d.mts +11 -0
  254. package/dist/upTimeRobot/server/monitorType.mjs +10 -0
  255. package/dist/upTimeRobot/server/requestStatus.cjs +8 -0
  256. package/dist/upTimeRobot/server/requestStatus.d.cts +8 -0
  257. package/dist/upTimeRobot/server/requestStatus.d.mts +8 -0
  258. package/dist/upTimeRobot/server/requestStatus.mjs +7 -0
  259. package/dist/url/url.cjs +1 -1
  260. package/dist/url/url.mjs +1 -1
  261. package/dist/util/defaultTo.cjs +1 -1
  262. package/dist/util/defaultTo.mjs +1 -1
  263. package/dist/webWorker/index.cjs +2 -2
  264. package/dist/webWorker/index.d.cts +1 -1
  265. package/dist/webWorker/index.d.mts +1 -1
  266. package/dist/webWorker/index.mjs +1 -1
  267. package/dist/webWorker/{webWorker.cjs → webWorkerState.cjs} +1 -1
  268. package/dist/webWorker/{webWorker.d.cts → webWorkerState.d.cts} +1 -1
  269. package/dist/webWorker/{webWorker.d.mts → webWorkerState.d.mts} +1 -1
  270. package/dist/webWorker/{webWorker.mjs → webWorkerState.mjs} +1 -1
  271. package/package.json +136 -150
  272. package/dist/aws/cloudWatchLog/server/awsCloudWatchLog.cjs +0 -14
  273. package/dist/aws/cloudWatchLog/server/awsCloudWatchLog.d.cts +0 -7
  274. package/dist/aws/cloudWatchLog/server/awsCloudWatchLog.d.mts +0 -7
  275. package/dist/aws/cloudWatchLog/server/awsCloudWatchLog.mjs +0 -13
  276. package/dist/aws/cloudWatchMetric/server/awsCloudWatchMetric.cjs +0 -14
  277. package/dist/aws/cloudWatchMetric/server/awsCloudWatchMetric.d.cts +0 -7
  278. package/dist/aws/cloudWatchMetric/server/awsCloudWatchMetric.d.mts +0 -7
  279. package/dist/aws/cloudWatchMetric/server/awsCloudWatchMetric.mjs +0 -13
  280. package/dist/aws/ec2/server/awsEc2.cjs +0 -14
  281. package/dist/aws/ec2/server/awsEc2.d.cts +0 -7
  282. package/dist/aws/ec2/server/awsEc2.d.mts +0 -7
  283. package/dist/aws/ec2/server/awsEc2.mjs +0 -13
  284. package/dist/aws/ecs/server/awsEcs.cjs +0 -14
  285. package/dist/aws/ecs/server/awsEcs.d.cts +0 -7
  286. package/dist/aws/ecs/server/awsEcs.d.mts +0 -7
  287. package/dist/aws/ecs/server/awsEcs.mjs +0 -13
  288. package/dist/aws/glue/server/awsGlue.cjs +0 -14
  289. package/dist/aws/glue/server/awsGlue.d.cts +0 -7
  290. package/dist/aws/glue/server/awsGlue.d.mts +0 -7
  291. package/dist/aws/glue/server/awsGlue.mjs +0 -13
  292. package/dist/aws/lambda/server/awsLambda.cjs +0 -18
  293. package/dist/aws/lambda/server/awsLambda.d.cts +0 -8
  294. package/dist/aws/lambda/server/awsLambda.d.mts +0 -8
  295. package/dist/aws/lambda/server/awsLambda.mjs +0 -16
  296. package/dist/aws/s3/server/awsS3.cjs +0 -23
  297. package/dist/aws/s3/server/awsS3.d.cts +0 -16
  298. package/dist/aws/s3/server/awsS3.d.mts +0 -16
  299. package/dist/aws/s3/server/awsS3.mjs +0 -21
  300. package/dist/aws/server/aws.cjs +0 -23
  301. package/dist/aws/server/aws.d.cts +0 -13
  302. package/dist/aws/server/aws.d.mts +0 -13
  303. package/dist/aws/server/aws.mjs +0 -21
  304. package/dist/aws/ses/server/awsSes.cjs +0 -16
  305. package/dist/aws/ses/server/awsSes.d.cts +0 -8
  306. package/dist/aws/ses/server/awsSes.d.mts +0 -8
  307. package/dist/aws/ses/server/awsSes.mjs +0 -14
  308. package/dist/aws/sqs/server/awsSqs.cjs +0 -14
  309. package/dist/aws/sqs/server/awsSqs.d.cts +0 -7
  310. package/dist/aws/sqs/server/awsSqs.d.mts +0 -7
  311. package/dist/aws/sqs/server/awsSqs.mjs +0 -13
  312. package/dist/aws/ssm/server/AwsSsmNamespace.d.cts +0 -15
  313. package/dist/aws/ssm/server/AwsSsmNamespace.d.mts +0 -15
  314. package/dist/aws/ssm/server/AwsSsmNamespace.mjs +0 -34
  315. package/dist/aws/ssm/server/awsSsm.cjs +0 -14
  316. package/dist/aws/ssm/server/awsSsm.d.cts +0 -7
  317. package/dist/aws/ssm/server/awsSsm.d.mts +0 -7
  318. package/dist/aws/ssm/server/awsSsm.mjs +0 -13
  319. package/dist/drizzle/server/DrizzleNamespace.d.cts +0 -11
  320. package/dist/drizzle/server/DrizzleNamespace.d.mts +0 -11
  321. package/dist/drizzle/server/drizzle.cjs +0 -22
  322. package/dist/drizzle/server/drizzle.mjs +0 -21
  323. package/dist/googleAds/server/GoogleAdsNamespace.mjs +0 -29
  324. package/dist/googleAds/server/googleAds.cjs +0 -19
  325. package/dist/googleAds/server/googleAds.d.cts +0 -15
  326. package/dist/googleAds/server/googleAds.d.mts +0 -15
  327. package/dist/googleAds/server/googleAds.mjs +0 -18
  328. package/dist/googleCloud/bigquery/server/googleCloudBigquery.cjs +0 -32
  329. package/dist/googleCloud/bigquery/server/googleCloudBigquery.d.cts +0 -8
  330. package/dist/googleCloud/bigquery/server/googleCloudBigquery.d.mts +0 -8
  331. package/dist/googleCloud/bigquery/server/googleCloudBigquery.mjs +0 -30
  332. package/dist/googleCloud/server/googleCloud.cjs +0 -24
  333. package/dist/googleCloud/server/googleCloud.d.cts +0 -32
  334. package/dist/googleCloud/server/googleCloud.d.mts +0 -32
  335. package/dist/googleCloud/server/googleCloud.mjs +0 -23
  336. package/dist/googleCloud/storage/server/googleCloudStorage.cjs +0 -28
  337. package/dist/googleCloud/storage/server/googleCloudStorage.d.cts +0 -7
  338. package/dist/googleCloud/storage/server/googleCloudStorage.d.mts +0 -7
  339. package/dist/googleCloud/storage/server/googleCloudStorage.mjs +0 -27
  340. package/dist/googlePageSpeed/server/GooglePageSpeedNamespace.d.cts +0 -15
  341. package/dist/googlePageSpeed/server/GooglePageSpeedNamespace.d.mts +0 -15
  342. package/dist/googlePageSpeed/server/googlePageSpeed.cjs +0 -33
  343. package/dist/googlePageSpeed/server/googlePageSpeed.d.cts +0 -23
  344. package/dist/googlePageSpeed/server/googlePageSpeed.d.mts +0 -23
  345. package/dist/googlePageSpeed/server/googlePageSpeed.mjs +0 -30
  346. package/dist/littleWarden/server/littleWarden.cjs +0 -54
  347. package/dist/littleWarden/server/littleWarden.mjs +0 -48
  348. package/dist/onePassword/server/OnePasswordNamespace.cjs +0 -38
  349. package/dist/onePassword/server/OnePasswordNamespace.d.cts +0 -17
  350. package/dist/onePassword/server/OnePasswordNamespace.d.mts +0 -17
  351. package/dist/onePassword/server/onePassword.cjs +0 -14
  352. package/dist/onePassword/server/onePassword.d.cts +0 -11
  353. package/dist/onePassword/server/onePassword.d.mts +0 -11
  354. package/dist/onePassword/server/onePassword.mjs +0 -13
  355. package/dist/openAi/server/openAi.cjs +0 -19
  356. package/dist/openAi/server/openAi.d.cts +0 -9
  357. package/dist/openAi/server/openAi.d.mts +0 -9
  358. package/dist/openAi/server/openAi.mjs +0 -18
  359. package/dist/snapchat/server/SnapchatNamespace.d.cts +0 -18
  360. package/dist/snapchat/server/SnapchatNamespace.d.mts +0 -18
  361. package/dist/snapchat/server/snapchat.cjs +0 -19
  362. package/dist/snapchat/server/snapchat.d.cts +0 -11
  363. package/dist/snapchat/server/snapchat.d.mts +0 -11
  364. package/dist/snapchat/server/snapchat.mjs +0 -18
  365. package/dist/upTimeRobot/server/UpTimeRobotNamespace.cjs +0 -31
  366. package/dist/upTimeRobot/server/UpTimeRobotNamespace.mjs +0 -30
  367. package/dist/upTimeRobot/server/upTimeRobot.cjs +0 -57
  368. package/dist/upTimeRobot/server/upTimeRobot.d.cts +0 -42
  369. package/dist/upTimeRobot/server/upTimeRobot.d.mts +0 -42
  370. package/dist/upTimeRobot/server/upTimeRobot.mjs +0 -51
@@ -1,13 +0,0 @@
1
- import { getConfig } from "../../server/aws.mjs";
2
- import "../../server/index.mjs";
3
- import { AwsEc2Namespace } from "./AwsEc2Namespace.mjs";
4
- //#region src/aws/ec2/server/awsEc2.ts
5
- const awsEc2Namespaces = /* @__PURE__ */ new Map();
6
- const awsEc2Client = async (key = "default", config, vaultId, itemId) => {
7
- if (awsEc2Namespaces.has(key)) return awsEc2Namespaces.get(key);
8
- const namespace = new AwsEc2Namespace(key, await getConfig(key, config, vaultId, itemId));
9
- awsEc2Namespaces.set(key, namespace);
10
- return namespace;
11
- };
12
- //#endregion
13
- export { awsEc2Client };
@@ -1,14 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_aws_server_aws = require("../../server/aws.cjs");
3
- require("../../server/index.cjs");
4
- const require_aws_ecs_server_AwsEcsNamespace = require("./AwsEcsNamespace.cjs");
5
- //#region src/aws/ecs/server/awsEcs.ts
6
- const awsEcsNamespaces = /* @__PURE__ */ new Map();
7
- const awsEcsClient = async (key = "default", config, vaultId, itemId) => {
8
- if (awsEcsNamespaces.has(key)) return awsEcsNamespaces.get(key);
9
- const namespace = new require_aws_ecs_server_AwsEcsNamespace.AwsEcsNamespace(key, await require_aws_server_aws.getConfig(key, config, vaultId, itemId));
10
- awsEcsNamespaces.set(key, namespace);
11
- return namespace;
12
- };
13
- //#endregion
14
- exports.awsEcsClient = awsEcsClient;
@@ -1,7 +0,0 @@
1
- import { AwsConfig } from "../../server/aws.cjs";
2
- import { AwsEcsNamespace } from "./AwsEcsNamespace.cjs";
3
-
4
- //#region src/aws/ecs/server/awsEcs.d.ts
5
- declare const awsEcsClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsEcsNamespace>;
6
- //#endregion
7
- export { awsEcsClient };
@@ -1,7 +0,0 @@
1
- import { AwsConfig } from "../../server/aws.mjs";
2
- import { AwsEcsNamespace } from "./AwsEcsNamespace.mjs";
3
-
4
- //#region src/aws/ecs/server/awsEcs.d.ts
5
- declare const awsEcsClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsEcsNamespace>;
6
- //#endregion
7
- export { awsEcsClient };
@@ -1,13 +0,0 @@
1
- import { getConfig } from "../../server/aws.mjs";
2
- import "../../server/index.mjs";
3
- import { AwsEcsNamespace } from "./AwsEcsNamespace.mjs";
4
- //#region src/aws/ecs/server/awsEcs.ts
5
- const awsEcsNamespaces = /* @__PURE__ */ new Map();
6
- const awsEcsClient = async (key = "default", config, vaultId, itemId) => {
7
- if (awsEcsNamespaces.has(key)) return awsEcsNamespaces.get(key);
8
- const namespace = new AwsEcsNamespace(key, await getConfig(key, config, vaultId, itemId));
9
- awsEcsNamespaces.set(key, namespace);
10
- return namespace;
11
- };
12
- //#endregion
13
- export { awsEcsClient };
@@ -1,14 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_aws_server_aws = require("../../server/aws.cjs");
3
- require("../../server/index.cjs");
4
- const require_aws_glue_server_AwsGlueNamespace = require("./AwsGlueNamespace.cjs");
5
- //#region src/aws/glue/server/awsGlue.ts
6
- const awsGlueNamespaces = /* @__PURE__ */ new Map();
7
- const awsGlueClient = async (key = "default", config, vaultId, itemId) => {
8
- if (awsGlueNamespaces.has(key)) return awsGlueNamespaces.get(key);
9
- const namespace = new require_aws_glue_server_AwsGlueNamespace.AwsGlueNamespace(key, await require_aws_server_aws.getConfig(key, config, vaultId, itemId));
10
- awsGlueNamespaces.set(key, namespace);
11
- return namespace;
12
- };
13
- //#endregion
14
- exports.awsGlueClient = awsGlueClient;
@@ -1,7 +0,0 @@
1
- import { AwsConfig } from "../../server/aws.cjs";
2
- import { AwsGlueNamespace } from "./AwsGlueNamespace.cjs";
3
-
4
- //#region src/aws/glue/server/awsGlue.d.ts
5
- declare const awsGlueClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsGlueNamespace>;
6
- //#endregion
7
- export { awsGlueClient };
@@ -1,7 +0,0 @@
1
- import { AwsConfig } from "../../server/aws.mjs";
2
- import { AwsGlueNamespace } from "./AwsGlueNamespace.mjs";
3
-
4
- //#region src/aws/glue/server/awsGlue.d.ts
5
- declare const awsGlueClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsGlueNamespace>;
6
- //#endregion
7
- export { awsGlueClient };
@@ -1,13 +0,0 @@
1
- import { getConfig } from "../../server/aws.mjs";
2
- import "../../server/index.mjs";
3
- import { AwsGlueNamespace } from "./AwsGlueNamespace.mjs";
4
- //#region src/aws/glue/server/awsGlue.ts
5
- const awsGlueNamespaces = /* @__PURE__ */ new Map();
6
- const awsGlueClient = async (key = "default", config, vaultId, itemId) => {
7
- if (awsGlueNamespaces.has(key)) return awsGlueNamespaces.get(key);
8
- const namespace = new AwsGlueNamespace(key, await getConfig(key, config, vaultId, itemId));
9
- awsGlueNamespaces.set(key, namespace);
10
- return namespace;
11
- };
12
- //#endregion
13
- export { awsGlueClient };
@@ -1,18 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_aws_server_aws = require("../../server/aws.cjs");
3
- require("../../server/index.cjs");
4
- const require_aws_lambda_server_AwsLambdaNamespace = require("./AwsLambdaNamespace.cjs");
5
- //#region src/aws/lambda/server/awsLambda.ts
6
- const awsLambdaNamespaces = /* @__PURE__ */ new Map();
7
- const awsLambdaClient = async (key = "default", config, vaultId, itemId) => {
8
- if (awsLambdaNamespaces.has(key)) return awsLambdaNamespaces.get(key);
9
- const namespace = new require_aws_lambda_server_AwsLambdaNamespace.AwsLambdaNamespace(key, await require_aws_server_aws.getConfig(key, config, vaultId, itemId));
10
- awsLambdaNamespaces.set(key, namespace);
11
- return namespace;
12
- };
13
- const getHandlerPath = (input) => {
14
- return `${input.split(process.cwd())[1].substring(1).replace(/\\/g, "/")}`;
15
- };
16
- //#endregion
17
- exports.awsLambdaClient = awsLambdaClient;
18
- exports.getHandlerPath = getHandlerPath;
@@ -1,8 +0,0 @@
1
- import { AwsConfig } from "../../server/aws.cjs";
2
- import { AwsLambdaNamespace } from "./AwsLambdaNamespace.cjs";
3
-
4
- //#region src/aws/lambda/server/awsLambda.d.ts
5
- declare const awsLambdaClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsLambdaNamespace>;
6
- declare const getHandlerPath: (input: string) => string;
7
- //#endregion
8
- export { awsLambdaClient, getHandlerPath };
@@ -1,8 +0,0 @@
1
- import { AwsConfig } from "../../server/aws.mjs";
2
- import { AwsLambdaNamespace } from "./AwsLambdaNamespace.mjs";
3
-
4
- //#region src/aws/lambda/server/awsLambda.d.ts
5
- declare const awsLambdaClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsLambdaNamespace>;
6
- declare const getHandlerPath: (input: string) => string;
7
- //#endregion
8
- export { awsLambdaClient, getHandlerPath };
@@ -1,16 +0,0 @@
1
- import { getConfig } from "../../server/aws.mjs";
2
- import "../../server/index.mjs";
3
- import { AwsLambdaNamespace } from "./AwsLambdaNamespace.mjs";
4
- //#region src/aws/lambda/server/awsLambda.ts
5
- const awsLambdaNamespaces = /* @__PURE__ */ new Map();
6
- const awsLambdaClient = async (key = "default", config, vaultId, itemId) => {
7
- if (awsLambdaNamespaces.has(key)) return awsLambdaNamespaces.get(key);
8
- const namespace = new AwsLambdaNamespace(key, await getConfig(key, config, vaultId, itemId));
9
- awsLambdaNamespaces.set(key, namespace);
10
- return namespace;
11
- };
12
- const getHandlerPath = (input) => {
13
- return `${input.split(process.cwd())[1].substring(1).replace(/\\/g, "/")}`;
14
- };
15
- //#endregion
16
- export { awsLambdaClient, getHandlerPath };
@@ -1,23 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_date_date = require("../../../date/date.cjs");
3
- require("../../../date/index.cjs");
4
- const require_aws_server_aws = require("../../server/aws.cjs");
5
- require("../../server/index.cjs");
6
- const require_aws_s3_server_AwsS3Namespace = require("./AwsS3Namespace.cjs");
7
- //#region src/aws/s3/server/awsS3.ts
8
- const awsS3Namespaces = /* @__PURE__ */ new Map();
9
- const awsS3Client = async (key = "default", config, vaultId, itemId) => {
10
- if (awsS3Namespaces.has(key)) return awsS3Namespaces.get(key);
11
- const namespace = new require_aws_s3_server_AwsS3Namespace.AwsS3Namespace(key, await require_aws_server_aws.getConfig(key, config, vaultId, itemId));
12
- awsS3Namespaces.set(key, namespace);
13
- return namespace;
14
- };
15
- const readFileDefault = {
16
- body: void 0,
17
- now: void 0,
18
- error: void 0,
19
- modified: require_date_date.defaultDateTime
20
- };
21
- //#endregion
22
- exports.awsS3Client = awsS3Client;
23
- exports.readFileDefault = readFileDefault;
@@ -1,16 +0,0 @@
1
- import { AwsConfig } from "../../server/aws.cjs";
2
- import { AwsS3Namespace } from "./AwsS3Namespace.cjs";
3
-
4
- //#region src/aws/s3/server/awsS3.d.ts
5
- declare const awsS3Client: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsS3Namespace>;
6
- type Modified = {
7
- now: number;
8
- modified: string;
9
- };
10
- type ReadFileResponse = Modified & {
11
- body: any;
12
- error: any;
13
- };
14
- declare const readFileDefault: ReadFileResponse;
15
- //#endregion
16
- export { Modified, ReadFileResponse, awsS3Client, readFileDefault };
@@ -1,16 +0,0 @@
1
- import { AwsConfig } from "../../server/aws.mjs";
2
- import { AwsS3Namespace } from "./AwsS3Namespace.mjs";
3
-
4
- //#region src/aws/s3/server/awsS3.d.ts
5
- declare const awsS3Client: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsS3Namespace>;
6
- type Modified = {
7
- now: number;
8
- modified: string;
9
- };
10
- type ReadFileResponse = Modified & {
11
- body: any;
12
- error: any;
13
- };
14
- declare const readFileDefault: ReadFileResponse;
15
- //#endregion
16
- export { Modified, ReadFileResponse, awsS3Client, readFileDefault };
@@ -1,21 +0,0 @@
1
- import { defaultDateTime } from "../../../date/date.mjs";
2
- import "../../../date/index.mjs";
3
- import { getConfig } from "../../server/aws.mjs";
4
- import "../../server/index.mjs";
5
- import { AwsS3Namespace } from "./AwsS3Namespace.mjs";
6
- //#region src/aws/s3/server/awsS3.ts
7
- const awsS3Namespaces = /* @__PURE__ */ new Map();
8
- const awsS3Client = async (key = "default", config, vaultId, itemId) => {
9
- if (awsS3Namespaces.has(key)) return awsS3Namespaces.get(key);
10
- const namespace = new AwsS3Namespace(key, await getConfig(key, config, vaultId, itemId));
11
- awsS3Namespaces.set(key, namespace);
12
- return namespace;
13
- };
14
- const readFileDefault = {
15
- body: void 0,
16
- now: void 0,
17
- error: void 0,
18
- modified: defaultDateTime
19
- };
20
- //#endregion
21
- export { awsS3Client, readFileDefault };
@@ -1,23 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onePassword_server_onePassword = require("../../onePassword/server/onePassword.cjs");
3
- require("../../onePassword/server/index.cjs");
4
- const require_aws_server_isResponse200 = require("./isResponse200.cjs");
5
- //#region src/aws/server/aws.ts
6
- const getConfig = async (key, config, vaultId, itemId) => {
7
- let response;
8
- if (config) response = config;
9
- else if (vaultId && itemId) response = await (await require_onePassword_server_onePassword.onePasswordClient()).getJsonNote(vaultId, itemId);
10
- else if (process.env.AWS_VAULT_ID && process.env.AWS_ITEM_ID) response = await (await require_onePassword_server_onePassword.onePasswordClient()).getJsonNote(process.env.AWS_VAULT_ID, process.env.AWS_ITEM_ID);
11
- else if (process.env.AWS_ACCESS_KEY_ID && process.env.AWS_REGION && process.env.AWS_SECRET_ACCESS_KEY) response = {
12
- region: process.env.AWS_REGION,
13
- credentials: {
14
- accessKeyId: process.env.AWS_ACCESS_KEY_ID,
15
- secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY
16
- }
17
- };
18
- else throw new Error(`Config required for namespace '${key}'`);
19
- return response;
20
- };
21
- //#endregion
22
- exports.getConfig = getConfig;
23
- exports.isResponse200 = require_aws_server_isResponse200.isResponse200;
@@ -1,13 +0,0 @@
1
- import { isResponse200 } from "./isResponse200.cjs";
2
-
3
- //#region src/aws/server/aws.d.ts
4
- type AwsConfig = {
5
- region: string;
6
- credentials: {
7
- accessKeyId: string;
8
- secretAccessKey: string;
9
- };
10
- };
11
- declare const getConfig: (key: any, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsConfig>;
12
- //#endregion
13
- export { AwsConfig, getConfig, isResponse200 };
@@ -1,13 +0,0 @@
1
- import { isResponse200 } from "./isResponse200.mjs";
2
-
3
- //#region src/aws/server/aws.d.ts
4
- type AwsConfig = {
5
- region: string;
6
- credentials: {
7
- accessKeyId: string;
8
- secretAccessKey: string;
9
- };
10
- };
11
- declare const getConfig: (key: any, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsConfig>;
12
- //#endregion
13
- export { AwsConfig, getConfig, isResponse200 };
@@ -1,21 +0,0 @@
1
- import { onePasswordClient } from "../../onePassword/server/onePassword.mjs";
2
- import "../../onePassword/server/index.mjs";
3
- import { isResponse200 } from "./isResponse200.mjs";
4
- //#region src/aws/server/aws.ts
5
- const getConfig = async (key, config, vaultId, itemId) => {
6
- let response;
7
- if (config) response = config;
8
- else if (vaultId && itemId) response = await (await onePasswordClient()).getJsonNote(vaultId, itemId);
9
- else if (process.env.AWS_VAULT_ID && process.env.AWS_ITEM_ID) response = await (await onePasswordClient()).getJsonNote(process.env.AWS_VAULT_ID, process.env.AWS_ITEM_ID);
10
- else if (process.env.AWS_ACCESS_KEY_ID && process.env.AWS_REGION && process.env.AWS_SECRET_ACCESS_KEY) response = {
11
- region: process.env.AWS_REGION,
12
- credentials: {
13
- accessKeyId: process.env.AWS_ACCESS_KEY_ID,
14
- secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY
15
- }
16
- };
17
- else throw new Error(`Config required for namespace '${key}'`);
18
- return response;
19
- };
20
- //#endregion
21
- export { getConfig, isResponse200 };
@@ -1,16 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_aws_server_aws = require("../../server/aws.cjs");
3
- require("../../server/index.cjs");
4
- const require_aws_ses_server_AwsSesNamespace = require("./AwsSesNamespace.cjs");
5
- const require_aws_ses_server_SimpleEmail = require("./SimpleEmail.cjs");
6
- //#region src/aws/ses/server/awsSes.ts
7
- const awsSesNamespaces = /* @__PURE__ */ new Map();
8
- const awsSesClient = async (key = "default", config, vaultId, itemId) => {
9
- if (awsSesNamespaces.has(key)) return awsSesNamespaces.get(key);
10
- const namespace = new require_aws_ses_server_AwsSesNamespace.AwsSesNamespace(key, await require_aws_server_aws.getConfig(key, config, vaultId, itemId));
11
- awsSesNamespaces.set(key, namespace);
12
- return namespace;
13
- };
14
- //#endregion
15
- exports.SimpleEmail = require_aws_ses_server_SimpleEmail.SimpleEmail;
16
- exports.awsSesClient = awsSesClient;
@@ -1,8 +0,0 @@
1
- import { AwsConfig } from "../../server/aws.cjs";
2
- import { AwsSesNamespace } from "./AwsSesNamespace.cjs";
3
- import { SimpleEmail } from "./SimpleEmail.cjs";
4
-
5
- //#region src/aws/ses/server/awsSes.d.ts
6
- declare const awsSesClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsSesNamespace>;
7
- //#endregion
8
- export { SimpleEmail, awsSesClient };
@@ -1,8 +0,0 @@
1
- import { AwsConfig } from "../../server/aws.mjs";
2
- import { AwsSesNamespace } from "./AwsSesNamespace.mjs";
3
- import { SimpleEmail } from "./SimpleEmail.mjs";
4
-
5
- //#region src/aws/ses/server/awsSes.d.ts
6
- declare const awsSesClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsSesNamespace>;
7
- //#endregion
8
- export { SimpleEmail, awsSesClient };
@@ -1,14 +0,0 @@
1
- import { getConfig } from "../../server/aws.mjs";
2
- import "../../server/index.mjs";
3
- import { AwsSesNamespace } from "./AwsSesNamespace.mjs";
4
- import { SimpleEmail } from "./SimpleEmail.mjs";
5
- //#region src/aws/ses/server/awsSes.ts
6
- const awsSesNamespaces = /* @__PURE__ */ new Map();
7
- const awsSesClient = async (key = "default", config, vaultId, itemId) => {
8
- if (awsSesNamespaces.has(key)) return awsSesNamespaces.get(key);
9
- const namespace = new AwsSesNamespace(key, await getConfig(key, config, vaultId, itemId));
10
- awsSesNamespaces.set(key, namespace);
11
- return namespace;
12
- };
13
- //#endregion
14
- export { SimpleEmail, awsSesClient };
@@ -1,14 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_aws_server_aws = require("../../server/aws.cjs");
3
- require("../../server/index.cjs");
4
- const require_aws_sqs_server_AwsSqsNamespace = require("./AwsSqsNamespace.cjs");
5
- //#region src/aws/sqs/server/awsSqs.ts
6
- const awsSqsNamespaces = /* @__PURE__ */ new Map();
7
- const awsSqsClient = async (key = "default", config, vaultId, itemId) => {
8
- if (awsSqsNamespaces.has(key)) return awsSqsNamespaces.get(key);
9
- const namespace = new require_aws_sqs_server_AwsSqsNamespace.AwsSqsNamespace(key, await require_aws_server_aws.getConfig(key, config, vaultId, itemId));
10
- awsSqsNamespaces.set(key, namespace);
11
- return namespace;
12
- };
13
- //#endregion
14
- exports.awsSqsClient = awsSqsClient;
@@ -1,7 +0,0 @@
1
- import { AwsConfig } from "../../server/aws.cjs";
2
- import { AwsSqsNamespace } from "./AwsSqsNamespace.cjs";
3
-
4
- //#region src/aws/sqs/server/awsSqs.d.ts
5
- declare const awsSqsClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsSqsNamespace>;
6
- //#endregion
7
- export { awsSqsClient };
@@ -1,7 +0,0 @@
1
- import { AwsConfig } from "../../server/aws.mjs";
2
- import { AwsSqsNamespace } from "./AwsSqsNamespace.mjs";
3
-
4
- //#region src/aws/sqs/server/awsSqs.d.ts
5
- declare const awsSqsClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsSqsNamespace>;
6
- //#endregion
7
- export { awsSqsClient };
@@ -1,13 +0,0 @@
1
- import { getConfig } from "../../server/aws.mjs";
2
- import "../../server/index.mjs";
3
- import { AwsSqsNamespace } from "./AwsSqsNamespace.mjs";
4
- //#region src/aws/sqs/server/awsSqs.ts
5
- const awsSqsNamespaces = /* @__PURE__ */ new Map();
6
- const awsSqsClient = async (key = "default", config, vaultId, itemId) => {
7
- if (awsSqsNamespaces.has(key)) return awsSqsNamespaces.get(key);
8
- const namespace = new AwsSqsNamespace(key, await getConfig(key, config, vaultId, itemId));
9
- awsSqsNamespaces.set(key, namespace);
10
- return namespace;
11
- };
12
- //#endregion
13
- export { awsSqsClient };
@@ -1,15 +0,0 @@
1
- import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
2
- import { AwsConfig } from "../../server/aws.cjs";
3
- import { SSMClient } from "@aws-sdk/client-ssm";
4
-
5
- //#region src/aws/ssm/server/AwsSsmNamespace.d.ts
6
- declare class AwsSsmNamespace extends BaseNamespace {
7
- client: SSMClient;
8
- config: AwsConfig;
9
- parameters: Map<string, any>;
10
- constructor(key: string, config: any);
11
- ensureInit: () => Promise<void>;
12
- getParameter: (name: string, withDecryption?: boolean, isJson?: boolean) => Promise<any>;
13
- }
14
- //#endregion
15
- export { AwsSsmNamespace };
@@ -1,15 +0,0 @@
1
- import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
2
- import { AwsConfig } from "../../server/aws.mjs";
3
- import { SSMClient } from "@aws-sdk/client-ssm";
4
-
5
- //#region src/aws/ssm/server/AwsSsmNamespace.d.ts
6
- declare class AwsSsmNamespace extends BaseNamespace {
7
- client: SSMClient;
8
- config: AwsConfig;
9
- parameters: Map<string, any>;
10
- constructor(key: string, config: any);
11
- ensureInit: () => Promise<void>;
12
- getParameter: (name: string, withDecryption?: boolean, isJson?: boolean) => Promise<any>;
13
- }
14
- //#endregion
15
- export { AwsSsmNamespace };
@@ -1,34 +0,0 @@
1
- import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
2
- //#region src/aws/ssm/server/AwsSsmNamespace.ts
3
- var AwsSsmNamespace = class extends BaseNamespace {
4
- parameters;
5
- constructor(key, config) {
6
- super(key, config);
7
- this.parameters = /* @__PURE__ */ new Map();
8
- }
9
- ensureInit = async () => {
10
- if (!this.client) try {
11
- const { SSMClient } = await import("@aws-sdk/client-ssm");
12
- this.client = new SSMClient(this.config);
13
- } catch (e) {
14
- throw new Error("AWS SSM Client not installed");
15
- }
16
- };
17
- getParameter = async (name, withDecryption = false, isJson = true) => {
18
- await this.ensureInit();
19
- if (!this.parameters.has(name)) {
20
- const { GetParameterCommand } = await import("@aws-sdk/client-ssm");
21
- const apiResponse = await this.client.send(new GetParameterCommand({
22
- Name: name,
23
- WithDecryption: void 0 === withDecryption ? true : withDecryption
24
- }));
25
- if (apiResponse.Parameter.Value) if (void 0 === apiResponse.Parameter.Value) this.parameters.set(name, null);
26
- else if (void 0 === isJson || true === isJson) this.parameters.set(name, JSON.parse(apiResponse.Parameter.Value) || null);
27
- else this.parameters.set(name, apiResponse.Parameter.Value);
28
- else this.parameters.set(name, null);
29
- }
30
- return this.parameters.get(name);
31
- };
32
- };
33
- //#endregion
34
- export { AwsSsmNamespace };
@@ -1,14 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_aws_server_aws = require("../../server/aws.cjs");
3
- require("../../server/index.cjs");
4
- const require_aws_ssm_server_AwsSsmNamespace = require("./AwsSsmNamespace.cjs");
5
- //#region src/aws/ssm/server/awsSsm.ts
6
- const awsSsmNamespaces = /* @__PURE__ */ new Map();
7
- const awsSsmClient = async (key = "default", config, vaultId, itemId) => {
8
- if (awsSsmNamespaces.has(key)) return awsSsmNamespaces.get(key);
9
- const namespace = new require_aws_ssm_server_AwsSsmNamespace.AwsSsmNamespace(key, await require_aws_server_aws.getConfig(key, config, vaultId, itemId));
10
- awsSsmNamespaces.set(key, namespace);
11
- return namespace;
12
- };
13
- //#endregion
14
- exports.awsSsmClient = awsSsmClient;
@@ -1,7 +0,0 @@
1
- import { AwsConfig } from "../../server/aws.cjs";
2
- import { AwsSsmNamespace } from "./AwsSsmNamespace.cjs";
3
-
4
- //#region src/aws/ssm/server/awsSsm.d.ts
5
- declare const awsSsmClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsSsmNamespace>;
6
- //#endregion
7
- export { awsSsmClient };
@@ -1,7 +0,0 @@
1
- import { AwsConfig } from "../../server/aws.mjs";
2
- import { AwsSsmNamespace } from "./AwsSsmNamespace.mjs";
3
-
4
- //#region src/aws/ssm/server/awsSsm.d.ts
5
- declare const awsSsmClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsSsmNamespace>;
6
- //#endregion
7
- export { awsSsmClient };
@@ -1,13 +0,0 @@
1
- import { getConfig } from "../../server/aws.mjs";
2
- import "../../server/index.mjs";
3
- import { AwsSsmNamespace } from "./AwsSsmNamespace.mjs";
4
- //#region src/aws/ssm/server/awsSsm.ts
5
- const awsSsmNamespaces = /* @__PURE__ */ new Map();
6
- const awsSsmClient = async (key = "default", config, vaultId, itemId) => {
7
- if (awsSsmNamespaces.has(key)) return awsSsmNamespaces.get(key);
8
- const namespace = new AwsSsmNamespace(key, await getConfig(key, config, vaultId, itemId));
9
- awsSsmNamespaces.set(key, namespace);
10
- return namespace;
11
- };
12
- //#endregion
13
- export { awsSsmClient };
@@ -1,11 +0,0 @@
1
- import { BaseNamespace } from "../../_class/BaseNamespace.cjs";
2
- import { DrizzleConfig } from "./drizzle.cjs";
3
-
4
- //#region src/drizzle/server/DrizzleNamespace.d.ts
5
- declare class DrizzleNamespace<TClient = any> extends BaseNamespace {
6
- client: TClient;
7
- config: DrizzleConfig;
8
- ensureInit: () => Promise<void>;
9
- }
10
- //#endregion
11
- export { DrizzleNamespace };
@@ -1,11 +0,0 @@
1
- import { BaseNamespace } from "../../_class/BaseNamespace.mjs";
2
- import { DrizzleConfig } from "./drizzle.mjs";
3
-
4
- //#region src/drizzle/server/DrizzleNamespace.d.ts
5
- declare class DrizzleNamespace<TClient = any> extends BaseNamespace {
6
- client: TClient;
7
- config: DrizzleConfig;
8
- ensureInit: () => Promise<void>;
9
- }
10
- //#endregion
11
- export { DrizzleNamespace };
@@ -1,22 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_drizzle_server_DrizzleNamespace = require("./DrizzleNamespace.cjs");
3
- //#region src/drizzle/server/drizzle.ts
4
- const drizzleNamespaces = /* @__PURE__ */ new Map();
5
- const drizzleClient = async (key = "default", config) => {
6
- if (drizzleNamespaces.has(key)) return drizzleNamespaces.get(key);
7
- let finalConfig = config ?? {};
8
- if (key === "default") {
9
- finalConfig.url = process.env.DATABASE_URL;
10
- finalConfig.isDebug = "true" === process.env.DATABASE_IS_DEBUG;
11
- finalConfig.isPlanetScale = "true" === process.env.DATABASE_IS_PLANETSCALE;
12
- finalConfig.isMysql = "true" === process.env.DATABASE_IS_MYSQL;
13
- finalConfig.isPostgres = "true" === process.env.DATABASE_IS_POSTGRES;
14
- } else if ("default" !== key && config) finalConfig = config;
15
- else throw new Error(`Config required for namespace '${key}'`);
16
- const namespace = new require_drizzle_server_DrizzleNamespace.DrizzleNamespace(key, finalConfig);
17
- await namespace.ensureInit();
18
- drizzleNamespaces.set(key, namespace);
19
- return namespace;
20
- };
21
- //#endregion
22
- exports.drizzleClient = drizzleClient;
@@ -1,21 +0,0 @@
1
- import { DrizzleNamespace } from "./DrizzleNamespace.mjs";
2
- //#region src/drizzle/server/drizzle.ts
3
- const drizzleNamespaces = /* @__PURE__ */ new Map();
4
- const drizzleClient = async (key = "default", config) => {
5
- if (drizzleNamespaces.has(key)) return drizzleNamespaces.get(key);
6
- let finalConfig = config ?? {};
7
- if (key === "default") {
8
- finalConfig.url = process.env.DATABASE_URL;
9
- finalConfig.isDebug = "true" === process.env.DATABASE_IS_DEBUG;
10
- finalConfig.isPlanetScale = "true" === process.env.DATABASE_IS_PLANETSCALE;
11
- finalConfig.isMysql = "true" === process.env.DATABASE_IS_MYSQL;
12
- finalConfig.isPostgres = "true" === process.env.DATABASE_IS_POSTGRES;
13
- } else if ("default" !== key && config) finalConfig = config;
14
- else throw new Error(`Config required for namespace '${key}'`);
15
- const namespace = new DrizzleNamespace(key, finalConfig);
16
- await namespace.ensureInit();
17
- drizzleNamespaces.set(key, namespace);
18
- return namespace;
19
- };
20
- //#endregion
21
- export { drizzleClient };