@8ms/helpers 1.38.0 → 2.0.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/.github/workflows/deploy_npmjs.yml +22 -14
- package/.yarn/install-state.gz +0 -0
- package/.yarn/releases/yarn-4.9.2.cjs +942 -0
- package/.yarnrc.yml +2 -0
- package/README.md +12 -0
- package/package.json +175 -46
- package/api/ApiResponse.d.ts +0 -50
- package/api/ApiResponse.js +0 -94
- package/api/index.d.ts +0 -9
- package/api/index.js +0 -13
- package/api/isError.d.ts +0 -6
- package/api/isError.js +0 -7
- package/api/isSuccess.d.ts +0 -6
- package/api/isSuccess.js +0 -7
- package/api/response.d.ts +0 -8
- package/api/response.js +0 -9
- package/array/contains.d.ts +0 -9
- package/array/contains.js +0 -7
- package/array/getArray.d.ts +0 -8
- package/array/getArray.js +0 -11
- package/atInternet/request.d.ts +0 -30
- package/atInternet/request.js +0 -2
- package/aws/athenaExpress/initClient.d.ts +0 -12
- package/aws/athenaExpress/initClient.js +0 -31
- package/aws/athenaExpress/query.d.ts +0 -8
- package/aws/athenaExpress/query.js +0 -16
- package/aws/ec2/initClient.d.ts +0 -11
- package/aws/ec2/initClient.js +0 -23
- package/aws/ec2/startInstances.d.ts +0 -11
- package/aws/ec2/startInstances.js +0 -18
- package/aws/ec2/stopInstances.d.ts +0 -12
- package/aws/ec2/stopInstances.js +0 -19
- package/aws/ecs/getClusters.d.ts +0 -9
- package/aws/ecs/getClusters.js +0 -32
- package/aws/ecs/getTaskDefinitions.d.ts +0 -13
- package/aws/ecs/getTaskDefinitions.js +0 -35
- package/aws/ecs/getTasks.d.ts +0 -16
- package/aws/ecs/getTasks.js +0 -38
- package/aws/ecs/initClient.d.ts +0 -11
- package/aws/ecs/initClient.js +0 -23
- package/aws/ecs/runTask.d.ts +0 -16
- package/aws/ecs/runTask.js +0 -30
- package/aws/getConfig.d.ts +0 -13
- package/aws/getConfig.js +0 -27
- package/aws/glue/initClient.d.ts +0 -10
- package/aws/glue/initClient.js +0 -21
- package/aws/glue/invoke.d.ts +0 -9
- package/aws/glue/invoke.js +0 -23
- package/aws/isResponse200.d.ts +0 -7
- package/aws/isResponse200.js +0 -22
- package/aws/lambda/getHandlerPath.d.ts +0 -5
- package/aws/lambda/getHandlerPath.js +0 -7
- package/aws/lambda/initClient.d.ts +0 -10
- package/aws/lambda/initClient.js +0 -21
- package/aws/lambda/invoke.d.ts +0 -13
- package/aws/lambda/invoke.js +0 -61
- package/aws/s3/copyFile.d.ts +0 -13
- package/aws/s3/copyFile.js +0 -14
- package/aws/s3/deleteFile.d.ts +0 -9
- package/aws/s3/deleteFile.js +0 -13
- package/aws/s3/deleteFiles.d.ts +0 -9
- package/aws/s3/deleteFiles.js +0 -17
- package/aws/s3/deleteFolder.d.ts +0 -9
- package/aws/s3/deleteFolder.js +0 -36
- package/aws/s3/getGlueJson.d.ts +0 -8
- package/aws/s3/getGlueJson.js +0 -11
- package/aws/s3/getPresignedPost.d.ts +0 -20
- package/aws/s3/getPresignedPost.js +0 -19
- package/aws/s3/getSignedUrl.d.ts +0 -12
- package/aws/s3/getSignedUrl.js +0 -17
- package/aws/s3/initClient.d.ts +0 -10
- package/aws/s3/initClient.js +0 -19
- package/aws/s3/isFileExists.d.ts +0 -9
- package/aws/s3/isFileExists.js +0 -27
- package/aws/s3/listFiles.d.ts +0 -9
- package/aws/s3/listFiles.js +0 -33
- package/aws/s3/listFilesIteratively.d.ts +0 -9
- package/aws/s3/listFilesIteratively.js +0 -44
- package/aws/s3/listFolders.d.ts +0 -9
- package/aws/s3/listFolders.js +0 -32
- package/aws/s3/moveFile.d.ts +0 -10
- package/aws/s3/moveFile.js +0 -21
- package/aws/s3/readBrotli.d.ts +0 -11
- package/aws/s3/readBrotli.js +0 -28
- package/aws/s3/readBuffer.d.ts +0 -13
- package/aws/s3/readBuffer.js +0 -39
- package/aws/s3/readFile.d.ts +0 -31
- package/aws/s3/readFile.js +0 -83
- package/aws/s3/readGzip.d.ts +0 -11
- package/aws/s3/readGzip.js +0 -28
- package/aws/s3/writeBrotli.d.ts +0 -12
- package/aws/s3/writeBrotli.js +0 -28
- package/aws/s3/writeFile.d.ts +0 -11
- package/aws/s3/writeFile.js +0 -16
- package/aws/s3/writeGzip.d.ts +0 -12
- package/aws/s3/writeGzip.js +0 -28
- package/aws/s3/writePresignedPost.d.ts +0 -14
- package/aws/s3/writePresignedPost.js +0 -31
- package/aws/s3/writeUrlContents.d.ts +0 -10
- package/aws/s3/writeUrlContents.js +0 -26
- package/aws/s3cache/getCache.d.ts +0 -11
- package/aws/s3cache/getCache.js +0 -37
- package/aws/s3cache/getKey.d.ts +0 -10
- package/aws/s3cache/getKey.js +0 -18
- package/aws/s3cache/index.d.ts +0 -6
- package/aws/s3cache/index.js +0 -2
- package/aws/s3cache/saveCache.d.ts +0 -10
- package/aws/s3cache/saveCache.js +0 -17
- package/aws/s3cache/updateCache.d.ts +0 -10
- package/aws/s3cache/updateCache.js +0 -24
- package/aws/ses/SimpleEmail.d.ts +0 -51
- package/aws/ses/SimpleEmail.js +0 -114
- package/aws/ses/initClient.d.ts +0 -10
- package/aws/ses/initClient.js +0 -19
- package/aws/sqs/addToQueue.d.ts +0 -27
- package/aws/sqs/addToQueue.js +0 -26
- package/aws/sqs/deleteFromQueue.d.ts +0 -10
- package/aws/sqs/deleteFromQueue.js +0 -15
- package/aws/sqs/initClient.d.ts +0 -10
- package/aws/sqs/initClient.js +0 -19
- package/aws/sqs/isEventSqs.d.ts +0 -1
- package/aws/sqs/isEventSqs.js +0 -13
- package/aws/ssm/getParameter.d.ts +0 -10
- package/aws/ssm/getParameter.js +0 -40
- package/aws/ssm/initClient.d.ts +0 -10
- package/aws/ssm/initClient.js +0 -19
- package/axios/delete.d.ts +0 -11
- package/axios/delete.js +0 -39
- package/axios/get.d.ts +0 -10
- package/axios/get.js +0 -38
- package/axios/post.d.ts +0 -11
- package/axios/post.js +0 -38
- package/boolean/getBoolean.d.ts +0 -7
- package/boolean/getBoolean.js +0 -16
- package/brightData/getCustomerId.d.ts +0 -10
- package/brightData/getCustomerId.js +0 -11
- package/brightData/getZone.d.ts +0 -9
- package/brightData/getZone.js +0 -10
- package/brightData/param.d.ts +0 -9
- package/brightData/param.js +0 -3
- package/brightData/serpApi/buildGoogleSerpUrl.d.ts +0 -32
- package/brightData/serpApi/buildGoogleSerpUrl.js +0 -115
- package/brightData/serpApi/buildGoogleTrendsUrl.d.ts +0 -22
- package/brightData/serpApi/buildGoogleTrendsUrl.js +0 -60
- package/brightData/serpApi/getAsyncRequestId.d.ts +0 -14
- package/brightData/serpApi/getAsyncRequestId.js +0 -50
- package/brightData/serpApi/getAsyncResults.d.ts +0 -12
- package/brightData/serpApi/getAsyncResults.js +0 -49
- package/brightData/serpApi/getRealtime.d.ts +0 -10
- package/brightData/serpApi/getRealtime.js +0 -35
- package/brightData/serpApi/type.d.ts +0 -11
- package/brightData/serpApi/type.js +0 -14
- package/brightData/webScraperIde/getBatch.d.ts +0 -14
- package/brightData/webScraperIde/getBatch.js +0 -34
- package/brightData/webScraperIde/getRealtime.d.ts +0 -13
- package/brightData/webScraperIde/getRealtime.js +0 -64
- package/class/BaseClass.d.ts +0 -31
- package/class/BaseClass.js +0 -50
- package/crud/index.d.ts +0 -6
- package/crud/index.js +0 -10
- package/crypto/getDecrypt.d.ts +0 -10
- package/crypto/getDecrypt.js +0 -13
- package/crypto/getEncrypt.d.ts +0 -10
- package/crypto/getEncrypt.js +0 -13
- package/crypto/getRandom.d.ts +0 -8
- package/crypto/getRandom.js +0 -12
- package/crypto/getSha256.d.ts +0 -8
- package/crypto/getSha256.js +0 -17
- package/date/format.d.ts +0 -10
- package/date/format.js +0 -21
- package/date/getDate.d.ts +0 -14
- package/date/getDate.js +0 -138
- package/date/getDatesBetween.d.ts +0 -13
- package/date/getDatesBetween.js +0 -54
- package/date/getDurationHours.d.ts +0 -9
- package/date/getDurationHours.js +0 -24
- package/date/getDurationMinutes.d.ts +0 -9
- package/date/getDurationMinutes.js +0 -22
- package/date/getFinancialYear.d.ts +0 -9
- package/date/getFinancialYear.js +0 -52
- package/date/getFinancialYearToDate.d.ts +0 -7
- package/date/getFinancialYearToDate.js +0 -20
- package/date/getFinancialYearToYesterday.d.ts +0 -7
- package/date/getFinancialYearToYesterday.js +0 -20
- package/date/getFinancialYearWeeks.d.ts +0 -9
- package/date/getFinancialYearWeeks.js +0 -33
- package/date/getLastWeek.d.ts +0 -10
- package/date/getLastWeek.js +0 -34
- package/date/getMax.d.ts +0 -13
- package/date/getMax.js +0 -24
- package/date/getMidnight.d.ts +0 -10
- package/date/getMidnight.js +0 -13
- package/date/getMin.d.ts +0 -13
- package/date/getMin.js +0 -24
- package/date/getMonday.d.ts +0 -15
- package/date/getMonday.js +0 -46
- package/date/getNumber.d.ts +0 -7
- package/date/getNumber.js +0 -20
- package/date/getPredefinedTimeframe.d.ts +0 -8
- package/date/getPredefinedTimeframe.js +0 -24
- package/date/getSunday.d.ts +0 -15
- package/date/getSunday.js +0 -42
- package/date/getThisWeek.d.ts +0 -10
- package/date/getThisWeek.js +0 -36
- package/date/getTimeZoned.d.ts +0 -13
- package/date/getTimeZoned.js +0 -55
- package/date/getToday.d.ts +0 -9
- package/date/getToday.js +0 -24
- package/date/getTodayYmd.d.ts +0 -5
- package/date/getTodayYmd.js +0 -21
- package/date/getTodayYmdhis.d.ts +0 -5
- package/date/getTodayYmdhis.js +0 -21
- package/date/getTwoWeeksAgo.d.ts +0 -10
- package/date/getTwoWeeksAgo.js +0 -36
- package/date/getWeeksAgo.d.ts +0 -13
- package/date/getWeeksAgo.js +0 -25
- package/date/getYesterday.d.ts +0 -9
- package/date/getYesterday.js +0 -52
- package/date/index.d.ts +0 -55
- package/date/index.js +0 -36
- package/date/isDateValid.d.ts +0 -7
- package/date/isDateValid.js +0 -20
- package/date/isLastWeek.d.ts +0 -6
- package/date/isLastWeek.js +0 -14
- package/date/isThisWeek.d.ts +0 -6
- package/date/isThisWeek.js +0 -14
- package/date/parseExcelDate.d.ts +0 -8
- package/date/parseExcelDate.js +0 -19
- package/environment/getEnvironment.d.ts +0 -6
- package/environment/getEnvironment.js +0 -43
- package/environment/index.d.ts +0 -9
- package/environment/index.js +0 -14
- package/environment/isAws.d.ts +0 -5
- package/environment/isAws.js +0 -8
- package/environment/isDevelopment.d.ts +0 -2
- package/environment/isDevelopment.js +0 -9
- package/environment/isLocalhost.d.ts +0 -5
- package/environment/isLocalhost.js +0 -25
- package/environment/isProduction.d.ts +0 -2
- package/environment/isProduction.js +0 -9
- package/environment/isStaging.d.ts +0 -2
- package/environment/isStaging.js +0 -9
- package/environment/isVercel.d.ts +0 -5
- package/environment/isVercel.js +0 -7
- package/eskimi/ageGroups.d.ts +0 -5
- package/eskimi/ageGroups.js +0 -41
- package/eskimi/campaign.d.ts +0 -19
- package/eskimi/campaign.js +0 -2
- package/eskimi/devices.d.ts +0 -5
- package/eskimi/devices.js +0 -13
- package/eskimi/endpoints.d.ts +0 -16
- package/eskimi/endpoints.js +0 -18
- package/eskimi/genders.d.ts +0 -5
- package/eskimi/genders.js +0 -13
- package/eskimi/getAccessToken.d.ts +0 -9
- package/eskimi/getAccessToken.js +0 -23
- package/eskimi/getAgeGroup.d.ts +0 -7
- package/eskimi/getAgeGroup.js +0 -17
- package/eskimi/getCampaignIds.d.ts +0 -7
- package/eskimi/getCampaignIds.js +0 -12
- package/eskimi/getData.d.ts +0 -8
- package/eskimi/getData.js +0 -23
- package/eskimi/getDevice.d.ts +0 -7
- package/eskimi/getDevice.js +0 -17
- package/eskimi/getGender.d.ts +0 -7
- package/eskimi/getGender.js +0 -17
- package/file/createDirectory.d.ts +0 -9
- package/file/createDirectory.js +0 -16
- package/file/writeFile.d.ts +0 -1
- package/file/writeFile.js +0 -2
- package/global/forceUpdate.d.ts +0 -8
- package/global/forceUpdate.js +0 -25
- package/global/init.d.ts +0 -10
- package/global/init.js +0 -18
- package/global/isSet.d.ts +0 -8
- package/global/isSet.js +0 -9
- package/global/maxCache.d.ts +0 -8
- package/global/maxCache.js +0 -17
- package/global/read.d.ts +0 -8
- package/global/read.js +0 -30
- package/google/bigQuery/IsTableExists.d.ts +0 -11
- package/google/bigQuery/IsTableExists.js +0 -25
- package/google/bigQuery/createDataset.d.ts +0 -11
- package/google/bigQuery/createDataset.js +0 -22
- package/google/bigQuery/createTable.d.ts +0 -12
- package/google/bigQuery/createTable.js +0 -31
- package/google/bigQuery/getClient.d.ts +0 -9
- package/google/bigQuery/getClient.js +0 -18
- package/google/bigQuery/getDatasets.d.ts +0 -13
- package/google/bigQuery/getDatasets.js +0 -27
- package/google/bigQuery/getTables.d.ts +0 -12
- package/google/bigQuery/getTables.js +0 -25
- package/google/bigQuery/initClient.d.ts +0 -11
- package/google/bigQuery/initClient.js +0 -29
- package/google/bigQuery/isDatasetExists.d.ts +0 -11
- package/google/bigQuery/isDatasetExists.js +0 -25
- package/google/bigQuery/loadData.d.ts +0 -18
- package/google/bigQuery/loadData.js +0 -32
- package/google/bigQuery/query.d.ts +0 -19
- package/google/bigQuery/query.js +0 -15
- package/google/getConfig.d.ts +0 -20
- package/google/getConfig.js +0 -23
- package/google/sheets/getAssociatedData.d.ts +0 -16
- package/google/sheets/getAssociatedData.js +0 -53
- package/google/sheets/getBatchData.d.ts +0 -18
- package/google/sheets/getBatchData.js +0 -19
- package/google/sheets/initClient.d.ts +0 -11
- package/google/sheets/initClient.js +0 -25
- package/google/sheets/isCellNa.d.ts +0 -7
- package/google/sheets/isCellNa.js +0 -7
- package/google/storage/copyToCloud.d.ts +0 -11
- package/google/storage/copyToCloud.js +0 -18
- package/google/storage/getClient.d.ts +0 -8
- package/google/storage/getClient.js +0 -18
- package/google/storage/initClient.d.ts +0 -12
- package/google/storage/initClient.js +0 -29
- package/google/storage/isFileExists.d.ts +0 -10
- package/google/storage/isFileExists.js +0 -19
- package/google/storage/writeFile.d.ts +0 -11
- package/google/storage/writeFile.js +0 -37
- package/googleAds/getCustomer.d.ts +0 -8
- package/googleAds/getCustomer.js +0 -14
- package/googleAds/initClient.d.ts +0 -16
- package/googleAds/initClient.js +0 -25
- package/googleAds/keywordPlanner/index.d.ts +0 -238
- package/googleAds/keywordPlanner/index.js +0 -244
- package/googleAds/keywordPlanner/request.d.ts +0 -18
- package/googleAds/keywordPlanner/request.js +0 -13
- package/googleAds/keywordPlanner/response.d.ts +0 -25
- package/googleAds/keywordPlanner/response.js +0 -2
- package/initClients.d.ts +0 -43
- package/initClients.js +0 -131
- package/json/getJsonNewline.d.ts +0 -5
- package/json/getJsonNewline.js +0 -17
- package/json/isJson.d.ts +0 -8
- package/json/isJson.js +0 -20
- package/littleWarden/getUrlStatus.d.ts +0 -9
- package/littleWarden/getUrlStatus.js +0 -21
- package/littleWarden/index.d.ts +0 -5
- package/littleWarden/index.js +0 -9
- package/littleWarden/isAllGood.d.ts +0 -7
- package/littleWarden/isAllGood.js +0 -15
- package/littleWarden/isDanger.d.ts +0 -7
- package/littleWarden/isDanger.js +0 -15
- package/littleWarden/isWarning.d.ts +0 -7
- package/littleWarden/isWarning.js +0 -15
- package/lumar/api/buildRequest.d.ts +0 -15
- package/lumar/api/buildRequest.js +0 -83
- package/lumar/api/filter.d.ts +0 -5
- package/lumar/api/filter.js +0 -2
- package/lumar/api/getData.d.ts +0 -6
- package/lumar/api/getData.js +0 -18
- package/lumar/api/initClient.d.ts +0 -13
- package/lumar/api/initClient.js +0 -38
- package/lumar/api/operands.d.ts +0 -11
- package/lumar/api/operands.js +0 -13
- package/lumar/api/orders.d.ts +0 -9
- package/lumar/api/orders.js +0 -7
- package/lumar/api/reports.d.ts +0 -11
- package/lumar/api/reports.js +0 -13
- package/lumar/graphql/columns.d.ts +0 -29
- package/lumar/graphql/columns.js +0 -31
- package/lumar/graphql/getData.d.ts +0 -9
- package/lumar/graphql/getData.js +0 -26
- package/lumar/graphql/getReportKey.d.ts +0 -9
- package/lumar/graphql/getReportKey.js +0 -9
- package/lumar/graphql/initClient.d.ts +0 -12
- package/lumar/graphql/initClient.js +0 -38
- package/lumar/graphql/operands.d.ts +0 -16
- package/lumar/graphql/operands.js +0 -18
- package/lumar/graphql/queries/crawl.d.ts +0 -5
- package/lumar/graphql/queries/crawl.js +0 -2
- package/lumar/graphql/queries/getCrawls.d.ts +0 -18
- package/lumar/graphql/queries/getCrawls.js +0 -33
- package/lumar/graphql/queries/getReportDifferences.d.ts +0 -24
- package/lumar/graphql/queries/getReportDifferences.js +0 -40
- package/lumar/graphql/queries/getRows.d.ts +0 -38
- package/lumar/graphql/queries/getRows.js +0 -57
- package/lumar/graphql/queries/getTotals.d.ts +0 -25
- package/lumar/graphql/queries/getTotals.js +0 -40
- package/lumar/graphql/queries/row.d.ts +0 -157
- package/lumar/graphql/queries/row.js +0 -2
- package/lumar/graphql/reportTemplates.d.ts +0 -68
- package/lumar/graphql/reportTemplates.js +0 -70
- package/lumar/graphql/reportTypes.d.ts +0 -7
- package/lumar/graphql/reportTypes.js +0 -9
- package/myTarget/getAccessToken.d.ts +0 -9
- package/myTarget/getAccessToken.js +0 -23
- package/myTarget/request.d.ts +0 -9
- package/myTarget/request.js +0 -23
- package/nextAuth/index.d.ts +0 -5
- package/nextAuth/index.js +0 -9
- package/nextAuth/isSessionReady.d.ts +0 -4
- package/nextAuth/isSessionReady.js +0 -12
- package/nextJs/getIp.d.ts +0 -7
- package/nextJs/getIp.js +0 -13
- package/nextJs/getUserAgent.d.ts +0 -7
- package/nextJs/getUserAgent.js +0 -7
- package/number/format.d.ts +0 -11
- package/number/format.js +0 -23
- package/number/getCurrency.d.ts +0 -10
- package/number/getCurrency.js +0 -20
- package/number/getDecimal.d.ts +0 -9
- package/number/getDecimal.js +0 -16
- package/number/getDivide.d.ts +0 -11
- package/number/getDivide.js +0 -26
- package/number/getNumber.d.ts +0 -8
- package/number/getNumber.js +0 -51
- package/number/getPercentIncrease.d.ts +0 -10
- package/number/getPercentIncrease.js +0 -22
- package/object/replaceKeys.d.ts +0 -10
- package/object/replaceKeys.js +0 -30
- package/prisma/getDecimal.d.ts +0 -9
- package/prisma/getDecimal.js +0 -18
- package/prisma/initClient.d.ts +0 -6
- package/prisma/initClient.js +0 -36
- package/snapchat/getAccessToken.d.ts +0 -9
- package/snapchat/getAccessToken.js +0 -35
- package/sorting/byNumberAscending.d.ts +0 -8
- package/sorting/byNumberAscending.js +0 -17
- package/sorting/byNumberDescending.d.ts +0 -8
- package/sorting/byNumberDescending.js +0 -17
- package/sorting/byStringAscending.d.ts +0 -8
- package/sorting/byStringAscending.js +0 -21
- package/sorting/byStringDescending.d.ts +0 -8
- package/sorting/byStringDescending.js +0 -21
- package/stream/sort.d.ts +0 -14
- package/stream/sort.js +0 -50
- package/string/getCapitalised.d.ts +0 -10
- package/string/getCapitalised.js +0 -17
- package/string/getClean.d.ts +0 -18
- package/string/getClean.js +0 -65
- package/string/getDecoded.d.ts +0 -10
- package/string/getDecoded.js +0 -26
- package/string/getFolder.d.ts +0 -8
- package/string/getFolder.js +0 -14
- package/string/getProperCase.d.ts +0 -11
- package/string/getProperCase.js +0 -27
- package/string/getString.d.ts +0 -7
- package/string/getString.js +0 -34
- package/string/getStringFromStream.d.ts +0 -8
- package/string/getStringFromStream.js +0 -16
- package/string/getWithoutAccents.d.ts +0 -9
- package/string/getWithoutAccents.js +0 -16
- package/string/getWithoutHtmlTags.d.ts +0 -9
- package/string/getWithoutHtmlTags.js +0 -15
- package/string/getWithoutPunctuation.d.ts +0 -9
- package/string/getWithoutPunctuation.js +0 -16
- package/string/getWithoutUnderscores.d.ts +0 -8
- package/string/getWithoutUnderscores.js +0 -14
- package/string/getWithoutWhitespaces.d.ts +0 -9
- package/string/getWithoutWhitespaces.js +0 -16
- package/swr/isAllData.d.ts +0 -7
- package/swr/isAllData.js +0 -19
- package/swr/isAnyError.d.ts +0 -7
- package/swr/isAnyError.js +0 -19
- package/swr/isAnyLoading.d.ts +0 -7
- package/swr/isAnyLoading.js +0 -21
- package/swr/isData.d.ts +0 -7
- package/swr/isData.js +0 -9
- package/swr/isError.d.ts +0 -7
- package/swr/isError.js +0 -7
- package/swr/isLoading.d.ts +0 -7
- package/swr/isLoading.js +0 -12
- package/upTimeRobot/getMonitors.d.ts +0 -1
- package/upTimeRobot/getMonitors.js +0 -33
- package/upTimeRobot/logTypes.d.ts +0 -7
- package/upTimeRobot/logTypes.js +0 -9
- package/upTimeRobot/monitorStatuses.d.ts +0 -8
- package/upTimeRobot/monitorStatuses.js +0 -10
- package/upTimeRobot/monitorSubTypes.d.ts +0 -10
- package/upTimeRobot/monitorSubTypes.js +0 -12
- package/upTimeRobot/monitorTypes.d.ts +0 -8
- package/upTimeRobot/monitorTypes.js +0 -10
- package/upTimeRobot/requestStatuses.d.ts +0 -5
- package/upTimeRobot/requestStatuses.js +0 -7
- package/url/buildParameters.d.ts +0 -8
- package/url/buildParameters.js +0 -22
- package/url/buildRelative.d.ts +0 -8
- package/url/buildRelative.js +0 -13
- package/url/buildUrl.d.ts +0 -10
- package/url/buildUrl.js +0 -29
- package/url/isAbsolute.d.ts +0 -7
- package/url/isAbsolute.js +0 -15
- package/url/isRelative.d.ts +0 -7
- package/url/isRelative.js +0 -8
- package/url/url.d.ts +0 -6
- package/url/url.js +0 -2
- package/url/writeUrlContents.d.ts +0 -11
- package/url/writeUrlContents.js +0 -43
- package/util/defaultTo.d.ts +0 -10
- package/util/defaultTo.js +0 -43
- package/util/getBrotliCompressed.d.ts +0 -9
- package/util/getBrotliCompressed.js +0 -19
- package/util/getBrotliDecompressed.d.ts +0 -9
- package/util/getBrotliDecompressed.js +0 -20
- package/util/getClean.d.ts +0 -11
- package/util/getClean.js +0 -28
- package/util/getGzipCompressed.d.ts +0 -9
- package/util/getGzipCompressed.js +0 -19
- package/util/getGzipDecompressed.d.ts +0 -9
- package/util/getGzipDecompressed.js +0 -20
- package/util/getWithoutHash.d.ts +0 -8
- package/util/getWithoutHash.js +0 -17
- package/util/getWithoutParameter.d.ts +0 -8
- package/util/getWithoutParameter.js +0 -17
- package/util/isUndefined.d.ts +0 -9
- package/util/isUndefined.js +0 -19
- package/util/promiseChunks.d.ts +0 -10
- package/util/promiseChunks.js +0 -18
- package/util/sleep.d.ts +0 -5
- package/util/sleep.js +0 -6
- package/webWorker/index.d.ts +0 -5
- package/webWorker/index.js +0 -9
- package/xml/getXml.d.ts +0 -5
- package/xml/getXml.js +0 -22
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const getConfig_1 = __importDefault(require("../getConfig"));
|
|
7
|
-
global.googleStorageDefault = {
|
|
8
|
-
credentials: null,
|
|
9
|
-
projectId: null,
|
|
10
|
-
};
|
|
11
|
-
global.googleStorageClient = null;
|
|
12
|
-
/**
|
|
13
|
-
* Initialise the Google Sheets instance using the separate service method.
|
|
14
|
-
* https://github.com/googleapis/google-api-nodejs-client
|
|
15
|
-
* Library: @googleapis/sheets
|
|
16
|
-
*/
|
|
17
|
-
const initClient = ({ parameter, projectId }) => {
|
|
18
|
-
if (!global.googleStorageClient) {
|
|
19
|
-
const { Storage } = require('@google-cloud/storage');
|
|
20
|
-
const formattedConfig = (0, getConfig_1.default)({ parameter });
|
|
21
|
-
global.googleStorageDefault.credentials = formattedConfig;
|
|
22
|
-
global.googleStorageDefault.projectId = projectId;
|
|
23
|
-
global.googleStorageClient = new Storage({
|
|
24
|
-
credentials: formattedConfig,
|
|
25
|
-
projectId: projectId,
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
exports.default = initClient;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const getClient_1 = __importDefault(require("./getClient"));
|
|
7
|
-
/**
|
|
8
|
-
* Check to see if a file exists but don't get the contents.
|
|
9
|
-
*/
|
|
10
|
-
const isFileExists = async (props) => {
|
|
11
|
-
const { bucket, key, projectId, } = props;
|
|
12
|
-
const googleFile = await (0, getClient_1.default)({ projectId })
|
|
13
|
-
.bucket(bucket)
|
|
14
|
-
.file(key)
|
|
15
|
-
.exists();
|
|
16
|
-
const response = googleFile?.[0];
|
|
17
|
-
return response;
|
|
18
|
-
};
|
|
19
|
-
exports.default = isFileExists;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.writeFile = void 0;
|
|
7
|
-
const getClient_1 = __importDefault(require("./getClient"));
|
|
8
|
-
/**
|
|
9
|
-
* Write a file to Google Cloud Storage.
|
|
10
|
-
*/
|
|
11
|
-
const writeFile = async (props) => {
|
|
12
|
-
const { bucket, contentType, data, key, projectId, ...options } = props;
|
|
13
|
-
const stream = require("stream");
|
|
14
|
-
const dataStream = new stream.PassThrough();
|
|
15
|
-
const googleFile = (0, getClient_1.default)({ projectId })
|
|
16
|
-
.bucket(bucket)
|
|
17
|
-
.file(key);
|
|
18
|
-
dataStream.push(data);
|
|
19
|
-
dataStream.push(null);
|
|
20
|
-
return await new Promise((resolve, reject) => {
|
|
21
|
-
dataStream.pipe(googleFile.createWriteStream({
|
|
22
|
-
contentType: "auto",
|
|
23
|
-
resumable: false,
|
|
24
|
-
validation: false,
|
|
25
|
-
metadata: {},
|
|
26
|
-
...options,
|
|
27
|
-
}))
|
|
28
|
-
.on("error", (error) => {
|
|
29
|
-
reject(error);
|
|
30
|
-
})
|
|
31
|
-
.on("finish", () => {
|
|
32
|
-
resolve(true);
|
|
33
|
-
});
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
exports.writeFile = writeFile;
|
|
37
|
-
exports.default = exports.writeFile;
|
package/googleAds/getCustomer.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/**
|
|
4
|
-
* Return the Google Ads Client with the specified customer set.
|
|
5
|
-
*/
|
|
6
|
-
const getCustomer = async ({ customerId }) => {
|
|
7
|
-
const customer = global.googleAdsClient.instance.Customer({
|
|
8
|
-
customer_id: customerId,
|
|
9
|
-
login_customer_id: global.googleAdsClient.mccAccountId,
|
|
10
|
-
refresh_token: global.googleAdsClient.refreshToken,
|
|
11
|
-
});
|
|
12
|
-
return customer;
|
|
13
|
-
};
|
|
14
|
-
exports.default = getCustomer;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type GoogleAdsParameter = {
|
|
2
|
-
clientId: string;
|
|
3
|
-
clientSecret: string;
|
|
4
|
-
developerToken: string;
|
|
5
|
-
mccAccountId: string;
|
|
6
|
-
refreshToken: string;
|
|
7
|
-
};
|
|
8
|
-
type InitClient = {
|
|
9
|
-
parameter: GoogleAdsParameter;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Shorthand function to get the Google Ads Client.
|
|
13
|
-
* Library: google-ads-api
|
|
14
|
-
*/
|
|
15
|
-
declare const initClient: ({ parameter }: InitClient) => Promise<void>;
|
|
16
|
-
export default initClient;
|
package/googleAds/initClient.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
global.googleAdsClient = {
|
|
4
|
-
instance: null,
|
|
5
|
-
mccAccountId: '',
|
|
6
|
-
refreshToken: '',
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Shorthand function to get the Google Ads Client.
|
|
10
|
-
* Library: google-ads-api
|
|
11
|
-
*/
|
|
12
|
-
const initClient = async ({ parameter }) => {
|
|
13
|
-
if (!global.googleAdsClient.instance) {
|
|
14
|
-
const { GoogleAdsApi } = require('google-ads-api');
|
|
15
|
-
// Create a new client instance
|
|
16
|
-
global.googleAdsClient.instance = new GoogleAdsApi({
|
|
17
|
-
client_id: parameter.clientId,
|
|
18
|
-
client_secret: parameter.clientSecret,
|
|
19
|
-
developer_token: parameter.developerToken,
|
|
20
|
-
});
|
|
21
|
-
global.googleAdsClient.mccAccountId = parameter.mccAccountId;
|
|
22
|
-
global.googleAdsClient.refreshToken = parameter.refreshToken;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
exports.default = initClient;
|
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* As defined in=
|
|
3
|
-
* https=//docs.google.com/spreadsheets/d/1T2ObmYoo6BNzrqYKb2ts75A6IKfnXmnndr2wujgNpak/edit#gid=2146701026
|
|
4
|
-
*/
|
|
5
|
-
export declare enum Country {
|
|
6
|
-
AFGHANISTAN = 2004,
|
|
7
|
-
ALBANIA = 2008,
|
|
8
|
-
ANTARCTICA = 2010,
|
|
9
|
-
ALGERIA = 2012,
|
|
10
|
-
AMERICAN_SAMOA = 2016,
|
|
11
|
-
ANDORRA = 2020,
|
|
12
|
-
ANGOLA = 2024,
|
|
13
|
-
ANTIGUA_AND_BARBUDA = 2028,
|
|
14
|
-
AZERBAIJAN = 2031,
|
|
15
|
-
ARGENTINA = 2032,
|
|
16
|
-
AUSTRALIA = 2036,
|
|
17
|
-
AUSTRIA = 2040,
|
|
18
|
-
THE_BAHAMAS = 2044,
|
|
19
|
-
BAHRAIN = 2048,
|
|
20
|
-
BANGLADESH = 2050,
|
|
21
|
-
ARMENIA = 2051,
|
|
22
|
-
BARBADOS = 2052,
|
|
23
|
-
BELGIUM = 2056,
|
|
24
|
-
BHUTAN = 2064,
|
|
25
|
-
BOLIVIA = 2068,
|
|
26
|
-
BOSNIA_AND_HERZEGOVINA = 2070,
|
|
27
|
-
BOTSWANA = 2072,
|
|
28
|
-
BRAZIL = 2076,
|
|
29
|
-
BELIZE = 2084,
|
|
30
|
-
SOLOMON_ISLANDS = 2090,
|
|
31
|
-
BRUNEI = 2096,
|
|
32
|
-
BULGARIA = 2100,
|
|
33
|
-
MYANMAR_BURMA = 2104,
|
|
34
|
-
BURUNDI = 2108,
|
|
35
|
-
BELARUS = 2112,
|
|
36
|
-
CAMBODIA = 2116,
|
|
37
|
-
CAMEROON = 2120,
|
|
38
|
-
CANADA = 2124,
|
|
39
|
-
CAPE_VERDE = 2132,
|
|
40
|
-
CENTRAL_AFRICAN_REPUBLIC = 2140,
|
|
41
|
-
SRI_LANKA = 2144,
|
|
42
|
-
CHAD = 2148,
|
|
43
|
-
CHILE = 2152,
|
|
44
|
-
CHINA = 2156,
|
|
45
|
-
CHRISTMAS_ISLAND = 2162,
|
|
46
|
-
COCOS_KEELING_ISLANDS = 2166,
|
|
47
|
-
COLOMBIA = 2170,
|
|
48
|
-
COMOROS = 2174,
|
|
49
|
-
REPUBLIC_OF_THE_CONGO = 2178,
|
|
50
|
-
DEMOCRATIC_REPUBLIC_OF_THE_CONGO = 2180,
|
|
51
|
-
COOK_ISLANDS = 2184,
|
|
52
|
-
COSTA_RICA = 2188,
|
|
53
|
-
CROATIA = 2191,
|
|
54
|
-
CYPRUS = 2196,
|
|
55
|
-
CZECHIA = 2203,
|
|
56
|
-
BENIN = 2204,
|
|
57
|
-
DENMARK = 2208,
|
|
58
|
-
DOMINICA = 2212,
|
|
59
|
-
DOMINICAN_REPUBLIC = 2214,
|
|
60
|
-
ECUADOR = 2218,
|
|
61
|
-
EL_SALVADOR = 2222,
|
|
62
|
-
EQUATORIAL_GUINEA = 2226,
|
|
63
|
-
ETHIOPIA = 2231,
|
|
64
|
-
ERITREA = 2232,
|
|
65
|
-
ESTONIA = 2233,
|
|
66
|
-
SOUTH_GEORGIA_AND_THE_SOUTH_SANDWICH_ISLANDS = 2239,
|
|
67
|
-
FIJI = 2242,
|
|
68
|
-
FINLAND = 2246,
|
|
69
|
-
FRANCE = 2250,
|
|
70
|
-
FRENCH_POLYNESIA = 2258,
|
|
71
|
-
FRENCH_SOUTHERN_AND_ANTARCTIC_LANDS = 2260,
|
|
72
|
-
DJIBOUTI = 2262,
|
|
73
|
-
GABON = 2266,
|
|
74
|
-
GEORGIA = 2268,
|
|
75
|
-
THE_GAMBIA = 2270,
|
|
76
|
-
GERMANY = 2276,
|
|
77
|
-
GHANA = 2288,
|
|
78
|
-
KIRIBATI = 2296,
|
|
79
|
-
GREECE = 2300,
|
|
80
|
-
GRENADA = 2308,
|
|
81
|
-
GUAM = 2316,
|
|
82
|
-
GUATEMALA = 2320,
|
|
83
|
-
GUINEA = 2324,
|
|
84
|
-
GUYANA = 2328,
|
|
85
|
-
HAITI = 2332,
|
|
86
|
-
HEARD_ISLAND_AND_MCDONALD_ISLANDS = 2334,
|
|
87
|
-
VATICAN_CITY = 2336,
|
|
88
|
-
HONDURAS = 2340,
|
|
89
|
-
HUNGARY = 2348,
|
|
90
|
-
ICELAND = 2352,
|
|
91
|
-
INDIA = 2356,
|
|
92
|
-
INDONESIA = 2360,
|
|
93
|
-
IRAQ = 2368,
|
|
94
|
-
IRELAND = 2372,
|
|
95
|
-
ISRAEL = 2376,
|
|
96
|
-
ITALY = 2380,
|
|
97
|
-
COTE_DIVOIRE = 2384,
|
|
98
|
-
JAMAICA = 2388,
|
|
99
|
-
JAPAN = 2392,
|
|
100
|
-
KAZAKHSTAN = 2398,
|
|
101
|
-
JORDAN = 2400,
|
|
102
|
-
KENYA = 2404,
|
|
103
|
-
SOUTH_KOREA = 2410,
|
|
104
|
-
KUWAIT = 2414,
|
|
105
|
-
KYRGYZSTAN = 2417,
|
|
106
|
-
LAOS = 2418,
|
|
107
|
-
LEBANON = 2422,
|
|
108
|
-
LESOTHO = 2426,
|
|
109
|
-
LATVIA = 2428,
|
|
110
|
-
LIBERIA = 2430,
|
|
111
|
-
LIBYA = 2434,
|
|
112
|
-
LIECHTENSTEIN = 2438,
|
|
113
|
-
LITHUANIA = 2440,
|
|
114
|
-
LUXEMBOURG = 2442,
|
|
115
|
-
MADAGASCAR = 2450,
|
|
116
|
-
MALAWI = 2454,
|
|
117
|
-
MALAYSIA = 2458,
|
|
118
|
-
MALDIVES = 2462,
|
|
119
|
-
MALI = 2466,
|
|
120
|
-
MALTA = 2470,
|
|
121
|
-
MAURITANIA = 2478,
|
|
122
|
-
MAURITIUS = 2480,
|
|
123
|
-
MEXICO = 2484,
|
|
124
|
-
MONACO = 2492,
|
|
125
|
-
MONGOLIA = 2496,
|
|
126
|
-
MOLDOVA = 2498,
|
|
127
|
-
MONTENEGRO = 2499,
|
|
128
|
-
MOROCCO = 2504,
|
|
129
|
-
MOZAMBIQUE = 2508,
|
|
130
|
-
OMAN = 2512,
|
|
131
|
-
NAMIBIA = 2516,
|
|
132
|
-
NAURU = 2520,
|
|
133
|
-
NEPAL = 2524,
|
|
134
|
-
NETHERLANDS = 2528,
|
|
135
|
-
CURACAO = 2531,
|
|
136
|
-
SINT_MAARTEN = 2534,
|
|
137
|
-
CARIBBEAN_NETHERLANDS = 2535,
|
|
138
|
-
NEW_CALEDONIA = 2540,
|
|
139
|
-
VANUATU = 2548,
|
|
140
|
-
NEW_ZEALAND = 2554,
|
|
141
|
-
NICARAGUA = 2558,
|
|
142
|
-
NIGER = 2562,
|
|
143
|
-
NIGERIA = 2566,
|
|
144
|
-
NIUE = 2570,
|
|
145
|
-
NORFOLK_ISLAND = 2574,
|
|
146
|
-
NORWAY = 2578,
|
|
147
|
-
NORTHERN_MARIANA_ISLANDS = 2580,
|
|
148
|
-
UNITED_STATES_MINOR_OUTLYING_ISLANDS = 2581,
|
|
149
|
-
FEDERATED_STATES_OF_MICRONESIA = 2583,
|
|
150
|
-
MARSHALL_ISLANDS = 2584,
|
|
151
|
-
PALAU = 2585,
|
|
152
|
-
PAKISTAN = 2586,
|
|
153
|
-
PANAMA = 2591,
|
|
154
|
-
PAPUA_NEW_GUINEA = 2598,
|
|
155
|
-
PARAGUAY = 2600,
|
|
156
|
-
PERU = 2604,
|
|
157
|
-
PHILIPPINES = 2608,
|
|
158
|
-
PITCAIRN_ISLANDS = 2612,
|
|
159
|
-
POLAND = 2616,
|
|
160
|
-
PORTUGAL = 2620,
|
|
161
|
-
GUINEA_BISSAU = 2624,
|
|
162
|
-
TIMOR_LESTE = 2626,
|
|
163
|
-
QATAR = 2634,
|
|
164
|
-
ROMANIA = 2642,
|
|
165
|
-
RUSSIA = 2643,
|
|
166
|
-
RWANDA = 2646,
|
|
167
|
-
SAINT_HELENA__ASCENSION_AND_TRISTAN_DA_CUNHA = 2654,
|
|
168
|
-
SAINT_KITTS_AND_NEVIS = 2659,
|
|
169
|
-
SAINT_LUCIA = 2662,
|
|
170
|
-
SAINT_PIERRE_AND_MIQUELON = 2666,
|
|
171
|
-
SAINT_VINCENT_AND_THE_GRENADINES = 2670,
|
|
172
|
-
SAN_MARINO = 2674,
|
|
173
|
-
SAO_TOME_AND_PRINCIPE = 2678,
|
|
174
|
-
SAUDI_ARABIA = 2682,
|
|
175
|
-
SENEGAL = 2686,
|
|
176
|
-
SERBIA = 2688,
|
|
177
|
-
SEYCHELLES = 2690,
|
|
178
|
-
SIERRA_LEONE = 2694,
|
|
179
|
-
SINGAPORE = 2702,
|
|
180
|
-
SLOVAKIA = 2703,
|
|
181
|
-
VIETNAM = 2704,
|
|
182
|
-
SLOVENIA = 2705,
|
|
183
|
-
SOMALIA = 2706,
|
|
184
|
-
SOUTH_AFRICA = 2710,
|
|
185
|
-
ZIMBABWE = 2716,
|
|
186
|
-
SPAIN = 2724,
|
|
187
|
-
SUDAN = 2736,
|
|
188
|
-
SURINAME = 2740,
|
|
189
|
-
ESWATINI = 2748,
|
|
190
|
-
SWEDEN = 2752,
|
|
191
|
-
SWITZERLAND = 2756,
|
|
192
|
-
TAJIKISTAN = 2762,
|
|
193
|
-
THAILAND = 2764,
|
|
194
|
-
TOGO = 2768,
|
|
195
|
-
TOKELAU = 2772,
|
|
196
|
-
TONGA = 2776,
|
|
197
|
-
TRINIDAD_AND_TOBAGO = 2780,
|
|
198
|
-
UNITED_ARAB_EMIRATES = 2784,
|
|
199
|
-
TUNISIA = 2788,
|
|
200
|
-
TURKEY = 2792,
|
|
201
|
-
TURKMENISTAN = 2795,
|
|
202
|
-
TUVALU = 2798,
|
|
203
|
-
UGANDA = 2800,
|
|
204
|
-
UKRAINE = 2804,
|
|
205
|
-
NORTH_MACEDONIA = 2807,
|
|
206
|
-
EGYPT = 2818,
|
|
207
|
-
UNITED_KINGDOM = 2826,
|
|
208
|
-
GUERNSEY = 2831,
|
|
209
|
-
JERSEY = 2832,
|
|
210
|
-
TANZANIA = 2834,
|
|
211
|
-
UNITED_STATES = 2840,
|
|
212
|
-
BURKINA_FASO = 2854,
|
|
213
|
-
URUGUAY = 2858,
|
|
214
|
-
UZBEKISTAN = 2860,
|
|
215
|
-
VENEZUELA = 2862,
|
|
216
|
-
WALLIS_AND_FUTUNA = 2876,
|
|
217
|
-
SAMOA = 2882,
|
|
218
|
-
YEMEN = 2887,
|
|
219
|
-
ZAMBIA = 2894
|
|
220
|
-
}
|
|
221
|
-
export declare enum Month {
|
|
222
|
-
JANUARY = "JANUARY",
|
|
223
|
-
FEBRUARY = "FEBRUARY",
|
|
224
|
-
MARCH = "MARCH",
|
|
225
|
-
APRIL = "APRIL",
|
|
226
|
-
MAY = "MAY",
|
|
227
|
-
JUNE = "JUNE",
|
|
228
|
-
JULY = "JULY",
|
|
229
|
-
AUGUST = "AUGUST",
|
|
230
|
-
SEPTEMBER = "SEPTEMBER",
|
|
231
|
-
OCTOBER = "OCTOBER",
|
|
232
|
-
NOVEMBER = "NOVEMBER",
|
|
233
|
-
DECEMBER = "DECEMBER"
|
|
234
|
-
}
|
|
235
|
-
export declare enum Network {
|
|
236
|
-
GOOGLE_SEARCH_ONLY = 2,
|
|
237
|
-
GOOGLE_SEARCH_AND_PARTNERS = 3
|
|
238
|
-
}
|
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Network = exports.Month = exports.Country = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* As defined in=
|
|
6
|
-
* https=//docs.google.com/spreadsheets/d/1T2ObmYoo6BNzrqYKb2ts75A6IKfnXmnndr2wujgNpak/edit#gid=2146701026
|
|
7
|
-
*/
|
|
8
|
-
var Country;
|
|
9
|
-
(function (Country) {
|
|
10
|
-
Country[Country["AFGHANISTAN"] = 2004] = "AFGHANISTAN";
|
|
11
|
-
Country[Country["ALBANIA"] = 2008] = "ALBANIA";
|
|
12
|
-
Country[Country["ANTARCTICA"] = 2010] = "ANTARCTICA";
|
|
13
|
-
Country[Country["ALGERIA"] = 2012] = "ALGERIA";
|
|
14
|
-
Country[Country["AMERICAN_SAMOA"] = 2016] = "AMERICAN_SAMOA";
|
|
15
|
-
Country[Country["ANDORRA"] = 2020] = "ANDORRA";
|
|
16
|
-
Country[Country["ANGOLA"] = 2024] = "ANGOLA";
|
|
17
|
-
Country[Country["ANTIGUA_AND_BARBUDA"] = 2028] = "ANTIGUA_AND_BARBUDA";
|
|
18
|
-
Country[Country["AZERBAIJAN"] = 2031] = "AZERBAIJAN";
|
|
19
|
-
Country[Country["ARGENTINA"] = 2032] = "ARGENTINA";
|
|
20
|
-
Country[Country["AUSTRALIA"] = 2036] = "AUSTRALIA";
|
|
21
|
-
Country[Country["AUSTRIA"] = 2040] = "AUSTRIA";
|
|
22
|
-
Country[Country["THE_BAHAMAS"] = 2044] = "THE_BAHAMAS";
|
|
23
|
-
Country[Country["BAHRAIN"] = 2048] = "BAHRAIN";
|
|
24
|
-
Country[Country["BANGLADESH"] = 2050] = "BANGLADESH";
|
|
25
|
-
Country[Country["ARMENIA"] = 2051] = "ARMENIA";
|
|
26
|
-
Country[Country["BARBADOS"] = 2052] = "BARBADOS";
|
|
27
|
-
Country[Country["BELGIUM"] = 2056] = "BELGIUM";
|
|
28
|
-
Country[Country["BHUTAN"] = 2064] = "BHUTAN";
|
|
29
|
-
Country[Country["BOLIVIA"] = 2068] = "BOLIVIA";
|
|
30
|
-
Country[Country["BOSNIA_AND_HERZEGOVINA"] = 2070] = "BOSNIA_AND_HERZEGOVINA";
|
|
31
|
-
Country[Country["BOTSWANA"] = 2072] = "BOTSWANA";
|
|
32
|
-
Country[Country["BRAZIL"] = 2076] = "BRAZIL";
|
|
33
|
-
Country[Country["BELIZE"] = 2084] = "BELIZE";
|
|
34
|
-
Country[Country["SOLOMON_ISLANDS"] = 2090] = "SOLOMON_ISLANDS";
|
|
35
|
-
Country[Country["BRUNEI"] = 2096] = "BRUNEI";
|
|
36
|
-
Country[Country["BULGARIA"] = 2100] = "BULGARIA";
|
|
37
|
-
Country[Country["MYANMAR_BURMA"] = 2104] = "MYANMAR_BURMA";
|
|
38
|
-
Country[Country["BURUNDI"] = 2108] = "BURUNDI";
|
|
39
|
-
Country[Country["BELARUS"] = 2112] = "BELARUS";
|
|
40
|
-
Country[Country["CAMBODIA"] = 2116] = "CAMBODIA";
|
|
41
|
-
Country[Country["CAMEROON"] = 2120] = "CAMEROON";
|
|
42
|
-
Country[Country["CANADA"] = 2124] = "CANADA";
|
|
43
|
-
Country[Country["CAPE_VERDE"] = 2132] = "CAPE_VERDE";
|
|
44
|
-
Country[Country["CENTRAL_AFRICAN_REPUBLIC"] = 2140] = "CENTRAL_AFRICAN_REPUBLIC";
|
|
45
|
-
Country[Country["SRI_LANKA"] = 2144] = "SRI_LANKA";
|
|
46
|
-
Country[Country["CHAD"] = 2148] = "CHAD";
|
|
47
|
-
Country[Country["CHILE"] = 2152] = "CHILE";
|
|
48
|
-
Country[Country["CHINA"] = 2156] = "CHINA";
|
|
49
|
-
Country[Country["CHRISTMAS_ISLAND"] = 2162] = "CHRISTMAS_ISLAND";
|
|
50
|
-
Country[Country["COCOS_KEELING_ISLANDS"] = 2166] = "COCOS_KEELING_ISLANDS";
|
|
51
|
-
Country[Country["COLOMBIA"] = 2170] = "COLOMBIA";
|
|
52
|
-
Country[Country["COMOROS"] = 2174] = "COMOROS";
|
|
53
|
-
Country[Country["REPUBLIC_OF_THE_CONGO"] = 2178] = "REPUBLIC_OF_THE_CONGO";
|
|
54
|
-
Country[Country["DEMOCRATIC_REPUBLIC_OF_THE_CONGO"] = 2180] = "DEMOCRATIC_REPUBLIC_OF_THE_CONGO";
|
|
55
|
-
Country[Country["COOK_ISLANDS"] = 2184] = "COOK_ISLANDS";
|
|
56
|
-
Country[Country["COSTA_RICA"] = 2188] = "COSTA_RICA";
|
|
57
|
-
Country[Country["CROATIA"] = 2191] = "CROATIA";
|
|
58
|
-
Country[Country["CYPRUS"] = 2196] = "CYPRUS";
|
|
59
|
-
Country[Country["CZECHIA"] = 2203] = "CZECHIA";
|
|
60
|
-
Country[Country["BENIN"] = 2204] = "BENIN";
|
|
61
|
-
Country[Country["DENMARK"] = 2208] = "DENMARK";
|
|
62
|
-
Country[Country["DOMINICA"] = 2212] = "DOMINICA";
|
|
63
|
-
Country[Country["DOMINICAN_REPUBLIC"] = 2214] = "DOMINICAN_REPUBLIC";
|
|
64
|
-
Country[Country["ECUADOR"] = 2218] = "ECUADOR";
|
|
65
|
-
Country[Country["EL_SALVADOR"] = 2222] = "EL_SALVADOR";
|
|
66
|
-
Country[Country["EQUATORIAL_GUINEA"] = 2226] = "EQUATORIAL_GUINEA";
|
|
67
|
-
Country[Country["ETHIOPIA"] = 2231] = "ETHIOPIA";
|
|
68
|
-
Country[Country["ERITREA"] = 2232] = "ERITREA";
|
|
69
|
-
Country[Country["ESTONIA"] = 2233] = "ESTONIA";
|
|
70
|
-
Country[Country["SOUTH_GEORGIA_AND_THE_SOUTH_SANDWICH_ISLANDS"] = 2239] = "SOUTH_GEORGIA_AND_THE_SOUTH_SANDWICH_ISLANDS";
|
|
71
|
-
Country[Country["FIJI"] = 2242] = "FIJI";
|
|
72
|
-
Country[Country["FINLAND"] = 2246] = "FINLAND";
|
|
73
|
-
Country[Country["FRANCE"] = 2250] = "FRANCE";
|
|
74
|
-
Country[Country["FRENCH_POLYNESIA"] = 2258] = "FRENCH_POLYNESIA";
|
|
75
|
-
Country[Country["FRENCH_SOUTHERN_AND_ANTARCTIC_LANDS"] = 2260] = "FRENCH_SOUTHERN_AND_ANTARCTIC_LANDS";
|
|
76
|
-
Country[Country["DJIBOUTI"] = 2262] = "DJIBOUTI";
|
|
77
|
-
Country[Country["GABON"] = 2266] = "GABON";
|
|
78
|
-
Country[Country["GEORGIA"] = 2268] = "GEORGIA";
|
|
79
|
-
Country[Country["THE_GAMBIA"] = 2270] = "THE_GAMBIA";
|
|
80
|
-
Country[Country["GERMANY"] = 2276] = "GERMANY";
|
|
81
|
-
Country[Country["GHANA"] = 2288] = "GHANA";
|
|
82
|
-
Country[Country["KIRIBATI"] = 2296] = "KIRIBATI";
|
|
83
|
-
Country[Country["GREECE"] = 2300] = "GREECE";
|
|
84
|
-
Country[Country["GRENADA"] = 2308] = "GRENADA";
|
|
85
|
-
Country[Country["GUAM"] = 2316] = "GUAM";
|
|
86
|
-
Country[Country["GUATEMALA"] = 2320] = "GUATEMALA";
|
|
87
|
-
Country[Country["GUINEA"] = 2324] = "GUINEA";
|
|
88
|
-
Country[Country["GUYANA"] = 2328] = "GUYANA";
|
|
89
|
-
Country[Country["HAITI"] = 2332] = "HAITI";
|
|
90
|
-
Country[Country["HEARD_ISLAND_AND_MCDONALD_ISLANDS"] = 2334] = "HEARD_ISLAND_AND_MCDONALD_ISLANDS";
|
|
91
|
-
Country[Country["VATICAN_CITY"] = 2336] = "VATICAN_CITY";
|
|
92
|
-
Country[Country["HONDURAS"] = 2340] = "HONDURAS";
|
|
93
|
-
Country[Country["HUNGARY"] = 2348] = "HUNGARY";
|
|
94
|
-
Country[Country["ICELAND"] = 2352] = "ICELAND";
|
|
95
|
-
Country[Country["INDIA"] = 2356] = "INDIA";
|
|
96
|
-
Country[Country["INDONESIA"] = 2360] = "INDONESIA";
|
|
97
|
-
Country[Country["IRAQ"] = 2368] = "IRAQ";
|
|
98
|
-
Country[Country["IRELAND"] = 2372] = "IRELAND";
|
|
99
|
-
Country[Country["ISRAEL"] = 2376] = "ISRAEL";
|
|
100
|
-
Country[Country["ITALY"] = 2380] = "ITALY";
|
|
101
|
-
Country[Country["COTE_DIVOIRE"] = 2384] = "COTE_DIVOIRE";
|
|
102
|
-
Country[Country["JAMAICA"] = 2388] = "JAMAICA";
|
|
103
|
-
Country[Country["JAPAN"] = 2392] = "JAPAN";
|
|
104
|
-
Country[Country["KAZAKHSTAN"] = 2398] = "KAZAKHSTAN";
|
|
105
|
-
Country[Country["JORDAN"] = 2400] = "JORDAN";
|
|
106
|
-
Country[Country["KENYA"] = 2404] = "KENYA";
|
|
107
|
-
Country[Country["SOUTH_KOREA"] = 2410] = "SOUTH_KOREA";
|
|
108
|
-
Country[Country["KUWAIT"] = 2414] = "KUWAIT";
|
|
109
|
-
Country[Country["KYRGYZSTAN"] = 2417] = "KYRGYZSTAN";
|
|
110
|
-
Country[Country["LAOS"] = 2418] = "LAOS";
|
|
111
|
-
Country[Country["LEBANON"] = 2422] = "LEBANON";
|
|
112
|
-
Country[Country["LESOTHO"] = 2426] = "LESOTHO";
|
|
113
|
-
Country[Country["LATVIA"] = 2428] = "LATVIA";
|
|
114
|
-
Country[Country["LIBERIA"] = 2430] = "LIBERIA";
|
|
115
|
-
Country[Country["LIBYA"] = 2434] = "LIBYA";
|
|
116
|
-
Country[Country["LIECHTENSTEIN"] = 2438] = "LIECHTENSTEIN";
|
|
117
|
-
Country[Country["LITHUANIA"] = 2440] = "LITHUANIA";
|
|
118
|
-
Country[Country["LUXEMBOURG"] = 2442] = "LUXEMBOURG";
|
|
119
|
-
Country[Country["MADAGASCAR"] = 2450] = "MADAGASCAR";
|
|
120
|
-
Country[Country["MALAWI"] = 2454] = "MALAWI";
|
|
121
|
-
Country[Country["MALAYSIA"] = 2458] = "MALAYSIA";
|
|
122
|
-
Country[Country["MALDIVES"] = 2462] = "MALDIVES";
|
|
123
|
-
Country[Country["MALI"] = 2466] = "MALI";
|
|
124
|
-
Country[Country["MALTA"] = 2470] = "MALTA";
|
|
125
|
-
Country[Country["MAURITANIA"] = 2478] = "MAURITANIA";
|
|
126
|
-
Country[Country["MAURITIUS"] = 2480] = "MAURITIUS";
|
|
127
|
-
Country[Country["MEXICO"] = 2484] = "MEXICO";
|
|
128
|
-
Country[Country["MONACO"] = 2492] = "MONACO";
|
|
129
|
-
Country[Country["MONGOLIA"] = 2496] = "MONGOLIA";
|
|
130
|
-
Country[Country["MOLDOVA"] = 2498] = "MOLDOVA";
|
|
131
|
-
Country[Country["MONTENEGRO"] = 2499] = "MONTENEGRO";
|
|
132
|
-
Country[Country["MOROCCO"] = 2504] = "MOROCCO";
|
|
133
|
-
Country[Country["MOZAMBIQUE"] = 2508] = "MOZAMBIQUE";
|
|
134
|
-
Country[Country["OMAN"] = 2512] = "OMAN";
|
|
135
|
-
Country[Country["NAMIBIA"] = 2516] = "NAMIBIA";
|
|
136
|
-
Country[Country["NAURU"] = 2520] = "NAURU";
|
|
137
|
-
Country[Country["NEPAL"] = 2524] = "NEPAL";
|
|
138
|
-
Country[Country["NETHERLANDS"] = 2528] = "NETHERLANDS";
|
|
139
|
-
Country[Country["CURACAO"] = 2531] = "CURACAO";
|
|
140
|
-
Country[Country["SINT_MAARTEN"] = 2534] = "SINT_MAARTEN";
|
|
141
|
-
Country[Country["CARIBBEAN_NETHERLANDS"] = 2535] = "CARIBBEAN_NETHERLANDS";
|
|
142
|
-
Country[Country["NEW_CALEDONIA"] = 2540] = "NEW_CALEDONIA";
|
|
143
|
-
Country[Country["VANUATU"] = 2548] = "VANUATU";
|
|
144
|
-
Country[Country["NEW_ZEALAND"] = 2554] = "NEW_ZEALAND";
|
|
145
|
-
Country[Country["NICARAGUA"] = 2558] = "NICARAGUA";
|
|
146
|
-
Country[Country["NIGER"] = 2562] = "NIGER";
|
|
147
|
-
Country[Country["NIGERIA"] = 2566] = "NIGERIA";
|
|
148
|
-
Country[Country["NIUE"] = 2570] = "NIUE";
|
|
149
|
-
Country[Country["NORFOLK_ISLAND"] = 2574] = "NORFOLK_ISLAND";
|
|
150
|
-
Country[Country["NORWAY"] = 2578] = "NORWAY";
|
|
151
|
-
Country[Country["NORTHERN_MARIANA_ISLANDS"] = 2580] = "NORTHERN_MARIANA_ISLANDS";
|
|
152
|
-
Country[Country["UNITED_STATES_MINOR_OUTLYING_ISLANDS"] = 2581] = "UNITED_STATES_MINOR_OUTLYING_ISLANDS";
|
|
153
|
-
Country[Country["FEDERATED_STATES_OF_MICRONESIA"] = 2583] = "FEDERATED_STATES_OF_MICRONESIA";
|
|
154
|
-
Country[Country["MARSHALL_ISLANDS"] = 2584] = "MARSHALL_ISLANDS";
|
|
155
|
-
Country[Country["PALAU"] = 2585] = "PALAU";
|
|
156
|
-
Country[Country["PAKISTAN"] = 2586] = "PAKISTAN";
|
|
157
|
-
Country[Country["PANAMA"] = 2591] = "PANAMA";
|
|
158
|
-
Country[Country["PAPUA_NEW_GUINEA"] = 2598] = "PAPUA_NEW_GUINEA";
|
|
159
|
-
Country[Country["PARAGUAY"] = 2600] = "PARAGUAY";
|
|
160
|
-
Country[Country["PERU"] = 2604] = "PERU";
|
|
161
|
-
Country[Country["PHILIPPINES"] = 2608] = "PHILIPPINES";
|
|
162
|
-
Country[Country["PITCAIRN_ISLANDS"] = 2612] = "PITCAIRN_ISLANDS";
|
|
163
|
-
Country[Country["POLAND"] = 2616] = "POLAND";
|
|
164
|
-
Country[Country["PORTUGAL"] = 2620] = "PORTUGAL";
|
|
165
|
-
Country[Country["GUINEA_BISSAU"] = 2624] = "GUINEA_BISSAU";
|
|
166
|
-
Country[Country["TIMOR_LESTE"] = 2626] = "TIMOR_LESTE";
|
|
167
|
-
Country[Country["QATAR"] = 2634] = "QATAR";
|
|
168
|
-
Country[Country["ROMANIA"] = 2642] = "ROMANIA";
|
|
169
|
-
Country[Country["RUSSIA"] = 2643] = "RUSSIA";
|
|
170
|
-
Country[Country["RWANDA"] = 2646] = "RWANDA";
|
|
171
|
-
Country[Country["SAINT_HELENA__ASCENSION_AND_TRISTAN_DA_CUNHA"] = 2654] = "SAINT_HELENA__ASCENSION_AND_TRISTAN_DA_CUNHA";
|
|
172
|
-
Country[Country["SAINT_KITTS_AND_NEVIS"] = 2659] = "SAINT_KITTS_AND_NEVIS";
|
|
173
|
-
Country[Country["SAINT_LUCIA"] = 2662] = "SAINT_LUCIA";
|
|
174
|
-
Country[Country["SAINT_PIERRE_AND_MIQUELON"] = 2666] = "SAINT_PIERRE_AND_MIQUELON";
|
|
175
|
-
Country[Country["SAINT_VINCENT_AND_THE_GRENADINES"] = 2670] = "SAINT_VINCENT_AND_THE_GRENADINES";
|
|
176
|
-
Country[Country["SAN_MARINO"] = 2674] = "SAN_MARINO";
|
|
177
|
-
Country[Country["SAO_TOME_AND_PRINCIPE"] = 2678] = "SAO_TOME_AND_PRINCIPE";
|
|
178
|
-
Country[Country["SAUDI_ARABIA"] = 2682] = "SAUDI_ARABIA";
|
|
179
|
-
Country[Country["SENEGAL"] = 2686] = "SENEGAL";
|
|
180
|
-
Country[Country["SERBIA"] = 2688] = "SERBIA";
|
|
181
|
-
Country[Country["SEYCHELLES"] = 2690] = "SEYCHELLES";
|
|
182
|
-
Country[Country["SIERRA_LEONE"] = 2694] = "SIERRA_LEONE";
|
|
183
|
-
Country[Country["SINGAPORE"] = 2702] = "SINGAPORE";
|
|
184
|
-
Country[Country["SLOVAKIA"] = 2703] = "SLOVAKIA";
|
|
185
|
-
Country[Country["VIETNAM"] = 2704] = "VIETNAM";
|
|
186
|
-
Country[Country["SLOVENIA"] = 2705] = "SLOVENIA";
|
|
187
|
-
Country[Country["SOMALIA"] = 2706] = "SOMALIA";
|
|
188
|
-
Country[Country["SOUTH_AFRICA"] = 2710] = "SOUTH_AFRICA";
|
|
189
|
-
Country[Country["ZIMBABWE"] = 2716] = "ZIMBABWE";
|
|
190
|
-
Country[Country["SPAIN"] = 2724] = "SPAIN";
|
|
191
|
-
Country[Country["SUDAN"] = 2736] = "SUDAN";
|
|
192
|
-
Country[Country["SURINAME"] = 2740] = "SURINAME";
|
|
193
|
-
Country[Country["ESWATINI"] = 2748] = "ESWATINI";
|
|
194
|
-
Country[Country["SWEDEN"] = 2752] = "SWEDEN";
|
|
195
|
-
Country[Country["SWITZERLAND"] = 2756] = "SWITZERLAND";
|
|
196
|
-
Country[Country["TAJIKISTAN"] = 2762] = "TAJIKISTAN";
|
|
197
|
-
Country[Country["THAILAND"] = 2764] = "THAILAND";
|
|
198
|
-
Country[Country["TOGO"] = 2768] = "TOGO";
|
|
199
|
-
Country[Country["TOKELAU"] = 2772] = "TOKELAU";
|
|
200
|
-
Country[Country["TONGA"] = 2776] = "TONGA";
|
|
201
|
-
Country[Country["TRINIDAD_AND_TOBAGO"] = 2780] = "TRINIDAD_AND_TOBAGO";
|
|
202
|
-
Country[Country["UNITED_ARAB_EMIRATES"] = 2784] = "UNITED_ARAB_EMIRATES";
|
|
203
|
-
Country[Country["TUNISIA"] = 2788] = "TUNISIA";
|
|
204
|
-
Country[Country["TURKEY"] = 2792] = "TURKEY";
|
|
205
|
-
Country[Country["TURKMENISTAN"] = 2795] = "TURKMENISTAN";
|
|
206
|
-
Country[Country["TUVALU"] = 2798] = "TUVALU";
|
|
207
|
-
Country[Country["UGANDA"] = 2800] = "UGANDA";
|
|
208
|
-
Country[Country["UKRAINE"] = 2804] = "UKRAINE";
|
|
209
|
-
Country[Country["NORTH_MACEDONIA"] = 2807] = "NORTH_MACEDONIA";
|
|
210
|
-
Country[Country["EGYPT"] = 2818] = "EGYPT";
|
|
211
|
-
Country[Country["UNITED_KINGDOM"] = 2826] = "UNITED_KINGDOM";
|
|
212
|
-
Country[Country["GUERNSEY"] = 2831] = "GUERNSEY";
|
|
213
|
-
Country[Country["JERSEY"] = 2832] = "JERSEY";
|
|
214
|
-
Country[Country["TANZANIA"] = 2834] = "TANZANIA";
|
|
215
|
-
Country[Country["UNITED_STATES"] = 2840] = "UNITED_STATES";
|
|
216
|
-
Country[Country["BURKINA_FASO"] = 2854] = "BURKINA_FASO";
|
|
217
|
-
Country[Country["URUGUAY"] = 2858] = "URUGUAY";
|
|
218
|
-
Country[Country["UZBEKISTAN"] = 2860] = "UZBEKISTAN";
|
|
219
|
-
Country[Country["VENEZUELA"] = 2862] = "VENEZUELA";
|
|
220
|
-
Country[Country["WALLIS_AND_FUTUNA"] = 2876] = "WALLIS_AND_FUTUNA";
|
|
221
|
-
Country[Country["SAMOA"] = 2882] = "SAMOA";
|
|
222
|
-
Country[Country["YEMEN"] = 2887] = "YEMEN";
|
|
223
|
-
Country[Country["ZAMBIA"] = 2894] = "ZAMBIA";
|
|
224
|
-
})(Country || (exports.Country = Country = {}));
|
|
225
|
-
var Month;
|
|
226
|
-
(function (Month) {
|
|
227
|
-
Month["JANUARY"] = "JANUARY";
|
|
228
|
-
Month["FEBRUARY"] = "FEBRUARY";
|
|
229
|
-
Month["MARCH"] = "MARCH";
|
|
230
|
-
Month["APRIL"] = "APRIL";
|
|
231
|
-
Month["MAY"] = "MAY";
|
|
232
|
-
Month["JUNE"] = "JUNE";
|
|
233
|
-
Month["JULY"] = "JULY";
|
|
234
|
-
Month["AUGUST"] = "AUGUST";
|
|
235
|
-
Month["SEPTEMBER"] = "SEPTEMBER";
|
|
236
|
-
Month["OCTOBER"] = "OCTOBER";
|
|
237
|
-
Month["NOVEMBER"] = "NOVEMBER";
|
|
238
|
-
Month["DECEMBER"] = "DECEMBER";
|
|
239
|
-
})(Month || (exports.Month = Month = {}));
|
|
240
|
-
var Network;
|
|
241
|
-
(function (Network) {
|
|
242
|
-
Network[Network["GOOGLE_SEARCH_ONLY"] = 2] = "GOOGLE_SEARCH_ONLY";
|
|
243
|
-
Network[Network["GOOGLE_SEARCH_AND_PARTNERS"] = 3] = "GOOGLE_SEARCH_AND_PARTNERS";
|
|
244
|
-
})(Network || (exports.Network = Network = {}));
|