@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
|
@@ -10,12 +10,11 @@ var GoogleCloudDrive = class extends require__class_BaseNamespace.BaseNamespace
|
|
|
10
10
|
init = async (isOidc, config, projectId, region) => {
|
|
11
11
|
if (!this.client) try {
|
|
12
12
|
const googleApisDrive = await import("@googleapis/drive");
|
|
13
|
-
this.client = new googleApisDrive.auth.GoogleAuth({
|
|
14
|
-
|
|
15
|
-
credentials: isOidc ? void 0 : config,
|
|
13
|
+
this.client = isOidc ? config : await new googleApisDrive.auth.GoogleAuth({
|
|
14
|
+
credentials: config,
|
|
16
15
|
projectId,
|
|
17
16
|
scopes: ["https://www.googleapis.com/auth/drive"]
|
|
18
|
-
});
|
|
17
|
+
}).getClient();
|
|
19
18
|
} catch (e) {
|
|
20
19
|
throw new Error("Google Drive Client not installed");
|
|
21
20
|
}
|
|
@@ -86,6 +85,67 @@ var GoogleCloudDrive = class extends require__class_BaseNamespace.BaseNamespace
|
|
|
86
85
|
});
|
|
87
86
|
};
|
|
88
87
|
/**
|
|
88
|
+
* Rename a file in Google Drive.
|
|
89
|
+
*/
|
|
90
|
+
renameFile = async (fileId, newName) => {
|
|
91
|
+
const apiResponse = await (await import("@googleapis/drive")).drive("v3").files.update({
|
|
92
|
+
auth: this.client,
|
|
93
|
+
fileId,
|
|
94
|
+
fields: "id, name, mimeType, modifiedTime",
|
|
95
|
+
requestBody: { name: newName }
|
|
96
|
+
});
|
|
97
|
+
return {
|
|
98
|
+
id: apiResponse.data.id ?? "",
|
|
99
|
+
name: apiResponse.data.name ?? "",
|
|
100
|
+
mimeType: apiResponse.data.mimeType ?? "",
|
|
101
|
+
modifiedTime: apiResponse.data.modifiedTime ?? ""
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Copy a file in Google Drive, optionally renaming it and/or placing it in a new parent folder.
|
|
106
|
+
*/
|
|
107
|
+
copyFile = async (fileId, newName, parentFolderId) => {
|
|
108
|
+
const apiResponse = await (await import("@googleapis/drive")).drive("v3").files.copy({
|
|
109
|
+
auth: this.client,
|
|
110
|
+
fileId,
|
|
111
|
+
fields: "id, name, mimeType, modifiedTime",
|
|
112
|
+
requestBody: {
|
|
113
|
+
...newName ? { name: newName } : {},
|
|
114
|
+
...parentFolderId ? { parents: [parentFolderId] } : {}
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
return {
|
|
118
|
+
id: apiResponse.data.id ?? "",
|
|
119
|
+
name: apiResponse.data.name ?? "",
|
|
120
|
+
mimeType: apiResponse.data.mimeType ?? "",
|
|
121
|
+
modifiedTime: apiResponse.data.modifiedTime ?? ""
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Move a file to a new parent folder in Google Drive.
|
|
126
|
+
*/
|
|
127
|
+
moveFile = async (fileId, newParentFolderId) => {
|
|
128
|
+
const drive = (await import("@googleapis/drive")).drive("v3");
|
|
129
|
+
const previousParents = ((await drive.files.get({
|
|
130
|
+
auth: this.client,
|
|
131
|
+
fileId,
|
|
132
|
+
fields: "parents"
|
|
133
|
+
})).data.parents ?? []).join(",");
|
|
134
|
+
const apiResponse = await drive.files.update({
|
|
135
|
+
auth: this.client,
|
|
136
|
+
fileId,
|
|
137
|
+
addParents: newParentFolderId,
|
|
138
|
+
removeParents: previousParents,
|
|
139
|
+
fields: "id, name, mimeType, modifiedTime"
|
|
140
|
+
});
|
|
141
|
+
return {
|
|
142
|
+
id: apiResponse.data.id ?? "",
|
|
143
|
+
name: apiResponse.data.name ?? "",
|
|
144
|
+
mimeType: apiResponse.data.mimeType ?? "",
|
|
145
|
+
modifiedTime: apiResponse.data.modifiedTime ?? ""
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
89
149
|
* Write a file to Google Drive within the given parent folder.
|
|
90
150
|
*/
|
|
91
151
|
writeFile = async (parentFolderId, fileName, data, options = {}) => {
|
|
@@ -9,7 +9,7 @@ type DriveFile = {
|
|
|
9
9
|
mimeType: string;
|
|
10
10
|
modifiedTime: string;
|
|
11
11
|
};
|
|
12
|
-
declare class GoogleCloudDrive extends BaseNamespace {
|
|
12
|
+
export declare class GoogleCloudDrive extends BaseNamespace {
|
|
13
13
|
client: any;
|
|
14
14
|
config: any;
|
|
15
15
|
/**
|
|
@@ -32,6 +32,18 @@ declare class GoogleCloudDrive extends BaseNamespace {
|
|
|
32
32
|
* Move a file to the Google Drive trash.
|
|
33
33
|
*/
|
|
34
34
|
deleteFile: (fileId: string) => Promise<void>;
|
|
35
|
+
/**
|
|
36
|
+
* Rename a file in Google Drive.
|
|
37
|
+
*/
|
|
38
|
+
renameFile: (fileId: string, newName: string) => Promise<DriveFile>;
|
|
39
|
+
/**
|
|
40
|
+
* Copy a file in Google Drive, optionally renaming it and/or placing it in a new parent folder.
|
|
41
|
+
*/
|
|
42
|
+
copyFile: (fileId: string, newName?: string, parentFolderId?: string) => Promise<DriveFile>;
|
|
43
|
+
/**
|
|
44
|
+
* Move a file to a new parent folder in Google Drive.
|
|
45
|
+
*/
|
|
46
|
+
moveFile: (fileId: string, newParentFolderId: string) => Promise<DriveFile>;
|
|
35
47
|
/**
|
|
36
48
|
* Write a file to Google Drive within the given parent folder.
|
|
37
49
|
*/
|
|
@@ -49,5 +61,4 @@ declare class GoogleCloudDrive extends BaseNamespace {
|
|
|
49
61
|
}>;
|
|
50
62
|
readJsonGzip: (fileId: string, gzipOptions?: object, driveOptions?: Options) => Promise<any>;
|
|
51
63
|
}
|
|
52
|
-
//#endregion
|
|
53
|
-
export { GoogleCloudDrive };
|
|
64
|
+
//#endregion
|
|
@@ -9,7 +9,7 @@ type DriveFile = {
|
|
|
9
9
|
mimeType: string;
|
|
10
10
|
modifiedTime: string;
|
|
11
11
|
};
|
|
12
|
-
declare class GoogleCloudDrive extends BaseNamespace {
|
|
12
|
+
export declare class GoogleCloudDrive extends BaseNamespace {
|
|
13
13
|
client: any;
|
|
14
14
|
config: any;
|
|
15
15
|
/**
|
|
@@ -32,6 +32,18 @@ declare class GoogleCloudDrive extends BaseNamespace {
|
|
|
32
32
|
* Move a file to the Google Drive trash.
|
|
33
33
|
*/
|
|
34
34
|
deleteFile: (fileId: string) => Promise<void>;
|
|
35
|
+
/**
|
|
36
|
+
* Rename a file in Google Drive.
|
|
37
|
+
*/
|
|
38
|
+
renameFile: (fileId: string, newName: string) => Promise<DriveFile>;
|
|
39
|
+
/**
|
|
40
|
+
* Copy a file in Google Drive, optionally renaming it and/or placing it in a new parent folder.
|
|
41
|
+
*/
|
|
42
|
+
copyFile: (fileId: string, newName?: string, parentFolderId?: string) => Promise<DriveFile>;
|
|
43
|
+
/**
|
|
44
|
+
* Move a file to a new parent folder in Google Drive.
|
|
45
|
+
*/
|
|
46
|
+
moveFile: (fileId: string, newParentFolderId: string) => Promise<DriveFile>;
|
|
35
47
|
/**
|
|
36
48
|
* Write a file to Google Drive within the given parent folder.
|
|
37
49
|
*/
|
|
@@ -49,5 +61,4 @@ declare class GoogleCloudDrive extends BaseNamespace {
|
|
|
49
61
|
}>;
|
|
50
62
|
readJsonGzip: (fileId: string, gzipOptions?: object, driveOptions?: Options) => Promise<any>;
|
|
51
63
|
}
|
|
52
|
-
//#endregion
|
|
53
|
-
export { GoogleCloudDrive };
|
|
64
|
+
//#endregion
|
|
@@ -9,12 +9,11 @@ var GoogleCloudDrive = class extends BaseNamespace {
|
|
|
9
9
|
init = async (isOidc, config, projectId, region) => {
|
|
10
10
|
if (!this.client) try {
|
|
11
11
|
const googleApisDrive = await import("@googleapis/drive");
|
|
12
|
-
this.client = new googleApisDrive.auth.GoogleAuth({
|
|
13
|
-
|
|
14
|
-
credentials: isOidc ? void 0 : config,
|
|
12
|
+
this.client = isOidc ? config : await new googleApisDrive.auth.GoogleAuth({
|
|
13
|
+
credentials: config,
|
|
15
14
|
projectId,
|
|
16
15
|
scopes: ["https://www.googleapis.com/auth/drive"]
|
|
17
|
-
});
|
|
16
|
+
}).getClient();
|
|
18
17
|
} catch (e) {
|
|
19
18
|
throw new Error("Google Drive Client not installed");
|
|
20
19
|
}
|
|
@@ -85,6 +84,67 @@ var GoogleCloudDrive = class extends BaseNamespace {
|
|
|
85
84
|
});
|
|
86
85
|
};
|
|
87
86
|
/**
|
|
87
|
+
* Rename a file in Google Drive.
|
|
88
|
+
*/
|
|
89
|
+
renameFile = async (fileId, newName) => {
|
|
90
|
+
const apiResponse = await (await import("@googleapis/drive")).drive("v3").files.update({
|
|
91
|
+
auth: this.client,
|
|
92
|
+
fileId,
|
|
93
|
+
fields: "id, name, mimeType, modifiedTime",
|
|
94
|
+
requestBody: { name: newName }
|
|
95
|
+
});
|
|
96
|
+
return {
|
|
97
|
+
id: apiResponse.data.id ?? "",
|
|
98
|
+
name: apiResponse.data.name ?? "",
|
|
99
|
+
mimeType: apiResponse.data.mimeType ?? "",
|
|
100
|
+
modifiedTime: apiResponse.data.modifiedTime ?? ""
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Copy a file in Google Drive, optionally renaming it and/or placing it in a new parent folder.
|
|
105
|
+
*/
|
|
106
|
+
copyFile = async (fileId, newName, parentFolderId) => {
|
|
107
|
+
const apiResponse = await (await import("@googleapis/drive")).drive("v3").files.copy({
|
|
108
|
+
auth: this.client,
|
|
109
|
+
fileId,
|
|
110
|
+
fields: "id, name, mimeType, modifiedTime",
|
|
111
|
+
requestBody: {
|
|
112
|
+
...newName ? { name: newName } : {},
|
|
113
|
+
...parentFolderId ? { parents: [parentFolderId] } : {}
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
return {
|
|
117
|
+
id: apiResponse.data.id ?? "",
|
|
118
|
+
name: apiResponse.data.name ?? "",
|
|
119
|
+
mimeType: apiResponse.data.mimeType ?? "",
|
|
120
|
+
modifiedTime: apiResponse.data.modifiedTime ?? ""
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Move a file to a new parent folder in Google Drive.
|
|
125
|
+
*/
|
|
126
|
+
moveFile = async (fileId, newParentFolderId) => {
|
|
127
|
+
const drive = (await import("@googleapis/drive")).drive("v3");
|
|
128
|
+
const previousParents = ((await drive.files.get({
|
|
129
|
+
auth: this.client,
|
|
130
|
+
fileId,
|
|
131
|
+
fields: "parents"
|
|
132
|
+
})).data.parents ?? []).join(",");
|
|
133
|
+
const apiResponse = await drive.files.update({
|
|
134
|
+
auth: this.client,
|
|
135
|
+
fileId,
|
|
136
|
+
addParents: newParentFolderId,
|
|
137
|
+
removeParents: previousParents,
|
|
138
|
+
fields: "id, name, mimeType, modifiedTime"
|
|
139
|
+
});
|
|
140
|
+
return {
|
|
141
|
+
id: apiResponse.data.id ?? "",
|
|
142
|
+
name: apiResponse.data.name ?? "",
|
|
143
|
+
mimeType: apiResponse.data.mimeType ?? "",
|
|
144
|
+
modifiedTime: apiResponse.data.modifiedTime ?? ""
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
88
148
|
* Write a file to Google Drive within the given parent folder.
|
|
89
149
|
*/
|
|
90
150
|
writeFile = async (parentFolderId, fileName, data, options = {}) => {
|
|
@@ -25,7 +25,7 @@ type GetGoogleCloudConfigProps = {
|
|
|
25
25
|
/**
|
|
26
26
|
* Used to return the correct Google Cloud Config based on the environment/service.
|
|
27
27
|
*/
|
|
28
|
-
declare const getGoogleCloudConfig: (props: GetGoogleCloudConfigProps) => Promise<{
|
|
28
|
+
export declare const getGoogleCloudConfig: (props: GetGoogleCloudConfigProps) => Promise<import("google-auth-library").BaseExternalAccountClient> | Promise<{
|
|
29
29
|
projectId: string;
|
|
30
30
|
authClient: {
|
|
31
31
|
getRequestHeaders: () => Promise<{
|
|
@@ -36,7 +36,7 @@ declare const getGoogleCloudConfig: (props: GetGoogleCloudConfigProps) => Promis
|
|
|
36
36
|
}>;
|
|
37
37
|
request: (opts: any) => Promise<import("gaxios").GaxiosResponse<unknown>>;
|
|
38
38
|
};
|
|
39
|
-
}> |
|
|
39
|
+
}> | {
|
|
40
40
|
type: string;
|
|
41
41
|
project_id: string;
|
|
42
42
|
private_key_id: string;
|
|
@@ -53,7 +53,7 @@ declare const getGoogleCloudConfig: (props: GetGoogleCloudConfigProps) => Promis
|
|
|
53
53
|
* Token exchange is done via google-auth-library v10, then passed via a
|
|
54
54
|
* gaxios-based authClient stub so Storage never touches ADC or v10 types.
|
|
55
55
|
*/
|
|
56
|
-
declare const getOidcAuthV9: (props: VercelGcpOidcConfig) => Promise<{
|
|
56
|
+
export declare const getOidcAuthV9: (props: VercelGcpOidcConfig) => Promise<{
|
|
57
57
|
projectId: string;
|
|
58
58
|
authClient: {
|
|
59
59
|
getRequestHeaders: () => Promise<{
|
|
@@ -69,6 +69,5 @@ declare const getOidcAuthV9: (props: VercelGcpOidcConfig) => Promise<{
|
|
|
69
69
|
* Returns an ExternalAccountClient from google-auth-library v10.
|
|
70
70
|
* Use this wherever you need a full AuthClient (e.g. BigQuery, direct API calls).
|
|
71
71
|
*/
|
|
72
|
-
declare const getOidcAuthV10: (props: VercelGcpOidcConfig) => Promise<import("google-auth-library").BaseExternalAccountClient>;
|
|
73
|
-
//#endregion
|
|
74
|
-
export { getGoogleCloudConfig, getOidcAuthV10, getOidcAuthV9 };
|
|
72
|
+
export declare const getOidcAuthV10: (props: VercelGcpOidcConfig) => Promise<import("google-auth-library").BaseExternalAccountClient>;
|
|
73
|
+
//#endregion
|
|
@@ -25,7 +25,7 @@ type GetGoogleCloudConfigProps = {
|
|
|
25
25
|
/**
|
|
26
26
|
* Used to return the correct Google Cloud Config based on the environment/service.
|
|
27
27
|
*/
|
|
28
|
-
declare const getGoogleCloudConfig: (props: GetGoogleCloudConfigProps) => Promise<{
|
|
28
|
+
export declare const getGoogleCloudConfig: (props: GetGoogleCloudConfigProps) => Promise<import("google-auth-library").BaseExternalAccountClient> | Promise<{
|
|
29
29
|
projectId: string;
|
|
30
30
|
authClient: {
|
|
31
31
|
getRequestHeaders: () => Promise<{
|
|
@@ -36,7 +36,7 @@ declare const getGoogleCloudConfig: (props: GetGoogleCloudConfigProps) => Promis
|
|
|
36
36
|
}>;
|
|
37
37
|
request: (opts: any) => Promise<import("gaxios").GaxiosResponse<unknown>>;
|
|
38
38
|
};
|
|
39
|
-
}> |
|
|
39
|
+
}> | {
|
|
40
40
|
type: string;
|
|
41
41
|
project_id: string;
|
|
42
42
|
private_key_id: string;
|
|
@@ -53,7 +53,7 @@ declare const getGoogleCloudConfig: (props: GetGoogleCloudConfigProps) => Promis
|
|
|
53
53
|
* Token exchange is done via google-auth-library v10, then passed via a
|
|
54
54
|
* gaxios-based authClient stub so Storage never touches ADC or v10 types.
|
|
55
55
|
*/
|
|
56
|
-
declare const getOidcAuthV9: (props: VercelGcpOidcConfig) => Promise<{
|
|
56
|
+
export declare const getOidcAuthV9: (props: VercelGcpOidcConfig) => Promise<{
|
|
57
57
|
projectId: string;
|
|
58
58
|
authClient: {
|
|
59
59
|
getRequestHeaders: () => Promise<{
|
|
@@ -69,6 +69,5 @@ declare const getOidcAuthV9: (props: VercelGcpOidcConfig) => Promise<{
|
|
|
69
69
|
* Returns an ExternalAccountClient from google-auth-library v10.
|
|
70
70
|
* Use this wherever you need a full AuthClient (e.g. BigQuery, direct API calls).
|
|
71
71
|
*/
|
|
72
|
-
declare const getOidcAuthV10: (props: VercelGcpOidcConfig) => Promise<import("google-auth-library").BaseExternalAccountClient>;
|
|
73
|
-
//#endregion
|
|
74
|
-
export { getGoogleCloudConfig, getOidcAuthV10, getOidcAuthV9 };
|
|
72
|
+
export declare const getOidcAuthV10: (props: VercelGcpOidcConfig) => Promise<import("google-auth-library").BaseExternalAccountClient>;
|
|
73
|
+
//#endregion
|
|
@@ -8,12 +8,11 @@ var GoogleCloudSheets = class extends require__class_BaseNamespace.BaseNamespace
|
|
|
8
8
|
init = async (isOidc, config, projectId, region) => {
|
|
9
9
|
if (!this.client) try {
|
|
10
10
|
const googleApisSheets = await import("@googleapis/sheets");
|
|
11
|
-
this.client = new googleApisSheets.auth.GoogleAuth({
|
|
12
|
-
|
|
13
|
-
credentials: isOidc ? void 0 : config,
|
|
11
|
+
this.client = isOidc ? config : await new googleApisSheets.auth.GoogleAuth({
|
|
12
|
+
credentials: config,
|
|
14
13
|
projectId,
|
|
15
14
|
scopes: ["https://www.googleapis.com/auth/spreadsheets"]
|
|
16
|
-
});
|
|
15
|
+
}).getClient();
|
|
17
16
|
} catch (e) {
|
|
18
17
|
throw new Error("Google Sheets Client not installed");
|
|
19
18
|
}
|
|
@@ -6,7 +6,7 @@ type GetBatchDataProps = {
|
|
|
6
6
|
dateTimeRender?: string;
|
|
7
7
|
valueRender?: string;
|
|
8
8
|
};
|
|
9
|
-
declare class GoogleCloudSheets extends BaseNamespace {
|
|
9
|
+
export declare class GoogleCloudSheets extends BaseNamespace {
|
|
10
10
|
client: any;
|
|
11
11
|
config: any;
|
|
12
12
|
/**
|
|
@@ -15,5 +15,4 @@ declare class GoogleCloudSheets extends BaseNamespace {
|
|
|
15
15
|
init: (isOidc: boolean, config: any, projectId: string, region?: string) => Promise<this>;
|
|
16
16
|
getBatchData: (props: GetBatchDataProps) => Promise<import("@googleapis/sheets").sheets_v4.Schema$BatchGetValuesResponse>;
|
|
17
17
|
}
|
|
18
|
-
//#endregion
|
|
19
|
-
export { GoogleCloudSheets };
|
|
18
|
+
//#endregion
|
|
@@ -6,7 +6,7 @@ type GetBatchDataProps = {
|
|
|
6
6
|
dateTimeRender?: string;
|
|
7
7
|
valueRender?: string;
|
|
8
8
|
};
|
|
9
|
-
declare class GoogleCloudSheets extends BaseNamespace {
|
|
9
|
+
export declare class GoogleCloudSheets extends BaseNamespace {
|
|
10
10
|
client: any;
|
|
11
11
|
config: any;
|
|
12
12
|
/**
|
|
@@ -15,5 +15,4 @@ declare class GoogleCloudSheets extends BaseNamespace {
|
|
|
15
15
|
init: (isOidc: boolean, config: any, projectId: string, region?: string) => Promise<this>;
|
|
16
16
|
getBatchData: (props: GetBatchDataProps) => Promise<import("@googleapis/sheets").sheets_v4.Schema$BatchGetValuesResponse>;
|
|
17
17
|
}
|
|
18
|
-
//#endregion
|
|
19
|
-
export { GoogleCloudSheets };
|
|
18
|
+
//#endregion
|
|
@@ -7,12 +7,11 @@ var GoogleCloudSheets = class extends BaseNamespace {
|
|
|
7
7
|
init = async (isOidc, config, projectId, region) => {
|
|
8
8
|
if (!this.client) try {
|
|
9
9
|
const googleApisSheets = await import("@googleapis/sheets");
|
|
10
|
-
this.client = new googleApisSheets.auth.GoogleAuth({
|
|
11
|
-
|
|
12
|
-
credentials: isOidc ? void 0 : config,
|
|
10
|
+
this.client = isOidc ? config : await new googleApisSheets.auth.GoogleAuth({
|
|
11
|
+
credentials: config,
|
|
13
12
|
projectId,
|
|
14
13
|
scopes: ["https://www.googleapis.com/auth/spreadsheets"]
|
|
15
|
-
});
|
|
14
|
+
}).getClient();
|
|
16
15
|
} catch (e) {
|
|
17
16
|
throw new Error("Google Sheets Client not installed");
|
|
18
17
|
}
|
|
@@ -7,6 +7,5 @@ type GetAssociatedDataProps = {
|
|
|
7
7
|
/**
|
|
8
8
|
* Pass a batch request using getBatchData and format the data into a key => value object per row.
|
|
9
9
|
*/
|
|
10
|
-
declare const getAssociatedData: (props: GetAssociatedDataProps) => Promise<object[]>;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { getAssociatedData };
|
|
10
|
+
export declare const getAssociatedData: (props: GetAssociatedDataProps) => Promise<object[]>;
|
|
11
|
+
//#endregion
|
|
@@ -7,6 +7,5 @@ type GetAssociatedDataProps = {
|
|
|
7
7
|
/**
|
|
8
8
|
* Pass a batch request using getBatchData and format the data into a key => value object per row.
|
|
9
9
|
*/
|
|
10
|
-
declare const getAssociatedData: (props: GetAssociatedDataProps) => Promise<object[]>;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { getAssociatedData };
|
|
10
|
+
export declare const getAssociatedData: (props: GetAssociatedDataProps) => Promise<object[]>;
|
|
11
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
|
|
2
2
|
import { Storage } from "@google-cloud/storage";
|
|
3
3
|
//#region src/googleCloud/storage/server/GoogleCloudStorage.d.ts
|
|
4
|
-
declare class GoogleCloudStorage extends BaseNamespace {
|
|
4
|
+
export declare class GoogleCloudStorage extends BaseNamespace {
|
|
5
5
|
client: Storage;
|
|
6
6
|
config: any;
|
|
7
7
|
projectId: string;
|
|
@@ -23,5 +23,4 @@ declare class GoogleCloudStorage extends BaseNamespace {
|
|
|
23
23
|
*/
|
|
24
24
|
writeFile: (bucket: string, key: string, data: any, options?: {}) => Promise<unknown>;
|
|
25
25
|
}
|
|
26
|
-
//#endregion
|
|
27
|
-
export { GoogleCloudStorage };
|
|
26
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
|
|
2
2
|
import { Storage } from "@google-cloud/storage";
|
|
3
3
|
//#region src/googleCloud/storage/server/GoogleCloudStorage.d.ts
|
|
4
|
-
declare class GoogleCloudStorage extends BaseNamespace {
|
|
4
|
+
export declare class GoogleCloudStorage extends BaseNamespace {
|
|
5
5
|
client: Storage;
|
|
6
6
|
config: any;
|
|
7
7
|
projectId: string;
|
|
@@ -23,5 +23,4 @@ declare class GoogleCloudStorage extends BaseNamespace {
|
|
|
23
23
|
*/
|
|
24
24
|
writeFile: (bucket: string, key: string, data: any, options?: {}) => Promise<unknown>;
|
|
25
25
|
}
|
|
26
|
-
//#endregion
|
|
27
|
-
export { GoogleCloudStorage };
|
|
26
|
+
//#endregion
|
|
@@ -2,17 +2,16 @@ import { BaseNamespace } from "../../_class/BaseNamespace.cjs";
|
|
|
2
2
|
import { Category } from "./category.cjs";
|
|
3
3
|
import { Strategy } from "./strategy.cjs";
|
|
4
4
|
//#region src/googlePageSpeed/server/GooglePageSpeed.d.ts
|
|
5
|
-
type GooglePageSpeedConfig = {
|
|
5
|
+
export type GooglePageSpeedConfig = {
|
|
6
6
|
apiKey: string;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Based on https://developers.google.com/speed/docs/insights/rest/v5/pagespeedapi/runpagespeed
|
|
10
10
|
*/
|
|
11
|
-
declare class GooglePageSpeed extends BaseNamespace {
|
|
11
|
+
export declare class GooglePageSpeed extends BaseNamespace {
|
|
12
12
|
client: boolean;
|
|
13
13
|
config: GooglePageSpeedConfig;
|
|
14
14
|
init: (config: GooglePageSpeedConfig) => Promise<this>;
|
|
15
15
|
getReport: (url: string, inputCategory?: Category, inputStrategy?: Strategy) => Promise<any>;
|
|
16
16
|
}
|
|
17
|
-
//#endregion
|
|
18
|
-
export { GooglePageSpeed, GooglePageSpeedConfig };
|
|
17
|
+
//#endregion
|
|
@@ -2,17 +2,16 @@ import { BaseNamespace } from "../../_class/BaseNamespace.mjs";
|
|
|
2
2
|
import { Category } from "./category.mjs";
|
|
3
3
|
import { Strategy } from "./strategy.mjs";
|
|
4
4
|
//#region src/googlePageSpeed/server/GooglePageSpeed.d.ts
|
|
5
|
-
type GooglePageSpeedConfig = {
|
|
5
|
+
export type GooglePageSpeedConfig = {
|
|
6
6
|
apiKey: string;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Based on https://developers.google.com/speed/docs/insights/rest/v5/pagespeedapi/runpagespeed
|
|
10
10
|
*/
|
|
11
|
-
declare class GooglePageSpeed extends BaseNamespace {
|
|
11
|
+
export declare class GooglePageSpeed extends BaseNamespace {
|
|
12
12
|
client: boolean;
|
|
13
13
|
config: GooglePageSpeedConfig;
|
|
14
14
|
init: (config: GooglePageSpeedConfig) => Promise<this>;
|
|
15
15
|
getReport: (url: string, inputCategory?: Category, inputStrategy?: Strategy) => Promise<any>;
|
|
16
16
|
}
|
|
17
|
-
//#endregion
|
|
18
|
-
export { GooglePageSpeed, GooglePageSpeedConfig };
|
|
17
|
+
//#endregion
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
//#region src/googlePageSpeed/server/category.d.ts
|
|
2
|
-
declare const category: {
|
|
2
|
+
export declare const category: {
|
|
3
3
|
readonly CATEGORY_UNSPECIFIED: "CATEGORY_UNSPECIFIED";
|
|
4
4
|
readonly ACCESSIBILITY: "ACCESSIBILITY";
|
|
5
5
|
readonly BEST_PRACTICES: "BEST_PRACTICES";
|
|
6
6
|
readonly PERFORMANCE: "PERFORMANCE";
|
|
7
7
|
readonly SEO: "SEO";
|
|
8
8
|
};
|
|
9
|
-
type Category = typeof category[keyof typeof category];
|
|
10
|
-
//#endregion
|
|
11
|
-
export { Category, category };
|
|
9
|
+
export type Category = typeof category[keyof typeof category];
|
|
10
|
+
//#endregion
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
//#region src/googlePageSpeed/server/category.d.ts
|
|
2
|
-
declare const category: {
|
|
2
|
+
export declare const category: {
|
|
3
3
|
readonly CATEGORY_UNSPECIFIED: "CATEGORY_UNSPECIFIED";
|
|
4
4
|
readonly ACCESSIBILITY: "ACCESSIBILITY";
|
|
5
5
|
readonly BEST_PRACTICES: "BEST_PRACTICES";
|
|
6
6
|
readonly PERFORMANCE: "PERFORMANCE";
|
|
7
7
|
readonly SEO: "SEO";
|
|
8
8
|
};
|
|
9
|
-
type Category = typeof category[keyof typeof category];
|
|
10
|
-
//#endregion
|
|
11
|
-
export { Category, category };
|
|
9
|
+
export type Category = typeof category[keyof typeof category];
|
|
10
|
+
//#endregion
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
//#region src/googlePageSpeed/server/strategy.d.ts
|
|
2
|
-
declare const strategy: {
|
|
2
|
+
export declare const strategy: {
|
|
3
3
|
readonly STRATEGY_UNSPECIFIED: "STRATEGY_UNSPECIFIED";
|
|
4
4
|
readonly DESKTOP: "DESKTOP";
|
|
5
5
|
readonly MOBILE: "MOBILE";
|
|
6
6
|
};
|
|
7
|
-
type Strategy = typeof strategy[keyof typeof strategy];
|
|
8
|
-
//#endregion
|
|
9
|
-
export { Strategy, strategy };
|
|
7
|
+
export type Strategy = typeof strategy[keyof typeof strategy];
|
|
8
|
+
//#endregion
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
//#region src/googlePageSpeed/server/strategy.d.ts
|
|
2
|
-
declare const strategy: {
|
|
2
|
+
export declare const strategy: {
|
|
3
3
|
readonly STRATEGY_UNSPECIFIED: "STRATEGY_UNSPECIFIED";
|
|
4
4
|
readonly DESKTOP: "DESKTOP";
|
|
5
5
|
readonly MOBILE: "MOBILE";
|
|
6
6
|
};
|
|
7
|
-
type Strategy = typeof strategy[keyof typeof strategy];
|
|
8
|
-
//#endregion
|
|
9
|
-
export { Strategy, strategy };
|
|
7
|
+
export type Strategy = typeof strategy[keyof typeof strategy];
|
|
8
|
+
//#endregion
|
|
@@ -3,8 +3,8 @@ import { z } from "zod/v4";
|
|
|
3
3
|
/**
|
|
4
4
|
* https://status.search.google.com/summary
|
|
5
5
|
*/
|
|
6
|
-
declare const getReport: () => Promise<any>;
|
|
7
|
-
declare const updateSchema: z.ZodObject<{
|
|
6
|
+
export declare const getReport: () => Promise<any>;
|
|
7
|
+
export declare const updateSchema: z.ZodObject<{
|
|
8
8
|
created: z.ZodString;
|
|
9
9
|
modified: z.ZodString;
|
|
10
10
|
when: z.ZodString;
|
|
@@ -15,8 +15,8 @@ declare const updateSchema: z.ZodObject<{
|
|
|
15
15
|
SERVICE_INFORMATION: "SERVICE_INFORMATION";
|
|
16
16
|
}>;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
|
-
type UpdateSchemaType = z.infer<typeof updateSchema>;
|
|
19
|
-
declare const incidentSchema: z.ZodArray<z.ZodObject<{
|
|
18
|
+
export type UpdateSchemaType = z.infer<typeof updateSchema>;
|
|
19
|
+
export declare const incidentSchema: z.ZodArray<z.ZodObject<{
|
|
20
20
|
id: z.ZodString;
|
|
21
21
|
number: z.ZodString;
|
|
22
22
|
begin: z.ZodString;
|
|
@@ -51,9 +51,9 @@ declare const incidentSchema: z.ZodArray<z.ZodObject<{
|
|
|
51
51
|
SERVICE_INFORMATION: "SERVICE_INFORMATION";
|
|
52
52
|
}>;
|
|
53
53
|
severity: z.ZodEnum<{
|
|
54
|
+
high: "high";
|
|
54
55
|
low: "low";
|
|
55
56
|
medium: "medium";
|
|
56
|
-
high: "high";
|
|
57
57
|
}>;
|
|
58
58
|
service_key: z.ZodString;
|
|
59
59
|
service_name: z.ZodEnum<{
|
|
@@ -67,6 +67,5 @@ declare const incidentSchema: z.ZodArray<z.ZodObject<{
|
|
|
67
67
|
}, z.core.$strip>>;
|
|
68
68
|
uri: z.ZodString;
|
|
69
69
|
}, z.core.$strip>>;
|
|
70
|
-
type IncidentSchemaType = z.infer<typeof incidentSchema>;
|
|
71
|
-
//#endregion
|
|
72
|
-
export { IncidentSchemaType, UpdateSchemaType, getReport, incidentSchema, updateSchema };
|
|
70
|
+
export type IncidentSchemaType = z.infer<typeof incidentSchema>;
|
|
71
|
+
//#endregion
|
|
@@ -3,8 +3,8 @@ import { z } from "zod/v4";
|
|
|
3
3
|
/**
|
|
4
4
|
* https://status.search.google.com/summary
|
|
5
5
|
*/
|
|
6
|
-
declare const getReport: () => Promise<any>;
|
|
7
|
-
declare const updateSchema: z.ZodObject<{
|
|
6
|
+
export declare const getReport: () => Promise<any>;
|
|
7
|
+
export declare const updateSchema: z.ZodObject<{
|
|
8
8
|
created: z.ZodString;
|
|
9
9
|
modified: z.ZodString;
|
|
10
10
|
when: z.ZodString;
|
|
@@ -15,8 +15,8 @@ declare const updateSchema: z.ZodObject<{
|
|
|
15
15
|
SERVICE_INFORMATION: "SERVICE_INFORMATION";
|
|
16
16
|
}>;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
|
-
type UpdateSchemaType = z.infer<typeof updateSchema>;
|
|
19
|
-
declare const incidentSchema: z.ZodArray<z.ZodObject<{
|
|
18
|
+
export type UpdateSchemaType = z.infer<typeof updateSchema>;
|
|
19
|
+
export declare const incidentSchema: z.ZodArray<z.ZodObject<{
|
|
20
20
|
id: z.ZodString;
|
|
21
21
|
number: z.ZodString;
|
|
22
22
|
begin: z.ZodString;
|
|
@@ -51,9 +51,9 @@ declare const incidentSchema: z.ZodArray<z.ZodObject<{
|
|
|
51
51
|
SERVICE_INFORMATION: "SERVICE_INFORMATION";
|
|
52
52
|
}>;
|
|
53
53
|
severity: z.ZodEnum<{
|
|
54
|
+
high: "high";
|
|
54
55
|
low: "low";
|
|
55
56
|
medium: "medium";
|
|
56
|
-
high: "high";
|
|
57
57
|
}>;
|
|
58
58
|
service_key: z.ZodString;
|
|
59
59
|
service_name: z.ZodEnum<{
|
|
@@ -67,6 +67,5 @@ declare const incidentSchema: z.ZodArray<z.ZodObject<{
|
|
|
67
67
|
}, z.core.$strip>>;
|
|
68
68
|
uri: z.ZodString;
|
|
69
69
|
}, z.core.$strip>>;
|
|
70
|
-
type IncidentSchemaType = z.infer<typeof incidentSchema>;
|
|
71
|
-
//#endregion
|
|
72
|
-
export { IncidentSchemaType, UpdateSchemaType, getReport, incidentSchema, updateSchema };
|
|
70
|
+
export type IncidentSchemaType = z.infer<typeof incidentSchema>;
|
|
71
|
+
//#endregion
|
|
@@ -3,8 +3,8 @@ import { z } from "zod/v4";
|
|
|
3
3
|
/**
|
|
4
4
|
* https://developers.thegreenwebfoundation.org/api/greencheck/v3/check-single-domain/
|
|
5
5
|
*/
|
|
6
|
-
declare const getSingleReport: (domain: string) => Promise<any>;
|
|
7
|
-
declare const greenDomainSchema: z.ZodObject<{
|
|
6
|
+
export declare const getSingleReport: (domain: string) => Promise<any>;
|
|
7
|
+
export declare const greenDomainSchema: z.ZodObject<{
|
|
8
8
|
green: z.ZodBoolean;
|
|
9
9
|
url: z.ZodString;
|
|
10
10
|
data: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -19,6 +19,5 @@ declare const greenDomainSchema: z.ZodObject<{
|
|
|
19
19
|
link: z.ZodString;
|
|
20
20
|
}, z.core.$strip>>>;
|
|
21
21
|
}, z.core.$strip>;
|
|
22
|
-
type GreenDomainSchemaType = z.infer<typeof greenDomainSchema>;
|
|
23
|
-
//#endregion
|
|
24
|
-
export { GreenDomainSchemaType, getSingleReport, greenDomainSchema };
|
|
22
|
+
export type GreenDomainSchemaType = z.infer<typeof greenDomainSchema>;
|
|
23
|
+
//#endregion
|
|
@@ -3,8 +3,8 @@ import { z } from "zod/v4";
|
|
|
3
3
|
/**
|
|
4
4
|
* https://developers.thegreenwebfoundation.org/api/greencheck/v3/check-single-domain/
|
|
5
5
|
*/
|
|
6
|
-
declare const getSingleReport: (domain: string) => Promise<any>;
|
|
7
|
-
declare const greenDomainSchema: z.ZodObject<{
|
|
6
|
+
export declare const getSingleReport: (domain: string) => Promise<any>;
|
|
7
|
+
export declare const greenDomainSchema: z.ZodObject<{
|
|
8
8
|
green: z.ZodBoolean;
|
|
9
9
|
url: z.ZodString;
|
|
10
10
|
data: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -19,6 +19,5 @@ declare const greenDomainSchema: z.ZodObject<{
|
|
|
19
19
|
link: z.ZodString;
|
|
20
20
|
}, z.core.$strip>>>;
|
|
21
21
|
}, z.core.$strip>;
|
|
22
|
-
type GreenDomainSchemaType = z.infer<typeof greenDomainSchema>;
|
|
23
|
-
//#endregion
|
|
24
|
-
export { GreenDomainSchemaType, getSingleReport, greenDomainSchema };
|
|
22
|
+
export type GreenDomainSchemaType = z.infer<typeof greenDomainSchema>;
|
|
23
|
+
//#endregion
|