@8ms/helpers 3.0.27 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +3 -4
- package/dist/googleCloud/drive/server/GoogleCloudDrive.d.cts +2 -3
- package/dist/googleCloud/drive/server/GoogleCloudDrive.d.mts +2 -3
- package/dist/googleCloud/drive/server/GoogleCloudDrive.mjs +3 -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 +17 -0
- package/dist/react/client/index.d.cts +9 -0
- package/dist/react/client/index.d.mts +9 -0
- package/dist/react/client/index.mjs +9 -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 +14 -0
- package/dist/react/client/nextjs/buildRelativeUrl.d.cts +7 -0
- package/dist/react/client/nextjs/buildRelativeUrl.d.mts +7 -0
- package/dist/react/client/nextjs/buildRelativeUrl.mjs +13 -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
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_environment_environment = require("../../environment/environment.cjs");
|
|
3
|
+
const require_googleAds_keywordPlanner_endpoint = require("./endpoint.cjs");
|
|
4
|
+
//#region src/googleAds/keywordPlanner/getLambdaFunctionName.ts
|
|
5
|
+
const lambdaFunction = {
|
|
6
|
+
[require_googleAds_keywordPlanner_endpoint.endpoint.HISTORIC_METRICS]: "googleAdsKeywordPlannerHistoricalMetrics",
|
|
7
|
+
[require_googleAds_keywordPlanner_endpoint.endpoint.KEYWORD_IDEAS]: "googleAdsKeywordPlannerKeywordIdeas"
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Resolve the full environment-qualified AWS Lambda function name for a given KWP endpoint.
|
|
11
|
+
*/
|
|
12
|
+
const getLambdaFunctionName = (endpointValue) => {
|
|
13
|
+
return `aws-php-${require_environment_environment.getEnvironment()}-${lambdaFunction[endpointValue]}`;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.getLambdaFunctionName = getLambdaFunctionName;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Endpoint } from "./endpoint.cjs";
|
|
2
|
+
//#region src/googleAds/keywordPlanner/getLambdaFunctionName.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Resolve the full environment-qualified AWS Lambda function name for a given KWP endpoint.
|
|
5
|
+
*/
|
|
6
|
+
export declare const getLambdaFunctionName: (endpointValue: Endpoint) => string;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Endpoint } from "./endpoint.mjs";
|
|
2
|
+
//#region src/googleAds/keywordPlanner/getLambdaFunctionName.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Resolve the full environment-qualified AWS Lambda function name for a given KWP endpoint.
|
|
5
|
+
*/
|
|
6
|
+
export declare const getLambdaFunctionName: (endpointValue: Endpoint) => string;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { getEnvironment } from "../../environment/environment.mjs";
|
|
2
|
+
import { endpoint } from "./endpoint.mjs";
|
|
3
|
+
//#region src/googleAds/keywordPlanner/getLambdaFunctionName.ts
|
|
4
|
+
const lambdaFunction = {
|
|
5
|
+
[endpoint.HISTORIC_METRICS]: "googleAdsKeywordPlannerHistoricalMetrics",
|
|
6
|
+
[endpoint.KEYWORD_IDEAS]: "googleAdsKeywordPlannerKeywordIdeas"
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Resolve the full environment-qualified AWS Lambda function name for a given KWP endpoint.
|
|
10
|
+
*/
|
|
11
|
+
const getLambdaFunctionName = (endpointValue) => {
|
|
12
|
+
return `aws-php-${getEnvironment()}-${lambdaFunction[endpointValue]}`;
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { getLambdaFunctionName };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_googleAds_keywordPlanner_network = require("./network.cjs");
|
|
3
|
+
const require_googleAds_keywordPlanner_bigquery = require("./bigquery.cjs");
|
|
4
|
+
const require_googleAds_keywordPlanner_countries = require("./countries.cjs");
|
|
5
|
+
const require_googleAds_keywordPlanner_customerId = require("./customerId.cjs");
|
|
6
|
+
const require_googleAds_keywordPlanner_endpoint = require("./endpoint.cjs");
|
|
7
|
+
const require_googleAds_keywordPlanner_getKwpTimeframe = require("./getKwpTimeframe.cjs");
|
|
8
|
+
const require_googleAds_keywordPlanner_getLambdaFunctionName = require("./getLambdaFunctionName.cjs");
|
|
9
|
+
const require_googleAds_keywordPlanner_language = require("./language.cjs");
|
|
10
|
+
const require_googleAds_keywordPlanner_maxRequests = require("./maxRequests.cjs");
|
|
11
|
+
const require_googleAds_keywordPlanner_normalizeQuery = require("./normalizeQuery.cjs");
|
|
12
|
+
const require_googleAds_keywordPlanner_zodPHP = require("./zodPHP.cjs");
|
|
13
|
+
const require_googleAds_keywordPlanner_zodPHPPayload = require("./zodPHPPayload.cjs");
|
|
14
|
+
const require_googleAds_keywordPlanner_zodPHPResponse = require("./zodPHPResponse.cjs");
|
|
15
|
+
exports.endpoint = require_googleAds_keywordPlanner_endpoint.endpoint;
|
|
16
|
+
exports.getKwpTimeframe = require_googleAds_keywordPlanner_getKwpTimeframe.getKwpTimeframe;
|
|
17
|
+
exports.getLambdaFunctionName = require_googleAds_keywordPlanner_getLambdaFunctionName.getLambdaFunctionName;
|
|
18
|
+
exports.getNormalizeQuery = require_googleAds_keywordPlanner_normalizeQuery.getNormalizeQuery;
|
|
19
|
+
exports.getRequestCountries = require_googleAds_keywordPlanner_countries.getRequestCountries;
|
|
20
|
+
exports.getRequestCustomerId = require_googleAds_keywordPlanner_customerId.getRequestCustomerId;
|
|
21
|
+
exports.getRequestLanguage = require_googleAds_keywordPlanner_language.getRequestLanguage;
|
|
22
|
+
exports.getRequestNetwork = require_googleAds_keywordPlanner_network.getRequestNetwork;
|
|
23
|
+
exports.getRequestNetworkValue = require_googleAds_keywordPlanner_network.getRequestNetworkValue;
|
|
24
|
+
exports.keywordPlannerBQInsertRowSchema = require_googleAds_keywordPlanner_bigquery.keywordPlannerBQInsertRowSchema;
|
|
25
|
+
exports.keywordPlannerBQReadRowSchema = require_googleAds_keywordPlanner_bigquery.keywordPlannerBQReadRowSchema;
|
|
26
|
+
exports.keywordPlannerBQRowSchema = require_googleAds_keywordPlanner_bigquery.keywordPlannerBQRowSchema;
|
|
27
|
+
exports.keywordPlannerDefinition = require_googleAds_keywordPlanner_bigquery.keywordPlannerDefinition;
|
|
28
|
+
exports.keywordPlannerTableId = require_googleAds_keywordPlanner_bigquery.keywordPlannerTableId;
|
|
29
|
+
exports.kwpMaxQueries = require_googleAds_keywordPlanner_maxRequests.kwpMaxQueries;
|
|
30
|
+
exports.network = require_googleAds_keywordPlanner_network.network;
|
|
31
|
+
exports.phpConfigSchema = require_googleAds_keywordPlanner_zodPHP.phpConfigSchema;
|
|
32
|
+
exports.phpPayloadRequestDetailsSchema = require_googleAds_keywordPlanner_zodPHPPayload.phpPayloadRequestDetailsSchema;
|
|
33
|
+
exports.phpPayloadSchema = require_googleAds_keywordPlanner_zodPHPPayload.phpPayloadSchema;
|
|
34
|
+
exports.phpResponseMonthSchema = require_googleAds_keywordPlanner_zodPHPResponse.phpResponseMonthSchema;
|
|
35
|
+
exports.phpResponseRowSchema = require_googleAds_keywordPlanner_zodPHPResponse.phpResponseRowSchema;
|
|
36
|
+
exports.phpResponseSchema = require_googleAds_keywordPlanner_zodPHPResponse.phpResponseSchema;
|
|
37
|
+
exports.phpRowDetailsSchema = require_googleAds_keywordPlanner_zodPHP.phpRowDetailsSchema;
|
|
38
|
+
exports.requestNetworkNameSchema = require_googleAds_keywordPlanner_network.requestNetworkNameSchema;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { KeywordPlannerBQInsertRow, KeywordPlannerBQReadRow, KeywordPlannerBQRow, keywordPlannerBQInsertRowSchema, keywordPlannerBQReadRowSchema, keywordPlannerBQRowSchema, keywordPlannerDefinition, keywordPlannerTableId } from "./bigquery.cjs";
|
|
2
|
+
import { getRequestCountries } from "./countries.cjs";
|
|
3
|
+
import { getRequestCustomerId } from "./customerId.cjs";
|
|
4
|
+
import { Endpoint, endpoint } from "./endpoint.cjs";
|
|
5
|
+
import { PHPConfig, PHPRowDetails, phpConfigSchema, phpRowDetailsSchema } from "./zodPHP.cjs";
|
|
6
|
+
import { KwpTimeframe, getKwpTimeframe } from "./getKwpTimeframe.cjs";
|
|
7
|
+
import { getLambdaFunctionName } from "./getLambdaFunctionName.cjs";
|
|
8
|
+
import { getRequestLanguage } from "./language.cjs";
|
|
9
|
+
import { kwpMaxQueries } from "./maxRequests.cjs";
|
|
10
|
+
import { Network, RequestNetworkName, getRequestNetwork, getRequestNetworkValue, network, requestNetworkNameSchema } from "./network.cjs";
|
|
11
|
+
import { getNormalizeQuery } from "./normalizeQuery.cjs";
|
|
12
|
+
import { PHPPayload, PHPPayloadRequestDetails, phpPayloadRequestDetailsSchema, phpPayloadSchema } from "./zodPHPPayload.cjs";
|
|
13
|
+
import { PHPResponse, PHPResponseMonth, PHPResponseRow, phpResponseMonthSchema, phpResponseRowSchema, phpResponseSchema } from "./zodPHPResponse.cjs";
|
|
14
|
+
export { Endpoint, KeywordPlannerBQInsertRow, KeywordPlannerBQReadRow, KeywordPlannerBQRow, KwpTimeframe, Network, PHPConfig, PHPPayload, PHPPayloadRequestDetails, PHPResponse, PHPResponseMonth, PHPResponseRow, PHPRowDetails, RequestNetworkName, endpoint, getKwpTimeframe, getLambdaFunctionName, getNormalizeQuery, getRequestCountries, getRequestCustomerId, getRequestLanguage, getRequestNetwork, getRequestNetworkValue, keywordPlannerBQInsertRowSchema, keywordPlannerBQReadRowSchema, keywordPlannerBQRowSchema, keywordPlannerDefinition, keywordPlannerTableId, kwpMaxQueries, network, phpConfigSchema, phpPayloadRequestDetailsSchema, phpPayloadSchema, phpResponseMonthSchema, phpResponseRowSchema, phpResponseSchema, phpRowDetailsSchema, requestNetworkNameSchema };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { KeywordPlannerBQInsertRow, KeywordPlannerBQReadRow, KeywordPlannerBQRow, keywordPlannerBQInsertRowSchema, keywordPlannerBQReadRowSchema, keywordPlannerBQRowSchema, keywordPlannerDefinition, keywordPlannerTableId } from "./bigquery.mjs";
|
|
2
|
+
import { getRequestCountries } from "./countries.mjs";
|
|
3
|
+
import { getRequestCustomerId } from "./customerId.mjs";
|
|
4
|
+
import { Endpoint, endpoint } from "./endpoint.mjs";
|
|
5
|
+
import { PHPConfig, PHPRowDetails, phpConfigSchema, phpRowDetailsSchema } from "./zodPHP.mjs";
|
|
6
|
+
import { KwpTimeframe, getKwpTimeframe } from "./getKwpTimeframe.mjs";
|
|
7
|
+
import { getLambdaFunctionName } from "./getLambdaFunctionName.mjs";
|
|
8
|
+
import { getRequestLanguage } from "./language.mjs";
|
|
9
|
+
import { kwpMaxQueries } from "./maxRequests.mjs";
|
|
10
|
+
import { Network, RequestNetworkName, getRequestNetwork, getRequestNetworkValue, network, requestNetworkNameSchema } from "./network.mjs";
|
|
11
|
+
import { getNormalizeQuery } from "./normalizeQuery.mjs";
|
|
12
|
+
import { PHPPayload, PHPPayloadRequestDetails, phpPayloadRequestDetailsSchema, phpPayloadSchema } from "./zodPHPPayload.mjs";
|
|
13
|
+
import { PHPResponse, PHPResponseMonth, PHPResponseRow, phpResponseMonthSchema, phpResponseRowSchema, phpResponseSchema } from "./zodPHPResponse.mjs";
|
|
14
|
+
export { Endpoint, KeywordPlannerBQInsertRow, KeywordPlannerBQReadRow, KeywordPlannerBQRow, KwpTimeframe, Network, PHPConfig, PHPPayload, PHPPayloadRequestDetails, PHPResponse, PHPResponseMonth, PHPResponseRow, PHPRowDetails, RequestNetworkName, endpoint, getKwpTimeframe, getLambdaFunctionName, getNormalizeQuery, getRequestCountries, getRequestCustomerId, getRequestLanguage, getRequestNetwork, getRequestNetworkValue, keywordPlannerBQInsertRowSchema, keywordPlannerBQReadRowSchema, keywordPlannerBQRowSchema, keywordPlannerDefinition, keywordPlannerTableId, kwpMaxQueries, network, phpConfigSchema, phpPayloadRequestDetailsSchema, phpPayloadSchema, phpResponseMonthSchema, phpResponseRowSchema, phpResponseSchema, phpRowDetailsSchema, requestNetworkNameSchema };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { getRequestNetwork, getRequestNetworkValue, network, requestNetworkNameSchema } from "./network.mjs";
|
|
2
|
+
import { keywordPlannerBQInsertRowSchema, keywordPlannerBQReadRowSchema, keywordPlannerBQRowSchema, keywordPlannerDefinition, keywordPlannerTableId } from "./bigquery.mjs";
|
|
3
|
+
import { getRequestCountries } from "./countries.mjs";
|
|
4
|
+
import { getRequestCustomerId } from "./customerId.mjs";
|
|
5
|
+
import { endpoint } from "./endpoint.mjs";
|
|
6
|
+
import { getKwpTimeframe } from "./getKwpTimeframe.mjs";
|
|
7
|
+
import { getLambdaFunctionName } from "./getLambdaFunctionName.mjs";
|
|
8
|
+
import { getRequestLanguage } from "./language.mjs";
|
|
9
|
+
import { kwpMaxQueries } from "./maxRequests.mjs";
|
|
10
|
+
import { getNormalizeQuery } from "./normalizeQuery.mjs";
|
|
11
|
+
import { phpConfigSchema, phpRowDetailsSchema } from "./zodPHP.mjs";
|
|
12
|
+
import { phpPayloadRequestDetailsSchema, phpPayloadSchema } from "./zodPHPPayload.mjs";
|
|
13
|
+
import { phpResponseMonthSchema, phpResponseRowSchema, phpResponseSchema } from "./zodPHPResponse.mjs";
|
|
14
|
+
export { endpoint, getKwpTimeframe, getLambdaFunctionName, getNormalizeQuery, getRequestCountries, getRequestCustomerId, getRequestLanguage, getRequestNetwork, getRequestNetworkValue, keywordPlannerBQInsertRowSchema, keywordPlannerBQReadRowSchema, keywordPlannerBQRowSchema, keywordPlannerDefinition, keywordPlannerTableId, kwpMaxQueries, network, phpConfigSchema, phpPayloadRequestDetailsSchema, phpPayloadSchema, phpResponseMonthSchema, phpResponseRowSchema, phpResponseSchema, phpRowDetailsSchema, requestNetworkNameSchema };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/googleAds/keywordPlanner/language.ts
|
|
3
|
+
/**
|
|
4
|
+
* Normalises a Google Ads language ID for api_language - null when a website has no mapped
|
|
5
|
+
* Google Ads language.
|
|
6
|
+
*/
|
|
7
|
+
const getRequestLanguage = (language) => {
|
|
8
|
+
return language ?? null;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
exports.getRequestLanguage = getRequestLanguage;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region src/googleAds/keywordPlanner/language.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Normalises a Google Ads language ID for api_language - null when a website has no mapped
|
|
4
|
+
* Google Ads language.
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRequestLanguage: (language?: number | null) => number | null;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region src/googleAds/keywordPlanner/language.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Normalises a Google Ads language ID for api_language - null when a website has no mapped
|
|
4
|
+
* Google Ads language.
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRequestLanguage: (language?: number | null) => number | null;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/googleAds/keywordPlanner/language.ts
|
|
2
|
+
/**
|
|
3
|
+
* Normalises a Google Ads language ID for api_language - null when a website has no mapped
|
|
4
|
+
* Google Ads language.
|
|
5
|
+
*/
|
|
6
|
+
const getRequestLanguage = (language) => {
|
|
7
|
+
return language ?? null;
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { getRequestLanguage };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/googleAds/keywordPlanner/maxRequests.ts
|
|
3
|
+
/**
|
|
4
|
+
* The Google Ads API/PHP endpoint accepts up to 10,000 queries in a single bulk request.
|
|
5
|
+
*/
|
|
6
|
+
const kwpMaxQueries = 1e4;
|
|
7
|
+
//#endregion
|
|
8
|
+
exports.kwpMaxQueries = kwpMaxQueries;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/googleAds/keywordPlanner/network.ts
|
|
4
|
+
/**
|
|
5
|
+
* api_network is stored in BigQuery as the readable key below (e.g. "GOOGLE_SEARCH_ONLY") rather
|
|
6
|
+
* than this raw Keyword Planner network int, so the table stays self-explanatory without a lookup.
|
|
7
|
+
*/
|
|
8
|
+
const network = {
|
|
9
|
+
GOOGLE_SEARCH_ONLY: 2,
|
|
10
|
+
GOOGLE_SEARCH_AND_PARTNERS: 3
|
|
11
|
+
};
|
|
12
|
+
const requestNetworkNameSchema = zod.z.enum(Object.keys(network));
|
|
13
|
+
const nameByNetwork = Object.fromEntries(Object.entries(network).map(([name, value]) => [value, name]));
|
|
14
|
+
/**
|
|
15
|
+
* Converts a Keyword Planner network int (from `network`) into the name stored in
|
|
16
|
+
* api_network. Returns null for an unrecognised value.
|
|
17
|
+
*/
|
|
18
|
+
const getRequestNetwork = (value) => {
|
|
19
|
+
return nameByNetwork[value] ?? null;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Converts the readable request network name back into the Keyword Planner network int Google
|
|
23
|
+
* Ads/PHP expects on the wire - the inverse of getRequestNetwork. TypeScript code should only ever
|
|
24
|
+
* deal with the string name; this conversion belongs at the point a Lambda payload is built.
|
|
25
|
+
*/
|
|
26
|
+
const getRequestNetworkValue = (name) => {
|
|
27
|
+
return network[name];
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.getRequestNetwork = getRequestNetwork;
|
|
31
|
+
exports.getRequestNetworkValue = getRequestNetworkValue;
|
|
32
|
+
exports.network = network;
|
|
33
|
+
exports.requestNetworkNameSchema = requestNetworkNameSchema;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/googleAds/keywordPlanner/network.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* api_network is stored in BigQuery as the readable key below (e.g. "GOOGLE_SEARCH_ONLY") rather
|
|
5
|
+
* than this raw Keyword Planner network int, so the table stays self-explanatory without a lookup.
|
|
6
|
+
*/
|
|
7
|
+
export declare const network: {
|
|
8
|
+
readonly GOOGLE_SEARCH_ONLY: 2;
|
|
9
|
+
readonly GOOGLE_SEARCH_AND_PARTNERS: 3;
|
|
10
|
+
};
|
|
11
|
+
export type Network = typeof network[keyof typeof network];
|
|
12
|
+
export type RequestNetworkName = keyof typeof network;
|
|
13
|
+
export declare const requestNetworkNameSchema: z.ZodEnum<{
|
|
14
|
+
GOOGLE_SEARCH_AND_PARTNERS: "GOOGLE_SEARCH_AND_PARTNERS";
|
|
15
|
+
GOOGLE_SEARCH_ONLY: "GOOGLE_SEARCH_ONLY";
|
|
16
|
+
}>;
|
|
17
|
+
/**
|
|
18
|
+
* Converts a Keyword Planner network int (from `network`) into the name stored in
|
|
19
|
+
* api_network. Returns null for an unrecognised value.
|
|
20
|
+
*/
|
|
21
|
+
export declare const getRequestNetwork: (value: number) => RequestNetworkName | null;
|
|
22
|
+
/**
|
|
23
|
+
* Converts the readable request network name back into the Keyword Planner network int Google
|
|
24
|
+
* Ads/PHP expects on the wire - the inverse of getRequestNetwork. TypeScript code should only ever
|
|
25
|
+
* deal with the string name; this conversion belongs at the point a Lambda payload is built.
|
|
26
|
+
*/
|
|
27
|
+
export declare const getRequestNetworkValue: (name: RequestNetworkName) => number;
|
|
28
|
+
//#endregion
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/googleAds/keywordPlanner/network.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* api_network is stored in BigQuery as the readable key below (e.g. "GOOGLE_SEARCH_ONLY") rather
|
|
5
|
+
* than this raw Keyword Planner network int, so the table stays self-explanatory without a lookup.
|
|
6
|
+
*/
|
|
7
|
+
export declare const network: {
|
|
8
|
+
readonly GOOGLE_SEARCH_ONLY: 2;
|
|
9
|
+
readonly GOOGLE_SEARCH_AND_PARTNERS: 3;
|
|
10
|
+
};
|
|
11
|
+
export type Network = typeof network[keyof typeof network];
|
|
12
|
+
export type RequestNetworkName = keyof typeof network;
|
|
13
|
+
export declare const requestNetworkNameSchema: z.ZodEnum<{
|
|
14
|
+
GOOGLE_SEARCH_AND_PARTNERS: "GOOGLE_SEARCH_AND_PARTNERS";
|
|
15
|
+
GOOGLE_SEARCH_ONLY: "GOOGLE_SEARCH_ONLY";
|
|
16
|
+
}>;
|
|
17
|
+
/**
|
|
18
|
+
* Converts a Keyword Planner network int (from `network`) into the name stored in
|
|
19
|
+
* api_network. Returns null for an unrecognised value.
|
|
20
|
+
*/
|
|
21
|
+
export declare const getRequestNetwork: (value: number) => RequestNetworkName | null;
|
|
22
|
+
/**
|
|
23
|
+
* Converts the readable request network name back into the Keyword Planner network int Google
|
|
24
|
+
* Ads/PHP expects on the wire - the inverse of getRequestNetwork. TypeScript code should only ever
|
|
25
|
+
* deal with the string name; this conversion belongs at the point a Lambda payload is built.
|
|
26
|
+
*/
|
|
27
|
+
export declare const getRequestNetworkValue: (name: RequestNetworkName) => number;
|
|
28
|
+
//#endregion
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/googleAds/keywordPlanner/network.ts
|
|
3
|
+
/**
|
|
4
|
+
* api_network is stored in BigQuery as the readable key below (e.g. "GOOGLE_SEARCH_ONLY") rather
|
|
5
|
+
* than this raw Keyword Planner network int, so the table stays self-explanatory without a lookup.
|
|
6
|
+
*/
|
|
7
|
+
const network = {
|
|
8
|
+
GOOGLE_SEARCH_ONLY: 2,
|
|
9
|
+
GOOGLE_SEARCH_AND_PARTNERS: 3
|
|
10
|
+
};
|
|
11
|
+
const requestNetworkNameSchema = z.enum(Object.keys(network));
|
|
12
|
+
const nameByNetwork = Object.fromEntries(Object.entries(network).map(([name, value]) => [value, name]));
|
|
13
|
+
/**
|
|
14
|
+
* Converts a Keyword Planner network int (from `network`) into the name stored in
|
|
15
|
+
* api_network. Returns null for an unrecognised value.
|
|
16
|
+
*/
|
|
17
|
+
const getRequestNetwork = (value) => {
|
|
18
|
+
return nameByNetwork[value] ?? null;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Converts the readable request network name back into the Keyword Planner network int Google
|
|
22
|
+
* Ads/PHP expects on the wire - the inverse of getRequestNetwork. TypeScript code should only ever
|
|
23
|
+
* deal with the string name; this conversion belongs at the point a Lambda payload is built.
|
|
24
|
+
*/
|
|
25
|
+
const getRequestNetworkValue = (name) => {
|
|
26
|
+
return network[name];
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { getRequestNetwork, getRequestNetworkValue, network, requestNetworkNameSchema };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/googleAds/keywordPlanner/normalizeQuery.ts
|
|
3
|
+
/**
|
|
4
|
+
* KWP silently strips punctuation from any query and replaces it with a space before storing/
|
|
5
|
+
* returning it (e.g. "who's the best?" comes back as "who's the best "), except standard
|
|
6
|
+
* apostrophes which it leaves untouched. Every caller that builds a query to submit to KWP, or
|
|
7
|
+
* joins/compares against KWP's stored `query` column, must apply the exact same transformation -
|
|
8
|
+
* kept as one JS form and one SQL form here so they can't drift apart.
|
|
9
|
+
*/
|
|
10
|
+
const getNormalizeQuery = (column) => {
|
|
11
|
+
return `TRIM(REGEXP_REPLACE(REGEXP_REPLACE(${column}, r"[^a-zA-Z0-9']+", ' '), r' +', ' '))`;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.getNormalizeQuery = getNormalizeQuery;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/googleAds/keywordPlanner/normalizeQuery.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* KWP silently strips punctuation from any query and replaces it with a space before storing/
|
|
4
|
+
* returning it (e.g. "who's the best?" comes back as "who's the best "), except standard
|
|
5
|
+
* apostrophes which it leaves untouched. Every caller that builds a query to submit to KWP, or
|
|
6
|
+
* joins/compares against KWP's stored `query` column, must apply the exact same transformation -
|
|
7
|
+
* kept as one JS form and one SQL form here so they can't drift apart.
|
|
8
|
+
*/
|
|
9
|
+
export declare const getNormalizeQuery: (column: string) => string;
|
|
10
|
+
//#endregion
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/googleAds/keywordPlanner/normalizeQuery.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* KWP silently strips punctuation from any query and replaces it with a space before storing/
|
|
4
|
+
* returning it (e.g. "who's the best?" comes back as "who's the best "), except standard
|
|
5
|
+
* apostrophes which it leaves untouched. Every caller that builds a query to submit to KWP, or
|
|
6
|
+
* joins/compares against KWP's stored `query` column, must apply the exact same transformation -
|
|
7
|
+
* kept as one JS form and one SQL form here so they can't drift apart.
|
|
8
|
+
*/
|
|
9
|
+
export declare const getNormalizeQuery: (column: string) => string;
|
|
10
|
+
//#endregion
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/googleAds/keywordPlanner/normalizeQuery.ts
|
|
2
|
+
/**
|
|
3
|
+
* KWP silently strips punctuation from any query and replaces it with a space before storing/
|
|
4
|
+
* returning it (e.g. "who's the best?" comes back as "who's the best "), except standard
|
|
5
|
+
* apostrophes which it leaves untouched. Every caller that builds a query to submit to KWP, or
|
|
6
|
+
* joins/compares against KWP's stored `query` column, must apply the exact same transformation -
|
|
7
|
+
* kept as one JS form and one SQL form here so they can't drift apart.
|
|
8
|
+
*/
|
|
9
|
+
const getNormalizeQuery = (column) => {
|
|
10
|
+
return `TRIM(REGEXP_REPLACE(REGEXP_REPLACE(${column}, r"[^a-zA-Z0-9']+", ' '), r' +', ' '))`;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { getNormalizeQuery };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_crypto_server_getSha256 = require("../../../crypto/server/getSha256.cjs");
|
|
3
|
+
require("../../../crypto/server/index.cjs");
|
|
4
|
+
//#region src/googleAds/keywordPlanner/server/buildRowId.ts
|
|
5
|
+
/**
|
|
6
|
+
* Joins its arguments with "::" and hashes the result - the shared id scheme for both the keyword
|
|
7
|
+
* planner and keyword planner request tables. Exported for reuse by uploadKeywordPlannerCsv.ts,
|
|
8
|
+
* which builds the same dedupe key for a manually uploaded CSV.
|
|
9
|
+
*/
|
|
10
|
+
const buildRowId = (...args) => {
|
|
11
|
+
return require_crypto_server_getSha256.getSha256(args.join("::"));
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.buildRowId = buildRowId;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region src/googleAds/keywordPlanner/server/buildRowId.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Joins its arguments with "::" and hashes the result - the shared id scheme for both the keyword
|
|
4
|
+
* planner and keyword planner request tables. Exported for reuse by uploadKeywordPlannerCsv.ts,
|
|
5
|
+
* which builds the same dedupe key for a manually uploaded CSV.
|
|
6
|
+
*/
|
|
7
|
+
export declare const buildRowId: (...args: (string | number | null)[]) => string;
|
|
8
|
+
//#endregion
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region src/googleAds/keywordPlanner/server/buildRowId.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Joins its arguments with "::" and hashes the result - the shared id scheme for both the keyword
|
|
4
|
+
* planner and keyword planner request tables. Exported for reuse by uploadKeywordPlannerCsv.ts,
|
|
5
|
+
* which builds the same dedupe key for a manually uploaded CSV.
|
|
6
|
+
*/
|
|
7
|
+
export declare const buildRowId: (...args: (string | number | null)[]) => string;
|
|
8
|
+
//#endregion
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { getSha256 } from "../../../crypto/server/getSha256.mjs";
|
|
2
|
+
import "../../../crypto/server/index.mjs";
|
|
3
|
+
//#region src/googleAds/keywordPlanner/server/buildRowId.ts
|
|
4
|
+
/**
|
|
5
|
+
* Joins its arguments with "::" and hashes the result - the shared id scheme for both the keyword
|
|
6
|
+
* planner and keyword planner request tables. Exported for reuse by uploadKeywordPlannerCsv.ts,
|
|
7
|
+
* which builds the same dedupe key for a manually uploaded CSV.
|
|
8
|
+
*/
|
|
9
|
+
const buildRowId = (...args) => {
|
|
10
|
+
return getSha256(args.join("::"));
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { buildRowId };
|
|
@@ -1,6 +1,41 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
const require_googleAds_keywordPlanner_network = require("../network.cjs");
|
|
3
|
+
const require_googleAds_keywordPlanner_bigquery = require("../bigquery.cjs");
|
|
4
|
+
const require_googleAds_keywordPlanner_countries = require("../countries.cjs");
|
|
5
|
+
const require_googleAds_keywordPlanner_customerId = require("../customerId.cjs");
|
|
6
|
+
const require_googleAds_keywordPlanner_endpoint = require("../endpoint.cjs");
|
|
7
|
+
const require_googleAds_keywordPlanner_getKwpTimeframe = require("../getKwpTimeframe.cjs");
|
|
8
|
+
const require_googleAds_keywordPlanner_getLambdaFunctionName = require("../getLambdaFunctionName.cjs");
|
|
9
|
+
const require_googleAds_keywordPlanner_language = require("../language.cjs");
|
|
10
|
+
const require_googleAds_keywordPlanner_maxRequests = require("../maxRequests.cjs");
|
|
11
|
+
const require_googleAds_keywordPlanner_normalizeQuery = require("../normalizeQuery.cjs");
|
|
12
|
+
const require_googleAds_keywordPlanner_zodPHP = require("../zodPHP.cjs");
|
|
13
|
+
const require_googleAds_keywordPlanner_zodPHPPayload = require("../zodPHPPayload.cjs");
|
|
14
|
+
const require_googleAds_keywordPlanner_zodPHPResponse = require("../zodPHPResponse.cjs");
|
|
15
|
+
require("../index.cjs");
|
|
16
|
+
const require_googleAds_keywordPlanner_server_buildRowId = require("./buildRowId.cjs");
|
|
17
|
+
exports.buildRowId = require_googleAds_keywordPlanner_server_buildRowId.buildRowId;
|
|
18
|
+
exports.endpoint = require_googleAds_keywordPlanner_endpoint.endpoint;
|
|
19
|
+
exports.getKwpTimeframe = require_googleAds_keywordPlanner_getKwpTimeframe.getKwpTimeframe;
|
|
20
|
+
exports.getLambdaFunctionName = require_googleAds_keywordPlanner_getLambdaFunctionName.getLambdaFunctionName;
|
|
21
|
+
exports.getNormalizeQuery = require_googleAds_keywordPlanner_normalizeQuery.getNormalizeQuery;
|
|
22
|
+
exports.getRequestCountries = require_googleAds_keywordPlanner_countries.getRequestCountries;
|
|
23
|
+
exports.getRequestCustomerId = require_googleAds_keywordPlanner_customerId.getRequestCustomerId;
|
|
24
|
+
exports.getRequestLanguage = require_googleAds_keywordPlanner_language.getRequestLanguage;
|
|
25
|
+
exports.getRequestNetwork = require_googleAds_keywordPlanner_network.getRequestNetwork;
|
|
26
|
+
exports.getRequestNetworkValue = require_googleAds_keywordPlanner_network.getRequestNetworkValue;
|
|
27
|
+
exports.keywordPlannerBQInsertRowSchema = require_googleAds_keywordPlanner_bigquery.keywordPlannerBQInsertRowSchema;
|
|
28
|
+
exports.keywordPlannerBQReadRowSchema = require_googleAds_keywordPlanner_bigquery.keywordPlannerBQReadRowSchema;
|
|
29
|
+
exports.keywordPlannerBQRowSchema = require_googleAds_keywordPlanner_bigquery.keywordPlannerBQRowSchema;
|
|
30
|
+
exports.keywordPlannerDefinition = require_googleAds_keywordPlanner_bigquery.keywordPlannerDefinition;
|
|
31
|
+
exports.keywordPlannerTableId = require_googleAds_keywordPlanner_bigquery.keywordPlannerTableId;
|
|
32
|
+
exports.kwpMaxQueries = require_googleAds_keywordPlanner_maxRequests.kwpMaxQueries;
|
|
33
|
+
exports.network = require_googleAds_keywordPlanner_network.network;
|
|
34
|
+
exports.phpConfigSchema = require_googleAds_keywordPlanner_zodPHP.phpConfigSchema;
|
|
35
|
+
exports.phpPayloadRequestDetailsSchema = require_googleAds_keywordPlanner_zodPHPPayload.phpPayloadRequestDetailsSchema;
|
|
36
|
+
exports.phpPayloadSchema = require_googleAds_keywordPlanner_zodPHPPayload.phpPayloadSchema;
|
|
37
|
+
exports.phpResponseMonthSchema = require_googleAds_keywordPlanner_zodPHPResponse.phpResponseMonthSchema;
|
|
38
|
+
exports.phpResponseRowSchema = require_googleAds_keywordPlanner_zodPHPResponse.phpResponseRowSchema;
|
|
39
|
+
exports.phpResponseSchema = require_googleAds_keywordPlanner_zodPHPResponse.phpResponseSchema;
|
|
40
|
+
exports.phpRowDetailsSchema = require_googleAds_keywordPlanner_zodPHP.phpRowDetailsSchema;
|
|
41
|
+
exports.requestNetworkNameSchema = require_googleAds_keywordPlanner_network.requestNetworkNameSchema;
|
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { KeywordPlannerBQInsertRow, KeywordPlannerBQReadRow, KeywordPlannerBQRow, keywordPlannerBQInsertRowSchema, keywordPlannerBQReadRowSchema, keywordPlannerBQRowSchema, keywordPlannerDefinition, keywordPlannerTableId } from "../bigquery.cjs";
|
|
2
|
+
import { getRequestCountries } from "../countries.cjs";
|
|
3
|
+
import { getRequestCustomerId } from "../customerId.cjs";
|
|
4
|
+
import { Endpoint, endpoint } from "../endpoint.cjs";
|
|
5
|
+
import { PHPConfig, PHPRowDetails, phpConfigSchema, phpRowDetailsSchema } from "../zodPHP.cjs";
|
|
6
|
+
import { KwpTimeframe, getKwpTimeframe } from "../getKwpTimeframe.cjs";
|
|
7
|
+
import { getLambdaFunctionName } from "../getLambdaFunctionName.cjs";
|
|
8
|
+
import { getRequestLanguage } from "../language.cjs";
|
|
9
|
+
import { kwpMaxQueries } from "../maxRequests.cjs";
|
|
10
|
+
import { Network, RequestNetworkName, getRequestNetwork, getRequestNetworkValue, network, requestNetworkNameSchema } from "../network.cjs";
|
|
11
|
+
import { getNormalizeQuery } from "../normalizeQuery.cjs";
|
|
12
|
+
import { PHPPayload, PHPPayloadRequestDetails, phpPayloadRequestDetailsSchema, phpPayloadSchema } from "../zodPHPPayload.cjs";
|
|
13
|
+
import { PHPResponse, PHPResponseMonth, PHPResponseRow, phpResponseMonthSchema, phpResponseRowSchema, phpResponseSchema } from "../zodPHPResponse.cjs";
|
|
14
|
+
import "../index.cjs";
|
|
15
|
+
import { buildRowId } from "./buildRowId.cjs";
|
|
16
|
+
export { Endpoint, KeywordPlannerBQInsertRow, KeywordPlannerBQReadRow, KeywordPlannerBQRow, KwpTimeframe, Network, PHPConfig, PHPPayload, PHPPayloadRequestDetails, PHPResponse, PHPResponseMonth, PHPResponseRow, PHPRowDetails, RequestNetworkName, buildRowId, endpoint, getKwpTimeframe, getLambdaFunctionName, getNormalizeQuery, getRequestCountries, getRequestCustomerId, getRequestLanguage, getRequestNetwork, getRequestNetworkValue, keywordPlannerBQInsertRowSchema, keywordPlannerBQReadRowSchema, keywordPlannerBQRowSchema, keywordPlannerDefinition, keywordPlannerTableId, kwpMaxQueries, network, phpConfigSchema, phpPayloadRequestDetailsSchema, phpPayloadSchema, phpResponseMonthSchema, phpResponseRowSchema, phpResponseSchema, phpRowDetailsSchema, requestNetworkNameSchema };
|
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { KeywordPlannerBQInsertRow, KeywordPlannerBQReadRow, KeywordPlannerBQRow, keywordPlannerBQInsertRowSchema, keywordPlannerBQReadRowSchema, keywordPlannerBQRowSchema, keywordPlannerDefinition, keywordPlannerTableId } from "../bigquery.mjs";
|
|
2
|
+
import { getRequestCountries } from "../countries.mjs";
|
|
3
|
+
import { getRequestCustomerId } from "../customerId.mjs";
|
|
4
|
+
import { Endpoint, endpoint } from "../endpoint.mjs";
|
|
5
|
+
import { PHPConfig, PHPRowDetails, phpConfigSchema, phpRowDetailsSchema } from "../zodPHP.mjs";
|
|
6
|
+
import { KwpTimeframe, getKwpTimeframe } from "../getKwpTimeframe.mjs";
|
|
7
|
+
import { getLambdaFunctionName } from "../getLambdaFunctionName.mjs";
|
|
8
|
+
import { getRequestLanguage } from "../language.mjs";
|
|
9
|
+
import { kwpMaxQueries } from "../maxRequests.mjs";
|
|
10
|
+
import { Network, RequestNetworkName, getRequestNetwork, getRequestNetworkValue, network, requestNetworkNameSchema } from "../network.mjs";
|
|
11
|
+
import { getNormalizeQuery } from "../normalizeQuery.mjs";
|
|
12
|
+
import { PHPPayload, PHPPayloadRequestDetails, phpPayloadRequestDetailsSchema, phpPayloadSchema } from "../zodPHPPayload.mjs";
|
|
13
|
+
import { PHPResponse, PHPResponseMonth, PHPResponseRow, phpResponseMonthSchema, phpResponseRowSchema, phpResponseSchema } from "../zodPHPResponse.mjs";
|
|
14
|
+
import "../index.mjs";
|
|
15
|
+
import { buildRowId } from "./buildRowId.mjs";
|
|
16
|
+
export { Endpoint, KeywordPlannerBQInsertRow, KeywordPlannerBQReadRow, KeywordPlannerBQRow, KwpTimeframe, Network, PHPConfig, PHPPayload, PHPPayloadRequestDetails, PHPResponse, PHPResponseMonth, PHPResponseRow, PHPRowDetails, RequestNetworkName, buildRowId, endpoint, getKwpTimeframe, getLambdaFunctionName, getNormalizeQuery, getRequestCountries, getRequestCustomerId, getRequestLanguage, getRequestNetwork, getRequestNetworkValue, keywordPlannerBQInsertRowSchema, keywordPlannerBQReadRowSchema, keywordPlannerBQRowSchema, keywordPlannerDefinition, keywordPlannerTableId, kwpMaxQueries, network, phpConfigSchema, phpPayloadRequestDetailsSchema, phpPayloadSchema, phpResponseMonthSchema, phpResponseRowSchema, phpResponseSchema, phpRowDetailsSchema, requestNetworkNameSchema };
|
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { getRequestNetwork, getRequestNetworkValue, network, requestNetworkNameSchema } from "../network.mjs";
|
|
2
|
+
import { keywordPlannerBQInsertRowSchema, keywordPlannerBQReadRowSchema, keywordPlannerBQRowSchema, keywordPlannerDefinition, keywordPlannerTableId } from "../bigquery.mjs";
|
|
3
|
+
import { getRequestCountries } from "../countries.mjs";
|
|
4
|
+
import { getRequestCustomerId } from "../customerId.mjs";
|
|
5
|
+
import { endpoint } from "../endpoint.mjs";
|
|
6
|
+
import { getKwpTimeframe } from "../getKwpTimeframe.mjs";
|
|
7
|
+
import { getLambdaFunctionName } from "../getLambdaFunctionName.mjs";
|
|
8
|
+
import { getRequestLanguage } from "../language.mjs";
|
|
9
|
+
import { kwpMaxQueries } from "../maxRequests.mjs";
|
|
10
|
+
import { getNormalizeQuery } from "../normalizeQuery.mjs";
|
|
11
|
+
import { phpConfigSchema, phpRowDetailsSchema } from "../zodPHP.mjs";
|
|
12
|
+
import { phpPayloadRequestDetailsSchema, phpPayloadSchema } from "../zodPHPPayload.mjs";
|
|
13
|
+
import { phpResponseMonthSchema, phpResponseRowSchema, phpResponseSchema } from "../zodPHPResponse.mjs";
|
|
14
|
+
import "../index.mjs";
|
|
15
|
+
import { buildRowId } from "./buildRowId.mjs";
|
|
16
|
+
export { buildRowId, endpoint, getKwpTimeframe, getLambdaFunctionName, getNormalizeQuery, getRequestCountries, getRequestCustomerId, getRequestLanguage, getRequestNetwork, getRequestNetworkValue, keywordPlannerBQInsertRowSchema, keywordPlannerBQReadRowSchema, keywordPlannerBQRowSchema, keywordPlannerDefinition, keywordPlannerTableId, kwpMaxQueries, network, phpConfigSchema, phpPayloadRequestDetailsSchema, phpPayloadSchema, phpResponseMonthSchema, phpResponseRowSchema, phpResponseSchema, phpRowDetailsSchema, requestNetworkNameSchema };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_date_date = require("../../date/date.cjs");
|
|
3
|
+
const require_googleAds_keywordPlanner_endpoint = require("./endpoint.cjs");
|
|
4
|
+
let zod = require("zod");
|
|
5
|
+
//#region src/googleAds/keywordPlanner/zodPHP.ts
|
|
6
|
+
/**
|
|
7
|
+
* PHP Single Row request details - row-specific fields only. Batch-level context (date/module/
|
|
8
|
+
* topic/subtopic/competitorId/endpoint) lives once on `PHPConfig` instead of being repeated per
|
|
9
|
+
* row in the echoed response.
|
|
10
|
+
*/
|
|
11
|
+
const phpRowDetailsSchema = zod.z.object({
|
|
12
|
+
id: zod.z.string(),
|
|
13
|
+
queries: zod.z.string().array().nullable(),
|
|
14
|
+
url: zod.z.string().nullable()
|
|
15
|
+
});
|
|
16
|
+
/**
|
|
17
|
+
* PHP Payload-level config (top-level) - only what `KwpRequest` actually sends, plus `customerId`
|
|
18
|
+
* which PHP adds itself and echoes back on the response (read in `uploadKeywordPlanner.ts`).
|
|
19
|
+
*/
|
|
20
|
+
const phpConfigSchema = zod.z.object({
|
|
21
|
+
endpoint: zod.z.enum(require_googleAds_keywordPlanner_endpoint.endpoint),
|
|
22
|
+
websiteId: zod.z.string(),
|
|
23
|
+
request: zod.z.object({
|
|
24
|
+
competitorId: zod.z.string().nullable().optional(),
|
|
25
|
+
date: zod.z.string().nullable().optional(),
|
|
26
|
+
module: zod.z.string().nullable().optional(),
|
|
27
|
+
topic: zod.z.string().nullable().optional(),
|
|
28
|
+
subtopic: zod.z.string().nullable().optional()
|
|
29
|
+
}),
|
|
30
|
+
api: zod.z.object({
|
|
31
|
+
customerId: zod.z.string().nullable().optional(),
|
|
32
|
+
countries: zod.z.number().array().nullable().optional(),
|
|
33
|
+
language: zod.z.number().nullable().optional(),
|
|
34
|
+
network: zod.z.number(),
|
|
35
|
+
historicalMetricsOptions: zod.z.object({
|
|
36
|
+
startYear: zod.z.number(),
|
|
37
|
+
startMonth: zod.z.enum(require_date_date.month),
|
|
38
|
+
endYear: zod.z.number(),
|
|
39
|
+
endMonth: zod.z.enum(require_date_date.month)
|
|
40
|
+
}).nullable()
|
|
41
|
+
})
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
exports.phpConfigSchema = phpConfigSchema;
|
|
45
|
+
exports.phpRowDetailsSchema = phpRowDetailsSchema;
|