@8ms/helpers 3.0.26 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_class/BaseClass.d.cts +2 -3
- package/dist/_class/BaseClass.d.mts +2 -3
- package/dist/_class/BaseNamespace.d.cts +2 -3
- package/dist/_class/BaseNamespace.d.mts +2 -3
- package/dist/adverity/adverity.d.cts +7 -8
- package/dist/adverity/adverity.d.mts +7 -8
- package/dist/adverity/server/getJobs.d.cts +2 -3
- package/dist/adverity/server/getJobs.d.mts +2 -3
- package/dist/api/ApiResponseClass.d.cts +3 -4
- package/dist/api/ApiResponseClass.d.mts +3 -4
- package/dist/api/api.d.cts +6 -6
- package/dist/api/api.d.mts +6 -6
- package/dist/api/config.d.cts +2 -3
- package/dist/api/config.d.mts +2 -3
- package/dist/api/deleteRequest.d.cts +2 -3
- package/dist/api/deleteRequest.d.mts +2 -3
- package/dist/api/functions.d.cts +7 -8
- package/dist/api/functions.d.mts +7 -8
- package/dist/api/get.d.cts +2 -3
- package/dist/api/get.d.mts +2 -3
- package/dist/api/httpMethod.cjs +13 -0
- package/dist/api/httpMethod.d.cts +12 -0
- package/dist/api/httpMethod.d.mts +12 -0
- package/dist/api/httpMethod.mjs +12 -0
- package/dist/api/index.cjs +2 -0
- package/dist/api/index.d.cts +2 -1
- package/dist/api/index.d.mts +2 -1
- package/dist/api/index.mjs +2 -1
- package/dist/api/post.d.cts +2 -3
- package/dist/api/post.d.mts +2 -3
- package/dist/array/array.d.cts +3 -4
- package/dist/array/array.d.mts +3 -4
- package/dist/atInternet/atInternet.d.cts +3 -4
- package/dist/atInternet/atInternet.d.mts +3 -4
- package/dist/aws/cloudWatchLog/server/AwsCloudWatchLog.d.cts +2 -3
- package/dist/aws/cloudWatchLog/server/AwsCloudWatchLog.d.mts +2 -3
- package/dist/aws/cloudWatchLog/server/logEvent.d.cts +4 -5
- package/dist/aws/cloudWatchLog/server/logEvent.d.mts +4 -5
- package/dist/aws/cloudWatchMetric/server/AwsCloudWatchMetric.d.cts +2 -3
- package/dist/aws/cloudWatchMetric/server/AwsCloudWatchMetric.d.mts +2 -3
- package/dist/aws/cloudWatchMetric/server/logMetric.d.cts +2 -3
- package/dist/aws/cloudWatchMetric/server/logMetric.d.mts +2 -3
- package/dist/aws/ec2/server/AwsEc2.d.cts +2 -3
- package/dist/aws/ec2/server/AwsEc2.d.mts +2 -3
- package/dist/aws/ec2/server/ec2InstanceState.cjs +12 -0
- package/dist/aws/ec2/server/ec2InstanceState.d.cts +11 -0
- package/dist/aws/ec2/server/ec2InstanceState.d.mts +11 -0
- package/dist/aws/ec2/server/ec2InstanceState.mjs +11 -0
- package/dist/aws/ec2/server/index.cjs +2 -0
- package/dist/aws/ec2/server/index.d.cts +2 -1
- package/dist/aws/ec2/server/index.d.mts +2 -1
- package/dist/aws/ec2/server/index.mjs +2 -1
- package/dist/aws/ecs/server/AwsEcs.d.cts +2 -3
- package/dist/aws/ecs/server/AwsEcs.d.mts +2 -3
- package/dist/aws/ecs/server/index.cjs +2 -0
- package/dist/aws/ecs/server/index.d.cts +2 -1
- package/dist/aws/ecs/server/index.d.mts +2 -1
- package/dist/aws/ecs/server/index.mjs +2 -1
- package/dist/aws/ecs/server/launchType.cjs +10 -0
- package/dist/aws/ecs/server/launchType.d.cts +9 -0
- package/dist/aws/ecs/server/launchType.d.mts +9 -0
- package/dist/aws/ecs/server/launchType.mjs +9 -0
- package/dist/aws/glue/server/AwsGlue.d.cts +2 -3
- package/dist/aws/glue/server/AwsGlue.d.mts +2 -3
- package/dist/aws/lambda/server/AwsLambda.d.cts +2 -3
- package/dist/aws/lambda/server/AwsLambda.d.mts +2 -3
- package/dist/aws/lambda/server/getHandlerPath.d.cts +2 -3
- package/dist/aws/lambda/server/getHandlerPath.d.mts +2 -3
- package/dist/aws/s3/server/AwsS3.cjs +58 -18
- package/dist/aws/s3/server/AwsS3.d.cts +28 -10
- package/dist/aws/s3/server/AwsS3.d.mts +28 -10
- package/dist/aws/s3/server/AwsS3.mjs +58 -18
- package/dist/aws/s3/server/awsS3File.d.cts +4 -5
- package/dist/aws/s3/server/awsS3File.d.mts +4 -5
- package/dist/aws/s3/server/index.d.cts +2 -2
- package/dist/aws/s3/server/index.d.mts +2 -2
- package/dist/aws/s3/server/payload.cjs +2 -0
- package/dist/aws/s3/server/payload.d.cts +5 -4
- package/dist/aws/s3/server/payload.d.mts +5 -4
- package/dist/aws/s3/server/payload.mjs +2 -0
- package/dist/aws/server/getAwsConfig.d.cts +2 -3
- package/dist/aws/server/getAwsConfig.d.mts +2 -3
- package/dist/aws/server/isResponse200.d.cts +2 -3
- package/dist/aws/server/isResponse200.d.mts +2 -3
- package/dist/aws/ses/server/AwsSes.d.cts +2 -3
- package/dist/aws/ses/server/AwsSes.d.mts +2 -3
- package/dist/aws/ses/server/SimpleEmail.d.cts +2 -3
- package/dist/aws/ses/server/SimpleEmail.d.mts +2 -3
- package/dist/aws/sqs/server/AwsSqs.d.cts +2 -3
- package/dist/aws/sqs/server/AwsSqs.d.mts +2 -3
- package/dist/aws/ssm/server/AwsSsm.d.cts +2 -3
- package/dist/aws/ssm/server/AwsSsm.d.mts +2 -3
- package/dist/boolean/boolean.d.cts +2 -3
- package/dist/boolean/boolean.d.mts +2 -3
- package/dist/brightData/googleTrends/brightDataSerpGoogleTrends.cjs +97 -0
- package/dist/brightData/googleTrends/brightDataSerpGoogleTrends.d.cts +206 -0
- package/dist/brightData/googleTrends/brightDataSerpGoogleTrends.d.mts +206 -0
- package/dist/brightData/googleTrends/brightDataSerpGoogleTrends.mjs +91 -0
- package/dist/brightData/googleTrends/buildGoogleTrendsUrl.cjs +38 -0
- package/dist/brightData/{serpApi/server → googleTrends}/buildGoogleTrendsUrl.d.cts +10 -13
- package/dist/brightData/{serpApi/server → googleTrends}/buildGoogleTrendsUrl.d.mts +10 -13
- package/dist/brightData/googleTrends/buildGoogleTrendsUrl.mjs +36 -0
- package/dist/brightData/googleTrends/getReportQueries.cjs +30 -0
- package/dist/brightData/googleTrends/getReportQueries.d.cts +21 -0
- package/dist/brightData/googleTrends/getReportQueries.d.mts +21 -0
- package/dist/brightData/googleTrends/getReportQueries.mjs +29 -0
- package/dist/brightData/googleTrends/getReportTopics.cjs +30 -0
- package/dist/brightData/googleTrends/getReportTopics.d.cts +21 -0
- package/dist/brightData/googleTrends/getReportTopics.d.mts +21 -0
- package/dist/brightData/googleTrends/getReportTopics.mjs +29 -0
- package/dist/brightData/googleTrends/getReportTrend.cjs +18 -0
- package/dist/brightData/googleTrends/getReportTrend.d.cts +12 -0
- package/dist/brightData/googleTrends/getReportTrend.d.mts +12 -0
- package/dist/brightData/googleTrends/getReportTrend.mjs +17 -0
- package/dist/brightData/googleTrends/index.cjs +25 -0
- package/dist/brightData/googleTrends/index.d.cts +9 -0
- package/dist/brightData/googleTrends/index.d.mts +9 -0
- package/dist/brightData/googleTrends/index.mjs +9 -0
- package/dist/brightData/googleTrends/searchType.cjs +10 -0
- package/dist/brightData/googleTrends/searchType.d.cts +9 -0
- package/dist/brightData/googleTrends/searchType.d.mts +9 -0
- package/dist/brightData/googleTrends/searchType.mjs +9 -0
- package/dist/brightData/googleTrends/timeframe.cjs +27 -0
- package/dist/brightData/googleTrends/timeframe.d.cts +10 -0
- package/dist/brightData/googleTrends/timeframe.d.mts +10 -0
- package/dist/brightData/googleTrends/timeframe.mjs +25 -0
- package/dist/brightData/googleTrends/widgetId.cjs +17 -0
- package/dist/brightData/googleTrends/widgetId.d.cts +16 -0
- package/dist/brightData/googleTrends/widgetId.d.mts +16 -0
- package/dist/brightData/googleTrends/widgetId.mjs +15 -0
- package/dist/brightData/serpApi/server/brightDataSerpApi.d.cts +3 -4
- package/dist/brightData/serpApi/server/brightDataSerpApi.d.mts +3 -4
- package/dist/brightData/serpApi/server/buildGoogleSerpUrl.d.cts +2 -3
- package/dist/brightData/serpApi/server/buildGoogleSerpUrl.d.mts +2 -3
- package/dist/brightData/serpApi/server/getAsyncRequestId.d.cts +2 -3
- package/dist/brightData/serpApi/server/getAsyncRequestId.d.mts +2 -3
- package/dist/brightData/serpApi/server/getAsyncResults.d.cts +2 -3
- package/dist/brightData/serpApi/server/getAsyncResults.d.mts +2 -3
- package/dist/brightData/serpApi/server/getRealtime.d.cts +2 -3
- package/dist/brightData/serpApi/server/getRealtime.d.mts +2 -3
- package/dist/brightData/serpApi/server/index.cjs +3 -2
- package/dist/brightData/serpApi/server/index.d.cts +2 -2
- package/dist/brightData/serpApi/server/index.d.mts +2 -2
- package/dist/brightData/serpApi/server/index.mjs +2 -2
- package/dist/brightData/server/brightData.d.cts +4 -5
- package/dist/brightData/server/brightData.d.mts +4 -5
- package/dist/brightData/webScraperIde/server/getBatch.d.cts +2 -3
- package/dist/brightData/webScraperIde/server/getBatch.d.mts +2 -3
- package/dist/brightData/webScraperIde/server/getRealtime.d.cts +2 -3
- package/dist/brightData/webScraperIde/server/getRealtime.d.mts +2 -3
- package/dist/cache/server/cache.d.cts +4 -5
- package/dist/cache/server/cache.d.mts +4 -5
- package/dist/color/generateColorHex.cjs +14 -0
- package/dist/color/generateColorHex.d.cts +7 -0
- package/dist/color/generateColorHex.d.mts +7 -0
- package/dist/color/generateColorHex.mjs +13 -0
- package/dist/color/generateTextColorHex.cjs +12 -0
- package/dist/color/generateTextColorHex.d.cts +7 -0
- package/dist/color/generateTextColorHex.d.mts +7 -0
- package/dist/color/generateTextColorHex.mjs +11 -0
- package/dist/color/index.cjs +5 -0
- package/dist/color/index.d.cts +3 -0
- package/dist/color/index.d.mts +3 -0
- package/dist/color/index.mjs +3 -0
- package/dist/crud/crud.d.cts +3 -4
- package/dist/crud/crud.d.mts +3 -4
- package/dist/crypto/server/getMd5.d.cts +2 -3
- package/dist/crypto/server/getMd5.d.mts +2 -3
- package/dist/crypto/server/getRandom.d.cts +2 -3
- package/dist/crypto/server/getRandom.d.mts +2 -3
- package/dist/crypto/server/getSha256.d.cts +2 -3
- package/dist/crypto/server/getSha256.d.mts +2 -3
- package/dist/date/calculation.cjs +11 -1
- package/dist/date/calculation.d.cts +34 -29
- package/dist/date/calculation.d.mts +34 -29
- package/dist/date/calculation.mjs +11 -2
- package/dist/date/date.d.cts +22 -11
- package/dist/date/date.d.mts +22 -11
- package/dist/date/financialYear.cjs +1 -1
- package/dist/date/financialYear.d.cts +6 -7
- package/dist/date/financialYear.d.mts +6 -7
- package/dist/date/financialYear.mjs +1 -1
- package/dist/date/format.cjs +10 -0
- package/dist/date/format.d.cts +23 -20
- package/dist/date/format.d.mts +23 -20
- package/dist/date/format.mjs +11 -2
- package/dist/date/index.cjs +2 -0
- package/dist/date/index.d.cts +4 -4
- package/dist/date/index.d.mts +4 -4
- package/dist/date/index.mjs +3 -3
- package/dist/device/client/index.cjs +8 -0
- package/dist/device/client/index.d.cts +3 -0
- package/dist/device/client/index.d.mts +3 -0
- package/dist/device/client/index.mjs +3 -0
- package/dist/device/client/input.cjs +11 -0
- package/dist/device/client/input.d.cts +6 -0
- package/dist/device/client/input.d.mts +6 -0
- package/dist/device/client/input.mjs +7 -0
- package/dist/device/client/isSafari.cjs +5 -0
- package/dist/device/client/isSafari.d.cts +3 -0
- package/dist/device/client/isSafari.d.mts +3 -0
- package/dist/device/client/isSafari.mjs +4 -0
- package/dist/drizzle/server/Drizzle.d.cts +3 -4
- package/dist/drizzle/server/Drizzle.d.mts +3 -4
- package/dist/ems/index.cjs +3 -0
- package/dist/ems/index.d.cts +2 -0
- package/dist/ems/index.d.mts +2 -0
- package/dist/ems/index.mjs +2 -0
- package/dist/ems/staff.cjs +13 -0
- package/dist/ems/staff.d.cts +15 -0
- package/dist/ems/staff.d.mts +15 -0
- package/dist/ems/staff.mjs +12 -0
- package/dist/emsApi/awsTs/endpoint.d.cts +4 -5
- package/dist/emsApi/awsTs/endpoint.d.mts +4 -5
- package/dist/emsApi/awsTs/get.d.cts +2 -3
- package/dist/emsApi/awsTs/get.d.mts +2 -3
- package/dist/emsApi/awsTs/post.d.cts +2 -3
- package/dist/emsApi/awsTs/post.d.mts +2 -3
- package/dist/emsApi/vercel/endpoint.d.cts +4 -5
- package/dist/emsApi/vercel/endpoint.d.mts +4 -5
- package/dist/emsApi/vercel/get.d.cts +2 -3
- package/dist/emsApi/vercel/get.d.mts +2 -3
- package/dist/emsApi/vercel/post.d.cts +2 -3
- package/dist/emsApi/vercel/post.d.mts +2 -3
- package/dist/environment/environment.d.cts +14 -15
- package/dist/environment/environment.d.mts +14 -15
- package/dist/eskimi/eskimi.d.cts +6 -7
- package/dist/eskimi/eskimi.d.mts +6 -7
- package/dist/eskimi/server/getAgeGroup.d.cts +2 -3
- package/dist/eskimi/server/getAgeGroup.d.mts +2 -3
- package/dist/eskimi/server/getData.d.cts +2 -3
- package/dist/eskimi/server/getData.d.mts +2 -3
- package/dist/eskimi/server/getDevice.d.cts +2 -3
- package/dist/eskimi/server/getDevice.d.mts +2 -3
- package/dist/eskimi/server/getGender.d.cts +2 -3
- package/dist/eskimi/server/getGender.d.mts +2 -3
- package/dist/file/archiveFileType.cjs +5 -0
- package/dist/file/archiveFileType.d.cts +6 -0
- package/dist/file/archiveFileType.d.mts +6 -0
- package/dist/file/archiveFileType.mjs +4 -0
- package/dist/file/dataFileType.cjs +8 -0
- package/dist/file/dataFileType.d.cts +7 -0
- package/dist/file/dataFileType.d.mts +7 -0
- package/dist/file/dataFileType.mjs +7 -0
- package/dist/file/documentFileType.cjs +12 -0
- package/dist/file/documentFileType.d.cts +11 -0
- package/dist/file/documentFileType.d.mts +11 -0
- package/dist/file/documentFileType.mjs +11 -0
- package/dist/file/fileMimeType.cjs +31 -0
- package/dist/file/fileMimeType.d.cts +4 -0
- package/dist/file/fileMimeType.d.mts +4 -0
- package/dist/file/fileMimeType.mjs +30 -0
- package/dist/file/fileType.cjs +18 -0
- package/dist/file/fileType.d.cts +29 -0
- package/dist/file/fileType.d.mts +29 -0
- package/dist/file/fileType.mjs +17 -0
- package/dist/file/getFileKey.d.cts +2 -3
- package/dist/file/getFileKey.d.mts +2 -3
- package/dist/file/imageFileType.cjs +12 -0
- package/dist/file/imageFileType.d.cts +11 -0
- package/dist/file/imageFileType.d.mts +11 -0
- package/dist/file/imageFileType.mjs +11 -0
- package/dist/file/index.cjs +16 -0
- package/dist/file/index.d.cts +9 -1
- package/dist/file/index.d.mts +9 -1
- package/dist/file/index.mjs +9 -1
- package/dist/file/server/createDirectory.d.cts +2 -3
- package/dist/file/server/createDirectory.d.mts +2 -3
- package/dist/file/spreadsheetFileType.cjs +10 -0
- package/dist/file/spreadsheetFileType.d.cts +9 -0
- package/dist/file/spreadsheetFileType.d.mts +9 -0
- package/dist/file/spreadsheetFileType.mjs +9 -0
- package/dist/file/videoFileType.cjs +11 -0
- package/dist/file/videoFileType.d.cts +10 -0
- package/dist/file/videoFileType.d.mts +10 -0
- package/dist/file/videoFileType.mjs +10 -0
- package/dist/googleAds/keywordPlanner/bigquery.cjs +92 -0
- package/dist/googleAds/keywordPlanner/bigquery.d.cts +120 -0
- package/dist/googleAds/keywordPlanner/bigquery.d.mts +120 -0
- package/dist/googleAds/keywordPlanner/bigquery.mjs +87 -0
- package/dist/googleAds/keywordPlanner/countries.cjs +12 -0
- package/dist/googleAds/keywordPlanner/countries.d.cts +8 -0
- package/dist/googleAds/keywordPlanner/countries.d.mts +8 -0
- package/dist/googleAds/keywordPlanner/countries.mjs +11 -0
- package/dist/googleAds/keywordPlanner/customerId.cjs +11 -0
- package/dist/googleAds/keywordPlanner/customerId.d.cts +7 -0
- package/dist/googleAds/keywordPlanner/customerId.d.mts +7 -0
- package/dist/googleAds/keywordPlanner/customerId.mjs +10 -0
- package/dist/googleAds/keywordPlanner/endpoint.cjs +8 -0
- package/dist/googleAds/keywordPlanner/endpoint.d.cts +7 -0
- package/dist/googleAds/keywordPlanner/endpoint.d.mts +7 -0
- package/dist/googleAds/keywordPlanner/endpoint.mjs +7 -0
- package/dist/googleAds/keywordPlanner/getKwpTimeframe.cjs +39 -0
- package/dist/googleAds/keywordPlanner/getKwpTimeframe.d.cts +16 -0
- package/dist/googleAds/keywordPlanner/getKwpTimeframe.d.mts +16 -0
- package/dist/googleAds/keywordPlanner/getKwpTimeframe.mjs +38 -0
- package/dist/googleAds/keywordPlanner/getLambdaFunctionName.cjs +16 -0
- package/dist/googleAds/keywordPlanner/getLambdaFunctionName.d.cts +7 -0
- package/dist/googleAds/keywordPlanner/getLambdaFunctionName.d.mts +7 -0
- package/dist/googleAds/keywordPlanner/getLambdaFunctionName.mjs +15 -0
- package/dist/googleAds/keywordPlanner/index.cjs +38 -0
- package/dist/googleAds/keywordPlanner/index.d.cts +14 -0
- package/dist/googleAds/keywordPlanner/index.d.mts +14 -0
- package/dist/googleAds/keywordPlanner/index.mjs +14 -0
- package/dist/googleAds/keywordPlanner/language.cjs +11 -0
- package/dist/googleAds/keywordPlanner/language.d.cts +7 -0
- package/dist/googleAds/keywordPlanner/language.d.mts +7 -0
- package/dist/googleAds/keywordPlanner/language.mjs +10 -0
- package/dist/googleAds/keywordPlanner/maxRequests.cjs +8 -0
- package/dist/googleAds/keywordPlanner/maxRequests.d.cts +6 -0
- package/dist/googleAds/keywordPlanner/maxRequests.d.mts +6 -0
- package/dist/googleAds/keywordPlanner/maxRequests.mjs +7 -0
- package/dist/googleAds/keywordPlanner/network.cjs +33 -0
- package/dist/googleAds/keywordPlanner/network.d.cts +28 -0
- package/dist/googleAds/keywordPlanner/network.d.mts +28 -0
- package/dist/googleAds/keywordPlanner/network.mjs +29 -0
- package/dist/googleAds/keywordPlanner/normalizeQuery.cjs +14 -0
- package/dist/googleAds/keywordPlanner/normalizeQuery.d.cts +10 -0
- package/dist/googleAds/keywordPlanner/normalizeQuery.d.mts +10 -0
- package/dist/googleAds/keywordPlanner/normalizeQuery.mjs +13 -0
- package/dist/googleAds/keywordPlanner/server/buildRowId.cjs +14 -0
- package/dist/googleAds/keywordPlanner/server/buildRowId.d.cts +8 -0
- package/dist/googleAds/keywordPlanner/server/buildRowId.d.mts +8 -0
- package/dist/googleAds/keywordPlanner/server/buildRowId.mjs +13 -0
- package/dist/googleAds/keywordPlanner/server/index.cjs +40 -5
- package/dist/googleAds/keywordPlanner/server/index.d.cts +16 -2
- package/dist/googleAds/keywordPlanner/server/index.d.mts +16 -2
- package/dist/googleAds/keywordPlanner/server/index.mjs +16 -2
- package/dist/googleAds/keywordPlanner/zodPHP.cjs +45 -0
- package/dist/googleAds/keywordPlanner/zodPHP.d.cts +71 -0
- package/dist/googleAds/keywordPlanner/zodPHP.d.mts +71 -0
- package/dist/googleAds/keywordPlanner/zodPHP.mjs +43 -0
- package/dist/googleAds/keywordPlanner/zodPHPPayload.cjs +29 -0
- package/dist/googleAds/keywordPlanner/zodPHPPayload.d.cts +82 -0
- package/dist/googleAds/keywordPlanner/zodPHPPayload.d.mts +82 -0
- package/dist/googleAds/keywordPlanner/zodPHPPayload.mjs +27 -0
- package/dist/googleAds/keywordPlanner/zodPHPResponse.cjs +52 -0
- package/dist/googleAds/keywordPlanner/zodPHPResponse.d.cts +123 -0
- package/dist/googleAds/keywordPlanner/zodPHPResponse.d.mts +123 -0
- package/dist/googleAds/keywordPlanner/zodPHPResponse.mjs +49 -0
- package/dist/googleAds/server/GoogleAds.d.cts +3 -4
- package/dist/googleAds/server/GoogleAds.d.mts +3 -4
- package/dist/googleCloud/bigquery/_field/bqBool.cjs +8 -0
- package/dist/googleCloud/bigquery/_field/bqBool.d.cts +8 -0
- package/dist/googleCloud/bigquery/_field/bqBool.d.mts +8 -0
- package/dist/googleCloud/bigquery/_field/bqBool.mjs +8 -0
- package/dist/googleCloud/bigquery/_field/bqBytes.cjs +11 -0
- package/dist/googleCloud/bigquery/_field/bqBytes.d.cts +9 -0
- package/dist/googleCloud/bigquery/_field/bqBytes.d.mts +9 -0
- package/dist/googleCloud/bigquery/_field/bqBytes.mjs +9 -0
- package/dist/googleCloud/bigquery/_field/bqDate.cjs +30 -0
- package/dist/googleCloud/bigquery/_field/bqDate.d.cts +20 -0
- package/dist/googleCloud/bigquery/_field/bqDate.d.mts +20 -0
- package/dist/googleCloud/bigquery/_field/bqDate.mjs +26 -0
- package/dist/googleCloud/bigquery/_field/bqDateTime.cjs +31 -0
- package/dist/googleCloud/bigquery/_field/bqDateTime.d.cts +21 -0
- package/dist/googleCloud/bigquery/_field/bqDateTime.d.mts +21 -0
- package/dist/googleCloud/bigquery/_field/bqDateTime.mjs +27 -0
- package/dist/googleCloud/bigquery/_field/bqFieldMode.cjs +11 -0
- package/dist/googleCloud/bigquery/_field/bqFieldMode.d.cts +12 -0
- package/dist/googleCloud/bigquery/_field/bqFieldMode.d.mts +12 -0
- package/dist/googleCloud/bigquery/_field/bqFieldMode.mjs +9 -0
- package/dist/googleCloud/bigquery/_field/bqFieldType.cjs +20 -0
- package/dist/googleCloud/bigquery/_field/bqFieldType.d.cts +30 -0
- package/dist/googleCloud/bigquery/_field/bqFieldType.d.mts +30 -0
- package/dist/googleCloud/bigquery/_field/bqFieldType.mjs +18 -0
- package/dist/googleCloud/bigquery/_field/bqFloat.cjs +8 -0
- package/dist/googleCloud/bigquery/_field/bqFloat.d.cts +8 -0
- package/dist/googleCloud/bigquery/_field/bqFloat.d.mts +8 -0
- package/dist/googleCloud/bigquery/_field/bqFloat.mjs +8 -0
- package/dist/googleCloud/bigquery/_field/bqInt.cjs +5 -0
- package/dist/googleCloud/bigquery/_field/bqInt.d.cts +4 -0
- package/dist/googleCloud/bigquery/_field/bqInt.d.mts +4 -0
- package/dist/googleCloud/bigquery/_field/bqInt.mjs +5 -0
- package/dist/googleCloud/bigquery/_field/bqInt64.cjs +13 -0
- package/dist/googleCloud/bigquery/_field/bqInt64.d.cts +13 -0
- package/dist/googleCloud/bigquery/_field/bqInt64.d.mts +13 -0
- package/dist/googleCloud/bigquery/_field/bqInt64.mjs +11 -0
- package/dist/googleCloud/bigquery/_field/bqNumeric.cjs +13 -0
- package/dist/googleCloud/bigquery/_field/bqNumeric.d.cts +13 -0
- package/dist/googleCloud/bigquery/_field/bqNumeric.d.mts +13 -0
- package/dist/googleCloud/bigquery/_field/bqNumeric.mjs +11 -0
- package/dist/googleCloud/bigquery/_field/bqString.cjs +8 -0
- package/dist/googleCloud/bigquery/_field/bqString.d.cts +8 -0
- package/dist/googleCloud/bigquery/_field/bqString.d.mts +8 -0
- package/dist/googleCloud/bigquery/_field/bqString.mjs +8 -0
- package/dist/googleCloud/bigquery/_field/bqTime.cjs +11 -0
- package/dist/googleCloud/bigquery/_field/bqTime.d.cts +11 -0
- package/dist/googleCloud/bigquery/_field/bqTime.d.mts +11 -0
- package/dist/googleCloud/bigquery/_field/bqTime.mjs +9 -0
- package/dist/googleCloud/bigquery/_field/bqTimestamp.cjs +9 -0
- package/dist/googleCloud/bigquery/_field/bqTimestamp.d.cts +9 -0
- package/dist/googleCloud/bigquery/_field/bqTimestamp.d.mts +9 -0
- package/dist/googleCloud/bigquery/_field/bqTimestamp.mjs +9 -0
- package/dist/googleCloud/bigquery/_lookup/country.cjs +19 -0
- package/dist/googleCloud/bigquery/_lookup/country.d.cts +21 -0
- package/dist/googleCloud/bigquery/_lookup/country.d.mts +21 -0
- package/dist/googleCloud/bigquery/_lookup/country.mjs +18 -0
- package/dist/googleCloud/bigquery/_lookup/googleAdsAccount.cjs +17 -0
- package/dist/googleCloud/bigquery/_lookup/googleAdsAccount.d.cts +19 -0
- package/dist/googleCloud/bigquery/_lookup/googleAdsAccount.d.mts +19 -0
- package/dist/googleCloud/bigquery/_lookup/googleAdsAccount.mjs +16 -0
- package/dist/googleCloud/bigquery/_lookup/googleCloud.cjs +17 -0
- package/dist/googleCloud/bigquery/_lookup/googleCloud.d.cts +19 -0
- package/dist/googleCloud/bigquery/_lookup/googleCloud.d.mts +19 -0
- package/dist/googleCloud/bigquery/_lookup/googleCloud.mjs +16 -0
- package/dist/googleCloud/bigquery/_lookup/language.cjs +18 -0
- package/dist/googleCloud/bigquery/_lookup/language.d.cts +20 -0
- package/dist/googleCloud/bigquery/_lookup/language.d.mts +20 -0
- package/dist/googleCloud/bigquery/_lookup/language.mjs +17 -0
- package/dist/googleCloud/bigquery/index.cjs +51 -0
- package/dist/googleCloud/bigquery/index.d.cts +21 -0
- package/dist/googleCloud/bigquery/index.d.mts +21 -0
- package/dist/googleCloud/bigquery/index.mjs +20 -0
- package/dist/googleCloud/bigquery/partitionType.cjs +10 -0
- package/dist/googleCloud/bigquery/partitionType.d.cts +9 -0
- package/dist/googleCloud/bigquery/partitionType.d.mts +9 -0
- package/dist/googleCloud/bigquery/partitionType.mjs +9 -0
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.cjs +23 -2
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.d.cts +27 -4
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.d.mts +27 -4
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.mjs +23 -2
- package/dist/googleCloud/bigquery/server/getHandlerPath.d.cts +2 -3
- package/dist/googleCloud/bigquery/server/getHandlerPath.d.mts +2 -3
- package/dist/googleCloud/bigquery/server/index.cjs +0 -2
- package/dist/googleCloud/bigquery/server/index.d.cts +1 -2
- package/dist/googleCloud/bigquery/server/index.d.mts +1 -2
- package/dist/googleCloud/bigquery/server/index.mjs +1 -2
- package/dist/googleCloud/bigquery/tableDefinition.cjs +0 -0
- package/dist/googleCloud/bigquery/tableDefinition.d.cts +20 -0
- package/dist/googleCloud/bigquery/tableDefinition.d.mts +20 -0
- package/dist/googleCloud/bigquery/tableDefinition.mjs +1 -0
- package/dist/googleCloud/bigquery/zodToBQDefinition.cjs +59 -0
- package/dist/googleCloud/bigquery/zodToBQDefinition.d.cts +19 -0
- package/dist/googleCloud/bigquery/zodToBQDefinition.d.mts +19 -0
- package/dist/googleCloud/bigquery/zodToBQDefinition.mjs +58 -0
- package/dist/googleCloud/drive/server/GoogleCloudDrive.cjs +64 -4
- package/dist/googleCloud/drive/server/GoogleCloudDrive.d.cts +14 -3
- package/dist/googleCloud/drive/server/GoogleCloudDrive.d.mts +14 -3
- package/dist/googleCloud/drive/server/GoogleCloudDrive.mjs +64 -4
- package/dist/googleCloud/server/getGoogleCloudConfig.d.cts +5 -6
- package/dist/googleCloud/server/getGoogleCloudConfig.d.mts +5 -6
- package/dist/googleCloud/sheets/server/GoogleCloudSheets.cjs +3 -4
- package/dist/googleCloud/sheets/server/GoogleCloudSheets.d.cts +2 -3
- package/dist/googleCloud/sheets/server/GoogleCloudSheets.d.mts +2 -3
- package/dist/googleCloud/sheets/server/GoogleCloudSheets.mjs +3 -4
- package/dist/googleCloud/sheets/server/getAssociatedData.d.cts +2 -3
- package/dist/googleCloud/sheets/server/getAssociatedData.d.mts +2 -3
- package/dist/googleCloud/storage/server/GoogleCloudStorage.d.cts +2 -3
- package/dist/googleCloud/storage/server/GoogleCloudStorage.d.mts +2 -3
- package/dist/googlePageSpeed/server/GooglePageSpeed.d.cts +3 -4
- package/dist/googlePageSpeed/server/GooglePageSpeed.d.mts +3 -4
- package/dist/googlePageSpeed/server/category.d.cts +3 -4
- package/dist/googlePageSpeed/server/category.d.mts +3 -4
- package/dist/googlePageSpeed/server/strategy.d.cts +3 -4
- package/dist/googlePageSpeed/server/strategy.d.mts +3 -4
- package/dist/googleSearchIncidents/server/googleSearchIncidents.d.cts +7 -8
- package/dist/googleSearchIncidents/server/googleSearchIncidents.d.mts +7 -8
- package/dist/greenDomain/server/greenDomain.d.cts +4 -5
- package/dist/greenDomain/server/greenDomain.d.mts +4 -5
- package/dist/inngest/inngestState.d.cts +3 -4
- package/dist/inngest/inngestState.d.mts +3 -4
- package/dist/json/getJsonNewline.d.cts +2 -3
- package/dist/json/getJsonNewline.d.mts +2 -3
- package/dist/json/isJson.d.cts +2 -3
- package/dist/json/isJson.d.mts +2 -3
- package/dist/littleWarden/server/LittleWarden.d.cts +3 -4
- package/dist/littleWarden/server/LittleWarden.d.mts +3 -4
- package/dist/littleWarden/server/getUrlStatus.d.cts +2 -3
- package/dist/littleWarden/server/getUrlStatus.d.mts +2 -3
- package/dist/littleWarden/server/littleWardenAttrs.d.cts +6 -6
- package/dist/littleWarden/server/littleWardenAttrs.d.mts +6 -6
- package/dist/lodash/chunk.d.cts +2 -3
- package/dist/lodash/chunk.d.mts +2 -3
- package/dist/lodash/findKey.d.cts +2 -3
- package/dist/lodash/findKey.d.mts +2 -3
- package/dist/lodash/flatten.d.cts +2 -3
- package/dist/lodash/flatten.d.mts +2 -3
- package/dist/lodash/isDate.d.cts +2 -3
- package/dist/lodash/isDate.d.mts +2 -3
- package/dist/lodash/isEmpty.d.cts +2 -3
- package/dist/lodash/isEmpty.d.mts +2 -3
- package/dist/lodash/isEqual.d.cts +2 -3
- package/dist/lodash/isEqual.d.mts +2 -3
- package/dist/lodash/isFunction.d.cts +2 -3
- package/dist/lodash/isFunction.d.mts +2 -3
- package/dist/lodash/isObject.d.cts +2 -3
- package/dist/lodash/isObject.d.mts +2 -3
- package/dist/lodash/merge.d.cts +2 -3
- package/dist/lodash/merge.d.mts +2 -3
- package/dist/lodash/orderBy.d.cts +2 -3
- package/dist/lodash/orderBy.d.mts +2 -3
- package/dist/lodash/set.d.cts +2 -3
- package/dist/lodash/set.d.mts +2 -3
- package/dist/lodash/trim.d.cts +2 -3
- package/dist/lodash/trim.d.mts +2 -3
- package/dist/lodash/unescape.d.cts +2 -3
- package/dist/lodash/unescape.d.mts +2 -3
- package/dist/lodash/uniq.d.cts +2 -3
- package/dist/lodash/uniq.d.mts +2 -3
- package/dist/lodash/uniqBy.d.cts +2 -3
- package/dist/lodash/uniqBy.d.mts +2 -3
- package/dist/lumar/api/server/buildRequest.d.cts +3 -4
- package/dist/lumar/api/server/buildRequest.d.mts +3 -4
- package/dist/lumar/api/server/getAccessToken.d.cts +2 -3
- package/dist/lumar/api/server/getAccessToken.d.mts +2 -3
- package/dist/lumar/api/server/getData.d.cts +2 -3
- package/dist/lumar/api/server/getData.d.mts +2 -3
- package/dist/lumar/api/server/lumarApi.d.cts +27 -28
- package/dist/lumar/api/server/lumarApi.d.mts +27 -28
- package/dist/lumar/graphql/server/columns.d.cts +29 -30
- package/dist/lumar/graphql/server/columns.d.mts +29 -30
- package/dist/lumar/graphql/server/getAccessToken.d.cts +2 -3
- package/dist/lumar/graphql/server/getAccessToken.d.mts +2 -3
- package/dist/lumar/graphql/server/getData.d.cts +2 -3
- package/dist/lumar/graphql/server/getData.d.mts +2 -3
- package/dist/lumar/graphql/server/index.cjs +8 -1
- package/dist/lumar/graphql/server/index.d.cts +5 -1
- package/dist/lumar/graphql/server/index.d.mts +5 -1
- package/dist/lumar/graphql/server/index.mjs +5 -2
- package/dist/lumar/graphql/server/lumarGraphql.d.cts +6 -7
- package/dist/lumar/graphql/server/lumarGraphql.d.mts +6 -7
- package/dist/lumar/graphql/server/queries/crawl.d.cts +2 -3
- package/dist/lumar/graphql/server/queries/crawl.d.mts +2 -3
- package/dist/lumar/graphql/server/queries/getCrawls.cjs +2 -1
- package/dist/lumar/graphql/server/queries/getCrawls.d.cts +2 -2
- package/dist/lumar/graphql/server/queries/getCrawls.d.mts +2 -3
- package/dist/lumar/graphql/server/queries/getCrawls.mjs +1 -1
- package/dist/lumar/graphql/server/queries/getReportDifferences.cjs +2 -1
- package/dist/lumar/graphql/server/queries/getReportDifferences.d.cts +2 -2
- package/dist/lumar/graphql/server/queries/getReportDifferences.d.mts +2 -3
- package/dist/lumar/graphql/server/queries/getReportDifferences.mjs +1 -1
- package/dist/lumar/graphql/server/queries/getRows.cjs +2 -1
- package/dist/lumar/graphql/server/queries/getRows.d.cts +2 -2
- package/dist/lumar/graphql/server/queries/getRows.d.mts +2 -3
- package/dist/lumar/graphql/server/queries/getRows.mjs +1 -1
- package/dist/lumar/graphql/server/queries/getTotals.cjs +2 -1
- package/dist/lumar/graphql/server/queries/getTotals.d.cts +2 -2
- package/dist/lumar/graphql/server/queries/getTotals.d.mts +2 -3
- package/dist/lumar/graphql/server/queries/getTotals.mjs +1 -1
- package/dist/lumar/graphql/server/queries/row.d.cts +2 -3
- package/dist/lumar/graphql/server/queries/row.d.mts +2 -3
- package/dist/lumar/graphql/server/reportTemplates.d.cts +64 -65
- package/dist/lumar/graphql/server/reportTemplates.d.mts +64 -65
- package/dist/myTarget/server/myTarget.d.cts +2 -3
- package/dist/myTarget/server/myTarget.d.mts +2 -3
- package/dist/number/formatCompact.d.cts +2 -3
- package/dist/number/formatCompact.d.mts +2 -3
- package/dist/number/formatCurrency.cjs +5 -5
- package/dist/number/formatCurrency.d.cts +4 -3
- package/dist/number/formatCurrency.d.mts +4 -3
- package/dist/number/formatCurrency.mjs +5 -5
- package/dist/number/formatEur.cjs +11 -0
- package/dist/number/formatEur.d.cts +6 -0
- package/dist/number/formatEur.d.mts +6 -0
- package/dist/number/formatEur.mjs +10 -0
- package/dist/number/formatGbp.cjs +11 -0
- package/dist/number/formatGbp.d.cts +6 -0
- package/dist/number/formatGbp.d.mts +6 -0
- package/dist/number/formatGbp.mjs +10 -0
- package/dist/number/formatStandard.d.cts +2 -3
- package/dist/number/formatStandard.d.mts +2 -3
- package/dist/number/formatUsd.cjs +11 -0
- package/dist/number/formatUsd.d.cts +6 -0
- package/dist/number/formatUsd.d.mts +6 -0
- package/dist/number/formatUsd.mjs +10 -0
- package/dist/number/getDecimal.d.cts +2 -3
- package/dist/number/getDecimal.d.mts +2 -3
- package/dist/number/getNumber.d.cts +2 -3
- package/dist/number/getNumber.d.mts +2 -3
- package/dist/number/getPercent.d.cts +2 -3
- package/dist/number/getPercent.d.mts +2 -3
- package/dist/number/getPercentIncrease.d.cts +2 -3
- package/dist/number/getPercentIncrease.d.mts +2 -3
- package/dist/number/getSafeDivide.d.cts +2 -3
- package/dist/number/getSafeDivide.d.mts +2 -3
- package/dist/number/index.cjs +6 -0
- package/dist/number/index.d.cts +4 -1
- package/dist/number/index.d.mts +4 -1
- package/dist/number/index.mjs +4 -1
- package/dist/object/replaceKeys.cjs +6 -11
- package/dist/object/replaceKeys.d.cts +2 -3
- package/dist/object/replaceKeys.d.mts +2 -3
- package/dist/object/replaceKeys.mjs +6 -11
- package/dist/onePassword/server/OnePassword.d.cts +3 -4
- package/dist/onePassword/server/OnePassword.d.mts +3 -4
- package/dist/onePassword/server/getIdsFromUrl.d.cts +2 -3
- package/dist/onePassword/server/getIdsFromUrl.d.mts +2 -3
- package/dist/openAi/server/OpenAi.d.cts +3 -4
- package/dist/openAi/server/OpenAi.d.mts +3 -4
- package/dist/prisma/getDecimal.d.cts +2 -3
- package/dist/prisma/getDecimal.d.mts +2 -3
- package/dist/prisma/server/Prisma.d.cts +3 -4
- package/dist/prisma/server/Prisma.d.mts +3 -4
- package/dist/{nextJs → react}/client/LazyLoad.cjs +2 -2
- package/dist/{nextJs → react}/client/LazyLoad.d.cts +3 -4
- package/dist/{nextJs → react}/client/LazyLoad.d.mts +4 -5
- package/dist/{nextJs → react}/client/LazyLoad.mjs +2 -2
- package/dist/react/client/cn.cjs +37 -0
- package/dist/react/client/cn.d.cts +8 -0
- package/dist/react/client/cn.d.mts +8 -0
- package/dist/react/client/cn.mjs +36 -0
- package/dist/{nextJs/client → react/client/hooks}/useAsyncEffect.cjs +1 -1
- package/dist/react/client/hooks/useAsyncEffect.d.cts +4 -0
- package/dist/react/client/hooks/useAsyncEffect.d.mts +4 -0
- package/dist/{nextJs/client → react/client/hooks}/useAsyncEffect.mjs +1 -1
- package/dist/react/client/hooks/useCopyText.cjs +29 -0
- package/dist/react/client/hooks/useCopyText.d.cts +11 -0
- package/dist/react/client/hooks/useCopyText.d.mts +11 -0
- package/dist/react/client/hooks/useCopyText.mjs +28 -0
- package/dist/react/client/hooks/useFontReady.cjs +22 -0
- package/dist/react/client/hooks/useFontReady.d.cts +3 -0
- package/dist/react/client/hooks/useFontReady.d.mts +3 -0
- package/dist/react/client/hooks/useFontReady.mjs +21 -0
- package/dist/react/client/hooks/usePrefersReducedMotion.cjs +22 -0
- package/dist/react/client/hooks/usePrefersReducedMotion.d.cts +8 -0
- package/dist/react/client/hooks/usePrefersReducedMotion.d.mts +8 -0
- package/dist/react/client/hooks/usePrefersReducedMotion.mjs +21 -0
- package/dist/react/client/index.cjs +15 -0
- package/dist/react/client/index.d.cts +8 -0
- package/dist/react/client/index.d.mts +8 -0
- package/dist/react/client/index.mjs +8 -0
- package/dist/react/client/nextAuth/index.cjs +5 -0
- package/dist/{nextAuth → react/client/nextAuth}/isSessionReady.cjs +1 -1
- package/dist/react/client/nextAuth/isSessionReady.d.cts +3 -0
- package/dist/react/client/nextAuth/isSessionReady.d.mts +3 -0
- package/dist/{nextAuth → react/client/nextAuth}/isSessionReady.mjs +1 -1
- package/dist/{nextAuth → react/client/nextAuth}/nextAuth.cjs +3 -3
- package/dist/{nextAuth → react/client/nextAuth}/nextAuth.d.cts +4 -4
- package/dist/{nextAuth → react/client/nextAuth}/nextAuth.d.mts +4 -4
- package/dist/{nextAuth → react/client/nextAuth}/nextAuth.mjs +1 -1
- package/dist/react/client/nextjs/buildRelativeUrl.cjs +0 -0
- package/dist/react/client/nextjs/buildRelativeUrl.d.cts +1 -0
- package/dist/react/client/nextjs/buildRelativeUrl.d.mts +1 -0
- package/dist/react/client/nextjs/buildRelativeUrl.mjs +1 -0
- package/dist/regex/extractRegex.cjs +31 -0
- package/dist/regex/extractRegex.d.cts +13 -0
- package/dist/regex/extractRegex.d.mts +13 -0
- package/dist/regex/extractRegex.mjs +30 -0
- package/dist/regex/index.cjs +3 -0
- package/dist/regex/index.d.cts +2 -0
- package/dist/regex/index.d.mts +2 -0
- package/dist/regex/index.mjs +2 -0
- package/dist/snapchat/server/Snapchat.d.cts +3 -4
- package/dist/snapchat/server/Snapchat.d.mts +3 -4
- package/dist/sorting/byNumberAscending.d.cts +2 -3
- package/dist/sorting/byNumberAscending.d.mts +2 -3
- package/dist/sorting/byNumberDescending.d.cts +2 -3
- package/dist/sorting/byNumberDescending.d.mts +2 -3
- package/dist/sorting/byStringAscending.d.cts +2 -3
- package/dist/sorting/byStringAscending.d.mts +2 -3
- package/dist/sorting/byStringDescending.d.cts +2 -3
- package/dist/sorting/byStringDescending.d.mts +2 -3
- package/dist/stream/server/sort.d.cts +2 -3
- package/dist/stream/server/sort.d.mts +2 -3
- package/dist/string/client/copyText.cjs +17 -0
- package/dist/string/client/copyText.d.cts +7 -0
- package/dist/string/client/copyText.d.mts +7 -0
- package/dist/string/client/copyText.mjs +16 -0
- package/dist/string/client/index.cjs +33 -0
- package/dist/string/client/index.d.cts +16 -0
- package/dist/string/client/index.d.mts +16 -0
- package/dist/string/client/index.mjs +17 -0
- package/dist/string/getCapitalised.d.cts +2 -3
- package/dist/string/getCapitalised.d.mts +2 -3
- package/dist/string/getClean.d.cts +2 -3
- package/dist/string/getClean.d.mts +2 -3
- package/dist/string/getFolder.d.cts +2 -3
- package/dist/string/getFolder.d.mts +2 -3
- package/dist/string/getNormalisedTypography.cjs +17 -0
- package/dist/string/getNormalisedTypography.d.cts +13 -0
- package/dist/string/getNormalisedTypography.d.mts +13 -0
- package/dist/string/getNormalisedTypography.mjs +16 -0
- package/dist/string/getProperCase.d.cts +2 -3
- package/dist/string/getProperCase.d.mts +2 -3
- package/dist/string/getString.d.cts +2 -3
- package/dist/string/getString.d.mts +2 -3
- package/dist/string/getStringFromStream.d.cts +2 -3
- package/dist/string/getStringFromStream.d.mts +2 -3
- package/dist/string/getUnescaped.d.cts +2 -3
- package/dist/string/getUnescaped.d.mts +2 -3
- package/dist/string/getWithoutAccents.d.cts +2 -3
- package/dist/string/getWithoutAccents.d.mts +2 -3
- package/dist/string/getWithoutHtmlTags.d.cts +2 -3
- package/dist/string/getWithoutHtmlTags.d.mts +2 -3
- package/dist/string/getWithoutPunctuation.d.cts +2 -3
- package/dist/string/getWithoutPunctuation.d.mts +2 -3
- package/dist/string/getWithoutUnderscores.d.cts +2 -3
- package/dist/string/getWithoutUnderscores.d.mts +2 -3
- package/dist/string/getWithoutWhitespaces.d.cts +2 -3
- package/dist/string/getWithoutWhitespaces.d.mts +2 -3
- package/dist/string/index.cjs +2 -0
- package/dist/string/index.d.cts +2 -1
- package/dist/string/index.d.mts +2 -1
- package/dist/string/index.mjs +2 -1
- package/dist/string/reservedWords.cjs +2 -6
- package/dist/string/reservedWords.d.cts +3 -4
- package/dist/string/reservedWords.d.mts +3 -4
- package/dist/string/reservedWords.mjs +2 -6
- package/dist/string/server/index.cjs +3 -0
- package/dist/string/server/index.d.cts +2 -0
- package/dist/string/server/index.d.mts +2 -0
- package/dist/string/server/index.mjs +2 -0
- package/dist/string/server/isEmpty.cjs +23 -0
- package/dist/string/server/isEmpty.d.cts +6 -0
- package/dist/string/server/isEmpty.d.mts +6 -0
- package/dist/string/server/isEmpty.mjs +22 -0
- package/dist/swr/client/swr.d.cts +9 -10
- package/dist/swr/client/swr.d.mts +9 -10
- package/dist/upTimeRobot/server/UpTimeRobot.d.cts +3 -4
- package/dist/upTimeRobot/server/UpTimeRobot.d.mts +3 -4
- package/dist/upTimeRobot/server/logType.d.cts +3 -4
- package/dist/upTimeRobot/server/logType.d.mts +3 -4
- package/dist/upTimeRobot/server/monitorStatus.d.cts +3 -4
- package/dist/upTimeRobot/server/monitorStatus.d.mts +3 -4
- package/dist/upTimeRobot/server/monitorSubTypes.d.cts +3 -4
- package/dist/upTimeRobot/server/monitorSubTypes.d.mts +3 -4
- package/dist/upTimeRobot/server/monitorType.d.cts +3 -4
- package/dist/upTimeRobot/server/monitorType.d.mts +3 -4
- package/dist/upTimeRobot/server/requestStatus.d.cts +3 -4
- package/dist/upTimeRobot/server/requestStatus.d.mts +3 -4
- package/dist/url/buildUrl.cjs +22 -0
- package/dist/url/buildUrl.d.cts +6 -0
- package/dist/url/buildUrl.d.mts +6 -0
- package/dist/url/buildUrl.mjs +21 -0
- package/dist/url/getClean.cjs +16 -0
- package/dist/{util → url}/getClean.d.cts +3 -4
- package/dist/{util → url}/getClean.d.mts +3 -4
- package/dist/{util → url}/getClean.mjs +1 -1
- package/dist/url/getParametersUrl.cjs +17 -0
- package/dist/url/getParametersUrl.d.cts +6 -0
- package/dist/url/getParametersUrl.d.mts +6 -0
- package/dist/url/getParametersUrl.mjs +16 -0
- package/dist/{util → url}/getWithoutHash.cjs +1 -1
- package/dist/url/getWithoutHash.d.cts +6 -0
- package/dist/url/getWithoutHash.d.mts +6 -0
- package/dist/{util → url}/getWithoutHash.mjs +1 -1
- package/dist/{util → url}/getWithoutParameter.cjs +1 -1
- package/dist/url/getWithoutParameter.d.cts +6 -0
- package/dist/url/getWithoutParameter.d.mts +6 -0
- package/dist/{util → url}/getWithoutParameter.mjs +1 -1
- package/dist/url/index.cjs +14 -5
- package/dist/url/index.d.cts +8 -2
- package/dist/url/index.d.mts +8 -2
- package/dist/url/index.mjs +8 -2
- package/dist/url/isAbsolute.cjs +15 -0
- package/dist/url/isAbsolute.d.cts +6 -0
- package/dist/url/isAbsolute.d.mts +6 -0
- package/dist/url/isAbsolute.mjs +14 -0
- package/dist/url/isRelative.cjs +10 -0
- package/dist/url/isRelative.d.cts +6 -0
- package/dist/url/isRelative.d.mts +6 -0
- package/dist/url/isRelative.mjs +9 -0
- package/dist/url/server/writeUrlContents.d.cts +2 -3
- package/dist/url/server/writeUrlContents.d.mts +2 -3
- package/dist/util/defaultTo.cjs +5 -7
- package/dist/util/defaultTo.d.cts +2 -3
- package/dist/util/defaultTo.d.mts +2 -3
- package/dist/util/defaultTo.mjs +5 -7
- package/dist/util/getError.d.cts +2 -3
- package/dist/util/getError.d.mts +2 -3
- package/dist/util/index.cjs +2 -6
- package/dist/util/index.d.cts +2 -4
- package/dist/util/index.d.mts +2 -4
- package/dist/util/index.mjs +2 -4
- package/dist/util/isUndefined.cjs +1 -2
- package/dist/util/isUndefined.d.cts +2 -3
- package/dist/util/isUndefined.d.mts +2 -3
- package/dist/util/isUndefined.mjs +1 -2
- package/dist/util/promiseChunks.d.cts +2 -3
- package/dist/util/promiseChunks.d.mts +2 -3
- package/dist/util/server/getBrotliCompressed.d.cts +2 -3
- package/dist/util/server/getBrotliCompressed.d.mts +2 -3
- package/dist/util/server/getBrotliDecompressed.d.cts +2 -3
- package/dist/util/server/getBrotliDecompressed.d.mts +2 -3
- package/dist/util/server/getGzipCompressed.d.cts +2 -3
- package/dist/util/server/getGzipCompressed.d.mts +2 -3
- package/dist/util/server/getGzipDecompressed.d.cts +2 -3
- package/dist/util/server/getGzipDecompressed.d.mts +2 -3
- package/dist/util/sleep.d.cts +2 -3
- package/dist/util/sleep.d.mts +2 -3
- package/dist/util/sort.cjs +8 -0
- package/dist/util/sort.d.cts +7 -0
- package/dist/util/sort.d.mts +7 -0
- package/dist/util/sort.mjs +7 -0
- package/dist/webWorker/index.cjs +1 -1
- package/dist/webWorker/index.d.cts +2 -2
- package/dist/webWorker/index.d.mts +2 -2
- package/dist/webWorker/index.mjs +2 -2
- package/dist/webWorker/webWorkerState.cjs +2 -2
- package/dist/webWorker/webWorkerState.d.cts +3 -4
- package/dist/webWorker/webWorkerState.d.mts +3 -4
- package/dist/webWorker/webWorkerState.mjs +2 -2
- package/dist/xlsx/cell.d.cts +7 -8
- package/dist/xlsx/cell.d.mts +7 -8
- package/dist/xlsx/column.d.cts +4 -5
- package/dist/xlsx/column.d.mts +4 -5
- package/dist/xlsx/createXlsx.d.cts +3 -4
- package/dist/xlsx/createXlsx.d.mts +3 -4
- package/dist/xlsx/modifyXlsx.d.cts +3 -4
- package/dist/xlsx/modifyXlsx.d.mts +3 -4
- package/dist/xlsx/sheet.d.cts +4 -5
- package/dist/xlsx/sheet.d.mts +4 -5
- package/dist/xml/server/getXml.d.cts +2 -3
- package/dist/xml/server/getXml.d.mts +2 -3
- package/package.json +425 -109
- package/dist/brightData/serpApi/server/buildGoogleTrendsUrl.cjs +0 -51
- package/dist/brightData/serpApi/server/buildGoogleTrendsUrl.mjs +0 -50
- package/dist/geo/countries.cjs +0 -1333
- package/dist/geo/countries.d.cts +0 -15
- package/dist/geo/countries.d.mts +0 -15
- package/dist/geo/countries.mjs +0 -1332
- package/dist/geo/index.cjs +0 -5
- package/dist/geo/index.d.cts +0 -3
- package/dist/geo/index.d.mts +0 -3
- package/dist/geo/index.mjs +0 -3
- package/dist/geo/languages.cjs +0 -259
- package/dist/geo/languages.d.cts +0 -12
- package/dist/geo/languages.d.mts +0 -12
- package/dist/geo/languages.mjs +0 -258
- package/dist/googleAds/keywordPlanner/server/googleAdsKeywordPlanner.cjs +0 -53
- package/dist/googleAds/keywordPlanner/server/googleAdsKeywordPlanner.d.cts +0 -44
- package/dist/googleAds/keywordPlanner/server/googleAdsKeywordPlanner.d.mts +0 -44
- package/dist/googleAds/keywordPlanner/server/googleAdsKeywordPlanner.mjs +0 -49
- package/dist/googleCloud/bigquery/server/loadData.cjs +0 -13
- package/dist/googleCloud/bigquery/server/loadData.d.cts +0 -23
- package/dist/googleCloud/bigquery/server/loadData.d.mts +0 -23
- package/dist/googleCloud/bigquery/server/loadData.mjs +0 -12
- package/dist/nextAuth/index.cjs +0 -5
- package/dist/nextAuth/isSessionReady.d.cts +0 -4
- package/dist/nextAuth/isSessionReady.d.mts +0 -4
- package/dist/nextJs/client/index.cjs +0 -5
- package/dist/nextJs/client/index.d.cts +0 -3
- package/dist/nextJs/client/index.d.mts +0 -3
- package/dist/nextJs/client/index.mjs +0 -3
- package/dist/nextJs/client/useAsyncEffect.d.cts +0 -5
- package/dist/nextJs/client/useAsyncEffect.d.mts +0 -5
- package/dist/url/url.cjs +0 -42
- package/dist/url/url.d.cts +0 -19
- package/dist/url/url.d.mts +0 -19
- package/dist/url/url.mjs +0 -38
- package/dist/util/getClean.cjs +0 -16
- package/dist/util/getWithoutHash.d.cts +0 -7
- package/dist/util/getWithoutHash.d.mts +0 -7
- package/dist/util/getWithoutParameter.d.cts +0 -7
- package/dist/util/getWithoutParameter.d.mts +0 -7
- /package/dist/{nextAuth → react/client/nextAuth}/index.d.cts +0 -0
- /package/dist/{nextAuth → react/client/nextAuth}/index.d.mts +0 -0
- /package/dist/{nextAuth → react/client/nextAuth}/index.mjs +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
|
|
2
2
|
import { getToday } from "../../../date/calculation.mjs";
|
|
3
|
+
import { defaultDateTime } from "../../../date/date.mjs";
|
|
3
4
|
import { getYmdHisString } from "../../../date/format.mjs";
|
|
4
5
|
import "../../../date/index.mjs";
|
|
5
6
|
import { getFolder } from "../../../string/getFolder.mjs";
|
|
@@ -11,6 +12,7 @@ import { getBrotliCompressed } from "../../../util/server/getBrotliCompressed.mj
|
|
|
11
12
|
import { getBrotliDecompressed } from "../../../util/server/getBrotliDecompressed.mjs";
|
|
12
13
|
import { getGzipCompressed } from "../../../util/server/getGzipCompressed.mjs";
|
|
13
14
|
import { getGzipDecompressed } from "../../../util/server/getGzipDecompressed.mjs";
|
|
15
|
+
import { isEmpty } from "../../../string/server/isEmpty.mjs";
|
|
14
16
|
import { readFileDefault } from "./awsS3File.mjs";
|
|
15
17
|
import "./index.mjs";
|
|
16
18
|
import ky from "ky";
|
|
@@ -29,6 +31,16 @@ var AwsS3 = class extends BaseNamespace {
|
|
|
29
31
|
}
|
|
30
32
|
return this;
|
|
31
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
* Guard against writing null/undefined data, or a string that is empty once decoded
|
|
36
|
+
* (e.g. a gzip/brotli-compressed empty string). Non-string data (Buffer, stream, etc.)
|
|
37
|
+
* is only checked for null/undefined, since emptiness isn't well-defined for it.
|
|
38
|
+
*/
|
|
39
|
+
isNullOrEmptyData = async (data) => {
|
|
40
|
+
if (null === data || void 0 === data) return true;
|
|
41
|
+
if ("string" === typeof data) return isEmpty(data);
|
|
42
|
+
return false;
|
|
43
|
+
};
|
|
32
44
|
copy = async (fromBucket, fromKey, toBucket, toKey) => {
|
|
33
45
|
const { CopyObjectCommand } = await import("@aws-sdk/client-s3");
|
|
34
46
|
await this.client.send(new CopyObjectCommand({
|
|
@@ -187,10 +199,43 @@ var AwsS3 = class extends BaseNamespace {
|
|
|
187
199
|
}
|
|
188
200
|
return response;
|
|
189
201
|
};
|
|
202
|
+
getFileHead = async (bucket, key) => {
|
|
203
|
+
const response = {
|
|
204
|
+
exists: false,
|
|
205
|
+
fileType: null,
|
|
206
|
+
size: -1,
|
|
207
|
+
modified: defaultDateTime,
|
|
208
|
+
etag: null,
|
|
209
|
+
versionId: null,
|
|
210
|
+
encoding: null,
|
|
211
|
+
cacheControl: null,
|
|
212
|
+
meta: {},
|
|
213
|
+
expires: null
|
|
214
|
+
};
|
|
215
|
+
try {
|
|
216
|
+
const { HeadObjectCommand } = await import("@aws-sdk/client-s3");
|
|
217
|
+
const apiResponse = await this.client.send(new HeadObjectCommand({
|
|
218
|
+
Bucket: bucket,
|
|
219
|
+
Key: key
|
|
220
|
+
}));
|
|
221
|
+
response.exists = isResponse200(apiResponse);
|
|
222
|
+
response.fileType = apiResponse.ContentType ?? null;
|
|
223
|
+
response.size = apiResponse.ContentLength ?? -1;
|
|
224
|
+
response.modified = getYmdHisString(apiResponse.LastModified);
|
|
225
|
+
response.etag = apiResponse.ETag ?? null;
|
|
226
|
+
response.versionId = apiResponse.VersionId ?? null;
|
|
227
|
+
response.encoding = apiResponse.ContentEncoding ?? null;
|
|
228
|
+
response.cacheControl = apiResponse.CacheControl ?? null;
|
|
229
|
+
response.meta = apiResponse.Metadata ?? {};
|
|
230
|
+
response.expires = apiResponse.ExpiresString ?? null;
|
|
231
|
+
} catch (exception) {
|
|
232
|
+
response.exists = false;
|
|
233
|
+
}
|
|
234
|
+
return response;
|
|
235
|
+
};
|
|
190
236
|
readFile = async (bucket, key, options = {}) => {
|
|
191
237
|
let response = structuredClone(readFileDefault);
|
|
192
238
|
const today = getToday();
|
|
193
|
-
getToday(true);
|
|
194
239
|
try {
|
|
195
240
|
response.now = today.toUnixInteger();
|
|
196
241
|
const { GetObjectCommand } = await import("@aws-sdk/client-s3");
|
|
@@ -233,6 +278,7 @@ var AwsS3 = class extends BaseNamespace {
|
|
|
233
278
|
return await this.writeFile(bucket, key, finalData, awsS3Options);
|
|
234
279
|
};
|
|
235
280
|
writeFile = async (bucket, key, data, options = {}) => {
|
|
281
|
+
if (await this.isNullOrEmptyData(data)) return null;
|
|
236
282
|
const { PutObjectCommand } = await import("@aws-sdk/client-s3");
|
|
237
283
|
return await this.client.send(new PutObjectCommand({
|
|
238
284
|
Bucket: bucket,
|
|
@@ -245,11 +291,13 @@ var AwsS3 = class extends BaseNamespace {
|
|
|
245
291
|
return await this.writeFile(bucket, key, JSON.stringify(data), options);
|
|
246
292
|
};
|
|
247
293
|
writeJsonGzip = async (bucket, key, data, gzipOptions = {}, awsS3Options = {}) => {
|
|
294
|
+
if (await this.isNullOrEmptyData(data)) return null;
|
|
248
295
|
let finalData = JSON.stringify(data);
|
|
249
296
|
finalData = await getGzipCompressed(finalData, gzipOptions);
|
|
250
297
|
return await this.writeFile(bucket, key, finalData, awsS3Options);
|
|
251
298
|
};
|
|
252
299
|
writeGzip = async (bucket, key, data, gzipOptions = {}, awsS3Options = {}) => {
|
|
300
|
+
if (await this.isNullOrEmptyData(data)) return null;
|
|
253
301
|
let finalData = data;
|
|
254
302
|
finalData = await getGzipCompressed(finalData, gzipOptions);
|
|
255
303
|
return await this.writeFile(bucket, key, finalData, awsS3Options);
|
|
@@ -258,24 +306,16 @@ var AwsS3 = class extends BaseNamespace {
|
|
|
258
306
|
* Get a presigned post URL so we can upload directly to S3 via frontend.
|
|
259
307
|
*/
|
|
260
308
|
presignedPost = async (props) => {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
Object.entries(props.fields).forEach(([key, value]) => {
|
|
265
|
-
formData.append(key, value);
|
|
266
|
-
});
|
|
267
|
-
formData.append("file", props.file);
|
|
268
|
-
if ((await fetch(props.url, {
|
|
269
|
-
method: "POST",
|
|
270
|
-
body: formData
|
|
271
|
-
})).ok) {
|
|
272
|
-
response = `https://${props.bucket}.s3.${this.config.region}.amazonaws.com/${props.key}`;
|
|
273
|
-
resolve(response);
|
|
274
|
-
} else {
|
|
275
|
-
response = null;
|
|
276
|
-
reject(response);
|
|
277
|
-
}
|
|
309
|
+
const formData = new FormData();
|
|
310
|
+
Object.entries(props.fields).forEach(([key, value]) => {
|
|
311
|
+
formData.append(key, value);
|
|
278
312
|
});
|
|
313
|
+
formData.append("file", props.file);
|
|
314
|
+
if (!(await fetch(props.url, {
|
|
315
|
+
method: "POST",
|
|
316
|
+
body: formData
|
|
317
|
+
})).ok) throw new Error("Failed to upload to S3");
|
|
318
|
+
return `https://${props.bucket}.s3.${this.config.region}.amazonaws.com/${props.key}`;
|
|
279
319
|
};
|
|
280
320
|
/**
|
|
281
321
|
* Download a file and write to S3.
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
//#region src/aws/s3/server/awsS3File.d.ts
|
|
2
|
-
type Modified = {
|
|
2
|
+
export type Modified = {
|
|
3
3
|
now?: number;
|
|
4
4
|
modified: string;
|
|
5
5
|
};
|
|
6
|
-
type ReadFileResponse = Modified & {
|
|
6
|
+
export type ReadFileResponse = Modified & {
|
|
7
7
|
body: any;
|
|
8
8
|
error: any;
|
|
9
9
|
};
|
|
10
|
-
declare const readFileDefault: ReadFileResponse;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { Modified, ReadFileResponse, readFileDefault };
|
|
10
|
+
export declare const readFileDefault: ReadFileResponse;
|
|
11
|
+
//#endregion
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
//#region src/aws/s3/server/awsS3File.d.ts
|
|
2
|
-
type Modified = {
|
|
2
|
+
export type Modified = {
|
|
3
3
|
now?: number;
|
|
4
4
|
modified: string;
|
|
5
5
|
};
|
|
6
|
-
type ReadFileResponse = Modified & {
|
|
6
|
+
export type ReadFileResponse = Modified & {
|
|
7
7
|
body: any;
|
|
8
8
|
error: any;
|
|
9
9
|
};
|
|
10
|
-
declare const readFileDefault: ReadFileResponse;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { Modified, ReadFileResponse, readFileDefault };
|
|
10
|
+
export declare const readFileDefault: ReadFileResponse;
|
|
11
|
+
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Modified, ReadFileResponse, readFileDefault } from "./awsS3File.cjs";
|
|
2
2
|
import { PayloadSchemaType, payloadSchema } from "./payload.cjs";
|
|
3
|
-
import { AwsS3, ReadBufferResponse } from "./AwsS3.cjs";
|
|
4
|
-
export { AwsS3, Modified, PayloadSchemaType, ReadBufferResponse, ReadFileResponse, payloadSchema, readFileDefault };
|
|
3
|
+
import { AwsS3, FileHeadResponse, ReadBufferResponse } from "./AwsS3.cjs";
|
|
4
|
+
export { AwsS3, FileHeadResponse, Modified, PayloadSchemaType, ReadBufferResponse, ReadFileResponse, payloadSchema, readFileDefault };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Modified, ReadFileResponse, readFileDefault } from "./awsS3File.mjs";
|
|
2
2
|
import { PayloadSchemaType, payloadSchema } from "./payload.mjs";
|
|
3
|
-
import { AwsS3, ReadBufferResponse } from "./AwsS3.mjs";
|
|
4
|
-
export { AwsS3, Modified, PayloadSchemaType, ReadBufferResponse, ReadFileResponse, payloadSchema, readFileDefault };
|
|
3
|
+
import { AwsS3, FileHeadResponse, ReadBufferResponse } from "./AwsS3.mjs";
|
|
4
|
+
export { AwsS3, FileHeadResponse, Modified, PayloadSchemaType, ReadBufferResponse, ReadFileResponse, payloadSchema, readFileDefault };
|
|
@@ -2,6 +2,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
let zod_v4 = require("zod/v4");
|
|
3
3
|
//#region src/aws/s3/server/payload.ts
|
|
4
4
|
/**
|
|
5
|
+
* This comes from AWS using S3 callback.
|
|
6
|
+
*
|
|
5
7
|
* https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-content-structure.html
|
|
6
8
|
*/
|
|
7
9
|
const payloadSchema = zod_v4.z.object({ Records: zod_v4.z.object({
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
//#region src/aws/s3/server/payload.d.ts
|
|
3
3
|
/**
|
|
4
|
+
* This comes from AWS using S3 callback.
|
|
5
|
+
*
|
|
4
6
|
* https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-content-structure.html
|
|
5
7
|
*/
|
|
6
|
-
declare const payloadSchema: z.ZodObject<{
|
|
8
|
+
export declare const payloadSchema: z.ZodObject<{
|
|
7
9
|
Records: z.ZodArray<z.ZodObject<{
|
|
8
10
|
eventVersion: z.ZodString;
|
|
9
11
|
eventSource: z.ZodString;
|
|
@@ -40,6 +42,5 @@ declare const payloadSchema: z.ZodObject<{
|
|
|
40
42
|
}, z.core.$strip>;
|
|
41
43
|
}, z.core.$strip>>;
|
|
42
44
|
}, z.core.$strip>;
|
|
43
|
-
type PayloadSchemaType = z.infer<typeof payloadSchema>;
|
|
44
|
-
//#endregion
|
|
45
|
-
export { PayloadSchemaType, payloadSchema };
|
|
45
|
+
export type PayloadSchemaType = z.infer<typeof payloadSchema>;
|
|
46
|
+
//#endregion
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
//#region src/aws/s3/server/payload.d.ts
|
|
3
3
|
/**
|
|
4
|
+
* This comes from AWS using S3 callback.
|
|
5
|
+
*
|
|
4
6
|
* https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-content-structure.html
|
|
5
7
|
*/
|
|
6
|
-
declare const payloadSchema: z.ZodObject<{
|
|
8
|
+
export declare const payloadSchema: z.ZodObject<{
|
|
7
9
|
Records: z.ZodArray<z.ZodObject<{
|
|
8
10
|
eventVersion: z.ZodString;
|
|
9
11
|
eventSource: z.ZodString;
|
|
@@ -40,6 +42,5 @@ declare const payloadSchema: z.ZodObject<{
|
|
|
40
42
|
}, z.core.$strip>;
|
|
41
43
|
}, z.core.$strip>>;
|
|
42
44
|
}, z.core.$strip>;
|
|
43
|
-
type PayloadSchemaType = z.infer<typeof payloadSchema>;
|
|
44
|
-
//#endregion
|
|
45
|
-
export { PayloadSchemaType, payloadSchema };
|
|
45
|
+
export type PayloadSchemaType = z.infer<typeof payloadSchema>;
|
|
46
|
+
//#endregion
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
//#region src/aws/s3/server/payload.ts
|
|
3
3
|
/**
|
|
4
|
+
* This comes from AWS using S3 callback.
|
|
5
|
+
*
|
|
4
6
|
* https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-content-structure.html
|
|
5
7
|
*/
|
|
6
8
|
const payloadSchema = z.object({ Records: z.object({
|
|
@@ -13,6 +13,5 @@ type AwsConfig = {
|
|
|
13
13
|
sessionToken?: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
declare const getAwsConfig: (props: GetAwsConfigProps) => Promise<AwsConfig>;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { getAwsConfig };
|
|
16
|
+
export declare const getAwsConfig: (props: GetAwsConfigProps) => Promise<AwsConfig>;
|
|
17
|
+
//#endregion
|
|
@@ -13,6 +13,5 @@ type AwsConfig = {
|
|
|
13
13
|
sessionToken?: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
declare const getAwsConfig: (props: GetAwsConfigProps) => Promise<AwsConfig>;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { getAwsConfig };
|
|
16
|
+
export declare const getAwsConfig: (props: GetAwsConfigProps) => Promise<AwsConfig>;
|
|
17
|
+
//#endregion
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
|
|
2
2
|
import { SESv2Client, SendEmailCommandInput } from "@aws-sdk/client-sesv2";
|
|
3
3
|
//#region src/aws/ses/server/AwsSes.d.ts
|
|
4
|
-
declare class AwsSes extends BaseNamespace {
|
|
4
|
+
export declare class AwsSes extends BaseNamespace {
|
|
5
5
|
client: SESv2Client;
|
|
6
6
|
config: any;
|
|
7
7
|
init: (config: any, region?: string) => Promise<this>;
|
|
8
8
|
send: (input: SendEmailCommandInput) => Promise<unknown>;
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { AwsSes };
|
|
10
|
+
//#endregion
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
|
|
2
2
|
import { SESv2Client, SendEmailCommandInput } from "@aws-sdk/client-sesv2";
|
|
3
3
|
//#region src/aws/ses/server/AwsSes.d.ts
|
|
4
|
-
declare class AwsSes extends BaseNamespace {
|
|
4
|
+
export declare class AwsSes extends BaseNamespace {
|
|
5
5
|
client: SESv2Client;
|
|
6
6
|
config: any;
|
|
7
7
|
init: (config: any, region?: string) => Promise<this>;
|
|
8
8
|
send: (input: SendEmailCommandInput) => Promise<unknown>;
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { AwsSes };
|
|
10
|
+
//#endregion
|
|
@@ -19,7 +19,7 @@ type ConstructorProps = {
|
|
|
19
19
|
/**
|
|
20
20
|
* Class to build and send an AWS SES email.
|
|
21
21
|
*/
|
|
22
|
-
declare class SimpleEmail extends BaseClass {
|
|
22
|
+
export declare class SimpleEmail extends BaseClass {
|
|
23
23
|
from?: string;
|
|
24
24
|
to: string[];
|
|
25
25
|
cc: string[];
|
|
@@ -51,5 +51,4 @@ declare class SimpleEmail extends BaseClass {
|
|
|
51
51
|
private _getContentTypeFromFilename;
|
|
52
52
|
private _filterRecipients;
|
|
53
53
|
}
|
|
54
|
-
//#endregion
|
|
55
|
-
export { SimpleEmail };
|
|
54
|
+
//#endregion
|
|
@@ -19,7 +19,7 @@ type ConstructorProps = {
|
|
|
19
19
|
/**
|
|
20
20
|
* Class to build and send an AWS SES email.
|
|
21
21
|
*/
|
|
22
|
-
declare class SimpleEmail extends BaseClass {
|
|
22
|
+
export declare class SimpleEmail extends BaseClass {
|
|
23
23
|
from?: string;
|
|
24
24
|
to: string[];
|
|
25
25
|
cc: string[];
|
|
@@ -51,5 +51,4 @@ declare class SimpleEmail extends BaseClass {
|
|
|
51
51
|
private _getContentTypeFromFilename;
|
|
52
52
|
private _filterRecipients;
|
|
53
53
|
}
|
|
54
|
-
//#endregion
|
|
55
|
-
export { SimpleEmail };
|
|
54
|
+
//#endregion
|
|
@@ -23,7 +23,7 @@ type AddToQueue = {
|
|
|
23
23
|
queueId?: string;
|
|
24
24
|
queueUrl: string;
|
|
25
25
|
};
|
|
26
|
-
declare class AwsSqs extends BaseNamespace {
|
|
26
|
+
export declare class AwsSqs extends BaseNamespace {
|
|
27
27
|
client: SQSClient;
|
|
28
28
|
config: any;
|
|
29
29
|
init: (config: any, region?: string) => Promise<this>;
|
|
@@ -31,5 +31,4 @@ declare class AwsSqs extends BaseNamespace {
|
|
|
31
31
|
deleteFromQueue: (queueUrl: string, recipientHandle: string) => Promise<import("@aws-sdk/client-sqs").DeleteMessageCommandOutput>;
|
|
32
32
|
isEventSqs: (event: SqsEvent) => Promise<boolean>;
|
|
33
33
|
}
|
|
34
|
-
//#endregion
|
|
35
|
-
export { AwsSqs };
|
|
34
|
+
//#endregion
|
|
@@ -23,7 +23,7 @@ type AddToQueue = {
|
|
|
23
23
|
queueId?: string;
|
|
24
24
|
queueUrl: string;
|
|
25
25
|
};
|
|
26
|
-
declare class AwsSqs extends BaseNamespace {
|
|
26
|
+
export declare class AwsSqs extends BaseNamespace {
|
|
27
27
|
client: SQSClient;
|
|
28
28
|
config: any;
|
|
29
29
|
init: (config: any, region?: string) => Promise<this>;
|
|
@@ -31,5 +31,4 @@ declare class AwsSqs extends BaseNamespace {
|
|
|
31
31
|
deleteFromQueue: (queueUrl: string, recipientHandle: string) => Promise<import("@aws-sdk/client-sqs").DeleteMessageCommandOutput>;
|
|
32
32
|
isEventSqs: (event: SqsEvent) => Promise<boolean>;
|
|
33
33
|
}
|
|
34
|
-
//#endregion
|
|
35
|
-
export { AwsSqs };
|
|
34
|
+
//#endregion
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
|
|
2
2
|
import { SSMClient } from "@aws-sdk/client-ssm";
|
|
3
3
|
//#region src/aws/ssm/server/AwsSsm.d.ts
|
|
4
|
-
declare class AwsSsm extends BaseNamespace {
|
|
4
|
+
export declare class AwsSsm extends BaseNamespace {
|
|
5
5
|
client: SSMClient;
|
|
6
6
|
config: any;
|
|
7
7
|
parameters: Map<string, any>;
|
|
8
8
|
init: (config: any, region?: string) => Promise<this>;
|
|
9
9
|
getParameter: (name: string, withDecryption?: boolean, isJson?: boolean) => Promise<any>;
|
|
10
10
|
}
|
|
11
|
-
//#endregion
|
|
12
|
-
export { AwsSsm };
|
|
11
|
+
//#endregion
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
|
|
2
2
|
import { SSMClient } from "@aws-sdk/client-ssm";
|
|
3
3
|
//#region src/aws/ssm/server/AwsSsm.d.ts
|
|
4
|
-
declare class AwsSsm extends BaseNamespace {
|
|
4
|
+
export declare class AwsSsm extends BaseNamespace {
|
|
5
5
|
client: SSMClient;
|
|
6
6
|
config: any;
|
|
7
7
|
parameters: Map<string, any>;
|
|
8
8
|
init: (config: any, region?: string) => Promise<this>;
|
|
9
9
|
getParameter: (name: string, withDecryption?: boolean, isJson?: boolean) => Promise<any>;
|
|
10
10
|
}
|
|
11
|
-
//#endregion
|
|
12
|
-
export { AwsSsm };
|
|
11
|
+
//#endregion
|
|
@@ -2,6 +2,5 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Convert an input from a variety of forms into boolean.
|
|
4
4
|
*/
|
|
5
|
-
declare const getBoolean: (input: any, defaultValue?: boolean) => boolean;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { getBoolean };
|
|
5
|
+
export declare const getBoolean: (input: any, defaultValue?: boolean) => boolean;
|
|
6
|
+
//#endregion
|
|
@@ -2,6 +2,5 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Convert an input from a variety of forms into boolean.
|
|
4
4
|
*/
|
|
5
|
-
declare const getBoolean: (input: any, defaultValue?: boolean) => boolean;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { getBoolean };
|
|
5
|
+
export declare const getBoolean: (input: any, defaultValue?: boolean) => boolean;
|
|
6
|
+
//#endregion
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_brightData_googleTrends_widgetId = require("./widgetId.cjs");
|
|
3
|
+
let zod = require("zod");
|
|
4
|
+
//#region src/brightData/googleTrends/brightDataSerpGoogleTrends.ts
|
|
5
|
+
const TimelineSchema = zod.z.object({
|
|
6
|
+
id: zod.z.literal(require_brightData_googleTrends_widgetId.widgetId.TIMESERIES),
|
|
7
|
+
type: zod.z.literal(require_brightData_googleTrends_widgetId.widgetType.TIMESERIES),
|
|
8
|
+
title: zod.z.string(),
|
|
9
|
+
data: zod.z.object({ default: zod.z.object({
|
|
10
|
+
timelineData: zod.z.object({
|
|
11
|
+
time: zod.z.string(),
|
|
12
|
+
formattedTime: zod.z.string(),
|
|
13
|
+
formattedAxisTime: zod.z.string(),
|
|
14
|
+
value: zod.z.number().array().length(1),
|
|
15
|
+
hasData: zod.z.boolean().array().length(1),
|
|
16
|
+
formattedValue: zod.z.string().array().length(1),
|
|
17
|
+
isPartial: zod.z.boolean().optional()
|
|
18
|
+
}).array(),
|
|
19
|
+
averages: zod.z.any().array()
|
|
20
|
+
}) })
|
|
21
|
+
});
|
|
22
|
+
const GeoSchema = zod.z.object({
|
|
23
|
+
id: zod.z.literal(require_brightData_googleTrends_widgetId.widgetId.GEO),
|
|
24
|
+
type: zod.z.literal(require_brightData_googleTrends_widgetId.widgetType.GEO),
|
|
25
|
+
title: zod.z.string(),
|
|
26
|
+
data: zod.z.object({ default: zod.z.object({ geoMapData: zod.z.object({
|
|
27
|
+
geoCode: zod.z.string(),
|
|
28
|
+
geoName: zod.z.string(),
|
|
29
|
+
value: zod.z.number().array().length(1),
|
|
30
|
+
formattedValue: zod.z.string().array().length(1),
|
|
31
|
+
maxValueIndex: zod.z.number(),
|
|
32
|
+
hasData: zod.z.boolean().array().length(1)
|
|
33
|
+
}).array() }) })
|
|
34
|
+
});
|
|
35
|
+
const RelatedTopicsSchema = zod.z.object({
|
|
36
|
+
id: zod.z.literal(require_brightData_googleTrends_widgetId.widgetId.RELATED_TOPICS),
|
|
37
|
+
type: zod.z.literal(require_brightData_googleTrends_widgetId.widgetType.RELATED_TOPICS),
|
|
38
|
+
title: zod.z.string(),
|
|
39
|
+
data: zod.z.object({ default: zod.z.object({ rankedList: zod.z.tuple([zod.z.object({ rankedKeyword: zod.z.object({
|
|
40
|
+
topic: zod.z.object({
|
|
41
|
+
mid: zod.z.string(),
|
|
42
|
+
title: zod.z.string(),
|
|
43
|
+
type: zod.z.string()
|
|
44
|
+
}),
|
|
45
|
+
value: zod.z.number(),
|
|
46
|
+
formattedValue: zod.z.string(),
|
|
47
|
+
hasData: zod.z.boolean(),
|
|
48
|
+
link: zod.z.string()
|
|
49
|
+
}).array() }), zod.z.object({ rankedKeyword: zod.z.object({
|
|
50
|
+
topic: zod.z.object({
|
|
51
|
+
mid: zod.z.string(),
|
|
52
|
+
title: zod.z.string(),
|
|
53
|
+
type: zod.z.string()
|
|
54
|
+
}),
|
|
55
|
+
value: zod.z.number(),
|
|
56
|
+
formattedValue: zod.z.string(),
|
|
57
|
+
link: zod.z.string()
|
|
58
|
+
}).array() })]) }) })
|
|
59
|
+
});
|
|
60
|
+
const RelatedQueriesSchema = zod.z.object({
|
|
61
|
+
id: zod.z.literal(require_brightData_googleTrends_widgetId.widgetId.RELATED_QUERIES),
|
|
62
|
+
type: zod.z.literal(require_brightData_googleTrends_widgetId.widgetType.RELATED_QUERIES),
|
|
63
|
+
title: zod.z.string(),
|
|
64
|
+
data: zod.z.object({ default: zod.z.object({ rankedList: zod.z.tuple([zod.z.object({ rankedKeyword: zod.z.object({
|
|
65
|
+
query: zod.z.string(),
|
|
66
|
+
value: zod.z.number(),
|
|
67
|
+
formattedValue: zod.z.string(),
|
|
68
|
+
hasData: zod.z.boolean(),
|
|
69
|
+
link: zod.z.string()
|
|
70
|
+
}).array() }), zod.z.object({ rankedKeyword: zod.z.object({
|
|
71
|
+
query: zod.z.string(),
|
|
72
|
+
value: zod.z.number(),
|
|
73
|
+
formattedValue: zod.z.string(),
|
|
74
|
+
link: zod.z.string()
|
|
75
|
+
}).array() })]) }) })
|
|
76
|
+
});
|
|
77
|
+
const KeywordsSchema = zod.z.object({
|
|
78
|
+
keyword: zod.z.string(),
|
|
79
|
+
name: zod.z.string(),
|
|
80
|
+
type: zod.z.string()
|
|
81
|
+
}).array().length(1);
|
|
82
|
+
const BrightDataSerpGoogleTrendsSchema = zod.z.object({
|
|
83
|
+
widgets: zod.z.tuple([
|
|
84
|
+
TimelineSchema,
|
|
85
|
+
GeoSchema,
|
|
86
|
+
RelatedTopicsSchema,
|
|
87
|
+
RelatedQueriesSchema
|
|
88
|
+
]),
|
|
89
|
+
keywords: KeywordsSchema
|
|
90
|
+
});
|
|
91
|
+
//#endregion
|
|
92
|
+
exports.BrightDataSerpGoogleTrendsSchema = BrightDataSerpGoogleTrendsSchema;
|
|
93
|
+
exports.GeoSchema = GeoSchema;
|
|
94
|
+
exports.KeywordsSchema = KeywordsSchema;
|
|
95
|
+
exports.RelatedQueriesSchema = RelatedQueriesSchema;
|
|
96
|
+
exports.RelatedTopicsSchema = RelatedTopicsSchema;
|
|
97
|
+
exports.TimelineSchema = TimelineSchema;
|