@keystrokehq/opencage 0.1.0 → 0.1.2
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/geocode-forward.cjs +18 -18
- package/dist/actions/geocode-forward.cjs.map +1 -1
- package/dist/actions/geocode-forward.d.cts +73 -3
- package/dist/actions/geocode-forward.d.cts.map +1 -1
- package/dist/actions/geocode-forward.d.mts +73 -3
- package/dist/actions/geocode-forward.d.mts.map +1 -1
- package/dist/actions/geocode-forward.mjs +18 -18
- package/dist/actions/geocode-forward.mjs.map +1 -1
- package/dist/actions/geocode-geojson.cjs +32 -32
- package/dist/actions/geocode-geojson.cjs.map +1 -1
- package/dist/actions/geocode-geojson.d.cts +139 -3
- package/dist/actions/geocode-geojson.d.cts.map +1 -1
- package/dist/actions/geocode-geojson.d.mts +139 -3
- package/dist/actions/geocode-geojson.d.mts.map +1 -1
- package/dist/actions/geocode-geojson.mjs +32 -32
- package/dist/actions/geocode-geojson.mjs.map +1 -1
- package/dist/actions/geocode-geojsonp.cjs +1 -1
- package/dist/actions/geocode-geojsonp.cjs.map +1 -1
- package/dist/actions/geocode-geojsonp.d.cts +35 -3
- package/dist/actions/geocode-geojsonp.d.cts.map +1 -1
- package/dist/actions/geocode-geojsonp.d.mts +35 -3
- package/dist/actions/geocode-geojsonp.d.mts.map +1 -1
- package/dist/actions/geocode-geojsonp.mjs +1 -1
- package/dist/actions/geocode-geojsonp.mjs.map +1 -1
- package/dist/actions/geocode-google-v3-json.cjs +4 -4
- package/dist/actions/geocode-google-v3-json.cjs.map +1 -1
- package/dist/actions/geocode-google-v3-json.d.cts +72 -3
- package/dist/actions/geocode-google-v3-json.d.cts.map +1 -1
- package/dist/actions/geocode-google-v3-json.d.mts +72 -3
- package/dist/actions/geocode-google-v3-json.d.mts.map +1 -1
- package/dist/actions/geocode-google-v3-json.mjs +4 -4
- package/dist/actions/geocode-google-v3-json.mjs.map +1 -1
- package/dist/actions/geocode-reverse.cjs +13 -13
- package/dist/actions/geocode-reverse.cjs.map +1 -1
- package/dist/actions/geocode-reverse.d.cts +61 -3
- package/dist/actions/geocode-reverse.d.cts.map +1 -1
- package/dist/actions/geocode-reverse.d.mts +61 -3
- package/dist/actions/geocode-reverse.d.mts.map +1 -1
- package/dist/actions/geocode-reverse.mjs +13 -13
- package/dist/actions/geocode-reverse.mjs.map +1 -1
- package/dist/actions/geocode-xml.cjs +1 -1
- package/dist/actions/geocode-xml.cjs.map +1 -1
- package/dist/actions/geocode-xml.d.cts +31 -3
- package/dist/actions/geocode-xml.d.cts.map +1 -1
- package/dist/actions/geocode-xml.d.mts +31 -3
- package/dist/actions/geocode-xml.d.mts.map +1 -1
- package/dist/actions/geocode-xml.mjs +1 -1
- package/dist/actions/geocode-xml.mjs.map +1 -1
- package/dist/actions/ping-opencage.cjs +1 -1
- package/dist/actions/ping-opencage.cjs.map +1 -1
- package/dist/actions/ping-opencage.d.cts +5 -3
- package/dist/actions/ping-opencage.d.cts.map +1 -1
- package/dist/actions/ping-opencage.d.mts +5 -3
- package/dist/actions/ping-opencage.d.mts.map +1 -1
- package/dist/actions/ping-opencage.mjs +1 -1
- package/dist/actions/ping-opencage.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -15,30 +15,30 @@ const OpencageGeocodeReverseInput = zod.z.object({
|
|
|
15
15
|
no_annotations: zod.z.number().int().default(0).describe("1 to exclude annotations in the response").optional()
|
|
16
16
|
});
|
|
17
17
|
const OpencageGeocodeReverse_RateSchema = zod.z.object({
|
|
18
|
-
limit: zod.z.number().int().describe("Rate limit"),
|
|
19
|
-
reset: zod.z.number().int().describe("Seconds until rate limit resets"),
|
|
20
|
-
remaining: zod.z.number().int().describe("Remaining requests in current rate window")
|
|
18
|
+
limit: zod.z.number().int().describe("Rate limit").nullable(),
|
|
19
|
+
reset: zod.z.number().int().describe("Seconds until rate limit resets").nullable(),
|
|
20
|
+
remaining: zod.z.number().int().describe("Remaining requests in current rate window").nullable()
|
|
21
21
|
});
|
|
22
22
|
const OpencageGeocodeReverse_StatusSchema = zod.z.object({
|
|
23
|
-
code: zod.z.number().int().describe("Status code of the request, 200 indicates success"),
|
|
24
|
-
message: zod.z.string().describe("Status message of the request")
|
|
23
|
+
code: zod.z.number().int().describe("Status code of the request, 200 indicates success").nullable(),
|
|
24
|
+
message: zod.z.string().describe("Status message of the request").nullable()
|
|
25
25
|
});
|
|
26
26
|
const OpencageGeocodeReverse_GeometrySchema = zod.z.object({
|
|
27
|
-
lat: zod.z.number().describe("Latitude of the result"),
|
|
28
|
-
lng: zod.z.number().describe("Longitude of the result")
|
|
27
|
+
lat: zod.z.number().describe("Latitude of the result").nullable(),
|
|
28
|
+
lng: zod.z.number().describe("Longitude of the result").nullable()
|
|
29
29
|
});
|
|
30
30
|
const OpencageGeocodeReverse_GeocodeReverseResultSchema = zod.z.object({
|
|
31
31
|
bounds: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Bounding box of the result (northeast and southwest corners)").nullable().optional(),
|
|
32
32
|
geometry: OpencageGeocodeReverse_GeometrySchema.nullable(),
|
|
33
|
-
formatted: zod.z.string().describe("Human-readable formatted address"),
|
|
33
|
+
formatted: zod.z.string().describe("Human-readable formatted address").nullable(),
|
|
34
34
|
components: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Address components breakdown (e.g., country, city, road, postcode)"),
|
|
35
|
-
confidence: zod.z.number().int().describe("Confidence score (0-10)"),
|
|
35
|
+
confidence: zod.z.number().int().describe("Confidence score (0-10)").nullable(),
|
|
36
36
|
annotations: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional annotation metadata (timezone, currency, DMS coordinates, etc.)").nullable().optional(),
|
|
37
37
|
distance_from_q: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Distance from the queried coordinates in meters").nullable().optional()
|
|
38
38
|
});
|
|
39
39
|
const OpencageGeocodeReverse_TimestampSchema = zod.z.object({
|
|
40
|
-
created_http: zod.z.string().describe("Timestamp when the response was created (HTTP-format)"),
|
|
41
|
-
created_unix: zod.z.number().int().describe("Timestamp when the response was created (Unix time)")
|
|
40
|
+
created_http: zod.z.string().describe("Timestamp when the response was created (HTTP-format)").nullable(),
|
|
41
|
+
created_unix: zod.z.number().int().describe("Timestamp when the response was created (Unix time)").nullable()
|
|
42
42
|
});
|
|
43
43
|
const OpencageGeocodeReverse_StayInformedSchema = zod.z.object({
|
|
44
44
|
blog: zod.z.string().describe("URL to the OpenCage blog").nullable().optional(),
|
|
@@ -49,11 +49,11 @@ const OpencageGeocodeReverse_StayInformedSchema = zod.z.object({
|
|
|
49
49
|
const OpencageGeocodeReverseOutput = zod.z.object({
|
|
50
50
|
rate: OpencageGeocodeReverse_RateSchema.nullable(),
|
|
51
51
|
status: OpencageGeocodeReverse_StatusSchema.nullable(),
|
|
52
|
-
thanks: zod.z.string().describe("Attribution text"),
|
|
52
|
+
thanks: zod.z.string().describe("Attribution text").nullable(),
|
|
53
53
|
results: zod.z.array(OpencageGeocodeReverse_GeocodeReverseResultSchema).describe("List of reverse geocoded results"),
|
|
54
54
|
timestamp: OpencageGeocodeReverse_TimestampSchema.nullable(),
|
|
55
55
|
stay_informed: OpencageGeocodeReverse_StayInformedSchema.nullable(),
|
|
56
|
-
total_results: zod.z.number().int().describe("Total number of results")
|
|
56
|
+
total_results: zod.z.number().int().describe("Total number of results").nullable()
|
|
57
57
|
});
|
|
58
58
|
const opencageGeocodeReverse = require_action.action("OPENCAGE_GEOCODE_REVERSE", {
|
|
59
59
|
slug: "opencage-geocode-reverse",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-reverse.cjs","names":["z","action"],"sources":["../../src/actions/geocode-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpencageGeocodeReverseInput
|
|
1
|
+
{"version":3,"file":"geocode-reverse.cjs","names":["z","action"],"sources":["../../src/actions/geocode-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpencageGeocodeReverseInput = z.object({\n q: z.string().describe(\"Latitude and longitude as a comma-separated string, e.g., '51.952659,7.632473'\"),\n abbrv: z.number().int().default(0).describe(\"1 to abbreviate road and route types\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of results to return (1-10)\").optional(),\n pretty: z.number().int().default(0).describe(\"1 for pretty-printed JSON, 0 (default) for compact output\").optional(),\n language: z.string().describe(\"Preferred response language as ISO 639-1 code, e.g., 'en'\").optional(),\n roadinfo: z.number().int().default(0).describe(\"1 to include road information in the response\").optional(),\n add_request: z.number().int().default(0).describe(\"1 to include request parameters in the response\").optional(),\n countrycode: z.string().describe(\"Restrict results to one or more ISO 3166-1 alpha-2 country codes separated by commas\").optional(),\n normalizecity: z.number().int().default(0).describe(\"1 to normalize city names\").optional(),\n min_confidence: z.number().int().describe(\"Minimum confidence level (0-10) to filter results\").optional(),\n no_annotations: z.number().int().default(0).describe(\"1 to exclude annotations in the response\").optional(),\n});\nconst OpencageGeocodeReverse_RateSchema = z.object({\n limit: z.number().int().describe(\"Rate limit\").nullable(),\n reset: z.number().int().describe(\"Seconds until rate limit resets\").nullable(),\n remaining: z.number().int().describe(\"Remaining requests in current rate window\").nullable(),\n});\nconst OpencageGeocodeReverse_StatusSchema = z.object({\n code: z.number().int().describe(\"Status code of the request, 200 indicates success\").nullable(),\n message: z.string().describe(\"Status message of the request\").nullable(),\n});\nconst OpencageGeocodeReverse_GeometrySchema = z.object({\n lat: z.number().describe(\"Latitude of the result\").nullable(),\n lng: z.number().describe(\"Longitude of the result\").nullable(),\n});\nconst OpencageGeocodeReverse_GeocodeReverseResultSchema = z.object({\n bounds: z.record(z.string(), z.unknown()).describe(\"Bounding box of the result (northeast and southwest corners)\").nullable().optional(),\n geometry: OpencageGeocodeReverse_GeometrySchema.nullable(),\n formatted: z.string().describe(\"Human-readable formatted address\").nullable(),\n components: z.record(z.string(), z.unknown()).describe(\"Address components breakdown (e.g., country, city, road, postcode)\"),\n confidence: z.number().int().describe(\"Confidence score (0-10)\").nullable(),\n annotations: z.record(z.string(), z.unknown()).describe(\"Additional annotation metadata (timezone, currency, DMS coordinates, etc.)\").nullable().optional(),\n distance_from_q: z.record(z.string(), z.unknown()).describe(\"Distance from the queried coordinates in meters\").nullable().optional(),\n});\nconst OpencageGeocodeReverse_TimestampSchema = z.object({\n created_http: z.string().describe(\"Timestamp when the response was created (HTTP-format)\").nullable(),\n created_unix: z.number().int().describe(\"Timestamp when the response was created (Unix time)\").nullable(),\n});\nconst OpencageGeocodeReverse_StayInformedSchema = z.object({\n blog: z.string().describe(\"URL to the OpenCage blog\").nullable().optional(),\n twitter: z.string().describe(\"OpenCage Twitter/X handle\").nullable().optional(),\n facebook: z.string().describe(\"OpenCage Facebook page URL\").nullable().optional(),\n mastodon: z.string().describe(\"OpenCage Mastodon profile URL\").nullable().optional(),\n});\nexport const OpencageGeocodeReverseOutput = z.object({\n rate: OpencageGeocodeReverse_RateSchema.nullable(),\n status: OpencageGeocodeReverse_StatusSchema.nullable(),\n thanks: z.string().describe(\"Attribution text\").nullable(),\n results: z.array(OpencageGeocodeReverse_GeocodeReverseResultSchema).describe(\"List of reverse geocoded results\"),\n timestamp: OpencageGeocodeReverse_TimestampSchema.nullable(),\n stay_informed: OpencageGeocodeReverse_StayInformedSchema.nullable(),\n total_results: z.number().int().describe(\"Total number of results\").nullable(),\n});\n\nexport const opencageGeocodeReverse = action(\"OPENCAGE_GEOCODE_REVERSE\", {\n slug: \"opencage-geocode-reverse\",\n name: \"Reverse Geocode Coordinates\",\n description: \"Tool to convert coordinates to a human-readable address. Use when you have latitude and longitude and need a readable location.\",\n input: OpencageGeocodeReverseInput,\n output: OpencageGeocodeRever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C,CAAC,SAAS,kCAAkC;CAC/G,WAAW,uCAAuC,SAAS;CAC3D,eAAe,0CAA0C,SAAS;CAClE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AAC/E,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,67 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/geocode-reverse.d.ts
|
|
4
|
-
declare const OpencageGeocodeReverseInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpencageGeocodeReverseInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
abbrv: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
8
|
+
pretty: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
9
|
+
language: z.ZodOptional<z.ZodString>;
|
|
10
|
+
roadinfo: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
11
|
+
add_request: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
12
|
+
countrycode: z.ZodOptional<z.ZodString>;
|
|
13
|
+
normalizecity: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
14
|
+
min_confidence: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
no_annotations: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const OpencageGeocodeReverseOutput: z.ZodObject<{
|
|
18
|
+
rate: z.ZodNullable<z.ZodObject<{
|
|
19
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
reset: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
remaining: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
status: z.ZodNullable<z.ZodObject<{
|
|
24
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
message: z.ZodNullable<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
thanks: z.ZodNullable<z.ZodString>;
|
|
28
|
+
results: z.ZodArray<z.ZodObject<{
|
|
29
|
+
bounds: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
30
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
31
|
+
lat: z.ZodNullable<z.ZodNumber>;
|
|
32
|
+
lng: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
formatted: z.ZodNullable<z.ZodString>;
|
|
35
|
+
components: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
36
|
+
confidence: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
annotations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
38
|
+
distance_from_q: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
timestamp: z.ZodNullable<z.ZodObject<{
|
|
41
|
+
created_http: z.ZodNullable<z.ZodString>;
|
|
42
|
+
created_unix: z.ZodNullable<z.ZodNumber>;
|
|
43
|
+
}, z.core.$strip>>;
|
|
44
|
+
stay_informed: z.ZodNullable<z.ZodObject<{
|
|
45
|
+
blog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
twitter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
facebook: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
mastodon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
total_results: z.ZodNullable<z.ZodNumber>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
declare const opencageGeocodeReverse: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
53
|
+
q: string;
|
|
54
|
+
abbrv?: number | undefined;
|
|
55
|
+
limit?: number | undefined;
|
|
56
|
+
pretty?: number | undefined;
|
|
57
|
+
language?: string | undefined;
|
|
58
|
+
roadinfo?: number | undefined;
|
|
59
|
+
add_request?: number | undefined;
|
|
60
|
+
countrycode?: string | undefined;
|
|
61
|
+
normalizecity?: number | undefined;
|
|
62
|
+
min_confidence?: number | undefined;
|
|
63
|
+
no_annotations?: number | undefined;
|
|
64
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
65
|
//#endregion
|
|
8
66
|
export { opencageGeocodeReverse };
|
|
9
67
|
//# sourceMappingURL=geocode-reverse.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-reverse.d.cts","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"geocode-reverse.d.cts","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA6C3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAU5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,67 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/geocode-reverse.d.ts
|
|
4
|
-
declare const OpencageGeocodeReverseInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpencageGeocodeReverseInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
abbrv: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
8
|
+
pretty: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
9
|
+
language: z.ZodOptional<z.ZodString>;
|
|
10
|
+
roadinfo: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
11
|
+
add_request: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
12
|
+
countrycode: z.ZodOptional<z.ZodString>;
|
|
13
|
+
normalizecity: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
14
|
+
min_confidence: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
no_annotations: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const OpencageGeocodeReverseOutput: z.ZodObject<{
|
|
18
|
+
rate: z.ZodNullable<z.ZodObject<{
|
|
19
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
reset: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
remaining: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
status: z.ZodNullable<z.ZodObject<{
|
|
24
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
message: z.ZodNullable<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
thanks: z.ZodNullable<z.ZodString>;
|
|
28
|
+
results: z.ZodArray<z.ZodObject<{
|
|
29
|
+
bounds: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
30
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
31
|
+
lat: z.ZodNullable<z.ZodNumber>;
|
|
32
|
+
lng: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
formatted: z.ZodNullable<z.ZodString>;
|
|
35
|
+
components: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
36
|
+
confidence: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
annotations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
38
|
+
distance_from_q: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
timestamp: z.ZodNullable<z.ZodObject<{
|
|
41
|
+
created_http: z.ZodNullable<z.ZodString>;
|
|
42
|
+
created_unix: z.ZodNullable<z.ZodNumber>;
|
|
43
|
+
}, z.core.$strip>>;
|
|
44
|
+
stay_informed: z.ZodNullable<z.ZodObject<{
|
|
45
|
+
blog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
twitter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
facebook: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
mastodon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
total_results: z.ZodNullable<z.ZodNumber>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
declare const opencageGeocodeReverse: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
53
|
+
q: string;
|
|
54
|
+
abbrv?: number | undefined;
|
|
55
|
+
limit?: number | undefined;
|
|
56
|
+
pretty?: number | undefined;
|
|
57
|
+
language?: string | undefined;
|
|
58
|
+
roadinfo?: number | undefined;
|
|
59
|
+
add_request?: number | undefined;
|
|
60
|
+
countrycode?: string | undefined;
|
|
61
|
+
normalizecity?: number | undefined;
|
|
62
|
+
min_confidence?: number | undefined;
|
|
63
|
+
no_annotations?: number | undefined;
|
|
64
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
65
|
//#endregion
|
|
8
66
|
export { opencageGeocodeReverse };
|
|
9
67
|
//# sourceMappingURL=geocode-reverse.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-reverse.d.mts","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"geocode-reverse.d.mts","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA6C3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAU5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -15,30 +15,30 @@ const OpencageGeocodeReverseInput = z.object({
|
|
|
15
15
|
no_annotations: z.number().int().default(0).describe("1 to exclude annotations in the response").optional()
|
|
16
16
|
});
|
|
17
17
|
const OpencageGeocodeReverse_RateSchema = z.object({
|
|
18
|
-
limit: z.number().int().describe("Rate limit"),
|
|
19
|
-
reset: z.number().int().describe("Seconds until rate limit resets"),
|
|
20
|
-
remaining: z.number().int().describe("Remaining requests in current rate window")
|
|
18
|
+
limit: z.number().int().describe("Rate limit").nullable(),
|
|
19
|
+
reset: z.number().int().describe("Seconds until rate limit resets").nullable(),
|
|
20
|
+
remaining: z.number().int().describe("Remaining requests in current rate window").nullable()
|
|
21
21
|
});
|
|
22
22
|
const OpencageGeocodeReverse_StatusSchema = z.object({
|
|
23
|
-
code: z.number().int().describe("Status code of the request, 200 indicates success"),
|
|
24
|
-
message: z.string().describe("Status message of the request")
|
|
23
|
+
code: z.number().int().describe("Status code of the request, 200 indicates success").nullable(),
|
|
24
|
+
message: z.string().describe("Status message of the request").nullable()
|
|
25
25
|
});
|
|
26
26
|
const OpencageGeocodeReverse_GeometrySchema = z.object({
|
|
27
|
-
lat: z.number().describe("Latitude of the result"),
|
|
28
|
-
lng: z.number().describe("Longitude of the result")
|
|
27
|
+
lat: z.number().describe("Latitude of the result").nullable(),
|
|
28
|
+
lng: z.number().describe("Longitude of the result").nullable()
|
|
29
29
|
});
|
|
30
30
|
const OpencageGeocodeReverse_GeocodeReverseResultSchema = z.object({
|
|
31
31
|
bounds: z.record(z.string(), z.unknown()).describe("Bounding box of the result (northeast and southwest corners)").nullable().optional(),
|
|
32
32
|
geometry: OpencageGeocodeReverse_GeometrySchema.nullable(),
|
|
33
|
-
formatted: z.string().describe("Human-readable formatted address"),
|
|
33
|
+
formatted: z.string().describe("Human-readable formatted address").nullable(),
|
|
34
34
|
components: z.record(z.string(), z.unknown()).describe("Address components breakdown (e.g., country, city, road, postcode)"),
|
|
35
|
-
confidence: z.number().int().describe("Confidence score (0-10)"),
|
|
35
|
+
confidence: z.number().int().describe("Confidence score (0-10)").nullable(),
|
|
36
36
|
annotations: z.record(z.string(), z.unknown()).describe("Additional annotation metadata (timezone, currency, DMS coordinates, etc.)").nullable().optional(),
|
|
37
37
|
distance_from_q: z.record(z.string(), z.unknown()).describe("Distance from the queried coordinates in meters").nullable().optional()
|
|
38
38
|
});
|
|
39
39
|
const OpencageGeocodeReverse_TimestampSchema = z.object({
|
|
40
|
-
created_http: z.string().describe("Timestamp when the response was created (HTTP-format)"),
|
|
41
|
-
created_unix: z.number().int().describe("Timestamp when the response was created (Unix time)")
|
|
40
|
+
created_http: z.string().describe("Timestamp when the response was created (HTTP-format)").nullable(),
|
|
41
|
+
created_unix: z.number().int().describe("Timestamp when the response was created (Unix time)").nullable()
|
|
42
42
|
});
|
|
43
43
|
const OpencageGeocodeReverse_StayInformedSchema = z.object({
|
|
44
44
|
blog: z.string().describe("URL to the OpenCage blog").nullable().optional(),
|
|
@@ -54,11 +54,11 @@ const opencageGeocodeReverse = action("OPENCAGE_GEOCODE_REVERSE", {
|
|
|
54
54
|
output: z.object({
|
|
55
55
|
rate: OpencageGeocodeReverse_RateSchema.nullable(),
|
|
56
56
|
status: OpencageGeocodeReverse_StatusSchema.nullable(),
|
|
57
|
-
thanks: z.string().describe("Attribution text"),
|
|
57
|
+
thanks: z.string().describe("Attribution text").nullable(),
|
|
58
58
|
results: z.array(OpencageGeocodeReverse_GeocodeReverseResultSchema).describe("List of reverse geocoded results"),
|
|
59
59
|
timestamp: OpencageGeocodeReverse_TimestampSchema.nullable(),
|
|
60
60
|
stay_informed: OpencageGeocodeReverse_StayInformedSchema.nullable(),
|
|
61
|
-
total_results: z.number().int().describe("Total number of results")
|
|
61
|
+
total_results: z.number().int().describe("Total number of results").nullable()
|
|
62
62
|
})
|
|
63
63
|
});
|
|
64
64
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-reverse.mjs","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpencageGeocodeReverseInput
|
|
1
|
+
{"version":3,"file":"geocode-reverse.mjs","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpencageGeocodeReverseInput = z.object({\n q: z.string().describe(\"Latitude and longitude as a comma-separated string, e.g., '51.952659,7.632473'\"),\n abbrv: z.number().int().default(0).describe(\"1 to abbreviate road and route types\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of results to return (1-10)\").optional(),\n pretty: z.number().int().default(0).describe(\"1 for pretty-printed JSON, 0 (default) for compact output\").optional(),\n language: z.string().describe(\"Preferred response language as ISO 639-1 code, e.g., 'en'\").optional(),\n roadinfo: z.number().int().default(0).describe(\"1 to include road information in the response\").optional(),\n add_request: z.number().int().default(0).describe(\"1 to include request parameters in the response\").optional(),\n countrycode: z.string().describe(\"Restrict results to one or more ISO 3166-1 alpha-2 country codes separated by commas\").optional(),\n normalizecity: z.number().int().default(0).describe(\"1 to normalize city names\").optional(),\n min_confidence: z.number().int().describe(\"Minimum confidence level (0-10) to filter results\").optional(),\n no_annotations: z.number().int().default(0).describe(\"1 to exclude annotations in the response\").optional(),\n});\nconst OpencageGeocodeReverse_RateSchema = z.object({\n limit: z.number().int().describe(\"Rate limit\").nullable(),\n reset: z.number().int().describe(\"Seconds until rate limit resets\").nullable(),\n remaining: z.number().int().describe(\"Remaining requests in current rate window\").nullable(),\n});\nconst OpencageGeocodeReverse_StatusSchema = z.object({\n code: z.number().int().describe(\"Status code of the request, 200 indicates success\").nullable(),\n message: z.string().describe(\"Status message of the request\").nullable(),\n});\nconst OpencageGeocodeReverse_GeometrySchema = z.object({\n lat: z.number().describe(\"Latitude of the result\").nullable(),\n lng: z.number().describe(\"Longitude of the result\").nullable(),\n});\nconst OpencageGeocodeReverse_GeocodeReverseResultSchema = z.object({\n bounds: z.record(z.string(), z.unknown()).describe(\"Bounding box of the result (northeast and southwest corners)\").nullable().optional(),\n geometry: OpencageGeocodeReverse_GeometrySchema.nullable(),\n formatted: z.string().describe(\"Human-readable formatted address\").nullable(),\n components: z.record(z.string(), z.unknown()).describe(\"Address components breakdown (e.g., country, city, road, postcode)\"),\n confidence: z.number().int().describe(\"Confidence score (0-10)\").nullable(),\n annotations: z.record(z.string(), z.unknown()).describe(\"Additional annotation metadata (timezone, currency, DMS coordinates, etc.)\").nullable().optional(),\n distance_from_q: z.record(z.string(), z.unknown()).describe(\"Distance from the queried coordinates in meters\").nullable().optional(),\n});\nconst OpencageGeocodeReverse_TimestampSchema = z.object({\n created_http: z.string().describe(\"Timestamp when the response was created (HTTP-format)\").nullable(),\n created_unix: z.number().int().describe(\"Timestamp when the response was created (Unix time)\").nullable(),\n});\nconst OpencageGeocodeReverse_StayInformedSchema = z.object({\n blog: z.string().describe(\"URL to the OpenCage blog\").nullable().optional(),\n twitter: z.string().describe(\"OpenCage Twitter/X handle\").nullable().optional(),\n facebook: z.string().describe(\"OpenCage Facebook page URL\").nullable().optional(),\n mastodon: z.string().describe(\"OpenCage Mastodon profile URL\").nullable().optional(),\n});\nexport const OpencageGeocodeReverseOutput = z.object({\n rate: OpencageGeocodeReverse_RateSchema.nullable(),\n status: OpencageGeocodeReverse_StatusSchema.nullable(),\n thanks: z.string().describe(\"Attribution text\").nullable(),\n results: z.array(OpencageGeocodeReverse_GeocodeReverseResultSchema).describe(\"List of reverse geocoded results\"),\n timestamp: OpencageGeocodeReverse_TimestampSchema.nullable(),\n stay_informed: OpencageGeocodeReverse_StayInformedSchema.nullable(),\n total_results: z.number().int().describe(\"Total number of results\").nullable(),\n});\n\nexport const opencageGeocodeReverse = action(\"OPENCAGE_GEOCODE_REVERSE\", {\n slug: \"opencage-geocode-reverse\",\n name: \"Reverse Geocode Coordinates\",\n description: \"Tool to convert coordinates to a human-readable address. Use when you have latitude and longitude and need a readable location.\",\n input: OpencageGeocodeReverseInput,\n output: OpencageGeocodeReverseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC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;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,kCAAkC;EAC/G,WAAW,uCAAuC,SAAS;EAC3D,eAAe,0CAA0C,SAAS;EAClE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/E,CAOU;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const OpencageGeocodeXmlInput = zod.z.object({
|
|
|
15
15
|
no_annotations: zod.z.union([zod.z.literal(0), zod.z.literal(1)]).describe("Set to 1 to exclude supplementary annotations (timezone, currency, etc.), 0 or omit to include").optional()
|
|
16
16
|
}).describe("Request parameters for OpenCage GEOCODE_XML action.\nPerforms geocoding and returns results in XML format.");
|
|
17
17
|
const OpencageGeocodeXmlOutput = zod.z.object({
|
|
18
|
-
xml: zod.z.string().describe("Complete XML response from the OpenCage API containing geocoding results, status, rate limits, and metadata"),
|
|
18
|
+
xml: zod.z.string().describe("Complete XML response from the OpenCage API containing geocoding results, status, rate limits, and metadata").nullable(),
|
|
19
19
|
status_code: zod.z.number().int().describe("API status code (200 for success, extracted from XML for convenience)").nullable().optional(),
|
|
20
20
|
total_results: zod.z.number().int().describe("Number of geocoding results found (extracted from XML for convenience)").nullable().optional()
|
|
21
21
|
}).describe("Response model for OpenCage GEOCODE_XML action.\nReturns geocoding results in XML format.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-xml.cjs","names":["z","action"],"sources":["../../src/actions/geocode-xml.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpencageGeocodeXmlInput
|
|
1
|
+
{"version":3,"file":"geocode-xml.cjs","names":["z","action"],"sources":["../../src/actions/geocode-xml.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpencageGeocodeXmlInput = z.object({\n q: z.string().describe(\"Location query: use an address or place name for forward geocoding, or 'lat,lng' coordinates for reverse geocoding\"),\n abbrv: z.union([z.literal(0), z.literal(1)]).describe(\"Set to 1 to return abbreviated address components (e.g., 'CA' instead of 'California')\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return (1-100). Default is 10 if not specified\").optional(),\n pretty: z.union([z.literal(0), z.literal(1)]).describe(\"Set to 1 for human-readable formatted XML output, 0 or omit for compact output\").optional(),\n language: z.string().describe(\"IETF language tag for results (e.g., 'en' for English, 'de' for German, 'fr' for French)\").optional(),\n roadinfo: z.union([z.literal(0), z.literal(1)]).describe(\"Set to 1 to include detailed road and driving information for the location\").optional(),\n no_dedupe: z.union([z.literal(0), z.literal(1)]).describe(\"Set to 1 to return all results including duplicates, 0 or omit to deduplicate\").optional(),\n add_request: z.union([z.literal(0), z.literal(1)]).describe(\"Set to 1 to include original request parameters in the response for debugging\").optional(),\n countrycode: z.string().describe(\"Restrict results to specific countries using comma-separated ISO 3166-1 alpha-2 codes (e.g., 'us,ca' for USA and Canada)\").optional(),\n min_confidence: z.number().int().describe(\"Filter results to only include those with confidence score at or above this value (1-10, where 10 is highest)\").optional(),\n no_annotations: z.union([z.literal(0), z.literal(1)]).describe(\"Set to 1 to exclude supplementary annotations (timezone, currency, etc.), 0 or omit to include\").optional(),\n}).describe(\"Request parameters for OpenCage GEOCODE_XML action.\\nPerforms geocoding and returns results in XML format.\");\nexport const OpencageGeocodeXmlOutput = z.object({\n xml: z.string().describe(\"Complete XML response from the OpenCage API containing geocoding results, status, rate limits, and metadata\").nullable(),\n status_code: z.number().int().describe(\"API status code (200 for success, extracted from XML for convenience)\").nullable().optional(),\n total_results: z.number().int().describe(\"Number of geocoding results found (extracted from XML for convenience)\").nullable().optional(),\n}).describe(\"Response model for OpenCage GEOCODE_XML action.\\nReturns geocoding results in XML format.\");\n\nexport const opencageGeocodeXml = action(\"OPENCAGE_GEOCODE_XML\", {\n slug: \"opencage-geocode-xml\",\n name: \"Geocode XML\",\n description: \"Geocode a location query and return results in XML format. Supports both forward geocoding (address to coordinates) and reverse geocoding (coordinates to address). Use this when you need XML-formatted output instead of JSON.\",\n input: OpencageGeocodeXmlInput,\n output: OpencageGeocodeXmlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CAC3I,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACzJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACzH,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAClJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAChJ,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpJ,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACpK,gBAAgBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACxH,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACjJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,2FAA2F;AAEvG,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,37 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/geocode-xml.d.ts
|
|
4
|
-
declare const OpencageGeocodeXmlInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpencageGeocodeXmlInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
abbrv: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
7
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
pretty: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
9
|
+
language: z.ZodOptional<z.ZodString>;
|
|
10
|
+
roadinfo: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
11
|
+
no_dedupe: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
12
|
+
add_request: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
13
|
+
countrycode: z.ZodOptional<z.ZodString>;
|
|
14
|
+
min_confidence: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
no_annotations: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const OpencageGeocodeXmlOutput: z.ZodObject<{
|
|
18
|
+
xml: z.ZodNullable<z.ZodString>;
|
|
19
|
+
status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
total_results: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const opencageGeocodeXml: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
q: string;
|
|
24
|
+
abbrv?: 0 | 1 | undefined;
|
|
25
|
+
limit?: number | undefined;
|
|
26
|
+
pretty?: 0 | 1 | undefined;
|
|
27
|
+
language?: string | undefined;
|
|
28
|
+
roadinfo?: 0 | 1 | undefined;
|
|
29
|
+
no_dedupe?: 0 | 1 | undefined;
|
|
30
|
+
add_request?: 0 | 1 | undefined;
|
|
31
|
+
countrycode?: string | undefined;
|
|
32
|
+
min_confidence?: number | undefined;
|
|
33
|
+
no_annotations?: 0 | 1 | undefined;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
35
|
//#endregion
|
|
8
36
|
export { opencageGeocodeXml };
|
|
9
37
|
//# sourceMappingURL=geocode-xml.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-xml.d.cts","names":[],"sources":["../../src/actions/geocode-xml.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"geocode-xml.d.cts","names":[],"sources":["../../src/actions/geocode-xml.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAavB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,37 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/geocode-xml.d.ts
|
|
4
|
-
declare const OpencageGeocodeXmlInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpencageGeocodeXmlInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
abbrv: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
7
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
pretty: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
9
|
+
language: z.ZodOptional<z.ZodString>;
|
|
10
|
+
roadinfo: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
11
|
+
no_dedupe: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
12
|
+
add_request: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
13
|
+
countrycode: z.ZodOptional<z.ZodString>;
|
|
14
|
+
min_confidence: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
no_annotations: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const OpencageGeocodeXmlOutput: z.ZodObject<{
|
|
18
|
+
xml: z.ZodNullable<z.ZodString>;
|
|
19
|
+
status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
total_results: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const opencageGeocodeXml: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
q: string;
|
|
24
|
+
abbrv?: 0 | 1 | undefined;
|
|
25
|
+
limit?: number | undefined;
|
|
26
|
+
pretty?: 0 | 1 | undefined;
|
|
27
|
+
language?: string | undefined;
|
|
28
|
+
roadinfo?: 0 | 1 | undefined;
|
|
29
|
+
no_dedupe?: 0 | 1 | undefined;
|
|
30
|
+
add_request?: 0 | 1 | undefined;
|
|
31
|
+
countrycode?: string | undefined;
|
|
32
|
+
min_confidence?: number | undefined;
|
|
33
|
+
no_annotations?: 0 | 1 | undefined;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
35
|
//#endregion
|
|
8
36
|
export { opencageGeocodeXml };
|
|
9
37
|
//# sourceMappingURL=geocode-xml.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-xml.d.mts","names":[],"sources":["../../src/actions/geocode-xml.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"geocode-xml.d.mts","names":[],"sources":["../../src/actions/geocode-xml.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAavB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -18,7 +18,7 @@ const opencageGeocodeXml = action("OPENCAGE_GEOCODE_XML", {
|
|
|
18
18
|
no_annotations: z.union([z.literal(0), z.literal(1)]).describe("Set to 1 to exclude supplementary annotations (timezone, currency, etc.), 0 or omit to include").optional()
|
|
19
19
|
}).describe("Request parameters for OpenCage GEOCODE_XML action.\nPerforms geocoding and returns results in XML format."),
|
|
20
20
|
output: z.object({
|
|
21
|
-
xml: z.string().describe("Complete XML response from the OpenCage API containing geocoding results, status, rate limits, and metadata"),
|
|
21
|
+
xml: z.string().describe("Complete XML response from the OpenCage API containing geocoding results, status, rate limits, and metadata").nullable(),
|
|
22
22
|
status_code: z.number().int().describe("API status code (200 for success, extracted from XML for convenience)").nullable().optional(),
|
|
23
23
|
total_results: z.number().int().describe("Number of geocoding results found (extracted from XML for convenience)").nullable().optional()
|
|
24
24
|
}).describe("Response model for OpenCage GEOCODE_XML action.\nReturns geocoding results in XML format.")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-xml.mjs","names":[],"sources":["../../src/actions/geocode-xml.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpencageGeocodeXmlInput
|
|
1
|
+
{"version":3,"file":"geocode-xml.mjs","names":[],"sources":["../../src/actions/geocode-xml.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpencageGeocodeXmlInput = z.object({\n q: z.string().describe(\"Location query: use an address or place name for forward geocoding, or 'lat,lng' coordinates for reverse geocoding\"),\n abbrv: z.union([z.literal(0), z.literal(1)]).describe(\"Set to 1 to return abbreviated address components (e.g., 'CA' instead of 'California')\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return (1-100). Default is 10 if not specified\").optional(),\n pretty: z.union([z.literal(0), z.literal(1)]).describe(\"Set to 1 for human-readable formatted XML output, 0 or omit for compact output\").optional(),\n language: z.string().describe(\"IETF language tag for results (e.g., 'en' for English, 'de' for German, 'fr' for French)\").optional(),\n roadinfo: z.union([z.literal(0), z.literal(1)]).describe(\"Set to 1 to include detailed road and driving information for the location\").optional(),\n no_dedupe: z.union([z.literal(0), z.literal(1)]).describe(\"Set to 1 to return all results including duplicates, 0 or omit to deduplicate\").optional(),\n add_request: z.union([z.literal(0), z.literal(1)]).describe(\"Set to 1 to include original request parameters in the response for debugging\").optional(),\n countrycode: z.string().describe(\"Restrict results to specific countries using comma-separated ISO 3166-1 alpha-2 codes (e.g., 'us,ca' for USA and Canada)\").optional(),\n min_confidence: z.number().int().describe(\"Filter results to only include those with confidence score at or above this value (1-10, where 10 is highest)\").optional(),\n no_annotations: z.union([z.literal(0), z.literal(1)]).describe(\"Set to 1 to exclude supplementary annotations (timezone, currency, etc.), 0 or omit to include\").optional(),\n}).describe(\"Request parameters for OpenCage GEOCODE_XML action.\\nPerforms geocoding and returns results in XML format.\");\nexport const OpencageGeocodeXmlOutput = z.object({\n xml: z.string().describe(\"Complete XML response from the OpenCage API containing geocoding results, status, rate limits, and metadata\").nullable(),\n status_code: z.number().int().describe(\"API status code (200 for success, extracted from XML for convenience)\").nullable().optional(),\n total_results: z.number().int().describe(\"Number of geocoding results found (extracted from XML for convenience)\").nullable().optional(),\n}).describe(\"Response model for OpenCage GEOCODE_XML action.\\nReturns geocoding results in XML format.\");\n\nexport const opencageGeocodeXml = action(\"OPENCAGE_GEOCODE_XML\", {\n slug: \"opencage-geocode-xml\",\n name: \"Geocode XML\",\n description: \"Geocode a location query and return results in XML format. Supports both forward geocoding (address to coordinates) and reverse geocoding (coordinates to address). Use this when you need XML-formatted output instead of JSON.\",\n input: OpencageGeocodeXmlInput,\n output: OpencageGeocodeXmlOutput,\n});\n"],"mappings":";;AAuBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBqC,EAAE,OAAO;EAC9C,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;EAC3I,OAAO,EAAE,MAAM,CAAC,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AAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,CAAC,CAAC,CAAC,SAAS,2FAOF;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/ping-opencage.ts
|
|
4
4
|
const OpencagePingOpencageInput = zod.z.object({}).describe("Request parameters for OpenCage API ping health check.");
|
|
5
|
-
const OpencagePingOpencageOutput = zod.z.object({ message: zod.z.string().describe("Response message from ping endpoint, typically 'pong'") }).describe("Response from OpenCage API ping endpoint.");
|
|
5
|
+
const OpencagePingOpencageOutput = zod.z.object({ message: zod.z.string().describe("Response message from ping endpoint, typically 'pong'").nullable() }).describe("Response from OpenCage API ping endpoint.");
|
|
6
6
|
const opencagePingOpencage = require_action.action("OPENCAGE_PING_OPENCAGE", {
|
|
7
7
|
slug: "opencage-ping-opencage",
|
|
8
8
|
name: "Check API Health",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ping-opencage.cjs","names":["z","action"],"sources":["../../src/actions/ping-opencage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpencagePingOpencageInput
|
|
1
|
+
{"version":3,"file":"ping-opencage.cjs","names":["z","action"],"sources":["../../src/actions/ping-opencage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpencagePingOpencageInput = z.object({}).describe(\"Request parameters for OpenCage API ping health check.\");\nexport const OpencagePingOpencageOutput = z.object({\n message: z.string().describe(\"Response message from ping endpoint, typically 'pong'\").nullable(),\n}).describe(\"Response from OpenCage API ping endpoint.\");\n\nexport const opencagePingOpencage = action(\"OPENCAGE_PING_OPENCAGE\", {\n slug: \"opencage-ping-opencage\",\n name: \"Check API Health\",\n description: \"Tool to check API health and connectivity. Returns 'pong' if the API is reachable. Use when you need to verify that the OpenCage API is accessible and operational.\",\n input: OpencagePingOpencageInput,\n output: OpencagePingOpencageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACvH,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/ping-opencage.d.ts
|
|
4
|
-
declare const OpencagePingOpencageInput: z.
|
|
5
|
-
declare const OpencagePingOpencageOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const OpencagePingOpencageInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const OpencagePingOpencageOutput: z.ZodObject<{
|
|
6
|
+
message: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const opencagePingOpencage: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { opencagePingOpencage };
|
|
9
11
|
//# sourceMappingURL=ping-opencage.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ping-opencage.d.cts","names":[],"sources":["../../src/actions/ping-opencage.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"ping-opencage.d.cts","names":[],"sources":["../../src/actions/ping-opencage.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/ping-opencage.d.ts
|
|
4
|
-
declare const OpencagePingOpencageInput: z.
|
|
5
|
-
declare const OpencagePingOpencageOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const OpencagePingOpencageInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const OpencagePingOpencageOutput: z.ZodObject<{
|
|
6
|
+
message: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const opencagePingOpencage: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { opencagePingOpencage };
|
|
9
11
|
//# sourceMappingURL=ping-opencage.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ping-opencage.d.mts","names":[],"sources":["../../src/actions/ping-opencage.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"ping-opencage.d.mts","names":[],"sources":["../../src/actions/ping-opencage.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -5,7 +5,7 @@ const opencagePingOpencage = action("OPENCAGE_PING_OPENCAGE", {
|
|
|
5
5
|
name: "Check API Health",
|
|
6
6
|
description: "Tool to check API health and connectivity. Returns 'pong' if the API is reachable. Use when you need to verify that the OpenCage API is accessible and operational.",
|
|
7
7
|
input: z.object({}).describe("Request parameters for OpenCage API ping health check."),
|
|
8
|
-
output: z.object({ message: z.string().describe("Response message from ping endpoint, typically 'pong'") }).describe("Response from OpenCage API ping endpoint.")
|
|
8
|
+
output: z.object({ message: z.string().describe("Response message from ping endpoint, typically 'pong'").nullable() }).describe("Response from OpenCage API ping endpoint.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { opencagePingOpencage };
|