@8ms/helpers 3.0.22 → 3.0.24
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/_virtual/_rolldown/runtime.cjs +1 -1
- package/dist/adverity/adverity.d.cts +0 -1
- package/dist/adverity/adverity.d.mts +0 -1
- package/dist/adverity/server/getJobs.d.cts +2 -0
- package/dist/adverity/server/getJobs.d.mts +2 -0
- package/dist/api/ApiResponseClass.d.cts +1 -6
- package/dist/api/ApiResponseClass.d.mts +1 -6
- package/dist/api/api.d.cts +0 -1
- package/dist/api/api.d.mts +0 -1
- package/dist/api/deleteRequest.d.cts +0 -1
- package/dist/api/deleteRequest.d.mts +0 -1
- package/dist/api/functions.d.cts +0 -1
- package/dist/api/functions.d.mts +0 -1
- package/dist/api/get.d.cts +0 -1
- package/dist/api/get.d.mts +0 -1
- package/dist/api/post.d.cts +0 -1
- package/dist/api/post.d.mts +0 -1
- package/dist/atInternet/atInternet.d.cts +0 -1
- package/dist/atInternet/atInternet.d.mts +0 -1
- package/dist/aws/cloudWatchLog/server/AwsCloudWatchLog.d.cts +0 -1
- package/dist/aws/cloudWatchLog/server/AwsCloudWatchLog.d.mts +0 -1
- package/dist/aws/cloudWatchLog/server/logEvent.d.cts +1 -0
- package/dist/aws/cloudWatchLog/server/logEvent.d.mts +1 -0
- package/dist/aws/cloudWatchMetric/server/AwsCloudWatchMetric.d.cts +0 -1
- package/dist/aws/cloudWatchMetric/server/AwsCloudWatchMetric.d.mts +0 -1
- package/dist/aws/cloudWatchMetric/server/logMetric.d.cts +1 -1
- package/dist/aws/cloudWatchMetric/server/logMetric.d.mts +1 -1
- package/dist/aws/ec2/server/AwsEc2.d.cts +0 -1
- package/dist/aws/ec2/server/AwsEc2.d.mts +0 -1
- package/dist/aws/ecs/server/AwsEcs.d.cts +0 -1
- package/dist/aws/ecs/server/AwsEcs.d.mts +0 -1
- package/dist/aws/glue/server/AwsGlue.cjs +2 -1
- package/dist/aws/glue/server/AwsGlue.d.cts +0 -1
- package/dist/aws/glue/server/AwsGlue.d.mts +0 -1
- package/dist/aws/glue/server/AwsGlue.mjs +2 -1
- package/dist/aws/lambda/server/AwsLambda.cjs +10 -8
- package/dist/aws/lambda/server/AwsLambda.d.cts +0 -1
- package/dist/aws/lambda/server/AwsLambda.d.mts +0 -1
- package/dist/aws/lambda/server/AwsLambda.mjs +10 -8
- package/dist/aws/s3/server/AwsS3.cjs +3 -2
- package/dist/aws/s3/server/AwsS3.d.cts +1 -1
- package/dist/aws/s3/server/AwsS3.d.mts +1 -1
- package/dist/aws/s3/server/AwsS3.mjs +3 -2
- package/dist/aws/s3/server/payload.d.cts +0 -1
- package/dist/aws/s3/server/payload.d.mts +0 -1
- package/dist/aws/ses/server/AwsSes.cjs +4 -11
- package/dist/aws/ses/server/AwsSes.d.cts +3 -4
- package/dist/aws/ses/server/AwsSes.d.mts +3 -4
- package/dist/aws/ses/server/AwsSes.mjs +4 -11
- package/dist/aws/ses/server/SimpleEmail.cjs +10 -11
- package/dist/aws/ses/server/SimpleEmail.d.cts +3 -12
- package/dist/aws/ses/server/SimpleEmail.d.mts +3 -12
- package/dist/aws/ses/server/SimpleEmail.mjs +10 -11
- package/dist/aws/sqs/server/AwsSqs.d.cts +0 -1
- package/dist/aws/sqs/server/AwsSqs.d.mts +0 -1
- package/dist/aws/ssm/server/AwsSsm.cjs +5 -4
- package/dist/aws/ssm/server/AwsSsm.d.cts +0 -1
- package/dist/aws/ssm/server/AwsSsm.d.mts +0 -1
- package/dist/aws/ssm/server/AwsSsm.mjs +5 -4
- package/dist/brightData/serpApi/server/buildGoogleSerpUrl.cjs +0 -2
- package/dist/brightData/serpApi/server/buildGoogleSerpUrl.mjs +0 -2
- package/dist/brightData/serpApi/server/buildGoogleTrendsUrl.cjs +0 -1
- package/dist/brightData/serpApi/server/buildGoogleTrendsUrl.mjs +0 -1
- package/dist/brightData/serpApi/server/getAsyncRequestId.d.cts +1 -0
- package/dist/brightData/serpApi/server/getAsyncRequestId.d.mts +1 -0
- package/dist/brightData/serpApi/server/getAsyncResults.cjs +7 -4
- package/dist/brightData/serpApi/server/getAsyncResults.d.cts +1 -1
- package/dist/brightData/serpApi/server/getAsyncResults.d.mts +1 -1
- package/dist/brightData/serpApi/server/getAsyncResults.mjs +7 -4
- package/dist/brightData/serpApi/server/getRealtime.d.cts +0 -1
- package/dist/brightData/serpApi/server/getRealtime.d.mts +0 -1
- package/dist/brightData/webScraperIde/server/getBatch.d.cts +0 -1
- package/dist/brightData/webScraperIde/server/getBatch.d.mts +0 -1
- package/dist/brightData/webScraperIde/server/getRealtime.cjs +10 -6
- package/dist/brightData/webScraperIde/server/getRealtime.d.cts +0 -1
- package/dist/brightData/webScraperIde/server/getRealtime.d.mts +0 -1
- package/dist/brightData/webScraperIde/server/getRealtime.mjs +10 -6
- package/dist/date/calculation.cjs +27 -24
- package/dist/date/calculation.d.cts +0 -1
- package/dist/date/calculation.d.mts +0 -1
- package/dist/date/calculation.mjs +27 -24
- package/dist/date/date.d.cts +0 -1
- package/dist/date/date.d.mts +0 -1
- package/dist/date/financialYear.d.cts +0 -1
- package/dist/date/financialYear.d.mts +0 -1
- package/dist/date/format.d.cts +0 -1
- package/dist/date/format.d.mts +0 -1
- package/dist/drizzle/server/Drizzle.d.cts +0 -1
- package/dist/drizzle/server/Drizzle.d.mts +0 -1
- package/dist/emsApi/awsTs/get.cjs +2 -1
- package/dist/emsApi/awsTs/get.d.cts +1 -0
- package/dist/emsApi/awsTs/get.d.mts +1 -0
- package/dist/emsApi/awsTs/get.mjs +2 -1
- package/dist/emsApi/awsTs/post.cjs +2 -1
- package/dist/emsApi/awsTs/post.d.cts +1 -0
- package/dist/emsApi/awsTs/post.d.mts +1 -0
- package/dist/emsApi/awsTs/post.mjs +2 -1
- package/dist/emsApi/vercel/get.cjs +2 -1
- package/dist/emsApi/vercel/get.d.cts +1 -0
- package/dist/emsApi/vercel/get.d.mts +1 -0
- package/dist/emsApi/vercel/get.mjs +2 -1
- package/dist/emsApi/vercel/post.cjs +2 -1
- package/dist/emsApi/vercel/post.d.cts +1 -0
- package/dist/emsApi/vercel/post.d.mts +1 -0
- package/dist/emsApi/vercel/post.mjs +2 -1
- package/dist/eskimi/eskimi.d.cts +0 -1
- package/dist/eskimi/eskimi.d.mts +0 -1
- package/dist/googleAds/keywordPlanner/server/googleAdsKeywordPlanner.d.cts +0 -1
- package/dist/googleAds/keywordPlanner/server/googleAdsKeywordPlanner.d.mts +0 -1
- package/dist/googleAds/server/GoogleAds.d.cts +0 -1
- package/dist/googleAds/server/GoogleAds.d.mts +0 -1
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.d.cts +0 -1
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.d.mts +0 -1
- package/dist/googleCloud/bigquery/server/loadData.d.cts +1 -7
- package/dist/googleCloud/bigquery/server/loadData.d.mts +1 -7
- package/dist/googleCloud/sheets/server/GoogleCloudSheets.d.cts +1 -2
- package/dist/googleCloud/sheets/server/GoogleCloudSheets.d.mts +1 -2
- package/dist/googleCloud/storage/server/GoogleCloudStorage.d.cts +0 -1
- package/dist/googleCloud/storage/server/GoogleCloudStorage.d.mts +0 -1
- package/dist/googlePageSpeed/server/GooglePageSpeed.cjs +2 -1
- package/dist/googlePageSpeed/server/GooglePageSpeed.d.cts +0 -1
- package/dist/googlePageSpeed/server/GooglePageSpeed.d.mts +0 -1
- package/dist/googlePageSpeed/server/GooglePageSpeed.mjs +2 -1
- package/dist/googleSearchIncidents/server/googleSearchIncidents.d.cts +0 -1
- package/dist/googleSearchIncidents/server/googleSearchIncidents.d.mts +0 -1
- package/dist/greenDomain/server/greenDomain.cjs +2 -1
- package/dist/greenDomain/server/greenDomain.d.cts +0 -1
- package/dist/greenDomain/server/greenDomain.d.mts +0 -1
- package/dist/greenDomain/server/greenDomain.mjs +2 -1
- package/dist/littleWarden/server/LittleWarden.cjs +2 -1
- package/dist/littleWarden/server/LittleWarden.d.cts +0 -1
- package/dist/littleWarden/server/LittleWarden.d.mts +0 -1
- package/dist/littleWarden/server/LittleWarden.mjs +2 -1
- package/dist/littleWarden/server/littleWardenAttrs.d.cts +3 -10
- package/dist/littleWarden/server/littleWardenAttrs.d.mts +3 -10
- package/dist/lumar/api/server/buildRequest.cjs +0 -1
- package/dist/lumar/api/server/buildRequest.d.cts +1 -0
- package/dist/lumar/api/server/buildRequest.d.mts +1 -0
- package/dist/lumar/api/server/buildRequest.mjs +0 -1
- package/dist/lumar/api/server/getData.d.cts +1 -0
- package/dist/lumar/api/server/getData.d.mts +1 -0
- package/dist/lumar/graphql/server/getData.d.cts +1 -0
- package/dist/lumar/graphql/server/getData.d.mts +1 -0
- package/dist/lumar/graphql/server/queries/getCrawls.d.cts +1 -4
- package/dist/lumar/graphql/server/queries/getCrawls.d.mts +1 -4
- package/dist/lumar/graphql/server/queries/getReportDifferences.d.cts +1 -5
- package/dist/lumar/graphql/server/queries/getReportDifferences.d.mts +1 -5
- package/dist/lumar/graphql/server/queries/getRows.d.cts +1 -11
- package/dist/lumar/graphql/server/queries/getRows.d.mts +1 -11
- package/dist/lumar/graphql/server/queries/getTotals.d.cts +1 -7
- package/dist/lumar/graphql/server/queries/getTotals.d.mts +1 -7
- package/dist/myTarget/server/myTarget.d.cts +0 -1
- package/dist/myTarget/server/myTarget.d.mts +0 -1
- package/dist/nextAuth/nextAuth.d.cts +0 -1
- package/dist/nextAuth/nextAuth.d.mts +0 -1
- package/dist/nextJs/client/LazyLoad.d.cts +0 -1
- package/dist/nextJs/client/LazyLoad.d.mts +0 -1
- package/dist/onePassword/server/OnePassword.d.cts +0 -1
- package/dist/onePassword/server/OnePassword.d.mts +0 -1
- package/dist/openAi/server/OpenAi.d.cts +0 -1
- package/dist/openAi/server/OpenAi.d.mts +0 -1
- package/dist/prisma/server/Prisma.d.cts +0 -1
- package/dist/prisma/server/Prisma.d.mts +0 -1
- package/dist/snapchat/server/Snapchat.cjs +3 -2
- package/dist/snapchat/server/Snapchat.d.cts +0 -1
- package/dist/snapchat/server/Snapchat.d.mts +0 -1
- package/dist/snapchat/server/Snapchat.mjs +3 -2
- package/dist/stream/server/sort.d.cts +0 -1
- package/dist/stream/server/sort.d.mts +0 -1
- package/dist/swr/client/swr.d.cts +1 -0
- package/dist/swr/client/swr.d.mts +1 -0
- package/dist/upTimeRobot/server/UpTimeRobot.d.cts +0 -1
- package/dist/upTimeRobot/server/UpTimeRobot.d.mts +0 -1
- package/dist/util/defaultTo.cjs +6 -3
- package/dist/util/defaultTo.mjs +6 -3
- package/dist/util/server/getBrotliCompressed.d.cts +0 -1
- package/dist/util/server/getBrotliCompressed.d.mts +0 -1
- package/dist/util/server/getBrotliDecompressed.d.cts +0 -1
- package/dist/util/server/getBrotliDecompressed.d.mts +0 -1
- package/dist/util/server/getGzipCompressed.d.cts +0 -1
- package/dist/util/server/getGzipCompressed.d.mts +0 -1
- package/dist/util/server/getGzipDecompressed.d.cts +0 -1
- package/dist/util/server/getGzipDecompressed.d.mts +0 -1
- package/dist/xlsx/cell.cjs +102 -0
- package/dist/xlsx/cell.d.cts +38 -0
- package/dist/xlsx/cell.d.mts +38 -0
- package/dist/xlsx/cell.mjs +97 -0
- package/dist/xlsx/column.cjs +37 -0
- package/dist/xlsx/column.d.cts +23 -0
- package/dist/xlsx/column.d.mts +23 -0
- package/dist/xlsx/column.mjs +35 -0
- package/dist/xlsx/createXlsx.cjs +138 -0
- package/dist/xlsx/createXlsx.d.cts +18 -0
- package/dist/xlsx/createXlsx.d.mts +18 -0
- package/dist/xlsx/createXlsx.mjs +136 -0
- package/dist/xlsx/index.cjs +18 -0
- package/dist/xlsx/index.d.cts +6 -0
- package/dist/xlsx/index.d.mts +6 -0
- package/dist/xlsx/index.mjs +6 -0
- package/dist/xlsx/modifyXlsx.cjs +125 -0
- package/dist/xlsx/modifyXlsx.d.cts +24 -0
- package/dist/xlsx/modifyXlsx.d.mts +24 -0
- package/dist/xlsx/modifyXlsx.mjs +124 -0
- package/dist/xlsx/sheet.cjs +36 -0
- package/dist/xlsx/sheet.d.cts +29 -0
- package/dist/xlsx/sheet.d.mts +29 -0
- package/dist/xlsx/sheet.mjs +34 -0
- package/package.json +103 -57
|
@@ -3,7 +3,8 @@ const require_api_post = require("../../api/post.cjs");
|
|
|
3
3
|
const require_emsApi_awsTs_endpoint = require("./endpoint.cjs");
|
|
4
4
|
//#region src/emsApi/awsTs/post.ts
|
|
5
5
|
const postAwsTs = async (path, data = {}, config = {}) => {
|
|
6
|
-
|
|
6
|
+
const endpoint = require_emsApi_awsTs_endpoint.getAwsTsEndpoint();
|
|
7
|
+
return require_api_post.post(`${endpoint}${path}`, data, {
|
|
7
8
|
...config,
|
|
8
9
|
headers: {
|
|
9
10
|
"x-api-key": process.env?.SERVER_EMS_API_KEY ?? process.env?.NEXT_PUBLIC_CLIENT_EMS_API_KEY ?? "",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ApiResponseClass } from "../../api/ApiResponseClass.cjs";
|
|
2
2
|
import { Config } from "../../api/config.cjs";
|
|
3
|
+
import "../../api/index.cjs";
|
|
3
4
|
//#region src/emsApi/awsTs/post.d.ts
|
|
4
5
|
declare const postAwsTs: (path: string, data?: {}, config?: Config) => Promise<ApiResponseClass<any, any>>;
|
|
5
6
|
//#endregion
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ApiResponseClass } from "../../api/ApiResponseClass.mjs";
|
|
2
2
|
import { Config } from "../../api/config.mjs";
|
|
3
|
+
import "../../api/index.mjs";
|
|
3
4
|
//#region src/emsApi/awsTs/post.d.ts
|
|
4
5
|
declare const postAwsTs: (path: string, data?: {}, config?: Config) => Promise<ApiResponseClass<any, any>>;
|
|
5
6
|
//#endregion
|
|
@@ -2,7 +2,8 @@ import { post } from "../../api/post.mjs";
|
|
|
2
2
|
import { getAwsTsEndpoint } from "./endpoint.mjs";
|
|
3
3
|
//#region src/emsApi/awsTs/post.ts
|
|
4
4
|
const postAwsTs = async (path, data = {}, config = {}) => {
|
|
5
|
-
|
|
5
|
+
const endpoint = getAwsTsEndpoint();
|
|
6
|
+
return post(`${endpoint}${path}`, data, {
|
|
6
7
|
...config,
|
|
7
8
|
headers: {
|
|
8
9
|
"x-api-key": process.env?.SERVER_EMS_API_KEY ?? process.env?.NEXT_PUBLIC_CLIENT_EMS_API_KEY ?? "",
|
|
@@ -3,7 +3,8 @@ const require_api_get = require("../../api/get.cjs");
|
|
|
3
3
|
const require_emsApi_vercel_endpoint = require("./endpoint.cjs");
|
|
4
4
|
//#region src/emsApi/vercel/get.ts
|
|
5
5
|
const getVercel = async (path, config = {}) => {
|
|
6
|
-
|
|
6
|
+
const endpoint = require_emsApi_vercel_endpoint.getVercelEndpoint();
|
|
7
|
+
return require_api_get.get(`${endpoint}${path}`, {
|
|
7
8
|
...config,
|
|
8
9
|
headers: {
|
|
9
10
|
"x-api-key": process.env?.SERVER_EMS_API_KEY ?? process.env?.NEXT_PUBLIC_CLIENT_EMS_API_KEY ?? "",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ApiResponseClass } from "../../api/ApiResponseClass.cjs";
|
|
2
2
|
import { Config } from "../../api/config.cjs";
|
|
3
|
+
import "../../api/index.cjs";
|
|
3
4
|
//#region src/emsApi/vercel/get.d.ts
|
|
4
5
|
declare const getVercel: (path: string, config?: Config) => Promise<ApiResponseClass<any, any>>;
|
|
5
6
|
//#endregion
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ApiResponseClass } from "../../api/ApiResponseClass.mjs";
|
|
2
2
|
import { Config } from "../../api/config.mjs";
|
|
3
|
+
import "../../api/index.mjs";
|
|
3
4
|
//#region src/emsApi/vercel/get.d.ts
|
|
4
5
|
declare const getVercel: (path: string, config?: Config) => Promise<ApiResponseClass<any, any>>;
|
|
5
6
|
//#endregion
|
|
@@ -2,7 +2,8 @@ import { get } from "../../api/get.mjs";
|
|
|
2
2
|
import { getVercelEndpoint } from "./endpoint.mjs";
|
|
3
3
|
//#region src/emsApi/vercel/get.ts
|
|
4
4
|
const getVercel = async (path, config = {}) => {
|
|
5
|
-
|
|
5
|
+
const endpoint = getVercelEndpoint();
|
|
6
|
+
return get(`${endpoint}${path}`, {
|
|
6
7
|
...config,
|
|
7
8
|
headers: {
|
|
8
9
|
"x-api-key": process.env?.SERVER_EMS_API_KEY ?? process.env?.NEXT_PUBLIC_CLIENT_EMS_API_KEY ?? "",
|
|
@@ -3,7 +3,8 @@ const require_api_post = require("../../api/post.cjs");
|
|
|
3
3
|
const require_emsApi_vercel_endpoint = require("./endpoint.cjs");
|
|
4
4
|
//#region src/emsApi/vercel/post.ts
|
|
5
5
|
const postVercel = async (path, data = {}, config = {}) => {
|
|
6
|
-
|
|
6
|
+
const endpoint = require_emsApi_vercel_endpoint.getVercelEndpoint();
|
|
7
|
+
return require_api_post.post(`${endpoint}${path}`, data, {
|
|
7
8
|
...config,
|
|
8
9
|
headers: {
|
|
9
10
|
"x-api-key": process.env?.SERVER_EMS_API_KEY ?? process.env?.NEXT_PUBLIC_CLIENT_EMS_API_KEY ?? "",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ApiResponseClass } from "../../api/ApiResponseClass.cjs";
|
|
2
2
|
import { Config } from "../../api/config.cjs";
|
|
3
|
+
import "../../api/index.cjs";
|
|
3
4
|
//#region src/emsApi/vercel/post.d.ts
|
|
4
5
|
declare const postVercel: (path: string, data?: {}, config?: Config) => Promise<ApiResponseClass<any, any>>;
|
|
5
6
|
//#endregion
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ApiResponseClass } from "../../api/ApiResponseClass.mjs";
|
|
2
2
|
import { Config } from "../../api/config.mjs";
|
|
3
|
+
import "../../api/index.mjs";
|
|
3
4
|
//#region src/emsApi/vercel/post.d.ts
|
|
4
5
|
declare const postVercel: (path: string, data?: {}, config?: Config) => Promise<ApiResponseClass<any, any>>;
|
|
5
6
|
//#endregion
|
|
@@ -2,7 +2,8 @@ import { post } from "../../api/post.mjs";
|
|
|
2
2
|
import { getVercelEndpoint } from "./endpoint.mjs";
|
|
3
3
|
//#region src/emsApi/vercel/post.ts
|
|
4
4
|
const postVercel = async (path, data = {}, config = {}) => {
|
|
5
|
-
|
|
5
|
+
const endpoint = getVercelEndpoint();
|
|
6
|
+
return post(`${endpoint}${path}`, data, {
|
|
6
7
|
...config,
|
|
7
8
|
headers: {
|
|
8
9
|
"x-api-key": process.env?.SERVER_EMS_API_KEY ?? process.env?.NEXT_PUBLIC_CLIENT_EMS_API_KEY ?? "",
|
package/dist/eskimi/eskimi.d.cts
CHANGED
package/dist/eskimi/eskimi.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { GoogleCloudBigquery } from "./GoogleCloudBigquery.cjs";
|
|
2
|
-
|
|
3
2
|
//#region src/googleCloud/bigquery/server/loadData.d.ts
|
|
4
3
|
type LoadData = {
|
|
5
4
|
googleCloudBigqueryClient: GoogleCloudBigquery;
|
|
@@ -19,11 +18,6 @@ type LoadData = {
|
|
|
19
18
|
/**
|
|
20
19
|
* Load data into a given table using Google Cloud Storage.
|
|
21
20
|
*/
|
|
22
|
-
declare const loadData: ({
|
|
23
|
-
file,
|
|
24
|
-
googleCloudBigqueryClient,
|
|
25
|
-
googleCloudStorageClient,
|
|
26
|
-
table
|
|
27
|
-
}: LoadData) => Promise<void>;
|
|
21
|
+
declare const loadData: ({ file, googleCloudBigqueryClient, googleCloudStorageClient, table }: LoadData) => Promise<void>;
|
|
28
22
|
//#endregion
|
|
29
23
|
export { loadData };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { GoogleCloudBigquery } from "./GoogleCloudBigquery.mjs";
|
|
2
|
-
|
|
3
2
|
//#region src/googleCloud/bigquery/server/loadData.d.ts
|
|
4
3
|
type LoadData = {
|
|
5
4
|
googleCloudBigqueryClient: GoogleCloudBigquery;
|
|
@@ -19,11 +18,6 @@ type LoadData = {
|
|
|
19
18
|
/**
|
|
20
19
|
* Load data into a given table using Google Cloud Storage.
|
|
21
20
|
*/
|
|
22
|
-
declare const loadData: ({
|
|
23
|
-
file,
|
|
24
|
-
googleCloudBigqueryClient,
|
|
25
|
-
googleCloudStorageClient,
|
|
26
|
-
table
|
|
27
|
-
}: LoadData) => Promise<void>;
|
|
21
|
+
declare const loadData: ({ file, googleCloudBigqueryClient, googleCloudStorageClient, table }: LoadData) => Promise<void>;
|
|
28
22
|
//#endregion
|
|
29
23
|
export { loadData };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
|
|
2
2
|
import { GoogleAuth } from "googleapis-common";
|
|
3
|
-
|
|
4
3
|
//#region src/googleCloud/sheets/server/GoogleCloudSheets.d.ts
|
|
5
4
|
type GetBatchDataProps = {
|
|
6
5
|
spreadsheetId: string;
|
|
@@ -15,7 +14,7 @@ declare class GoogleCloudSheets extends BaseNamespace {
|
|
|
15
14
|
* Either a Google Cloud JSON Config or V10 Auth helper.
|
|
16
15
|
*/
|
|
17
16
|
init: (isOidc: boolean, config: any, projectId: string, region?: string) => Promise<this>;
|
|
18
|
-
getBatchData: (props: GetBatchDataProps) => Promise<
|
|
17
|
+
getBatchData: (props: GetBatchDataProps) => Promise<any>;
|
|
19
18
|
}
|
|
20
19
|
//#endregion
|
|
21
20
|
export { GoogleCloudSheets };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
|
|
2
2
|
import { GoogleAuth } from "googleapis-common";
|
|
3
|
-
|
|
4
3
|
//#region src/googleCloud/sheets/server/GoogleCloudSheets.d.ts
|
|
5
4
|
type GetBatchDataProps = {
|
|
6
5
|
spreadsheetId: string;
|
|
@@ -15,7 +14,7 @@ declare class GoogleCloudSheets extends BaseNamespace {
|
|
|
15
14
|
* Either a Google Cloud JSON Config or V10 Auth helper.
|
|
16
15
|
*/
|
|
17
16
|
init: (isOidc: boolean, config: any, projectId: string, region?: string) => Promise<this>;
|
|
18
|
-
getBatchData: (props: GetBatchDataProps) => Promise<
|
|
17
|
+
getBatchData: (props: GetBatchDataProps) => Promise<any>;
|
|
19
18
|
}
|
|
20
19
|
//#endregion
|
|
21
20
|
export { GoogleCloudSheets };
|
|
@@ -18,7 +18,8 @@ var GooglePageSpeed = class extends require__class_BaseNamespace.BaseNamespace {
|
|
|
18
18
|
return this;
|
|
19
19
|
};
|
|
20
20
|
getReport = async (url, inputCategory = require_googlePageSpeed_server_category.category.PERFORMANCE, inputStrategy = require_googlePageSpeed_server_strategy.strategy.MOBILE) => {
|
|
21
|
-
const
|
|
21
|
+
const requestUrl = `https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=${url}&strategy=${inputStrategy}&category=${inputCategory}&key=${this.config.apiKey}`;
|
|
22
|
+
const apiResponse = await require_api_get.get(requestUrl);
|
|
22
23
|
if (apiResponse.isSuccess()) return apiResponse.getBody();
|
|
23
24
|
return null;
|
|
24
25
|
};
|
|
@@ -17,7 +17,8 @@ var GooglePageSpeed = class extends BaseNamespace {
|
|
|
17
17
|
return this;
|
|
18
18
|
};
|
|
19
19
|
getReport = async (url, inputCategory = category.PERFORMANCE, inputStrategy = strategy.MOBILE) => {
|
|
20
|
-
const
|
|
20
|
+
const requestUrl = `https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=${url}&strategy=${inputStrategy}&category=${inputCategory}&key=${this.config.apiKey}`;
|
|
21
|
+
const apiResponse = await get(requestUrl);
|
|
21
22
|
if (apiResponse.isSuccess()) return apiResponse.getBody();
|
|
22
23
|
return null;
|
|
23
24
|
};
|
|
@@ -6,7 +6,8 @@ let zod_v4 = require("zod/v4");
|
|
|
6
6
|
* https://developers.thegreenwebfoundation.org/api/greencheck/v3/check-single-domain/
|
|
7
7
|
*/
|
|
8
8
|
const getSingleReport = async (domain) => {
|
|
9
|
-
const
|
|
9
|
+
const url = `https://api.thegreenwebfoundation.org/greencheck/${domain}`;
|
|
10
|
+
const apiResponse = await require_api_get.get(url);
|
|
10
11
|
if (apiResponse.isSuccess()) return apiResponse.getBody();
|
|
11
12
|
return null;
|
|
12
13
|
};
|
|
@@ -5,7 +5,8 @@ import { z } from "zod/v4";
|
|
|
5
5
|
* https://developers.thegreenwebfoundation.org/api/greencheck/v3/check-single-domain/
|
|
6
6
|
*/
|
|
7
7
|
const getSingleReport = async (domain) => {
|
|
8
|
-
const
|
|
8
|
+
const url = `https://api.thegreenwebfoundation.org/greencheck/${domain}`;
|
|
9
|
+
const apiResponse = await get(url);
|
|
9
10
|
if (apiResponse.isSuccess()) return apiResponse.getBody();
|
|
10
11
|
return null;
|
|
11
12
|
};
|
|
@@ -16,7 +16,8 @@ var LittleWarden = class extends require__class_BaseNamespace.BaseNamespace {
|
|
|
16
16
|
return this;
|
|
17
17
|
};
|
|
18
18
|
getReport = async (urlId) => {
|
|
19
|
-
const
|
|
19
|
+
const url = `https://littlewarden.com/api/sites/${urlId}`;
|
|
20
|
+
const apiResponse = await require_api_get.get(url, { headers: { "Authorization": `Token token="${this.config.apiKey}"` } });
|
|
20
21
|
if (apiResponse.isSuccess()) return apiResponse.getBody();
|
|
21
22
|
return null;
|
|
22
23
|
};
|
|
@@ -15,7 +15,8 @@ var LittleWarden = class extends BaseNamespace {
|
|
|
15
15
|
return this;
|
|
16
16
|
};
|
|
17
17
|
getReport = async (urlId) => {
|
|
18
|
-
const
|
|
18
|
+
const url = `https://littlewarden.com/api/sites/${urlId}`;
|
|
19
|
+
const apiResponse = await get(url, { headers: { "Authorization": `Token token="${this.config.apiKey}"` } });
|
|
19
20
|
if (apiResponse.isSuccess()) return apiResponse.getBody();
|
|
20
21
|
return null;
|
|
21
22
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { getUrlStatus } from "./getUrlStatus.cjs";
|
|
2
|
-
|
|
3
2
|
//#region src/littleWarden/server/littleWardenAttrs.d.ts
|
|
4
3
|
declare const littleWardenState: {
|
|
5
4
|
readonly ALL_GOOD: "all_good";
|
|
@@ -10,25 +9,19 @@ type LittleWardenState = typeof littleWardenState[keyof typeof littleWardenState
|
|
|
10
9
|
/**
|
|
11
10
|
* Check if the field is All Good.
|
|
12
11
|
*/
|
|
13
|
-
declare const isAllGood: ({
|
|
14
|
-
field
|
|
15
|
-
}: {
|
|
12
|
+
declare const isAllGood: ({ field }: {
|
|
16
13
|
field: any;
|
|
17
14
|
}) => boolean;
|
|
18
15
|
/**
|
|
19
16
|
* Check if the field is Warning.
|
|
20
17
|
*/
|
|
21
|
-
declare const isWarning: ({
|
|
22
|
-
field
|
|
23
|
-
}: {
|
|
18
|
+
declare const isWarning: ({ field }: {
|
|
24
19
|
field: any;
|
|
25
20
|
}) => boolean;
|
|
26
21
|
/**
|
|
27
22
|
* Check if the field is Danger.
|
|
28
23
|
*/
|
|
29
|
-
declare const isDanger: ({
|
|
30
|
-
field
|
|
31
|
-
}: {
|
|
24
|
+
declare const isDanger: ({ field }: {
|
|
32
25
|
field: any;
|
|
33
26
|
}) => boolean;
|
|
34
27
|
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { getUrlStatus } from "./getUrlStatus.mjs";
|
|
2
|
-
|
|
3
2
|
//#region src/littleWarden/server/littleWardenAttrs.d.ts
|
|
4
3
|
declare const littleWardenState: {
|
|
5
4
|
readonly ALL_GOOD: "all_good";
|
|
@@ -10,25 +9,19 @@ type LittleWardenState = typeof littleWardenState[keyof typeof littleWardenState
|
|
|
10
9
|
/**
|
|
11
10
|
* Check if the field is All Good.
|
|
12
11
|
*/
|
|
13
|
-
declare const isAllGood: ({
|
|
14
|
-
field
|
|
15
|
-
}: {
|
|
12
|
+
declare const isAllGood: ({ field }: {
|
|
16
13
|
field: any;
|
|
17
14
|
}) => boolean;
|
|
18
15
|
/**
|
|
19
16
|
* Check if the field is Warning.
|
|
20
17
|
*/
|
|
21
|
-
declare const isWarning: ({
|
|
22
|
-
field
|
|
23
|
-
}: {
|
|
18
|
+
declare const isWarning: ({ field }: {
|
|
24
19
|
field: any;
|
|
25
20
|
}) => boolean;
|
|
26
21
|
/**
|
|
27
22
|
* Check if the field is Danger.
|
|
28
23
|
*/
|
|
29
|
-
declare const isDanger: ({
|
|
30
|
-
field
|
|
31
|
-
}: {
|
|
24
|
+
declare const isDanger: ({ field }: {
|
|
32
25
|
field: any;
|
|
33
26
|
}) => boolean;
|
|
34
27
|
//#endregion
|
|
@@ -33,7 +33,6 @@ const buildRequest = (props) => {
|
|
|
33
33
|
url += `/projects/${props.projectId}/crawls/${props.crawlId}/reports/${props.subReport}`;
|
|
34
34
|
if (require_lumar_api_server_lumarApi.report.REPORT_ROWS === props.report) url += `/report_rows`;
|
|
35
35
|
else if (require_lumar_api_server_lumarApi.report.REPORT_STATISTICS === props.report) url += `/statistics`;
|
|
36
|
-
break;
|
|
37
36
|
}
|
|
38
37
|
url += -1 === url.indexOf("?") ? "?" : "&";
|
|
39
38
|
url += `per_page=${props.limit}`;
|
|
@@ -32,7 +32,6 @@ const buildRequest = (props) => {
|
|
|
32
32
|
url += `/projects/${props.projectId}/crawls/${props.crawlId}/reports/${props.subReport}`;
|
|
33
33
|
if (report.REPORT_ROWS === props.report) url += `/report_rows`;
|
|
34
34
|
else if (report.REPORT_STATISTICS === props.report) url += `/statistics`;
|
|
35
|
-
break;
|
|
36
35
|
}
|
|
37
36
|
url += -1 === url.indexOf("?") ? "?" : "&";
|
|
38
37
|
url += `per_page=${props.limit}`;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ApiResponseClass } from "../../../api/ApiResponseClass.cjs";
|
|
2
|
+
import "../../../api/index.cjs";
|
|
2
3
|
//#region src/lumar/graphql/server/getData.d.ts
|
|
3
4
|
declare const getData: (query: string, variables: object, accessToken: string) => Promise<ApiResponseClass<any, any>>;
|
|
4
5
|
//#endregion
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ApiResponseClass } from "../../../api/ApiResponseClass.mjs";
|
|
2
|
+
import "../../../api/index.mjs";
|
|
2
3
|
//#region src/lumar/graphql/server/getData.d.ts
|
|
3
4
|
declare const getData: (query: string, variables: object, accessToken: string) => Promise<ApiResponseClass<any, any>>;
|
|
4
5
|
//#endregion
|
|
@@ -6,10 +6,7 @@ type GetCrawls = {
|
|
|
6
6
|
/**
|
|
7
7
|
* For a given Project ID return all the crawls that were completed in descending order.
|
|
8
8
|
*/
|
|
9
|
-
declare const getCrawls: ({
|
|
10
|
-
first,
|
|
11
|
-
projectId
|
|
12
|
-
}: GetCrawls) => {
|
|
9
|
+
declare const getCrawls: ({ first, projectId }: GetCrawls) => {
|
|
13
10
|
id: string;
|
|
14
11
|
first: number;
|
|
15
12
|
projectId: number;
|
|
@@ -6,10 +6,7 @@ type GetCrawls = {
|
|
|
6
6
|
/**
|
|
7
7
|
* For a given Project ID return all the crawls that were completed in descending order.
|
|
8
8
|
*/
|
|
9
|
-
declare const getCrawls: ({
|
|
10
|
-
first,
|
|
11
|
-
projectId
|
|
12
|
-
}: GetCrawls) => {
|
|
9
|
+
declare const getCrawls: ({ first, projectId }: GetCrawls) => {
|
|
13
10
|
id: string;
|
|
14
11
|
first: number;
|
|
15
12
|
projectId: number;
|
|
@@ -7,11 +7,7 @@ type GetReportDifferences = {
|
|
|
7
7
|
/**
|
|
8
8
|
* Used to return the number for: Basic, Added, Missing, Removed for a given report.
|
|
9
9
|
*/
|
|
10
|
-
declare const getReportDifferences: ({
|
|
11
|
-
crawlId,
|
|
12
|
-
filter,
|
|
13
|
-
reportTemplateCode
|
|
14
|
-
}: GetReportDifferences) => {
|
|
10
|
+
declare const getReportDifferences: ({ crawlId, filter, reportTemplateCode }: GetReportDifferences) => {
|
|
15
11
|
id: string;
|
|
16
12
|
crawlId: number;
|
|
17
13
|
filter: object;
|
|
@@ -7,11 +7,7 @@ type GetReportDifferences = {
|
|
|
7
7
|
/**
|
|
8
8
|
* Used to return the number for: Basic, Added, Missing, Removed for a given report.
|
|
9
9
|
*/
|
|
10
|
-
declare const getReportDifferences: ({
|
|
11
|
-
crawlId,
|
|
12
|
-
filter,
|
|
13
|
-
reportTemplateCode
|
|
14
|
-
}: GetReportDifferences) => {
|
|
10
|
+
declare const getReportDifferences: ({ crawlId, filter, reportTemplateCode }: GetReportDifferences) => {
|
|
15
11
|
id: string;
|
|
16
12
|
crawlId: number;
|
|
17
13
|
filter: object;
|
|
@@ -10,17 +10,7 @@ type GetRows = {
|
|
|
10
10
|
reportTemplateCode: string;
|
|
11
11
|
reportTypeCode: string;
|
|
12
12
|
};
|
|
13
|
-
declare const getRows: ({
|
|
14
|
-
after,
|
|
15
|
-
before,
|
|
16
|
-
crawlId,
|
|
17
|
-
filter,
|
|
18
|
-
first,
|
|
19
|
-
last,
|
|
20
|
-
orderBy,
|
|
21
|
-
reportTemplateCode,
|
|
22
|
-
reportTypeCode
|
|
23
|
-
}: GetRows) => {
|
|
13
|
+
declare const getRows: ({ after, before, crawlId, filter, first, last, orderBy, reportTemplateCode, reportTypeCode }: GetRows) => {
|
|
24
14
|
id: string;
|
|
25
15
|
after: string | undefined;
|
|
26
16
|
before: string | undefined;
|
|
@@ -10,17 +10,7 @@ type GetRows = {
|
|
|
10
10
|
reportTemplateCode: string;
|
|
11
11
|
reportTypeCode: string;
|
|
12
12
|
};
|
|
13
|
-
declare const getRows: ({
|
|
14
|
-
after,
|
|
15
|
-
before,
|
|
16
|
-
crawlId,
|
|
17
|
-
filter,
|
|
18
|
-
first,
|
|
19
|
-
last,
|
|
20
|
-
orderBy,
|
|
21
|
-
reportTemplateCode,
|
|
22
|
-
reportTypeCode
|
|
23
|
-
}: GetRows) => {
|
|
13
|
+
declare const getRows: ({ after, before, crawlId, filter, first, last, orderBy, reportTemplateCode, reportTypeCode }: GetRows) => {
|
|
24
14
|
id: string;
|
|
25
15
|
after: string | undefined;
|
|
26
16
|
before: string | undefined;
|