@8ms/helpers 2.4.25 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_class/BaseNamespace.cjs +4 -9
- package/dist/_class/BaseNamespace.d.cts +2 -4
- package/dist/_class/BaseNamespace.d.mts +2 -4
- package/dist/_class/BaseNamespace.mjs +4 -9
- package/dist/aws/cloudWatchLog/server/{AwsCloudWatchLogNamespace.cjs → AwsCloudWatchLog.cjs} +9 -10
- package/dist/aws/cloudWatchLog/server/{AwsCloudWatchLogNamespace.d.cts → AwsCloudWatchLog.d.cts} +5 -6
- package/dist/aws/cloudWatchLog/server/{AwsCloudWatchLogNamespace.d.mts → AwsCloudWatchLog.d.mts} +5 -6
- package/dist/aws/cloudWatchLog/server/{AwsCloudWatchLogNamespace.mjs → AwsCloudWatchLog.mjs} +9 -10
- package/dist/aws/cloudWatchLog/server/index.cjs +2 -4
- package/dist/aws/cloudWatchLog/server/index.d.cts +2 -3
- package/dist/aws/cloudWatchLog/server/index.d.mts +2 -3
- package/dist/aws/cloudWatchLog/server/index.mjs +2 -3
- package/dist/aws/cloudWatchMetric/server/{AwsCloudWatchMetricNamespace.cjs → AwsCloudWatchMetric.cjs} +11 -10
- package/dist/aws/cloudWatchMetric/server/{AwsCloudWatchMetricNamespace.d.cts → AwsCloudWatchMetric.d.cts} +5 -6
- package/dist/aws/cloudWatchMetric/server/{AwsCloudWatchMetricNamespace.d.mts → AwsCloudWatchMetric.d.mts} +5 -6
- package/dist/aws/cloudWatchMetric/server/{AwsCloudWatchMetricNamespace.mjs → AwsCloudWatchMetric.mjs} +10 -8
- package/dist/aws/cloudWatchMetric/server/index.cjs +2 -4
- package/dist/aws/cloudWatchMetric/server/index.d.cts +2 -3
- package/dist/aws/cloudWatchMetric/server/index.d.mts +2 -3
- package/dist/aws/cloudWatchMetric/server/index.mjs +2 -3
- package/dist/aws/ec2/server/{AwsEc2Namespace.cjs → AwsEc2.cjs} +9 -7
- package/dist/aws/ec2/server/{AwsEc2Namespace.d.cts → AwsEc2.d.cts} +5 -6
- package/dist/aws/ec2/server/{AwsEc2Namespace.d.mts → AwsEc2.d.mts} +5 -6
- package/dist/aws/ec2/server/{AwsEc2Namespace.mjs → AwsEc2.mjs} +9 -7
- package/dist/aws/ec2/server/index.cjs +2 -4
- package/dist/aws/ec2/server/index.d.cts +2 -3
- package/dist/aws/ec2/server/index.d.mts +2 -3
- package/dist/aws/ec2/server/index.mjs +2 -3
- package/dist/aws/ecs/server/{AwsEcsNamespace.cjs → AwsEcs.cjs} +9 -9
- package/dist/aws/ecs/server/{AwsEcsNamespace.d.cts → AwsEcs.d.cts} +5 -6
- package/dist/aws/ecs/server/{AwsEcsNamespace.d.mts → AwsEcs.d.mts} +5 -6
- package/dist/aws/ecs/server/{AwsEcsNamespace.mjs → AwsEcs.mjs} +9 -9
- package/dist/aws/ecs/server/index.cjs +2 -4
- package/dist/aws/ecs/server/index.d.cts +2 -3
- package/dist/aws/ecs/server/index.d.mts +2 -3
- package/dist/aws/ecs/server/index.mjs +2 -3
- package/dist/aws/glue/server/{AwsGlueNamespace.cjs → AwsGlue.cjs} +9 -6
- package/dist/aws/glue/server/{AwsGlueNamespace.d.cts → AwsGlue.d.cts} +5 -6
- package/dist/aws/glue/server/{AwsGlueNamespace.d.mts → AwsGlue.d.mts} +5 -6
- package/dist/aws/glue/server/{AwsGlueNamespace.mjs → AwsGlue.mjs} +9 -6
- package/dist/aws/glue/server/index.cjs +2 -4
- package/dist/aws/glue/server/index.d.cts +2 -3
- package/dist/aws/glue/server/index.d.mts +2 -3
- package/dist/aws/glue/server/index.mjs +2 -3
- package/dist/aws/lambda/server/{AwsLambdaNamespace.cjs → AwsLambda.cjs} +9 -6
- package/dist/aws/lambda/server/{AwsLambdaNamespace.d.cts → AwsLambda.d.cts} +5 -6
- package/dist/aws/lambda/server/{AwsLambdaNamespace.d.mts → AwsLambda.d.mts} +5 -6
- package/dist/aws/lambda/server/{AwsLambdaNamespace.mjs → AwsLambda.mjs} +9 -6
- package/dist/aws/lambda/server/getHandlerPath.cjs +7 -0
- package/dist/aws/lambda/server/getHandlerPath.d.cts +4 -0
- package/dist/aws/lambda/server/getHandlerPath.d.mts +4 -0
- package/dist/aws/lambda/server/getHandlerPath.mjs +6 -0
- package/dist/aws/lambda/server/index.cjs +4 -5
- package/dist/aws/lambda/server/index.d.cts +3 -3
- package/dist/aws/lambda/server/index.d.mts +3 -3
- package/dist/aws/lambda/server/index.mjs +3 -3
- package/dist/aws/s3/server/{AwsS3Namespace.cjs → AwsS3.cjs} +12 -31
- package/dist/aws/s3/server/{AwsS3Namespace.d.cts → AwsS3.d.cts} +6 -7
- package/dist/aws/s3/server/{AwsS3Namespace.d.mts → AwsS3.d.mts} +6 -7
- package/dist/aws/s3/server/{AwsS3Namespace.mjs → AwsS3.mjs} +10 -29
- package/dist/aws/s3/server/awsS3File.cjs +12 -0
- package/dist/aws/s3/server/awsS3File.d.cts +12 -0
- package/dist/aws/s3/server/awsS3File.d.mts +12 -0
- package/dist/aws/s3/server/awsS3File.mjs +11 -0
- package/dist/aws/s3/server/index.cjs +4 -5
- package/dist/aws/s3/server/index.d.cts +3 -3
- package/dist/aws/s3/server/index.d.mts +3 -3
- package/dist/aws/s3/server/index.mjs +3 -3
- package/dist/aws/server/getAwsConfig.cjs +15 -0
- package/dist/aws/server/getAwsConfig.d.cts +18 -0
- package/dist/aws/server/getAwsConfig.d.mts +18 -0
- package/dist/aws/server/getAwsConfig.mjs +14 -0
- package/dist/aws/server/index.cjs +2 -2
- package/dist/aws/server/index.d.cts +2 -2
- package/dist/aws/server/index.d.mts +2 -2
- package/dist/aws/server/index.mjs +2 -2
- package/dist/aws/ses/server/{AwsSesNamespace.cjs → AwsSes.cjs} +9 -6
- package/dist/aws/ses/server/{AwsSesNamespace.d.cts → AwsSes.d.cts} +5 -6
- package/dist/aws/ses/server/{AwsSesNamespace.d.mts → AwsSes.d.mts} +5 -6
- package/dist/aws/ses/server/{AwsSesNamespace.mjs → AwsSes.mjs} +9 -6
- package/dist/aws/ses/server/index.cjs +2 -4
- package/dist/aws/ses/server/index.d.cts +2 -3
- package/dist/aws/ses/server/index.d.mts +2 -3
- package/dist/aws/ses/server/index.mjs +2 -3
- package/dist/aws/sqs/server/{AwsSqsNamespace.cjs → AwsSqs.cjs} +9 -8
- package/dist/aws/sqs/server/{AwsSqsNamespace.d.cts → AwsSqs.d.cts} +5 -6
- package/dist/aws/sqs/server/{AwsSqsNamespace.d.mts → AwsSqs.d.mts} +5 -6
- package/dist/aws/sqs/server/{AwsSqsNamespace.mjs → AwsSqs.mjs} +9 -8
- package/dist/aws/sqs/server/index.cjs +2 -4
- package/dist/aws/sqs/server/index.d.cts +2 -3
- package/dist/aws/sqs/server/index.d.mts +2 -3
- package/dist/aws/sqs/server/index.mjs +2 -3
- package/dist/aws/ssm/server/{AwsSsmNamespace.cjs → AwsSsm.cjs} +14 -14
- package/dist/aws/ssm/server/AwsSsm.d.cts +13 -0
- package/dist/aws/ssm/server/AwsSsm.d.mts +13 -0
- package/dist/aws/ssm/server/AwsSsm.mjs +34 -0
- package/dist/aws/ssm/server/index.cjs +2 -4
- package/dist/aws/ssm/server/index.d.cts +2 -3
- package/dist/aws/ssm/server/index.d.mts +2 -3
- package/dist/aws/ssm/server/index.mjs +2 -3
- package/dist/drizzle/server/{DrizzleNamespace.cjs → Drizzle.cjs} +5 -5
- package/dist/drizzle/server/{drizzle.d.cts → Drizzle.d.cts} +8 -4
- package/dist/drizzle/server/{drizzle.d.mts → Drizzle.d.mts} +8 -4
- package/dist/drizzle/server/{DrizzleNamespace.mjs → Drizzle.mjs} +5 -5
- package/dist/drizzle/server/index.cjs +2 -4
- package/dist/drizzle/server/index.d.cts +2 -3
- package/dist/drizzle/server/index.d.mts +2 -3
- package/dist/drizzle/server/index.mjs +2 -3
- package/dist/environment/environment.cjs +2 -2
- package/dist/environment/environment.mjs +2 -2
- package/dist/googleAds/server/{GoogleAdsNamespace.cjs → GoogleAds.cjs} +9 -10
- package/dist/googleAds/server/{GoogleAdsNamespace.d.cts → GoogleAds.d.cts} +9 -5
- package/dist/googleAds/server/{GoogleAdsNamespace.d.mts → GoogleAds.d.mts} +9 -5
- package/dist/googleAds/server/GoogleAds.mjs +28 -0
- package/dist/googleAds/server/index.cjs +2 -4
- package/dist/googleAds/server/index.d.cts +2 -3
- package/dist/googleAds/server/index.d.mts +2 -3
- package/dist/googleAds/server/index.mjs +2 -3
- package/dist/googleCloud/bigquery/server/{GoogleCloudBigqueryNamespace.cjs → GoogleCloudBigquery.cjs} +27 -33
- package/dist/googleCloud/bigquery/server/{GoogleCloudBigqueryNamespace.d.cts → GoogleCloudBigquery.d.cts} +14 -16
- package/dist/googleCloud/bigquery/server/{GoogleCloudBigqueryNamespace.d.mts → GoogleCloudBigquery.d.mts} +14 -16
- package/dist/googleCloud/bigquery/server/{GoogleCloudBigqueryNamespace.mjs → GoogleCloudBigquery.mjs} +27 -33
- package/dist/googleCloud/bigquery/server/getHandlerPath.cjs +7 -0
- package/dist/googleCloud/bigquery/server/getHandlerPath.d.cts +4 -0
- package/dist/googleCloud/bigquery/server/getHandlerPath.d.mts +4 -0
- package/dist/googleCloud/bigquery/server/getHandlerPath.mjs +6 -0
- package/dist/googleCloud/bigquery/server/index.cjs +4 -5
- package/dist/googleCloud/bigquery/server/index.d.cts +3 -3
- package/dist/googleCloud/bigquery/server/index.d.mts +3 -3
- package/dist/googleCloud/bigquery/server/index.mjs +3 -3
- package/dist/googleCloud/bigquery/server/loadData.d.cts +2 -2
- package/dist/googleCloud/bigquery/server/loadData.d.mts +2 -2
- package/dist/googleCloud/server/getGoogleCloudConfig.cjs +81 -0
- package/dist/googleCloud/server/getGoogleCloudConfig.d.cts +77 -0
- package/dist/googleCloud/server/getGoogleCloudConfig.d.mts +77 -0
- package/dist/googleCloud/server/getGoogleCloudConfig.mjs +78 -0
- package/dist/googleCloud/server/index.cjs +4 -2
- package/dist/googleCloud/server/index.d.cts +2 -2
- package/dist/googleCloud/server/index.d.mts +2 -2
- package/dist/googleCloud/server/index.mjs +2 -2
- package/dist/googleCloud/sheets/server/{GoogleCloudSheetsNamespace.cjs → GoogleCloudSheets.cjs} +10 -8
- package/dist/googleCloud/sheets/server/{GoogleCloudSheetsNamespace.d.cts → GoogleCloudSheets.d.cts} +8 -8
- package/dist/googleCloud/sheets/server/{GoogleCloudSheetsNamespace.d.mts → GoogleCloudSheets.d.mts} +8 -8
- package/dist/googleCloud/sheets/server/{GoogleCloudSheetsNamespace.mjs → GoogleCloudSheets.mjs} +10 -8
- package/dist/googleCloud/sheets/server/index.cjs +2 -2
- package/dist/googleCloud/sheets/server/index.d.cts +2 -2
- package/dist/googleCloud/sheets/server/index.d.mts +2 -2
- package/dist/googleCloud/sheets/server/index.mjs +2 -2
- package/dist/googleCloud/storage/server/{GoogleCloudStorageNamespace.cjs → GoogleCloudStorage.cjs} +15 -10
- package/dist/googleCloud/storage/server/{GoogleCloudStorageNamespace.d.cts → GoogleCloudStorage.d.cts} +10 -8
- package/dist/googleCloud/storage/server/{GoogleCloudStorageNamespace.d.mts → GoogleCloudStorage.d.mts} +10 -8
- package/dist/googleCloud/storage/server/{GoogleCloudStorageNamespace.mjs → GoogleCloudStorage.mjs} +15 -10
- package/dist/googleCloud/storage/server/index.cjs +2 -4
- package/dist/googleCloud/storage/server/index.d.cts +2 -3
- package/dist/googleCloud/storage/server/index.d.mts +2 -3
- package/dist/googleCloud/storage/server/index.mjs +2 -3
- package/dist/googlePageSpeed/server/{GooglePageSpeedNamespace.cjs → GooglePageSpeed.cjs} +8 -7
- package/dist/googlePageSpeed/server/GooglePageSpeed.d.cts +19 -0
- package/dist/googlePageSpeed/server/GooglePageSpeed.d.mts +19 -0
- package/dist/googlePageSpeed/server/{GooglePageSpeedNamespace.mjs → GooglePageSpeed.mjs} +7 -6
- package/dist/googlePageSpeed/server/category.cjs +11 -0
- package/dist/googlePageSpeed/server/category.d.cts +11 -0
- package/dist/googlePageSpeed/server/category.d.mts +11 -0
- package/dist/googlePageSpeed/server/category.mjs +10 -0
- package/dist/googlePageSpeed/server/index.cjs +6 -6
- package/dist/googlePageSpeed/server/index.d.cts +4 -3
- package/dist/googlePageSpeed/server/index.d.mts +4 -3
- package/dist/googlePageSpeed/server/index.mjs +4 -3
- package/dist/googlePageSpeed/server/strategy.cjs +9 -0
- package/dist/googlePageSpeed/server/strategy.d.cts +9 -0
- package/dist/googlePageSpeed/server/strategy.d.mts +9 -0
- package/dist/googlePageSpeed/server/strategy.mjs +8 -0
- package/dist/inngest/index.cjs +2 -2
- package/dist/inngest/index.d.cts +1 -1
- package/dist/inngest/index.d.mts +1 -1
- package/dist/inngest/index.mjs +1 -1
- package/dist/inngest/{inngest.cjs → inngestState.cjs} +1 -1
- package/dist/inngest/{inngest.d.mts → inngestState.d.cts} +1 -1
- package/dist/inngest/{inngest.d.cts → inngestState.d.mts} +1 -1
- package/dist/inngest/{inngest.mjs → inngestState.mjs} +1 -1
- package/dist/littleWarden/server/{LittleWardenNamespace.cjs → LittleWarden.cjs} +5 -4
- package/dist/littleWarden/server/{LittleWardenNamespace.d.cts → LittleWarden.d.cts} +7 -5
- package/dist/littleWarden/server/{LittleWardenNamespace.d.mts → LittleWarden.d.mts} +7 -5
- package/dist/littleWarden/server/{LittleWardenNamespace.mjs → LittleWarden.mjs} +5 -4
- package/dist/littleWarden/server/index.cjs +7 -8
- package/dist/littleWarden/server/index.d.cts +3 -3
- package/dist/littleWarden/server/index.d.mts +3 -3
- package/dist/littleWarden/server/index.mjs +3 -3
- package/dist/littleWarden/server/littleWardenAttrs.cjs +38 -0
- package/dist/littleWarden/server/{littleWarden.d.cts → littleWardenAttrs.d.cts} +2 -7
- package/dist/littleWarden/server/{littleWarden.d.mts → littleWardenAttrs.d.mts} +2 -7
- package/dist/littleWarden/server/littleWardenAttrs.mjs +33 -0
- package/dist/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.cts +7 -0
- package/dist/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.mts +7 -0
- package/dist/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.cts +35 -0
- package/dist/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.mts +35 -0
- package/dist/node_modules/@smithy/types/dist-types/identity/identity.d.cts +18 -0
- package/dist/node_modules/@smithy/types/dist-types/identity/identity.d.mts +18 -0
- package/dist/node_modules/@smithy/types/dist-types/index.d.cts +2 -0
- package/dist/node_modules/@smithy/types/dist-types/index.d.mts +2 -0
- package/dist/onePassword/server/OnePassword.cjs +44 -0
- package/dist/onePassword/server/OnePassword.d.cts +21 -0
- package/dist/onePassword/server/OnePassword.d.mts +21 -0
- package/dist/onePassword/server/{OnePasswordNamespace.mjs → OnePassword.mjs} +19 -13
- package/dist/onePassword/server/getIdsFromUrl.cjs +2 -2
- package/dist/onePassword/server/getIdsFromUrl.d.cts +2 -2
- package/dist/onePassword/server/getIdsFromUrl.d.mts +2 -2
- package/dist/onePassword/server/getIdsFromUrl.mjs +2 -2
- package/dist/onePassword/server/index.cjs +2 -4
- package/dist/onePassword/server/index.d.cts +2 -3
- package/dist/onePassword/server/index.d.mts +2 -3
- package/dist/onePassword/server/index.mjs +2 -3
- package/dist/openAi/server/{OpenAiNamespace.cjs → OpenAi.cjs} +10 -7
- package/dist/openAi/server/{OpenAiNamespace.d.cts → OpenAi.d.cts} +7 -5
- package/dist/openAi/server/{OpenAiNamespace.d.mts → OpenAi.d.mts} +7 -5
- package/dist/openAi/server/{OpenAiNamespace.mjs → OpenAi.mjs} +10 -7
- package/dist/openAi/server/index.cjs +2 -4
- package/dist/openAi/server/index.d.cts +2 -3
- package/dist/openAi/server/index.d.mts +2 -3
- package/dist/openAi/server/index.mjs +2 -3
- package/dist/snapchat/server/{SnapchatNamespace.cjs → Snapchat.cjs} +5 -4
- package/dist/snapchat/server/Snapchat.d.cts +22 -0
- package/dist/snapchat/server/Snapchat.d.mts +22 -0
- package/dist/snapchat/server/{SnapchatNamespace.mjs → Snapchat.mjs} +5 -4
- package/dist/snapchat/server/index.cjs +2 -4
- package/dist/snapchat/server/index.d.cts +2 -3
- package/dist/snapchat/server/index.d.mts +2 -3
- package/dist/snapchat/server/index.mjs +2 -3
- package/dist/swr/client/swr.cjs +1 -1
- package/dist/swr/client/swr.mjs +1 -1
- package/dist/upTimeRobot/server/UpTimeRobot.cjs +34 -0
- package/dist/upTimeRobot/server/{UpTimeRobotNamespace.d.cts → UpTimeRobot.d.cts} +7 -5
- package/dist/upTimeRobot/server/{UpTimeRobotNamespace.d.mts → UpTimeRobot.d.mts} +7 -5
- package/dist/upTimeRobot/server/UpTimeRobot.mjs +33 -0
- package/dist/upTimeRobot/server/index.cjs +12 -9
- package/dist/upTimeRobot/server/index.d.cts +7 -3
- package/dist/upTimeRobot/server/index.d.mts +7 -3
- package/dist/upTimeRobot/server/index.mjs +7 -3
- package/dist/upTimeRobot/server/logType.cjs +10 -0
- package/dist/upTimeRobot/server/logType.d.cts +10 -0
- package/dist/upTimeRobot/server/logType.d.mts +10 -0
- package/dist/upTimeRobot/server/logType.mjs +9 -0
- package/dist/upTimeRobot/server/monitorStatus.cjs +11 -0
- package/dist/upTimeRobot/server/monitorStatus.d.cts +11 -0
- package/dist/upTimeRobot/server/monitorStatus.d.mts +11 -0
- package/dist/upTimeRobot/server/monitorStatus.mjs +10 -0
- package/dist/upTimeRobot/server/monitorSubTypes.cjs +13 -0
- package/dist/upTimeRobot/server/monitorSubTypes.d.cts +13 -0
- package/dist/upTimeRobot/server/monitorSubTypes.d.mts +13 -0
- package/dist/upTimeRobot/server/monitorSubTypes.mjs +12 -0
- package/dist/upTimeRobot/server/monitorType.cjs +11 -0
- package/dist/upTimeRobot/server/monitorType.d.cts +11 -0
- package/dist/upTimeRobot/server/monitorType.d.mts +11 -0
- package/dist/upTimeRobot/server/monitorType.mjs +10 -0
- package/dist/upTimeRobot/server/requestStatus.cjs +8 -0
- package/dist/upTimeRobot/server/requestStatus.d.cts +8 -0
- package/dist/upTimeRobot/server/requestStatus.d.mts +8 -0
- package/dist/upTimeRobot/server/requestStatus.mjs +7 -0
- package/dist/url/url.cjs +1 -1
- package/dist/url/url.mjs +1 -1
- package/dist/util/defaultTo.cjs +1 -1
- package/dist/util/defaultTo.mjs +1 -1
- package/dist/webWorker/index.cjs +2 -2
- package/dist/webWorker/index.d.cts +1 -1
- package/dist/webWorker/index.d.mts +1 -1
- package/dist/webWorker/index.mjs +1 -1
- package/dist/webWorker/{webWorker.cjs → webWorkerState.cjs} +1 -1
- package/dist/webWorker/{webWorker.d.cts → webWorkerState.d.cts} +1 -1
- package/dist/webWorker/{webWorker.d.mts → webWorkerState.d.mts} +1 -1
- package/dist/webWorker/{webWorker.mjs → webWorkerState.mjs} +1 -1
- package/package.json +136 -150
- package/dist/aws/cloudWatchLog/server/awsCloudWatchLog.cjs +0 -14
- package/dist/aws/cloudWatchLog/server/awsCloudWatchLog.d.cts +0 -7
- package/dist/aws/cloudWatchLog/server/awsCloudWatchLog.d.mts +0 -7
- package/dist/aws/cloudWatchLog/server/awsCloudWatchLog.mjs +0 -13
- package/dist/aws/cloudWatchMetric/server/awsCloudWatchMetric.cjs +0 -14
- package/dist/aws/cloudWatchMetric/server/awsCloudWatchMetric.d.cts +0 -7
- package/dist/aws/cloudWatchMetric/server/awsCloudWatchMetric.d.mts +0 -7
- package/dist/aws/cloudWatchMetric/server/awsCloudWatchMetric.mjs +0 -13
- package/dist/aws/ec2/server/awsEc2.cjs +0 -14
- package/dist/aws/ec2/server/awsEc2.d.cts +0 -7
- package/dist/aws/ec2/server/awsEc2.d.mts +0 -7
- package/dist/aws/ec2/server/awsEc2.mjs +0 -13
- package/dist/aws/ecs/server/awsEcs.cjs +0 -14
- package/dist/aws/ecs/server/awsEcs.d.cts +0 -7
- package/dist/aws/ecs/server/awsEcs.d.mts +0 -7
- package/dist/aws/ecs/server/awsEcs.mjs +0 -13
- package/dist/aws/glue/server/awsGlue.cjs +0 -14
- package/dist/aws/glue/server/awsGlue.d.cts +0 -7
- package/dist/aws/glue/server/awsGlue.d.mts +0 -7
- package/dist/aws/glue/server/awsGlue.mjs +0 -13
- package/dist/aws/lambda/server/awsLambda.cjs +0 -18
- package/dist/aws/lambda/server/awsLambda.d.cts +0 -8
- package/dist/aws/lambda/server/awsLambda.d.mts +0 -8
- package/dist/aws/lambda/server/awsLambda.mjs +0 -16
- package/dist/aws/s3/server/awsS3.cjs +0 -23
- package/dist/aws/s3/server/awsS3.d.cts +0 -16
- package/dist/aws/s3/server/awsS3.d.mts +0 -16
- package/dist/aws/s3/server/awsS3.mjs +0 -21
- package/dist/aws/server/aws.cjs +0 -23
- package/dist/aws/server/aws.d.cts +0 -13
- package/dist/aws/server/aws.d.mts +0 -13
- package/dist/aws/server/aws.mjs +0 -21
- package/dist/aws/ses/server/awsSes.cjs +0 -16
- package/dist/aws/ses/server/awsSes.d.cts +0 -8
- package/dist/aws/ses/server/awsSes.d.mts +0 -8
- package/dist/aws/ses/server/awsSes.mjs +0 -14
- package/dist/aws/sqs/server/awsSqs.cjs +0 -14
- package/dist/aws/sqs/server/awsSqs.d.cts +0 -7
- package/dist/aws/sqs/server/awsSqs.d.mts +0 -7
- package/dist/aws/sqs/server/awsSqs.mjs +0 -13
- package/dist/aws/ssm/server/AwsSsmNamespace.d.cts +0 -15
- package/dist/aws/ssm/server/AwsSsmNamespace.d.mts +0 -15
- package/dist/aws/ssm/server/AwsSsmNamespace.mjs +0 -34
- package/dist/aws/ssm/server/awsSsm.cjs +0 -14
- package/dist/aws/ssm/server/awsSsm.d.cts +0 -7
- package/dist/aws/ssm/server/awsSsm.d.mts +0 -7
- package/dist/aws/ssm/server/awsSsm.mjs +0 -13
- package/dist/drizzle/server/DrizzleNamespace.d.cts +0 -11
- package/dist/drizzle/server/DrizzleNamespace.d.mts +0 -11
- package/dist/drizzle/server/drizzle.cjs +0 -22
- package/dist/drizzle/server/drizzle.mjs +0 -21
- package/dist/googleAds/server/GoogleAdsNamespace.mjs +0 -29
- package/dist/googleAds/server/googleAds.cjs +0 -19
- package/dist/googleAds/server/googleAds.d.cts +0 -15
- package/dist/googleAds/server/googleAds.d.mts +0 -15
- package/dist/googleAds/server/googleAds.mjs +0 -18
- package/dist/googleCloud/bigquery/server/googleCloudBigquery.cjs +0 -32
- package/dist/googleCloud/bigquery/server/googleCloudBigquery.d.cts +0 -8
- package/dist/googleCloud/bigquery/server/googleCloudBigquery.d.mts +0 -8
- package/dist/googleCloud/bigquery/server/googleCloudBigquery.mjs +0 -30
- package/dist/googleCloud/server/googleCloud.cjs +0 -24
- package/dist/googleCloud/server/googleCloud.d.cts +0 -32
- package/dist/googleCloud/server/googleCloud.d.mts +0 -32
- package/dist/googleCloud/server/googleCloud.mjs +0 -23
- package/dist/googleCloud/storage/server/googleCloudStorage.cjs +0 -28
- package/dist/googleCloud/storage/server/googleCloudStorage.d.cts +0 -7
- package/dist/googleCloud/storage/server/googleCloudStorage.d.mts +0 -7
- package/dist/googleCloud/storage/server/googleCloudStorage.mjs +0 -27
- package/dist/googlePageSpeed/server/GooglePageSpeedNamespace.d.cts +0 -15
- package/dist/googlePageSpeed/server/GooglePageSpeedNamespace.d.mts +0 -15
- package/dist/googlePageSpeed/server/googlePageSpeed.cjs +0 -33
- package/dist/googlePageSpeed/server/googlePageSpeed.d.cts +0 -23
- package/dist/googlePageSpeed/server/googlePageSpeed.d.mts +0 -23
- package/dist/googlePageSpeed/server/googlePageSpeed.mjs +0 -30
- package/dist/littleWarden/server/littleWarden.cjs +0 -54
- package/dist/littleWarden/server/littleWarden.mjs +0 -48
- package/dist/onePassword/server/OnePasswordNamespace.cjs +0 -38
- package/dist/onePassword/server/OnePasswordNamespace.d.cts +0 -17
- package/dist/onePassword/server/OnePasswordNamespace.d.mts +0 -17
- package/dist/onePassword/server/onePassword.cjs +0 -14
- package/dist/onePassword/server/onePassword.d.cts +0 -11
- package/dist/onePassword/server/onePassword.d.mts +0 -11
- package/dist/onePassword/server/onePassword.mjs +0 -13
- package/dist/openAi/server/openAi.cjs +0 -19
- package/dist/openAi/server/openAi.d.cts +0 -9
- package/dist/openAi/server/openAi.d.mts +0 -9
- package/dist/openAi/server/openAi.mjs +0 -18
- package/dist/snapchat/server/SnapchatNamespace.d.cts +0 -18
- package/dist/snapchat/server/SnapchatNamespace.d.mts +0 -18
- package/dist/snapchat/server/snapchat.cjs +0 -19
- package/dist/snapchat/server/snapchat.d.cts +0 -11
- package/dist/snapchat/server/snapchat.d.mts +0 -11
- package/dist/snapchat/server/snapchat.mjs +0 -18
- package/dist/upTimeRobot/server/UpTimeRobotNamespace.cjs +0 -31
- package/dist/upTimeRobot/server/UpTimeRobotNamespace.mjs +0 -30
- package/dist/upTimeRobot/server/upTimeRobot.cjs +0 -57
- package/dist/upTimeRobot/server/upTimeRobot.d.cts +0 -42
- package/dist/upTimeRobot/server/upTimeRobot.d.mts +0 -42
- package/dist/upTimeRobot/server/upTimeRobot.mjs +0 -51
|
@@ -2,12 +2,16 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require__class_BaseNamespace = require("../../../_class/BaseNamespace.cjs");
|
|
3
3
|
const require_aws_server_isResponse200 = require("../../server/isResponse200.cjs");
|
|
4
4
|
require("../../server/index.cjs");
|
|
5
|
-
//#region src/aws/ecs/server/
|
|
6
|
-
var
|
|
7
|
-
|
|
5
|
+
//#region src/aws/ecs/server/AwsEcs.ts
|
|
6
|
+
var AwsEcs = class extends require__class_BaseNamespace.BaseNamespace {
|
|
7
|
+
init = async (config, region) => {
|
|
8
8
|
if (!this.client) try {
|
|
9
9
|
const { ECSClient } = await import("@aws-sdk/client-ecs");
|
|
10
|
-
this.client = new ECSClient(
|
|
10
|
+
this.client = new ECSClient({
|
|
11
|
+
...config,
|
|
12
|
+
region: region ?? "eu-west-2"
|
|
13
|
+
});
|
|
14
|
+
this.config = config;
|
|
11
15
|
} catch (e) {
|
|
12
16
|
throw new Error("AWS ECS Client not installed");
|
|
13
17
|
}
|
|
@@ -17,7 +21,6 @@ var AwsEcsNamespace = class extends require__class_BaseNamespace.BaseNamespace {
|
|
|
17
21
|
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/ListClustersCommandInput/
|
|
18
22
|
*/
|
|
19
23
|
getClusters = async (maxResults) => {
|
|
20
|
-
await this.ensureInit();
|
|
21
24
|
const { ListClustersCommand } = await import("@aws-sdk/client-ecs");
|
|
22
25
|
let response = [];
|
|
23
26
|
let apiResponse = null;
|
|
@@ -36,7 +39,6 @@ var AwsEcsNamespace = class extends require__class_BaseNamespace.BaseNamespace {
|
|
|
36
39
|
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/ListTaskDefinitionsCommandInput/
|
|
37
40
|
*/
|
|
38
41
|
getTaskDefinitions = async (props) => {
|
|
39
|
-
await this.ensureInit();
|
|
40
42
|
const { ListTaskDefinitionsCommand } = await import("@aws-sdk/client-ecs");
|
|
41
43
|
let response = [];
|
|
42
44
|
let apiResponse = null;
|
|
@@ -58,7 +60,6 @@ var AwsEcsNamespace = class extends require__class_BaseNamespace.BaseNamespace {
|
|
|
58
60
|
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/ListTasksCommandInput/
|
|
59
61
|
*/
|
|
60
62
|
getTasks = async (props) => {
|
|
61
|
-
await this.ensureInit();
|
|
62
63
|
const { ListTasksCommand } = await import("@aws-sdk/client-ecs");
|
|
63
64
|
let response = [];
|
|
64
65
|
let apiResponse = null;
|
|
@@ -84,7 +85,6 @@ var AwsEcsNamespace = class extends require__class_BaseNamespace.BaseNamespace {
|
|
|
84
85
|
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/RunTaskCommandInput/
|
|
85
86
|
*/
|
|
86
87
|
runTask = async (props) => {
|
|
87
|
-
await this.ensureInit();
|
|
88
88
|
const { RunTaskCommand } = await import("@aws-sdk/client-ecs");
|
|
89
89
|
let response = false;
|
|
90
90
|
const runtTaskCommand = new RunTaskCommand({
|
|
@@ -100,4 +100,4 @@ var AwsEcsNamespace = class extends require__class_BaseNamespace.BaseNamespace {
|
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
102
|
//#endregion
|
|
103
|
-
exports.
|
|
103
|
+
exports.AwsEcs = AwsEcs;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
|
|
2
|
-
import { AwsConfig } from "../../server/aws.cjs";
|
|
3
2
|
import { DesiredStatus, ECSClient, LaunchType, NetworkConfiguration, SortOrder, TaskDefinitionStatus, TaskOverride } from "@aws-sdk/client-ecs";
|
|
4
3
|
|
|
5
|
-
//#region src/aws/ecs/server/
|
|
4
|
+
//#region src/aws/ecs/server/AwsEcs.d.ts
|
|
6
5
|
type GetTaskDefinitionsProps = {
|
|
7
6
|
familyPrefix?: string;
|
|
8
7
|
maxResults?: number;
|
|
@@ -26,10 +25,10 @@ type RunTaskProps = {
|
|
|
26
25
|
overrides?: TaskOverride;
|
|
27
26
|
taskDefinition?: string;
|
|
28
27
|
};
|
|
29
|
-
declare class
|
|
28
|
+
declare class AwsEcs extends BaseNamespace {
|
|
30
29
|
client: ECSClient;
|
|
31
|
-
config:
|
|
32
|
-
|
|
30
|
+
config: any;
|
|
31
|
+
init: (config: any, region?: string) => Promise<void>;
|
|
33
32
|
/**
|
|
34
33
|
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecs/command/ListClustersCommand/
|
|
35
34
|
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/ListClustersCommandInput/
|
|
@@ -53,4 +52,4 @@ declare class AwsEcsNamespace extends BaseNamespace {
|
|
|
53
52
|
runTask: (props: RunTaskProps) => Promise<any>;
|
|
54
53
|
}
|
|
55
54
|
//#endregion
|
|
56
|
-
export {
|
|
55
|
+
export { AwsEcs };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
|
|
2
|
-
import { AwsConfig } from "../../server/aws.mjs";
|
|
3
2
|
import { DesiredStatus, ECSClient, LaunchType, NetworkConfiguration, SortOrder, TaskDefinitionStatus, TaskOverride } from "@aws-sdk/client-ecs";
|
|
4
3
|
|
|
5
|
-
//#region src/aws/ecs/server/
|
|
4
|
+
//#region src/aws/ecs/server/AwsEcs.d.ts
|
|
6
5
|
type GetTaskDefinitionsProps = {
|
|
7
6
|
familyPrefix?: string;
|
|
8
7
|
maxResults?: number;
|
|
@@ -26,10 +25,10 @@ type RunTaskProps = {
|
|
|
26
25
|
overrides?: TaskOverride;
|
|
27
26
|
taskDefinition?: string;
|
|
28
27
|
};
|
|
29
|
-
declare class
|
|
28
|
+
declare class AwsEcs extends BaseNamespace {
|
|
30
29
|
client: ECSClient;
|
|
31
|
-
config:
|
|
32
|
-
|
|
30
|
+
config: any;
|
|
31
|
+
init: (config: any, region?: string) => Promise<void>;
|
|
33
32
|
/**
|
|
34
33
|
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecs/command/ListClustersCommand/
|
|
35
34
|
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/ListClustersCommandInput/
|
|
@@ -53,4 +52,4 @@ declare class AwsEcsNamespace extends BaseNamespace {
|
|
|
53
52
|
runTask: (props: RunTaskProps) => Promise<any>;
|
|
54
53
|
}
|
|
55
54
|
//#endregion
|
|
56
|
-
export {
|
|
55
|
+
export { AwsEcs };
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
|
|
2
2
|
import { isResponse200 } from "../../server/isResponse200.mjs";
|
|
3
3
|
import "../../server/index.mjs";
|
|
4
|
-
//#region src/aws/ecs/server/
|
|
5
|
-
var
|
|
6
|
-
|
|
4
|
+
//#region src/aws/ecs/server/AwsEcs.ts
|
|
5
|
+
var AwsEcs = class extends BaseNamespace {
|
|
6
|
+
init = async (config, region) => {
|
|
7
7
|
if (!this.client) try {
|
|
8
8
|
const { ECSClient } = await import("@aws-sdk/client-ecs");
|
|
9
|
-
this.client = new ECSClient(
|
|
9
|
+
this.client = new ECSClient({
|
|
10
|
+
...config,
|
|
11
|
+
region: region ?? "eu-west-2"
|
|
12
|
+
});
|
|
13
|
+
this.config = config;
|
|
10
14
|
} catch (e) {
|
|
11
15
|
throw new Error("AWS ECS Client not installed");
|
|
12
16
|
}
|
|
@@ -16,7 +20,6 @@ var AwsEcsNamespace = class extends BaseNamespace {
|
|
|
16
20
|
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/ListClustersCommandInput/
|
|
17
21
|
*/
|
|
18
22
|
getClusters = async (maxResults) => {
|
|
19
|
-
await this.ensureInit();
|
|
20
23
|
const { ListClustersCommand } = await import("@aws-sdk/client-ecs");
|
|
21
24
|
let response = [];
|
|
22
25
|
let apiResponse = null;
|
|
@@ -35,7 +38,6 @@ var AwsEcsNamespace = class extends BaseNamespace {
|
|
|
35
38
|
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/ListTaskDefinitionsCommandInput/
|
|
36
39
|
*/
|
|
37
40
|
getTaskDefinitions = async (props) => {
|
|
38
|
-
await this.ensureInit();
|
|
39
41
|
const { ListTaskDefinitionsCommand } = await import("@aws-sdk/client-ecs");
|
|
40
42
|
let response = [];
|
|
41
43
|
let apiResponse = null;
|
|
@@ -57,7 +59,6 @@ var AwsEcsNamespace = class extends BaseNamespace {
|
|
|
57
59
|
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/ListTasksCommandInput/
|
|
58
60
|
*/
|
|
59
61
|
getTasks = async (props) => {
|
|
60
|
-
await this.ensureInit();
|
|
61
62
|
const { ListTasksCommand } = await import("@aws-sdk/client-ecs");
|
|
62
63
|
let response = [];
|
|
63
64
|
let apiResponse = null;
|
|
@@ -83,7 +84,6 @@ var AwsEcsNamespace = class extends BaseNamespace {
|
|
|
83
84
|
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/RunTaskCommandInput/
|
|
84
85
|
*/
|
|
85
86
|
runTask = async (props) => {
|
|
86
|
-
await this.ensureInit();
|
|
87
87
|
const { RunTaskCommand } = await import("@aws-sdk/client-ecs");
|
|
88
88
|
let response = false;
|
|
89
89
|
const runtTaskCommand = new RunTaskCommand({
|
|
@@ -99,4 +99,4 @@ var AwsEcsNamespace = class extends BaseNamespace {
|
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
101
|
//#endregion
|
|
102
|
-
export {
|
|
102
|
+
export { AwsEcs };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
exports.AwsEcsNamespace = require_aws_ecs_server_AwsEcsNamespace.AwsEcsNamespace;
|
|
5
|
-
exports.awsEcsClient = require_aws_ecs_server_awsEcs.awsEcsClient;
|
|
2
|
+
const require_aws_ecs_server_AwsEcs = require("./AwsEcs.cjs");
|
|
3
|
+
exports.AwsEcs = require_aws_ecs_server_AwsEcs.AwsEcs;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export { AwsEcsNamespace, awsEcsClient };
|
|
1
|
+
import { AwsEcs } from "./AwsEcs.cjs";
|
|
2
|
+
export { AwsEcs };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export { AwsEcsNamespace, awsEcsClient };
|
|
1
|
+
import { AwsEcs } from "./AwsEcs.mjs";
|
|
2
|
+
export { AwsEcs };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export { AwsEcsNamespace, awsEcsClient };
|
|
1
|
+
import { AwsEcs } from "./AwsEcs.mjs";
|
|
2
|
+
export { AwsEcs };
|
|
@@ -2,12 +2,16 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require__class_BaseNamespace = require("../../../_class/BaseNamespace.cjs");
|
|
3
3
|
const require_aws_server_isResponse200 = require("../../server/isResponse200.cjs");
|
|
4
4
|
require("../../server/index.cjs");
|
|
5
|
-
//#region src/aws/glue/server/
|
|
6
|
-
var
|
|
7
|
-
|
|
5
|
+
//#region src/aws/glue/server/AwsGlue.ts
|
|
6
|
+
var AwsGlue = class extends require__class_BaseNamespace.BaseNamespace {
|
|
7
|
+
init = async (config, region) => {
|
|
8
8
|
if (!this.client) try {
|
|
9
9
|
const { GlueClient } = await import("@aws-sdk/client-glue");
|
|
10
|
-
this.client = new GlueClient(
|
|
10
|
+
this.client = new GlueClient({
|
|
11
|
+
...config,
|
|
12
|
+
region: region ?? "eu-west-2"
|
|
13
|
+
});
|
|
14
|
+
this.config = config;
|
|
11
15
|
} catch (e) {
|
|
12
16
|
throw new Error("AWS Glue Client not installed");
|
|
13
17
|
}
|
|
@@ -16,11 +20,10 @@ var AwsGlueNamespace = class extends require__class_BaseNamespace.BaseNamespace
|
|
|
16
20
|
* Invoke an AWS Glue Crawler by passing in the name of the Crawler.
|
|
17
21
|
*/
|
|
18
22
|
invoke = async (crawler) => {
|
|
19
|
-
await this.ensureInit();
|
|
20
23
|
const { StartCrawlerCommand } = await import("@aws-sdk/client-glue");
|
|
21
24
|
const command = new StartCrawlerCommand({ Name: crawler });
|
|
22
25
|
return require_aws_server_isResponse200.isResponse200(await this.client.send(command));
|
|
23
26
|
};
|
|
24
27
|
};
|
|
25
28
|
//#endregion
|
|
26
|
-
exports.
|
|
29
|
+
exports.AwsGlue = AwsGlue;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
|
|
2
|
-
import { AwsConfig } from "../../server/aws.cjs";
|
|
3
2
|
import { GlueClient } from "@aws-sdk/client-glue";
|
|
4
3
|
|
|
5
|
-
//#region src/aws/glue/server/
|
|
6
|
-
declare class
|
|
4
|
+
//#region src/aws/glue/server/AwsGlue.d.ts
|
|
5
|
+
declare class AwsGlue extends BaseNamespace {
|
|
7
6
|
client: GlueClient;
|
|
8
|
-
config:
|
|
9
|
-
|
|
7
|
+
config: any;
|
|
8
|
+
init: (config: any, region?: string) => Promise<void>;
|
|
10
9
|
/**
|
|
11
10
|
* Invoke an AWS Glue Crawler by passing in the name of the Crawler.
|
|
12
11
|
*/
|
|
13
12
|
invoke: (crawler: string) => Promise<boolean>;
|
|
14
13
|
}
|
|
15
14
|
//#endregion
|
|
16
|
-
export {
|
|
15
|
+
export { AwsGlue };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
|
|
2
|
-
import { AwsConfig } from "../../server/aws.mjs";
|
|
3
2
|
import { GlueClient } from "@aws-sdk/client-glue";
|
|
4
3
|
|
|
5
|
-
//#region src/aws/glue/server/
|
|
6
|
-
declare class
|
|
4
|
+
//#region src/aws/glue/server/AwsGlue.d.ts
|
|
5
|
+
declare class AwsGlue extends BaseNamespace {
|
|
7
6
|
client: GlueClient;
|
|
8
|
-
config:
|
|
9
|
-
|
|
7
|
+
config: any;
|
|
8
|
+
init: (config: any, region?: string) => Promise<void>;
|
|
10
9
|
/**
|
|
11
10
|
* Invoke an AWS Glue Crawler by passing in the name of the Crawler.
|
|
12
11
|
*/
|
|
13
12
|
invoke: (crawler: string) => Promise<boolean>;
|
|
14
13
|
}
|
|
15
14
|
//#endregion
|
|
16
|
-
export {
|
|
15
|
+
export { AwsGlue };
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
|
|
2
2
|
import { isResponse200 } from "../../server/isResponse200.mjs";
|
|
3
3
|
import "../../server/index.mjs";
|
|
4
|
-
//#region src/aws/glue/server/
|
|
5
|
-
var
|
|
6
|
-
|
|
4
|
+
//#region src/aws/glue/server/AwsGlue.ts
|
|
5
|
+
var AwsGlue = class extends BaseNamespace {
|
|
6
|
+
init = async (config, region) => {
|
|
7
7
|
if (!this.client) try {
|
|
8
8
|
const { GlueClient } = await import("@aws-sdk/client-glue");
|
|
9
|
-
this.client = new GlueClient(
|
|
9
|
+
this.client = new GlueClient({
|
|
10
|
+
...config,
|
|
11
|
+
region: region ?? "eu-west-2"
|
|
12
|
+
});
|
|
13
|
+
this.config = config;
|
|
10
14
|
} catch (e) {
|
|
11
15
|
throw new Error("AWS Glue Client not installed");
|
|
12
16
|
}
|
|
@@ -15,11 +19,10 @@ var AwsGlueNamespace = class extends BaseNamespace {
|
|
|
15
19
|
* Invoke an AWS Glue Crawler by passing in the name of the Crawler.
|
|
16
20
|
*/
|
|
17
21
|
invoke = async (crawler) => {
|
|
18
|
-
await this.ensureInit();
|
|
19
22
|
const { StartCrawlerCommand } = await import("@aws-sdk/client-glue");
|
|
20
23
|
const command = new StartCrawlerCommand({ Name: crawler });
|
|
21
24
|
return isResponse200(await this.client.send(command));
|
|
22
25
|
};
|
|
23
26
|
};
|
|
24
27
|
//#endregion
|
|
25
|
-
export {
|
|
28
|
+
export { AwsGlue };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
exports.AwsGlueNamespace = require_aws_glue_server_AwsGlueNamespace.AwsGlueNamespace;
|
|
5
|
-
exports.awsGlueClient = require_aws_glue_server_awsGlue.awsGlueClient;
|
|
2
|
+
const require_aws_glue_server_AwsGlue = require("./AwsGlue.cjs");
|
|
3
|
+
exports.AwsGlue = require_aws_glue_server_AwsGlue.AwsGlue;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export { AwsGlueNamespace, awsGlueClient };
|
|
1
|
+
import { AwsGlue } from "./AwsGlue.cjs";
|
|
2
|
+
export { AwsGlue };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export { AwsGlueNamespace, awsGlueClient };
|
|
1
|
+
import { AwsGlue } from "./AwsGlue.mjs";
|
|
2
|
+
export { AwsGlue };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export { AwsGlueNamespace, awsGlueClient };
|
|
1
|
+
import { AwsGlue } from "./AwsGlue.mjs";
|
|
2
|
+
export { AwsGlue };
|
|
@@ -4,12 +4,16 @@ const require_api_ApiResponseClass = require("../../../api/ApiResponseClass.cjs"
|
|
|
4
4
|
require("../../../api/index.cjs");
|
|
5
5
|
const require_aws_server_isResponse200 = require("../../server/isResponse200.cjs");
|
|
6
6
|
require("../../server/index.cjs");
|
|
7
|
-
//#region src/aws/lambda/server/
|
|
8
|
-
var
|
|
9
|
-
|
|
7
|
+
//#region src/aws/lambda/server/AwsLambda.ts
|
|
8
|
+
var AwsLambda = class extends require__class_BaseNamespace.BaseNamespace {
|
|
9
|
+
init = async (config, region) => {
|
|
10
10
|
if (!this.client) try {
|
|
11
11
|
const { LambdaClient } = await import("@aws-sdk/client-lambda");
|
|
12
|
-
this.client = new LambdaClient(
|
|
12
|
+
this.client = new LambdaClient({
|
|
13
|
+
...config,
|
|
14
|
+
region: region ?? "eu-west-2"
|
|
15
|
+
});
|
|
16
|
+
this.config = config;
|
|
13
17
|
} catch (e) {
|
|
14
18
|
throw new Error("AWS Lambda Client not installed");
|
|
15
19
|
}
|
|
@@ -20,7 +24,6 @@ var AwsLambdaNamespace = class extends require__class_BaseNamespace.BaseNamespac
|
|
|
20
24
|
* Library: @aws-sdk/client-lambda
|
|
21
25
|
*/
|
|
22
26
|
invoke = async (props) => {
|
|
23
|
-
await this.ensureInit();
|
|
24
27
|
const { InvokeCommand } = await import("@aws-sdk/client-lambda");
|
|
25
28
|
let response = false;
|
|
26
29
|
const params = {
|
|
@@ -42,4 +45,4 @@ var AwsLambdaNamespace = class extends require__class_BaseNamespace.BaseNamespac
|
|
|
42
45
|
};
|
|
43
46
|
};
|
|
44
47
|
//#endregion
|
|
45
|
-
exports.
|
|
48
|
+
exports.AwsLambda = AwsLambda;
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
|
|
2
|
-
import { AwsConfig } from "../../server/aws.cjs";
|
|
3
2
|
import { LambdaClient } from "@aws-sdk/client-lambda";
|
|
4
3
|
|
|
5
|
-
//#region src/aws/lambda/server/
|
|
4
|
+
//#region src/aws/lambda/server/AwsLambda.d.ts
|
|
6
5
|
type InvokeProps = {
|
|
7
6
|
awaitResponse?: boolean;
|
|
8
7
|
functionName: string;
|
|
9
8
|
isJson?: boolean;
|
|
10
9
|
payload?: object;
|
|
11
10
|
};
|
|
12
|
-
declare class
|
|
11
|
+
declare class AwsLambda extends BaseNamespace {
|
|
13
12
|
client: LambdaClient;
|
|
14
|
-
config:
|
|
15
|
-
|
|
13
|
+
config: any;
|
|
14
|
+
init: (config: any, region?: string) => Promise<void>;
|
|
16
15
|
/**
|
|
17
16
|
* Invoke a AWS Lambda function by passing in the Function name and optional Payload data.
|
|
18
17
|
* Runs asynchronously, doesn't wait for function to fully end.
|
|
@@ -21,4 +20,4 @@ declare class AwsLambdaNamespace extends BaseNamespace {
|
|
|
21
20
|
invoke: (props: InvokeProps) => Promise<any>;
|
|
22
21
|
}
|
|
23
22
|
//#endregion
|
|
24
|
-
export {
|
|
23
|
+
export { AwsLambda };
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
|
|
2
|
-
import { AwsConfig } from "../../server/aws.mjs";
|
|
3
2
|
import { LambdaClient } from "@aws-sdk/client-lambda";
|
|
4
3
|
|
|
5
|
-
//#region src/aws/lambda/server/
|
|
4
|
+
//#region src/aws/lambda/server/AwsLambda.d.ts
|
|
6
5
|
type InvokeProps = {
|
|
7
6
|
awaitResponse?: boolean;
|
|
8
7
|
functionName: string;
|
|
9
8
|
isJson?: boolean;
|
|
10
9
|
payload?: object;
|
|
11
10
|
};
|
|
12
|
-
declare class
|
|
11
|
+
declare class AwsLambda extends BaseNamespace {
|
|
13
12
|
client: LambdaClient;
|
|
14
|
-
config:
|
|
15
|
-
|
|
13
|
+
config: any;
|
|
14
|
+
init: (config: any, region?: string) => Promise<void>;
|
|
16
15
|
/**
|
|
17
16
|
* Invoke a AWS Lambda function by passing in the Function name and optional Payload data.
|
|
18
17
|
* Runs asynchronously, doesn't wait for function to fully end.
|
|
@@ -21,4 +20,4 @@ declare class AwsLambdaNamespace extends BaseNamespace {
|
|
|
21
20
|
invoke: (props: InvokeProps) => Promise<any>;
|
|
22
21
|
}
|
|
23
22
|
//#endregion
|
|
24
|
-
export {
|
|
23
|
+
export { AwsLambda };
|
|
@@ -3,12 +3,16 @@ import { ApiResponseClass } from "../../../api/ApiResponseClass.mjs";
|
|
|
3
3
|
import "../../../api/index.mjs";
|
|
4
4
|
import { isResponse200 } from "../../server/isResponse200.mjs";
|
|
5
5
|
import "../../server/index.mjs";
|
|
6
|
-
//#region src/aws/lambda/server/
|
|
7
|
-
var
|
|
8
|
-
|
|
6
|
+
//#region src/aws/lambda/server/AwsLambda.ts
|
|
7
|
+
var AwsLambda = class extends BaseNamespace {
|
|
8
|
+
init = async (config, region) => {
|
|
9
9
|
if (!this.client) try {
|
|
10
10
|
const { LambdaClient } = await import("@aws-sdk/client-lambda");
|
|
11
|
-
this.client = new LambdaClient(
|
|
11
|
+
this.client = new LambdaClient({
|
|
12
|
+
...config,
|
|
13
|
+
region: region ?? "eu-west-2"
|
|
14
|
+
});
|
|
15
|
+
this.config = config;
|
|
12
16
|
} catch (e) {
|
|
13
17
|
throw new Error("AWS Lambda Client not installed");
|
|
14
18
|
}
|
|
@@ -19,7 +23,6 @@ var AwsLambdaNamespace = class extends BaseNamespace {
|
|
|
19
23
|
* Library: @aws-sdk/client-lambda
|
|
20
24
|
*/
|
|
21
25
|
invoke = async (props) => {
|
|
22
|
-
await this.ensureInit();
|
|
23
26
|
const { InvokeCommand } = await import("@aws-sdk/client-lambda");
|
|
24
27
|
let response = false;
|
|
25
28
|
const params = {
|
|
@@ -41,4 +44,4 @@ var AwsLambdaNamespace = class extends BaseNamespace {
|
|
|
41
44
|
};
|
|
42
45
|
};
|
|
43
46
|
//#endregion
|
|
44
|
-
export {
|
|
47
|
+
export { AwsLambda };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/aws/lambda/server/getHandlerPath.ts
|
|
3
|
+
const getHandlerPath = (input) => {
|
|
4
|
+
return `${input.split(process.cwd())[1].substring(1).replace(/\\/g, "/")}`;
|
|
5
|
+
};
|
|
6
|
+
//#endregion
|
|
7
|
+
exports.getHandlerPath = getHandlerPath;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.getHandlerPath = require_aws_lambda_server_awsLambda.getHandlerPath;
|
|
2
|
+
const require_aws_lambda_server_AwsLambda = require("./AwsLambda.cjs");
|
|
3
|
+
const require_aws_lambda_server_getHandlerPath = require("./getHandlerPath.cjs");
|
|
4
|
+
exports.AwsLambda = require_aws_lambda_server_AwsLambda.AwsLambda;
|
|
5
|
+
exports.getHandlerPath = require_aws_lambda_server_getHandlerPath.getHandlerPath;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
1
|
+
import { AwsLambda } from "./AwsLambda.cjs";
|
|
2
|
+
import { getHandlerPath } from "./getHandlerPath.cjs";
|
|
3
|
+
export { AwsLambda, getHandlerPath };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
1
|
+
import { AwsLambda } from "./AwsLambda.mjs";
|
|
2
|
+
import { getHandlerPath } from "./getHandlerPath.mjs";
|
|
3
|
+
export { AwsLambda, getHandlerPath };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
1
|
+
import { AwsLambda } from "./AwsLambda.mjs";
|
|
2
|
+
import { getHandlerPath } from "./getHandlerPath.mjs";
|
|
3
|
+
export { AwsLambda, getHandlerPath };
|