@keystrokehq/placekey 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.
Files changed (37) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-geocode-from-address.cjs +5 -5
  4. package/dist/actions/get-geocode-from-address.cjs.map +1 -1
  5. package/dist/actions/get-geocode-from-address.d.cts +25 -3
  6. package/dist/actions/get-geocode-from-address.d.cts.map +1 -1
  7. package/dist/actions/get-geocode-from-address.d.mts +25 -3
  8. package/dist/actions/get-geocode-from-address.d.mts.map +1 -1
  9. package/dist/actions/get-geocode-from-address.mjs +5 -5
  10. package/dist/actions/get-geocode-from-address.mjs.map +1 -1
  11. package/dist/actions/get-placekey-from-address.cjs +1 -1
  12. package/dist/actions/get-placekey-from-address.cjs.map +1 -1
  13. package/dist/actions/get-placekey-from-address.d.cts +21 -3
  14. package/dist/actions/get-placekey-from-address.d.cts.map +1 -1
  15. package/dist/actions/get-placekey-from-address.d.mts +21 -3
  16. package/dist/actions/get-placekey-from-address.d.mts.map +1 -1
  17. package/dist/actions/get-placekey-from-address.mjs +1 -1
  18. package/dist/actions/get-placekey-from-address.mjs.map +1 -1
  19. package/dist/actions/get-placekey.cjs.map +1 -1
  20. package/dist/actions/get-placekey.d.cts +83 -3
  21. package/dist/actions/get-placekey.d.cts.map +1 -1
  22. package/dist/actions/get-placekey.d.mts +83 -3
  23. package/dist/actions/get-placekey.d.mts.map +1 -1
  24. package/dist/actions/get-placekey.mjs.map +1 -1
  25. package/dist/actions/get-placekeys-bulk.cjs.map +1 -1
  26. package/dist/actions/get-placekeys-bulk.d.cts +63 -3
  27. package/dist/actions/get-placekeys-bulk.d.cts.map +1 -1
  28. package/dist/actions/get-placekeys-bulk.d.mts +63 -3
  29. package/dist/actions/get-placekeys-bulk.d.mts.map +1 -1
  30. package/dist/actions/get-placekeys-bulk.mjs.map +1 -1
  31. package/dist/catalog.cjs +7 -1
  32. package/dist/catalog.cjs.map +1 -1
  33. package/dist/catalog.d.cts +8 -0
  34. package/dist/catalog.d.mts +8 -0
  35. package/dist/catalog.mjs +7 -1
  36. package/dist/catalog.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["placekey","executePlacekeyTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { placekey } from \"./app\";\nimport { executePlacekeyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return placekey.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePlacekeyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["placekey","executePlacekeyTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { placekey } from \"./app\";\nimport { executePlacekeyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return placekey.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePlacekeyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { placekey } from \"./app\";\nimport { executePlacekeyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return placekey.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePlacekeyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { placekey } from \"./app\";\nimport { executePlacekeyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return placekey.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePlacekeyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -9,17 +9,17 @@ const PlacekeyGetGeocodeFromAddressInput = zod.z.object({
9
9
  iso_country_code: zod.z.string().describe("Two-letter country code")
10
10
  });
11
11
  const PlacekeyGetGeocodeFromAddress_LocationSchema = zod.z.object({
12
- lat: zod.z.number().describe("Latitude of the location"),
13
- lng: zod.z.number().describe("Longitude of the location")
12
+ lat: zod.z.number().describe("Latitude of the location").nullable(),
13
+ lng: zod.z.number().describe("Longitude of the location").nullable()
14
14
  });
15
15
  const PlacekeyGetGeocodeFromAddress_GeocodeSchema = zod.z.object({
16
16
  location: PlacekeyGetGeocodeFromAddress_LocationSchema.nullable(),
17
- location_type: zod.z.string().describe("Precision level of the geocode. Possible values: ROOFTOP (most accurate, building-level), PARCEL (property boundary), APPROXIMATE (general area), RANGE_INTERPOLATED (estimated along a street range), UNKNOWN (precision level not determined)")
17
+ location_type: zod.z.string().describe("Precision level of the geocode. Possible values: ROOFTOP (most accurate, building-level), PARCEL (property boundary), APPROXIMATE (general area), RANGE_INTERPOLATED (estimated along a street range), UNKNOWN (precision level not determined)").nullable()
18
18
  });
19
19
  const PlacekeyGetGeocodeFromAddressOutput = zod.z.object({
20
20
  geocode: PlacekeyGetGeocodeFromAddress_GeocodeSchema.nullable(),
21
- placekey: zod.z.string().describe("Unique Placekey identifier"),
22
- query_id: zod.z.string().describe("Unique identifier for the query")
21
+ placekey: zod.z.string().describe("Unique Placekey identifier").nullable(),
22
+ query_id: zod.z.string().describe("Unique identifier for the query").nullable()
23
23
  });
24
24
  const placekeyGetGeocodeFromAddress = require_action.action("PLACEKEY_GET_GEOCODE_FROM_ADDRESS", {
25
25
  slug: "placekey-get-geocode-from-address",
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocode-from-address.cjs","names":["z","action"],"sources":["../../src/actions/get-geocode-from-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetGeocodeFromAddressInput: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City name\"),\n region: z.string().describe(\"State/region code\"),\n postal_code: z.string().describe(\"Postal/ZIP code\"),\n street_address: z.string().describe(\"Street address of the location\"),\n iso_country_code: z.string().describe(\"Two-letter country code\"),\n});\nconst PlacekeyGetGeocodeFromAddress_LocationSchema: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the location\"),\n lng: z.number().describe(\"Longitude of the location\"),\n});\nconst PlacekeyGetGeocodeFromAddress_GeocodeSchema: z.ZodTypeAny = z.object({\n location: PlacekeyGetGeocodeFromAddress_LocationSchema.nullable(),\n location_type: z.string().describe(\"Precision level of the geocode. Possible values: ROOFTOP (most accurate, building-level), PARCEL (property boundary), APPROXIMATE (general area), RANGE_INTERPOLATED (estimated along a street range), UNKNOWN (precision level not determined)\"),\n});\nexport const PlacekeyGetGeocodeFromAddressOutput: z.ZodTypeAny = z.object({\n geocode: PlacekeyGetGeocodeFromAddress_GeocodeSchema.nullable(),\n placekey: z.string().describe(\"Unique Placekey identifier\"),\n query_id: z.string().describe(\"Unique identifier for the query\"),\n});\n\nexport const placekeyGetGeocodeFromAddress = action(\"PLACEKEY_GET_GEOCODE_FROM_ADDRESS\", {\n slug: \"placekey-get-geocode-from-address\",\n name: \"Get Geocode From Address\",\n description: \"This tool retrieves geocode information (latitude and longitude) for a given address using the Placekey API. It accepts address components (street_address, city, region, postal_code, iso_country_code) and returns geocode data including the unique Placekey identifier and location details.\",\n input: PlacekeyGetGeocodeFromAddressInput,\n output: PlacekeyGetGeocodeFromAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACrC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC/C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAClD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACpE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AACjE,CAAC;AACD,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AACtD,CAAC;AACD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,UAAU,6CAA6C,SAAS;CAChE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iPAAiP;AACtR,CAAC;AACD,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,SAAS,4CAA4C,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AACjE,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-geocode-from-address.cjs","names":["z","action"],"sources":["../../src/actions/get-geocode-from-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetGeocodeFromAddressInput = z.object({\n city: z.string().describe(\"City name\"),\n region: z.string().describe(\"State/region code\"),\n postal_code: z.string().describe(\"Postal/ZIP code\"),\n street_address: z.string().describe(\"Street address of the location\"),\n iso_country_code: z.string().describe(\"Two-letter country code\"),\n});\nconst PlacekeyGetGeocodeFromAddress_LocationSchema = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lng: z.number().describe(\"Longitude of the location\").nullable(),\n});\nconst PlacekeyGetGeocodeFromAddress_GeocodeSchema = z.object({\n location: PlacekeyGetGeocodeFromAddress_LocationSchema.nullable(),\n location_type: z.string().describe(\"Precision level of the geocode. Possible values: ROOFTOP (most accurate, building-level), PARCEL (property boundary), APPROXIMATE (general area), RANGE_INTERPOLATED (estimated along a street range), UNKNOWN (precision level not determined)\").nullable(),\n});\nexport const PlacekeyGetGeocodeFromAddressOutput = z.object({\n geocode: PlacekeyGetGeocodeFromAddress_GeocodeSchema.nullable(),\n placekey: z.string().describe(\"Unique Placekey identifier\").nullable(),\n query_id: z.string().describe(\"Unique identifier for the query\").nullable(),\n});\n\nexport const placekeyGetGeocodeFromAddress = action(\"PLACEKEY_GET_GEOCODE_FROM_ADDRESS\", {\n slug: \"placekey-get-geocode-from-address\",\n name: \"Get Geocode From Address\",\n description: \"This tool retrieves geocode information (latitude and longitude) for a given address using the Placekey API. It accepts address components (street_address, city, region, postal_code, iso_country_code) and returns geocode data including the unique Placekey identifier and location details.\",\n input: PlacekeyGetGeocodeFromAddressInput,\n output: PlacekeyGetGeocodeFromAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACrC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC/C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAClD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACpE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AACjE,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACjE,CAAC;AACD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,UAAU,6CAA6C,SAAS;CAChE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iPAAiP,CAAC,CAAC,SAAS;AACjS,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAAS,4CAA4C,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC5E,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-geocode-from-address.d.ts
4
- declare const PlacekeyGetGeocodeFromAddressInput: z.ZodTypeAny;
5
- declare const PlacekeyGetGeocodeFromAddressOutput: z.ZodTypeAny;
6
- declare const placekeyGetGeocodeFromAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacekeyGetGeocodeFromAddressInput: z.ZodObject<{
5
+ city: z.ZodString;
6
+ region: z.ZodString;
7
+ postal_code: z.ZodString;
8
+ street_address: z.ZodString;
9
+ iso_country_code: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const PlacekeyGetGeocodeFromAddressOutput: z.ZodObject<{
12
+ geocode: z.ZodNullable<z.ZodObject<{
13
+ location: z.ZodNullable<z.ZodObject<{
14
+ lat: z.ZodNullable<z.ZodNumber>;
15
+ lng: z.ZodNullable<z.ZodNumber>;
16
+ }, z.core.$strip>>;
17
+ location_type: z.ZodNullable<z.ZodString>;
18
+ }, z.core.$strip>>;
19
+ placekey: z.ZodNullable<z.ZodString>;
20
+ query_id: z.ZodNullable<z.ZodString>;
21
+ }, z.core.$strip>;
22
+ declare const placekeyGetGeocodeFromAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ city: string;
24
+ region: string;
25
+ postal_code: string;
26
+ street_address: string;
27
+ iso_country_code: string;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { placekeyGetGeocodeFromAddress };
9
31
  //# sourceMappingURL=get-geocode-from-address.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocode-from-address.d.cts","names":[],"sources":["../../src/actions/get-geocode-from-address.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAMjD;AAAA,cASW,mCAAA,EAAqC,CAAA,CAAE,UAIlD;AAAA,cAEW,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-geocode-from-address.d.cts","names":[],"sources":["../../src/actions/get-geocode-from-address.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAelC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;cAMnC,6BAAA,gCAA6B,wBAAA"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-geocode-from-address.d.ts
4
- declare const PlacekeyGetGeocodeFromAddressInput: z.ZodTypeAny;
5
- declare const PlacekeyGetGeocodeFromAddressOutput: z.ZodTypeAny;
6
- declare const placekeyGetGeocodeFromAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacekeyGetGeocodeFromAddressInput: z.ZodObject<{
5
+ city: z.ZodString;
6
+ region: z.ZodString;
7
+ postal_code: z.ZodString;
8
+ street_address: z.ZodString;
9
+ iso_country_code: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const PlacekeyGetGeocodeFromAddressOutput: z.ZodObject<{
12
+ geocode: z.ZodNullable<z.ZodObject<{
13
+ location: z.ZodNullable<z.ZodObject<{
14
+ lat: z.ZodNullable<z.ZodNumber>;
15
+ lng: z.ZodNullable<z.ZodNumber>;
16
+ }, z.core.$strip>>;
17
+ location_type: z.ZodNullable<z.ZodString>;
18
+ }, z.core.$strip>>;
19
+ placekey: z.ZodNullable<z.ZodString>;
20
+ query_id: z.ZodNullable<z.ZodString>;
21
+ }, z.core.$strip>;
22
+ declare const placekeyGetGeocodeFromAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ city: string;
24
+ region: string;
25
+ postal_code: string;
26
+ street_address: string;
27
+ iso_country_code: string;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { placekeyGetGeocodeFromAddress };
9
31
  //# sourceMappingURL=get-geocode-from-address.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocode-from-address.d.mts","names":[],"sources":["../../src/actions/get-geocode-from-address.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAMjD;AAAA,cASW,mCAAA,EAAqC,CAAA,CAAE,UAIlD;AAAA,cAEW,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-geocode-from-address.d.mts","names":[],"sources":["../../src/actions/get-geocode-from-address.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAelC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;cAMnC,6BAAA,gCAA6B,wBAAA"}
@@ -9,12 +9,12 @@ const PlacekeyGetGeocodeFromAddressInput = z.object({
9
9
  iso_country_code: z.string().describe("Two-letter country code")
10
10
  });
11
11
  const PlacekeyGetGeocodeFromAddress_LocationSchema = z.object({
12
- lat: z.number().describe("Latitude of the location"),
13
- lng: z.number().describe("Longitude of the location")
12
+ lat: z.number().describe("Latitude of the location").nullable(),
13
+ lng: z.number().describe("Longitude of the location").nullable()
14
14
  });
15
15
  const PlacekeyGetGeocodeFromAddress_GeocodeSchema = z.object({
16
16
  location: PlacekeyGetGeocodeFromAddress_LocationSchema.nullable(),
17
- location_type: z.string().describe("Precision level of the geocode. Possible values: ROOFTOP (most accurate, building-level), PARCEL (property boundary), APPROXIMATE (general area), RANGE_INTERPOLATED (estimated along a street range), UNKNOWN (precision level not determined)")
17
+ location_type: z.string().describe("Precision level of the geocode. Possible values: ROOFTOP (most accurate, building-level), PARCEL (property boundary), APPROXIMATE (general area), RANGE_INTERPOLATED (estimated along a street range), UNKNOWN (precision level not determined)").nullable()
18
18
  });
19
19
  const placekeyGetGeocodeFromAddress = action("PLACEKEY_GET_GEOCODE_FROM_ADDRESS", {
20
20
  slug: "placekey-get-geocode-from-address",
@@ -23,8 +23,8 @@ const placekeyGetGeocodeFromAddress = action("PLACEKEY_GET_GEOCODE_FROM_ADDRESS"
23
23
  input: PlacekeyGetGeocodeFromAddressInput,
24
24
  output: z.object({
25
25
  geocode: PlacekeyGetGeocodeFromAddress_GeocodeSchema.nullable(),
26
- placekey: z.string().describe("Unique Placekey identifier"),
27
- query_id: z.string().describe("Unique identifier for the query")
26
+ placekey: z.string().describe("Unique Placekey identifier").nullable(),
27
+ query_id: z.string().describe("Unique identifier for the query").nullable()
28
28
  })
29
29
  });
30
30
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocode-from-address.mjs","names":[],"sources":["../../src/actions/get-geocode-from-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetGeocodeFromAddressInput: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City name\"),\n region: z.string().describe(\"State/region code\"),\n postal_code: z.string().describe(\"Postal/ZIP code\"),\n street_address: z.string().describe(\"Street address of the location\"),\n iso_country_code: z.string().describe(\"Two-letter country code\"),\n});\nconst PlacekeyGetGeocodeFromAddress_LocationSchema: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the location\"),\n lng: z.number().describe(\"Longitude of the location\"),\n});\nconst PlacekeyGetGeocodeFromAddress_GeocodeSchema: z.ZodTypeAny = z.object({\n location: PlacekeyGetGeocodeFromAddress_LocationSchema.nullable(),\n location_type: z.string().describe(\"Precision level of the geocode. Possible values: ROOFTOP (most accurate, building-level), PARCEL (property boundary), APPROXIMATE (general area), RANGE_INTERPOLATED (estimated along a street range), UNKNOWN (precision level not determined)\"),\n});\nexport const PlacekeyGetGeocodeFromAddressOutput: z.ZodTypeAny = z.object({\n geocode: PlacekeyGetGeocodeFromAddress_GeocodeSchema.nullable(),\n placekey: z.string().describe(\"Unique Placekey identifier\"),\n query_id: z.string().describe(\"Unique identifier for the query\"),\n});\n\nexport const placekeyGetGeocodeFromAddress = action(\"PLACEKEY_GET_GEOCODE_FROM_ADDRESS\", {\n slug: \"placekey-get-geocode-from-address\",\n name: \"Get Geocode From Address\",\n description: \"This tool retrieves geocode information (latitude and longitude) for a given address using the Placekey API. It accepts address components (street_address, city, region, postal_code, iso_country_code) and returns geocode data including the unique Placekey identifier and location details.\",\n input: PlacekeyGetGeocodeFromAddressInput,\n output: PlacekeyGetGeocodeFromAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACrC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC/C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAClD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACpE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AACjE,CAAC;AACD,MAAM,+CAA6D,EAAE,OAAO;CAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AACtD,CAAC;AACD,MAAM,8CAA4D,EAAE,OAAO;CACzE,UAAU,6CAA6C,SAAS;CAChE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iPAAiP;AACtR,CAAC;AAOD,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX+D,EAAE,OAAO;EACxE,SAAS,4CAA4C,SAAS;EAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACjE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-geocode-from-address.mjs","names":[],"sources":["../../src/actions/get-geocode-from-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetGeocodeFromAddressInput = z.object({\n city: z.string().describe(\"City name\"),\n region: z.string().describe(\"State/region code\"),\n postal_code: z.string().describe(\"Postal/ZIP code\"),\n street_address: z.string().describe(\"Street address of the location\"),\n iso_country_code: z.string().describe(\"Two-letter country code\"),\n});\nconst PlacekeyGetGeocodeFromAddress_LocationSchema = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lng: z.number().describe(\"Longitude of the location\").nullable(),\n});\nconst PlacekeyGetGeocodeFromAddress_GeocodeSchema = z.object({\n location: PlacekeyGetGeocodeFromAddress_LocationSchema.nullable(),\n location_type: z.string().describe(\"Precision level of the geocode. Possible values: ROOFTOP (most accurate, building-level), PARCEL (property boundary), APPROXIMATE (general area), RANGE_INTERPOLATED (estimated along a street range), UNKNOWN (precision level not determined)\").nullable(),\n});\nexport const PlacekeyGetGeocodeFromAddressOutput = z.object({\n geocode: PlacekeyGetGeocodeFromAddress_GeocodeSchema.nullable(),\n placekey: z.string().describe(\"Unique Placekey identifier\").nullable(),\n query_id: z.string().describe(\"Unique identifier for the query\").nullable(),\n});\n\nexport const placekeyGetGeocodeFromAddress = action(\"PLACEKEY_GET_GEOCODE_FROM_ADDRESS\", {\n slug: \"placekey-get-geocode-from-address\",\n name: \"Get Geocode From Address\",\n description: \"This tool retrieves geocode information (latitude and longitude) for a given address using the Placekey API. It accepts address components (street_address, city, region, postal_code, iso_country_code) and returns geocode data including the unique Placekey identifier and location details.\",\n input: PlacekeyGetGeocodeFromAddressInput,\n output: PlacekeyGetGeocodeFromAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACrC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC/C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAClD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACpE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AACjE,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACjE,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,UAAU,6CAA6C,SAAS;CAChE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iPAAiP,CAAC,CAAC,SAAS;AACjS,CAAC;AAOD,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXiD,EAAE,OAAO;EAC1D,SAAS,4CAA4C,SAAS;EAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,CAOU;AACV,CAAC"}
@@ -12,7 +12,7 @@ const PlacekeyGetPlacekeyFromAddressInput = zod.z.object({
12
12
  const PlacekeyGetPlacekeyFromAddressOutput = zod.z.object({
13
13
  error: zod.z.string().describe("Error message if the request could not be processed").nullable().optional(),
14
14
  placekey: zod.z.string().describe("A unique identifier for the location in Placekey's format").nullable().optional(),
15
- query_id: zod.z.string().describe("An identifier for the query")
15
+ query_id: zod.z.string().describe("An identifier for the query").nullable()
16
16
  });
17
17
  const placekeyGetPlacekeyFromAddress = require_action.action("PLACEKEY_GET_PLACEKEY_FROM_ADDRESS", {
18
18
  slug: "placekey-get-placekey-from-address",
@@ -1 +1 @@
1
- {"version":3,"file":"get-placekey-from-address.cjs","names":["z","action"],"sources":["../../src/actions/get-placekey-from-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetPlacekeyFromAddressInput: z.ZodTypeAny = z.object({\n city: z.string().describe(\"The city name\"),\n region: z.string().describe(\"The state/region code (e.g., 'CA' for California)\"),\n postal_code: z.string().describe(\"The postal/ZIP code\"),\n location_name: z.string().describe(\"Name of the location/business if available\").optional(),\n street_address: z.string().describe(\"The street address of the location\"),\n iso_country_code: z.string().describe(\"The two-letter ISO country code (e.g., 'US' for United States)\"),\n});\nexport const PlacekeyGetPlacekeyFromAddressOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request could not be processed\").nullable().optional(),\n placekey: z.string().describe(\"A unique identifier for the location in Placekey's format\").nullable().optional(),\n query_id: z.string().describe(\"An identifier for the query\"),\n});\n\nexport const placekeyGetPlacekeyFromAddress = action(\"PLACEKEY_GET_PLACEKEY_FROM_ADDRESS\", {\n slug: \"placekey-get-placekey-from-address\",\n name: \"Get placekey from address\",\n description: \"Convert a physical address into a unique Placekey identifier. The Placekey is a universal standard identifier for any physical place that helps in location matching, enrichment, and deduplication.\",\n input: PlacekeyGetPlacekeyFromAddressInput,\n output: PlacekeyGetPlacekeyFromAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACtD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC1F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACxE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AACxG,CAAC;AACD,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC7D,CAAC;AAED,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-placekey-from-address.cjs","names":["z","action"],"sources":["../../src/actions/get-placekey-from-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetPlacekeyFromAddressInput = z.object({\n city: z.string().describe(\"The city name\"),\n region: z.string().describe(\"The state/region code (e.g., 'CA' for California)\"),\n postal_code: z.string().describe(\"The postal/ZIP code\"),\n location_name: z.string().describe(\"Name of the location/business if available\").optional(),\n street_address: z.string().describe(\"The street address of the location\"),\n iso_country_code: z.string().describe(\"The two-letter ISO country code (e.g., 'US' for United States)\"),\n});\nexport const PlacekeyGetPlacekeyFromAddressOutput = z.object({\n error: z.string().describe(\"Error message if the request could not be processed\").nullable().optional(),\n placekey: z.string().describe(\"A unique identifier for the location in Placekey's format\").nullable().optional(),\n query_id: z.string().describe(\"An identifier for the query\").nullable(),\n});\n\nexport const placekeyGetPlacekeyFromAddress = action(\"PLACEKEY_GET_PLACEKEY_FROM_ADDRESS\", {\n slug: \"placekey-get-placekey-from-address\",\n name: \"Get placekey from address\",\n description: \"Convert a physical address into a unique Placekey identifier. The Placekey is a universal standard identifier for any physical place that helps in location matching, enrichment, and deduplication.\",\n input: PlacekeyGetPlacekeyFromAddressInput,\n output: PlacekeyGetPlacekeyFromAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACtD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC1F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACxE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AACxG,CAAC;AACD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACxE,CAAC;AAED,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-placekey-from-address.d.ts
4
- declare const PlacekeyGetPlacekeyFromAddressInput: z.ZodTypeAny;
5
- declare const PlacekeyGetPlacekeyFromAddressOutput: z.ZodTypeAny;
6
- declare const placekeyGetPlacekeyFromAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacekeyGetPlacekeyFromAddressInput: z.ZodObject<{
5
+ city: z.ZodString;
6
+ region: z.ZodString;
7
+ postal_code: z.ZodString;
8
+ location_name: z.ZodOptional<z.ZodString>;
9
+ street_address: z.ZodString;
10
+ iso_country_code: z.ZodString;
11
+ }, z.core.$strip>;
12
+ declare const PlacekeyGetPlacekeyFromAddressOutput: z.ZodObject<{
13
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ placekey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ query_id: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const placekeyGetPlacekeyFromAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ city: string;
19
+ region: string;
20
+ postal_code: string;
21
+ street_address: string;
22
+ iso_country_code: string;
23
+ location_name?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { placekeyGetPlacekeyFromAddress };
9
27
  //# sourceMappingURL=get-placekey-from-address.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-placekey-from-address.d.cts","names":[],"sources":["../../src/actions/get-placekey-from-address.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAOlD;AAAA,cACW,oCAAA,EAAsC,CAAA,CAAE,UAInD;AAAA,cAEW,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-placekey-from-address.d.cts","names":[],"sources":["../../src/actions/get-placekey-from-address.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,gCAA8B,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-placekey-from-address.d.ts
4
- declare const PlacekeyGetPlacekeyFromAddressInput: z.ZodTypeAny;
5
- declare const PlacekeyGetPlacekeyFromAddressOutput: z.ZodTypeAny;
6
- declare const placekeyGetPlacekeyFromAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacekeyGetPlacekeyFromAddressInput: z.ZodObject<{
5
+ city: z.ZodString;
6
+ region: z.ZodString;
7
+ postal_code: z.ZodString;
8
+ location_name: z.ZodOptional<z.ZodString>;
9
+ street_address: z.ZodString;
10
+ iso_country_code: z.ZodString;
11
+ }, z.core.$strip>;
12
+ declare const PlacekeyGetPlacekeyFromAddressOutput: z.ZodObject<{
13
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ placekey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ query_id: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const placekeyGetPlacekeyFromAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ city: string;
19
+ region: string;
20
+ postal_code: string;
21
+ street_address: string;
22
+ iso_country_code: string;
23
+ location_name?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { placekeyGetPlacekeyFromAddress };
9
27
  //# sourceMappingURL=get-placekey-from-address.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-placekey-from-address.d.mts","names":[],"sources":["../../src/actions/get-placekey-from-address.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAOlD;AAAA,cACW,oCAAA,EAAsC,CAAA,CAAE,UAInD;AAAA,cAEW,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-placekey-from-address.d.mts","names":[],"sources":["../../src/actions/get-placekey-from-address.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,gCAA8B,wBAAA"}
@@ -15,7 +15,7 @@ const placekeyGetPlacekeyFromAddress = action("PLACEKEY_GET_PLACEKEY_FROM_ADDRES
15
15
  output: z.object({
16
16
  error: z.string().describe("Error message if the request could not be processed").nullable().optional(),
17
17
  placekey: z.string().describe("A unique identifier for the location in Placekey's format").nullable().optional(),
18
- query_id: z.string().describe("An identifier for the query")
18
+ query_id: z.string().describe("An identifier for the query").nullable()
19
19
  })
20
20
  });
21
21
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"get-placekey-from-address.mjs","names":[],"sources":["../../src/actions/get-placekey-from-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetPlacekeyFromAddressInput: z.ZodTypeAny = z.object({\n city: z.string().describe(\"The city name\"),\n region: z.string().describe(\"The state/region code (e.g., 'CA' for California)\"),\n postal_code: z.string().describe(\"The postal/ZIP code\"),\n location_name: z.string().describe(\"Name of the location/business if available\").optional(),\n street_address: z.string().describe(\"The street address of the location\"),\n iso_country_code: z.string().describe(\"The two-letter ISO country code (e.g., 'US' for United States)\"),\n});\nexport const PlacekeyGetPlacekeyFromAddressOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request could not be processed\").nullable().optional(),\n placekey: z.string().describe(\"A unique identifier for the location in Placekey's format\").nullable().optional(),\n query_id: z.string().describe(\"An identifier for the query\"),\n});\n\nexport const placekeyGetPlacekeyFromAddress = action(\"PLACEKEY_GET_PLACEKEY_FROM_ADDRESS\", {\n slug: \"placekey-get-placekey-from-address\",\n name: \"Get placekey from address\",\n description: \"Convert a physical address into a unique Placekey identifier. The Placekey is a universal standard identifier for any physical place that helps in location matching, enrichment, and deduplication.\",\n input: PlacekeyGetPlacekeyFromAddressInput,\n output: PlacekeyGetPlacekeyFromAddressOutput,\n});\n"],"mappings":";;AAkBA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB+D,EAAE,OAAO;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;EACzC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACtD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC1F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACxE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACxG,CAWS;CACP,QAXgE,EAAE,OAAO;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC7D,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-placekey-from-address.mjs","names":[],"sources":["../../src/actions/get-placekey-from-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetPlacekeyFromAddressInput = z.object({\n city: z.string().describe(\"The city name\"),\n region: z.string().describe(\"The state/region code (e.g., 'CA' for California)\"),\n postal_code: z.string().describe(\"The postal/ZIP code\"),\n location_name: z.string().describe(\"Name of the location/business if available\").optional(),\n street_address: z.string().describe(\"The street address of the location\"),\n iso_country_code: z.string().describe(\"The two-letter ISO country code (e.g., 'US' for United States)\"),\n});\nexport const PlacekeyGetPlacekeyFromAddressOutput = z.object({\n error: z.string().describe(\"Error message if the request could not be processed\").nullable().optional(),\n placekey: z.string().describe(\"A unique identifier for the location in Placekey's format\").nullable().optional(),\n query_id: z.string().describe(\"An identifier for the query\").nullable(),\n});\n\nexport const placekeyGetPlacekeyFromAddress = action(\"PLACEKEY_GET_PLACEKEY_FROM_ADDRESS\", {\n slug: \"placekey-get-placekey-from-address\",\n name: \"Get placekey from address\",\n description: \"Convert a physical address into a unique Placekey identifier. The Placekey is a universal standard identifier for any physical place that helps in location matching, enrichment, and deduplication.\",\n input: PlacekeyGetPlacekeyFromAddressInput,\n output: PlacekeyGetPlacekeyFromAddressOutput,\n});\n"],"mappings":";;AAkBA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;EACzC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACtD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC1F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACxE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACxG,CAWS;CACP,QAXkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,CAOU;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-placekey.cjs","names":["z","action"],"sources":["../../src/actions/get-placekey.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetPlacekeyInput: z.ZodTypeAny = z.object({\n city: z.string().describe(\"The city where the place is located\").optional(),\n region: z.string().describe(\"The second-level administrative region (e.g., state in US)\").optional(),\n options: z.object({\n fields: z.array(z.enum([\"address_placekey\", \"building_placekey\", \"confidence_score\", \"normalized_address\", \"geocode\", \"upi\", \"parcel\", \"geoid\", \"gers\"])).describe(\"Additional fields to include in the response (address_placekey, building_placekey, confidence_score, normalized_address, geocode, upi, parcel, geoid, gers)\").optional(),\n strict_name_match: z.boolean().describe(\"If true, requires exact name match for POIs\").optional(),\n strict_address_match: z.boolean().describe(\"If true, requires exact address match\").optional(),\n}).describe(\"Options to customize the response and matching behavior\").optional(),\n latitude: z.number().describe(\"The latitude of the place in WGS-84 coordinates\").optional(),\n query_id: z.string().describe(\"Custom identifier for this query. Will be echoed back in the response.\").optional(),\n longitude: z.number().describe(\"The longitude of the place in WGS-84 coordinates\").optional(),\n postal_code: z.string().describe(\"The postal code for the place\").optional(),\n location_name: z.string().describe(\"The name of the place or business (POI name) for better matching\").optional(),\n place_metadata: z.object({\n website: z.string().describe(\"Web URL for the POI website\").optional(),\n mcc_code: z.string().describe(\"Merchant category code\").optional(),\n store_id: z.string().describe(\"Unique store ID from the brand\").optional(),\n naics_code: z.string().describe(\"4-digit or 6-digit NAICS code for the business\").optional(),\n phone_number: z.string().describe(\"Phone number of the POI for better matching accuracy\").optional(),\n}).describe(\"Additional metadata about the place to improve matching accuracy\").optional(),\n street_address: z.string().describe(\"The street address of the place\").optional(),\n iso_country_code: z.string().describe(\"The ISO 2-letter country code (e.g., US, CA, GB)\").optional(),\n});\nconst PlacekeyGetPlacekey_GeocodeSchema: z.ZodTypeAny = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable().optional(),\n});\nconst PlacekeyGetPlacekey_ConfidenceScoreSchema: z.ZodTypeAny = z.enum([\"HIGH\", \"MEDIUM\", \"LOW\"]);\nconst PlacekeyGetPlacekey_NormalizedAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"Normalized city name\").nullable().optional(),\n region: z.string().describe(\"Normalized region/state\").nullable().optional(),\n postal_code: z.string().describe(\"Normalized postal code\").nullable().optional(),\n country_code: z.string().describe(\"Normalized country code\").nullable().optional(),\n street_address: z.string().describe(\"Normalized street address\").nullable().optional(),\n});\nexport const PlacekeyGetPlacekeyOutput: z.ZodTypeAny = z.object({\n upi: z.string().describe(\"Universal Parcel Identifier\").nullable().optional(),\n gers: z.string().describe(\"Overture Maps identifier\").nullable().optional(),\n error: z.string().describe(\"Error message if the query could not be processed\").nullable().optional(),\n geoid: z.string().describe(\"Geographic identifier code for census/demographic data\").nullable().optional(),\n parcel: z.string().describe(\"Unique land identifier assigned by local government\").nullable().optional(),\n geocode: PlacekeyGetPlacekey_GeocodeSchema.nullable().optional(),\n placekey: z.string().describe(\"The unique Placekey identifier for the location\").nullable().optional(),\n query_id: z.string().describe(\"The query ID echoed back, or auto-generated index if not provided\").nullable().optional(),\n address_placekey: z.string().describe(\"Placekey for the address without location name (optional field)\").nullable().optional(),\n confidence_score: PlacekeyGetPlacekey_ConfidenceScoreSchema.nullable().optional(),\n building_placekey: z.string().describe(\"Postal address placekey without suite/apartment number (optional field)\").nullable().optional(),\n normalized_address: PlacekeyGetPlacekey_NormalizedAddressSchema.nullable().optional(),\n});\n\nexport const placekeyGetPlacekey = action(\"PLACEKEY_GET_PLACEKEY\", {\n slug: \"placekey-get-placekey\",\n name: \"Get Placekey\",\n description: \"Tool to get a Placekey for a single location using address, coordinates, or POI details. Use when you need to obtain a unique identifier for a physical place with support for address fields, coordinates, location name, and optional metadata for enhanced matching.\",\n input: PlacekeyGetPlacekeyInput,\n output: PlacekeyGetPlacekeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO;EAClB,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAoB;GAAqB;GAAoB;GAAsB;GAAW;GAAO;GAAU;GAAS;EAAM,CAAC,CAAC,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;EAC3U,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAChG,sBAAsBA,IAAAA,E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AC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAAS,kCAAkC,SAAS,CAAC,CAAC,SAAS;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,kBAAkB,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAChF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,oBAAoB,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-placekey.cjs","names":["z","action"],"sources":["../../src/actions/get-placekey.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetPlacekeyInput = z.object({\n city: z.string().describe(\"The city where the place is located\").optional(),\n region: z.string().describe(\"The second-level administrative region (e.g., state in US)\").optional(),\n options: z.object({\n fields: z.array(z.enum([\"address_placekey\", \"building_placekey\", \"confidence_score\", \"normalized_address\", \"geocode\", \"upi\", \"parcel\", \"geoid\", \"gers\"])).describe(\"Additional fields to include in the response (address_placekey, building_placekey, confidence_score, normalized_address, geocode, upi, parcel, geoid, gers)\").optional(),\n strict_name_match: z.boolean().describe(\"If true, requires exact name match for POIs\").optional(),\n strict_address_match: z.boolean().describe(\"If true, requires exact address match\").optional(),\n}).describe(\"Options to customize the response and matching behavior\").optional(),\n latitude: z.number().describe(\"The latitude of the place in WGS-84 coordinates\").optional(),\n query_id: z.string().describe(\"Custom identifier for this query. Will be echoed back in the response.\").optional(),\n longitude: z.number().describe(\"The longitude of the place in WGS-84 coordinates\").optional(),\n postal_code: z.string().describe(\"The postal code for the place\").optional(),\n location_name: z.string().describe(\"The name of the place or business (POI name) for better matching\").optional(),\n place_metadata: z.object({\n website: z.string().describe(\"Web URL for the POI website\").optional(),\n mcc_code: z.string().describe(\"Merchant category code\").optional(),\n store_id: z.string().describe(\"Unique store ID from the brand\").optional(),\n naics_code: z.string().describe(\"4-digit or 6-digit NAICS code for the business\").optional(),\n phone_number: z.string().describe(\"Phone number of the POI for better matching accuracy\").optional(),\n}).describe(\"Additional metadata about the place to improve matching accuracy\").optional(),\n street_address: z.string().describe(\"The street address of the place\").optional(),\n iso_country_code: z.string().describe(\"The ISO 2-letter country code (e.g., US, CA, GB)\").optional(),\n});\nconst PlacekeyGetPlacekey_GeocodeSchema = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable().optional(),\n});\nconst PlacekeyGetPlacekey_ConfidenceScoreSchema = z.enum([\"HIGH\", \"MEDIUM\", \"LOW\"]);\nconst PlacekeyGetPlacekey_NormalizedAddressSchema = z.object({\n city: z.string().describe(\"Normalized city name\").nullable().optional(),\n region: z.string().describe(\"Normalized region/state\").nullable().optional(),\n postal_code: z.string().describe(\"Normalized postal code\").nullable().optional(),\n country_code: z.string().describe(\"Normalized country code\").nullable().optional(),\n street_address: z.string().describe(\"Normalized street address\").nullable().optional(),\n});\nexport const PlacekeyGetPlacekeyOutput = z.object({\n upi: z.string().describe(\"Universal Parcel Identifier\").nullable().optional(),\n gers: z.string().describe(\"Overture Maps identifier\").nullable().optional(),\n error: z.string().describe(\"Error message if the query could not be processed\").nullable().optional(),\n geoid: z.string().describe(\"Geographic identifier code for census/demographic data\").nullable().optional(),\n parcel: z.string().describe(\"Unique land identifier assigned by local government\").nullable().optional(),\n geocode: PlacekeyGetPlacekey_GeocodeSchema.nullable().optional(),\n placekey: z.string().describe(\"The unique Placekey identifier for the location\").nullable().optional(),\n query_id: z.string().describe(\"The query ID echoed back, or auto-generated index if not provided\").nullable().optional(),\n address_placekey: z.string().describe(\"Placekey for the address without location name (optional field)\").nullable().optional(),\n confidence_score: PlacekeyGetPlacekey_ConfidenceScoreSchema.nullable().optional(),\n building_placekey: z.string().describe(\"Postal address placekey without suite/apartment number (optional field)\").nullable().optional(),\n normalized_address: PlacekeyGetPlacekey_NormalizedAddressSchema.nullable().optional(),\n});\n\nexport const placekeyGetPlacekey = action(\"PLACEKEY_GET_PLACEKEY\", {\n slug: \"placekey-get-placekey\",\n name: \"Get Placekey\",\n description: \"Tool to get a Placekey for a single location using address, coordinates, or POI details. Use when you need to obtain a unique identifier for a physical place with support for address fields, coordinates, location name, and optional metadata for enhanced matching.\",\n input: PlacekeyGetPlacekeyInput,\n output: PlacekeyGetPlacekeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO;EAClB,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAoB;GAAqB;GAAoB;GAAsB;GAAW;GAAO;GAAU;GAAS;EAAM,CAAC,CAAC,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;EAC3U,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAChG,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,y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C,SAAS;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,kBAAkB,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAChF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,oBAAoB,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,89 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-placekey.d.ts
4
- declare const PlacekeyGetPlacekeyInput: z.ZodTypeAny;
5
- declare const PlacekeyGetPlacekeyOutput: z.ZodTypeAny;
6
- declare const placekeyGetPlacekey: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacekeyGetPlacekeyInput: z.ZodObject<{
5
+ city: z.ZodOptional<z.ZodString>;
6
+ region: z.ZodOptional<z.ZodString>;
7
+ options: z.ZodOptional<z.ZodObject<{
8
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<{
9
+ upi: "upi";
10
+ gers: "gers";
11
+ geoid: "geoid";
12
+ parcel: "parcel";
13
+ geocode: "geocode";
14
+ address_placekey: "address_placekey";
15
+ confidence_score: "confidence_score";
16
+ building_placekey: "building_placekey";
17
+ normalized_address: "normalized_address";
18
+ }>>>;
19
+ strict_name_match: z.ZodOptional<z.ZodBoolean>;
20
+ strict_address_match: z.ZodOptional<z.ZodBoolean>;
21
+ }, z.core.$strip>>;
22
+ latitude: z.ZodOptional<z.ZodNumber>;
23
+ query_id: z.ZodOptional<z.ZodString>;
24
+ longitude: z.ZodOptional<z.ZodNumber>;
25
+ postal_code: z.ZodOptional<z.ZodString>;
26
+ location_name: z.ZodOptional<z.ZodString>;
27
+ place_metadata: z.ZodOptional<z.ZodObject<{
28
+ website: z.ZodOptional<z.ZodString>;
29
+ mcc_code: z.ZodOptional<z.ZodString>;
30
+ store_id: z.ZodOptional<z.ZodString>;
31
+ naics_code: z.ZodOptional<z.ZodString>;
32
+ phone_number: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$strip>>;
34
+ street_address: z.ZodOptional<z.ZodString>;
35
+ iso_country_code: z.ZodOptional<z.ZodString>;
36
+ }, z.core.$strip>;
37
+ declare const PlacekeyGetPlacekeyOutput: z.ZodObject<{
38
+ upi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ gers: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ geoid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ parcel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ geocode: z.ZodOptional<z.ZodNullable<z.ZodObject<{
44
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
+ }, z.core.$strip>>>;
47
+ placekey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ query_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ address_placekey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ confidence_score: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
51
+ HIGH: "HIGH";
52
+ MEDIUM: "MEDIUM";
53
+ LOW: "LOW";
54
+ }>>>;
55
+ building_placekey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ normalized_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
57
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ street_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ }, z.core.$strip>>>;
63
+ }, z.core.$strip>;
64
+ declare const placekeyGetPlacekey: import("@keystrokehq/action").WorkflowActionDefinition<{
65
+ city?: string | undefined;
66
+ region?: string | undefined;
67
+ options?: {
68
+ fields?: ("upi" | "gers" | "geoid" | "parcel" | "geocode" | "address_placekey" | "confidence_score" | "building_placekey" | "normalized_address")[] | undefined;
69
+ strict_name_match?: boolean | undefined;
70
+ strict_address_match?: boolean | undefined;
71
+ } | undefined;
72
+ latitude?: number | undefined;
73
+ query_id?: string | undefined;
74
+ longitude?: number | undefined;
75
+ postal_code?: string | undefined;
76
+ location_name?: string | undefined;
77
+ place_metadata?: {
78
+ website?: string | undefined;
79
+ mcc_code?: string | undefined;
80
+ store_id?: string | undefined;
81
+ naics_code?: string | undefined;
82
+ phone_number?: string | undefined;
83
+ } | undefined;
84
+ street_address?: string | undefined;
85
+ iso_country_code?: string | undefined;
86
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
87
  //#endregion
8
88
  export { placekeyGetPlacekey };
9
89
  //# sourceMappingURL=get-placekey.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-placekey.d.cts","names":[],"sources":["../../src/actions/get-placekey.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAsBvC;AAAA,cAaW,yBAAA,EAA2B,CAAA,CAAE,UAaxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-placekey.d.cts","names":[],"sources":["../../src/actions/get-placekey.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAezB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,89 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-placekey.d.ts
4
- declare const PlacekeyGetPlacekeyInput: z.ZodTypeAny;
5
- declare const PlacekeyGetPlacekeyOutput: z.ZodTypeAny;
6
- declare const placekeyGetPlacekey: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacekeyGetPlacekeyInput: z.ZodObject<{
5
+ city: z.ZodOptional<z.ZodString>;
6
+ region: z.ZodOptional<z.ZodString>;
7
+ options: z.ZodOptional<z.ZodObject<{
8
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<{
9
+ upi: "upi";
10
+ gers: "gers";
11
+ geoid: "geoid";
12
+ parcel: "parcel";
13
+ geocode: "geocode";
14
+ address_placekey: "address_placekey";
15
+ confidence_score: "confidence_score";
16
+ building_placekey: "building_placekey";
17
+ normalized_address: "normalized_address";
18
+ }>>>;
19
+ strict_name_match: z.ZodOptional<z.ZodBoolean>;
20
+ strict_address_match: z.ZodOptional<z.ZodBoolean>;
21
+ }, z.core.$strip>>;
22
+ latitude: z.ZodOptional<z.ZodNumber>;
23
+ query_id: z.ZodOptional<z.ZodString>;
24
+ longitude: z.ZodOptional<z.ZodNumber>;
25
+ postal_code: z.ZodOptional<z.ZodString>;
26
+ location_name: z.ZodOptional<z.ZodString>;
27
+ place_metadata: z.ZodOptional<z.ZodObject<{
28
+ website: z.ZodOptional<z.ZodString>;
29
+ mcc_code: z.ZodOptional<z.ZodString>;
30
+ store_id: z.ZodOptional<z.ZodString>;
31
+ naics_code: z.ZodOptional<z.ZodString>;
32
+ phone_number: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$strip>>;
34
+ street_address: z.ZodOptional<z.ZodString>;
35
+ iso_country_code: z.ZodOptional<z.ZodString>;
36
+ }, z.core.$strip>;
37
+ declare const PlacekeyGetPlacekeyOutput: z.ZodObject<{
38
+ upi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ gers: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ geoid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ parcel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ geocode: z.ZodOptional<z.ZodNullable<z.ZodObject<{
44
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
+ }, z.core.$strip>>>;
47
+ placekey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ query_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ address_placekey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ confidence_score: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
51
+ HIGH: "HIGH";
52
+ MEDIUM: "MEDIUM";
53
+ LOW: "LOW";
54
+ }>>>;
55
+ building_placekey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ normalized_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
57
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ street_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ }, z.core.$strip>>>;
63
+ }, z.core.$strip>;
64
+ declare const placekeyGetPlacekey: import("@keystrokehq/action").WorkflowActionDefinition<{
65
+ city?: string | undefined;
66
+ region?: string | undefined;
67
+ options?: {
68
+ fields?: ("upi" | "gers" | "geoid" | "parcel" | "geocode" | "address_placekey" | "confidence_score" | "building_placekey" | "normalized_address")[] | undefined;
69
+ strict_name_match?: boolean | undefined;
70
+ strict_address_match?: boolean | undefined;
71
+ } | undefined;
72
+ latitude?: number | undefined;
73
+ query_id?: string | undefined;
74
+ longitude?: number | undefined;
75
+ postal_code?: string | undefined;
76
+ location_name?: string | undefined;
77
+ place_metadata?: {
78
+ website?: string | undefined;
79
+ mcc_code?: string | undefined;
80
+ store_id?: string | undefined;
81
+ naics_code?: string | undefined;
82
+ phone_number?: string | undefined;
83
+ } | undefined;
84
+ street_address?: string | undefined;
85
+ iso_country_code?: string | undefined;
86
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
87
  //#endregion
8
88
  export { placekeyGetPlacekey };
9
89
  //# sourceMappingURL=get-placekey.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-placekey.d.mts","names":[],"sources":["../../src/actions/get-placekey.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAsBvC;AAAA,cAaW,yBAAA,EAA2B,CAAA,CAAE,UAaxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-placekey.d.mts","names":[],"sources":["../../src/actions/get-placekey.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAezB,mBAAA,gCAAmB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-placekey.mjs","names":[],"sources":["../../src/actions/get-placekey.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetPlacekeyInput: z.ZodTypeAny = z.object({\n city: z.string().describe(\"The city where the place is located\").optional(),\n region: z.string().describe(\"The second-level administrative region (e.g., state in US)\").optional(),\n options: z.object({\n fields: z.array(z.enum([\"address_placekey\", \"building_placekey\", \"confidence_score\", \"normalized_address\", \"geocode\", \"upi\", \"parcel\", \"geoid\", \"gers\"])).describe(\"Additional fields to include in the response (address_placekey, building_placekey, confidence_score, normalized_address, geocode, upi, parcel, geoid, gers)\").optional(),\n strict_name_match: z.boolean().describe(\"If true, requires exact name match for POIs\").optional(),\n strict_address_match: z.boolean().describe(\"If true, requires exact address match\").optional(),\n}).describe(\"Options to customize the response and matching behavior\").optional(),\n latitude: z.number().describe(\"The latitude of the place in WGS-84 coordinates\").optional(),\n query_id: z.string().describe(\"Custom identifier for this query. Will be echoed back in the response.\").optional(),\n longitude: z.number().describe(\"The longitude of the place in WGS-84 coordinates\").optional(),\n postal_code: z.string().describe(\"The postal code for the place\").optional(),\n location_name: z.string().describe(\"The name of the place or business (POI name) for better matching\").optional(),\n place_metadata: z.object({\n website: z.string().describe(\"Web URL for the POI website\").optional(),\n mcc_code: z.string().describe(\"Merchant category code\").optional(),\n store_id: z.string().describe(\"Unique store ID from the brand\").optional(),\n naics_code: z.string().describe(\"4-digit or 6-digit NAICS code for the business\").optional(),\n phone_number: z.string().describe(\"Phone number of the POI for better matching accuracy\").optional(),\n}).describe(\"Additional metadata about the place to improve matching accuracy\").optional(),\n street_address: z.string().describe(\"The street address of the place\").optional(),\n iso_country_code: z.string().describe(\"The ISO 2-letter country code (e.g., US, CA, GB)\").optional(),\n});\nconst PlacekeyGetPlacekey_GeocodeSchema: z.ZodTypeAny = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable().optional(),\n});\nconst PlacekeyGetPlacekey_ConfidenceScoreSchema: z.ZodTypeAny = z.enum([\"HIGH\", \"MEDIUM\", \"LOW\"]);\nconst PlacekeyGetPlacekey_NormalizedAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"Normalized city name\").nullable().optional(),\n region: z.string().describe(\"Normalized region/state\").nullable().optional(),\n postal_code: z.string().describe(\"Normalized postal code\").nullable().optional(),\n country_code: z.string().describe(\"Normalized country code\").nullable().optional(),\n street_address: z.string().describe(\"Normalized street address\").nullable().optional(),\n});\nexport const PlacekeyGetPlacekeyOutput: z.ZodTypeAny = z.object({\n upi: z.string().describe(\"Universal Parcel Identifier\").nullable().optional(),\n gers: z.string().describe(\"Overture Maps identifier\").nullable().optional(),\n error: z.string().describe(\"Error message if the query could not be processed\").nullable().optional(),\n geoid: z.string().describe(\"Geographic identifier code for census/demographic data\").nullable().optional(),\n parcel: z.string().describe(\"Unique land identifier assigned by local government\").nullable().optional(),\n geocode: PlacekeyGetPlacekey_GeocodeSchema.nullable().optional(),\n placekey: z.string().describe(\"The unique Placekey identifier for the location\").nullable().optional(),\n query_id: z.string().describe(\"The query ID echoed back, or auto-generated index if not provided\").nullable().optional(),\n address_placekey: z.string().describe(\"Placekey for the address without location name (optional field)\").nullable().optional(),\n confidence_score: PlacekeyGetPlacekey_ConfidenceScoreSchema.nullable().optional(),\n building_placekey: z.string().describe(\"Postal address placekey without suite/apartment number (optional field)\").nullable().optional(),\n normalized_address: PlacekeyGetPlacekey_NormalizedAddressSchema.nullable().optional(),\n});\n\nexport const placekeyGetPlacekey = action(\"PLACEKEY_GET_PLACEKEY\", {\n slug: \"placekey-get-placekey\",\n name: \"Get Placekey\",\n description: \"Tool to get a Placekey for a single location using address, coordinates, or POI details. Use when you need to obtain a unique identifier for a physical place with support for address fields, coordinates, location name, and optional metadata for enhanced matching.\",\n input: PlacekeyGetPlacekeyInput,\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,SAAS,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,kCAAkC,SAAS,CAAC,CAAC,SAAS;EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,kBAAkB,0CAA0C,SAAS,CAAC,CAAC,SAAS;EAChF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,oBAAoB,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACtF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-placekey.mjs","names":[],"sources":["../../src/actions/get-placekey.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetPlacekeyInput = z.object({\n city: z.string().describe(\"The city where the place is located\").optional(),\n region: z.string().describe(\"The second-level administrative region (e.g., state in US)\").optional(),\n options: z.object({\n fields: z.array(z.enum([\"address_placekey\", \"building_placekey\", \"confidence_score\", \"normalized_address\", \"geocode\", \"upi\", \"parcel\", \"geoid\", \"gers\"])).describe(\"Additional fields to include in the response (address_placekey, building_placekey, confidence_score, normalized_address, geocode, upi, parcel, geoid, gers)\").optional(),\n strict_name_match: z.boolean().describe(\"If true, requires exact name match for POIs\").optional(),\n strict_address_match: z.boolean().describe(\"If true, requires exact address match\").optional(),\n}).describe(\"Options to customize the response and matching behavior\").optional(),\n latitude: z.number().describe(\"The latitude of the place in WGS-84 coordinates\").optional(),\n query_id: z.string().describe(\"Custom identifier for this query. Will be echoed back in the response.\").optional(),\n longitude: z.number().describe(\"The longitude of the place in WGS-84 coordinates\").optional(),\n postal_code: z.string().describe(\"The postal code for the place\").optional(),\n location_name: z.string().describe(\"The name of the place or business (POI name) for better matching\").optional(),\n place_metadata: z.object({\n website: z.string().describe(\"Web URL for the POI website\").optional(),\n mcc_code: z.string().describe(\"Merchant category code\").optional(),\n store_id: z.string().describe(\"Unique store ID from the brand\").optional(),\n naics_code: z.string().describe(\"4-digit or 6-digit NAICS code for the business\").optional(),\n phone_number: z.string().describe(\"Phone number of the POI for better matching accuracy\").optional(),\n}).describe(\"Additional metadata about the place to improve matching accuracy\").optional(),\n street_address: z.string().describe(\"The street address of the place\").optional(),\n iso_country_code: z.string().describe(\"The ISO 2-letter country code (e.g., US, CA, GB)\").optional(),\n});\nconst PlacekeyGetPlacekey_GeocodeSchema = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable().optional(),\n});\nconst PlacekeyGetPlacekey_ConfidenceScoreSchema = z.enum([\"HIGH\", \"MEDIUM\", \"LOW\"]);\nconst PlacekeyGetPlacekey_NormalizedAddressSchema = z.object({\n city: z.string().describe(\"Normalized city name\").nullable().optional(),\n region: z.string().describe(\"Normalized region/state\").nullable().optional(),\n postal_code: z.string().describe(\"Normalized postal code\").nullable().optional(),\n country_code: z.string().describe(\"Normalized country code\").nullable().optional(),\n street_address: z.string().describe(\"Normalized street address\").nullable().optional(),\n});\nexport const PlacekeyGetPlacekeyOutput = z.object({\n upi: z.string().describe(\"Universal Parcel Identifier\").nullable().optional(),\n gers: z.string().describe(\"Overture Maps identifier\").nullable().optional(),\n error: z.string().describe(\"Error message if the query could not be processed\").nullable().optional(),\n geoid: z.string().describe(\"Geographic identifier code for census/demographic data\").nullable().optional(),\n parcel: z.string().describe(\"Unique land identifier assigned by local government\").nullable().optional(),\n geocode: PlacekeyGetPlacekey_GeocodeSchema.nullable().optional(),\n placekey: z.string().describe(\"The unique Placekey identifier for the location\").nullable().optional(),\n query_id: z.string().describe(\"The query ID echoed back, or auto-generated index if not provided\").nullable().optional(),\n address_placekey: z.string().describe(\"Placekey for the address without location name (optional field)\").nullable().optional(),\n confidence_score: PlacekeyGetPlacekey_ConfidenceScoreSchema.nullable().optional(),\n building_placekey: z.string().describe(\"Postal address placekey without suite/apartment number (optional field)\").nullable().optional(),\n normalized_address: PlacekeyGetPlacekey_NormalizedAddressSchema.nullable().optional(),\n});\n\nexport const placekeyGetPlacekey = action(\"PLACEKEY_GET_PLACEKEY\", {\n slug: \"placekey-get-placekey\",\n name: \"Get Placekey\",\n description: \"Tool to get a Placekey for a single location using address, coordinates, or POI details. Use when you need to obtain a unique identifier for a physical place with support for address fields, coordinates, location name, and optional metadata for enhanced matching.\",\n input: PlacekeyGetPlacekeyInput,\n output: PlacekeyGetPlacekeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,OAAO;EAClB,QAAQ,EAAE,MAAM,EAAE,KAAK;GAAC;GAAoB;GAAqB;GAAoB;GAAsB;GAAW;GAAO;GAAU;GAAS;EAAM,CAAC,CAAC,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;EAC3U,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CA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AAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,kBAAkB,0CAA0C,SAAS,CAAC,CAAC,SAAS;EAChF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,oBAAoB,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACtF,CAOU;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-placekeys-bulk.cjs","names":["z","action"],"sources":["../../src/actions/get-placekeys-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetPlacekeysBulkInput: z.ZodTypeAny = z.object({\n options: z.object({\n strict_name_match: z.boolean().describe(\"If true, requires exact name match for POIs. Use when precise business/POI name matching is critical.\").optional(),\n strict_address_match: z.boolean().describe(\"If true, requires exact address match. Use when precise matching is critical.\").optional(),\n}).describe(\"Options to customize the Placekey response\").optional(),\n queries: z.array(z.object({\n city: z.string().describe(\"The city where the place is located\").optional(),\n region: z.string().describe(\"The second-level administrative region (e.g., state in US)\").optional(),\n latitude: z.number().describe(\"The latitude of the place in WGS-84 coordinates\").optional(),\n query_id: z.string().describe(\"Custom ID that will be echoed back in response for tracking purposes\").optional(),\n longitude: z.number().describe(\"The longitude of the place in WGS-84 coordinates\").optional(),\n postal_code: z.string().describe(\"The postal code for the place\").optional(),\n location_name: z.string().describe(\"The name of the place (POI) for business or landmark lookups\").optional(),\n street_address: z.string().describe(\"The street address of the place\").optional(),\n iso_country_code: z.string().describe(\"The ISO 2-letter Country Code. All queries in a batch must have the same iso_country_code.\").optional(),\n}).describe(\"A single location query for bulk Placekey lookup\")).describe(\"Array of location queries. Maximum 100 queries per request. All queries must have the same iso_country_code.\"),\n}).describe(\"Request model for bulk Placekey lookup\");\nconst PlacekeyGetPlacekeysBulk_GeocodeSchema: z.ZodTypeAny = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable().optional(),\n}).describe(\"Geographic coordinates for the location\");\nconst PlacekeyGetPlacekeysBulk_ConfidenceScoreSchema: z.ZodTypeAny = z.enum([\"HIGH\", \"MEDIUM\", \"LOW\"]).describe(\"Confidence level of the Placekey match\");\nconst PlacekeyGetPlacekeysBulk_NormalizedAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"Normalized city name\").nullable().optional(),\n region: z.string().describe(\"Normalized region/state\").nullable().optional(),\n postal_code: z.string().describe(\"Normalized postal code\").nullable().optional(),\n country_code: z.string().describe(\"Normalized country code\").nullable().optional(),\n street_address: z.string().describe(\"Normalized street address\").nullable().optional(),\n}).describe(\"Structured and parsed representation of the address\");\nconst PlacekeyGetPlacekeysBulk_PlacekeyResultSchema: z.ZodTypeAny = z.object({\n upi: z.string().describe(\"Universal Parcel Identifier\").nullable().optional(),\n gers: z.string().describe(\"Overture Maps identifier\").nullable().optional(),\n error: z.string().describe(\"Error message if the query could not be processed\").nullable().optional(),\n geoid: z.string().describe(\"Geographic identifier code for census/demographic data\").nullable().optional(),\n parcel: z.string().describe(\"Unique land identifier assigned by local government\").nullable().optional(),\n geocode: PlacekeyGetPlacekeysBulk_GeocodeSchema.nullable().optional(),\n placekey: z.string().describe(\"The unique Placekey identifier for the location\").nullable().optional(),\n query_id: z.string().describe(\"The query ID echoed back, or auto-generated index if not provided\").nullable().optional(),\n address_placekey: z.string().describe(\"Placekey for the address without location name (optional field)\").nullable().optional(),\n confidence_score: PlacekeyGetPlacekeysBulk_ConfidenceScoreSchema.nullable().optional(),\n building_placekey: z.string().describe(\"Postal address placekey without suite/apartment number (optional field)\").nullable().optional(),\n normalized_address: PlacekeyGetPlacekeysBulk_NormalizedAddressSchema.nullable().optional(),\n}).describe(\"Result for a single Placekey query\");\nexport const PlacekeyGetPlacekeysBulkOutput: z.ZodTypeAny = z.object({\n results: z.array(PlacekeyGetPlacekeysBulk_PlacekeyResultSchema).describe(\"Array of Placekey results, one for each query in the request\"),\n}).describe(\"Response model containing Placekey results for all queries\");\n\nexport const placekeyGetPlacekeysBulk = action(\"PLACEKEY_GET_PLACEKEYS_BULK\", {\n slug: \"placekey-get-placekeys-bulk\",\n name: \"Get Placekeys Bulk\",\n description: \"Get Placekeys for multiple locations in bulk (up to 100 queries per request). All queries must have the same iso_country_code. Supports address, coordinates, and POI queries with optional query_id for tracking. Returns an array of Placekey results for each query.\",\n input: PlacekeyGetPlacekeysBulkInput,\n output: PlacekeyGetPlacekeysBulkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO;EAClB,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EAC1J,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAA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AAChD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,SAASA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,8DAA8D,EACzI,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-placekeys-bulk.cjs","names":["z","action"],"sources":["../../src/actions/get-placekeys-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetPlacekeysBulkInput = z.object({\n options: z.object({\n strict_name_match: z.boolean().describe(\"If true, requires exact name match for POIs. Use when precise business/POI name matching is critical.\").optional(),\n strict_address_match: z.boolean().describe(\"If true, requires exact address match. Use when precise matching is critical.\").optional(),\n}).describe(\"Options to customize the Placekey response\").optional(),\n queries: z.array(z.object({\n city: z.string().describe(\"The city where the place is located\").optional(),\n region: z.string().describe(\"The second-level administrative region (e.g., state in US)\").optional(),\n latitude: z.number().describe(\"The latitude of the place in WGS-84 coordinates\").optional(),\n query_id: z.string().describe(\"Custom ID that will be echoed back in response for tracking purposes\").optional(),\n longitude: z.number().describe(\"The longitude of the place in WGS-84 coordinates\").optional(),\n postal_code: z.string().describe(\"The postal code for the place\").optional(),\n location_name: z.string().describe(\"The name of the place (POI) for business or landmark lookups\").optional(),\n street_address: z.string().describe(\"The street address of the place\").optional(),\n iso_country_code: z.string().describe(\"The ISO 2-letter Country Code. All queries in a batch must have the same iso_country_code.\").optional(),\n}).describe(\"A single location query for bulk Placekey lookup\")).describe(\"Array of location queries. Maximum 100 queries per request. All queries must have the same iso_country_code.\"),\n}).describe(\"Request model for bulk Placekey lookup\");\nconst PlacekeyGetPlacekeysBulk_GeocodeSchema = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable().optional(),\n}).describe(\"Geographic coordinates for the location\");\nconst PlacekeyGetPlacekeysBulk_ConfidenceScoreSchema = z.enum([\"HIGH\", \"MEDIUM\", \"LOW\"]).describe(\"Confidence level of the Placekey match\");\nconst PlacekeyGetPlacekeysBulk_NormalizedAddressSchema = z.object({\n city: z.string().describe(\"Normalized city name\").nullable().optional(),\n region: z.string().describe(\"Normalized region/state\").nullable().optional(),\n postal_code: z.string().describe(\"Normalized postal code\").nullable().optional(),\n country_code: z.string().describe(\"Normalized country code\").nullable().optional(),\n street_address: z.string().describe(\"Normalized street address\").nullable().optional(),\n}).describe(\"Structured and parsed representation of the address\");\nconst PlacekeyGetPlacekeysBulk_PlacekeyResultSchema = z.object({\n upi: z.string().describe(\"Universal Parcel Identifier\").nullable().optional(),\n gers: z.string().describe(\"Overture Maps identifier\").nullable().optional(),\n error: z.string().describe(\"Error message if the query could not be processed\").nullable().optional(),\n geoid: z.string().describe(\"Geographic identifier code for census/demographic data\").nullable().optional(),\n parcel: z.string().describe(\"Unique land identifier assigned by local government\").nullable().optional(),\n geocode: PlacekeyGetPlacekeysBulk_GeocodeSchema.nullable().optional(),\n placekey: z.string().describe(\"The unique Placekey identifier for the location\").nullable().optional(),\n query_id: z.string().describe(\"The query ID echoed back, or auto-generated index if not provided\").nullable().optional(),\n address_placekey: z.string().describe(\"Placekey for the address without location name (optional field)\").nullable().optional(),\n confidence_score: PlacekeyGetPlacekeysBulk_ConfidenceScoreSchema.nullable().optional(),\n building_placekey: z.string().describe(\"Postal address placekey without suite/apartment number (optional field)\").nullable().optional(),\n normalized_address: PlacekeyGetPlacekeysBulk_NormalizedAddressSchema.nullable().optional(),\n}).describe(\"Result for a single Placekey query\");\nexport const PlacekeyGetPlacekeysBulkOutput = z.object({\n results: z.array(PlacekeyGetPlacekeysBulk_PlacekeyResultSchema).describe(\"Array of Placekey results, one for each query in the request\"),\n}).describe(\"Response model containing Placekey results for all queries\");\n\nexport const placekeyGetPlacekeysBulk = action(\"PLACEKEY_GET_PLACEKEYS_BULK\", {\n slug: \"placekey-get-placekeys-bulk\",\n name: \"Get Placekeys Bulk\",\n description: \"Get Placekeys for multiple locations in bulk (up to 100 queries per request). All queries must have the same iso_country_code. Supports address, coordinates, and POI queries with optional query_id for tracking. Returns an array of Placekey results for each query.\",\n input: PlacekeyGetPlacekeysBulkInput,\n output: PlacekeyGetPlacekeysBulkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO;EAClB,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EAC1J,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC3E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC5G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAChF,kB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 +1,69 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-placekeys-bulk.d.ts
4
- declare const PlacekeyGetPlacekeysBulkInput: z.ZodTypeAny;
5
- declare const PlacekeyGetPlacekeysBulkOutput: z.ZodTypeAny;
6
- declare const placekeyGetPlacekeysBulk: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacekeyGetPlacekeysBulkInput: z.ZodObject<{
5
+ options: z.ZodOptional<z.ZodObject<{
6
+ strict_name_match: z.ZodOptional<z.ZodBoolean>;
7
+ strict_address_match: z.ZodOptional<z.ZodBoolean>;
8
+ }, z.core.$strip>>;
9
+ queries: z.ZodArray<z.ZodObject<{
10
+ city: z.ZodOptional<z.ZodString>;
11
+ region: z.ZodOptional<z.ZodString>;
12
+ latitude: z.ZodOptional<z.ZodNumber>;
13
+ query_id: z.ZodOptional<z.ZodString>;
14
+ longitude: z.ZodOptional<z.ZodNumber>;
15
+ postal_code: z.ZodOptional<z.ZodString>;
16
+ location_name: z.ZodOptional<z.ZodString>;
17
+ street_address: z.ZodOptional<z.ZodString>;
18
+ iso_country_code: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>;
21
+ declare const PlacekeyGetPlacekeysBulkOutput: z.ZodObject<{
22
+ results: z.ZodArray<z.ZodObject<{
23
+ upi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ gers: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ geoid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ parcel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ geocode: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ }, z.core.$strip>>>;
32
+ placekey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ query_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ address_placekey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ confidence_score: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
36
+ HIGH: "HIGH";
37
+ MEDIUM: "MEDIUM";
38
+ LOW: "LOW";
39
+ }>>>;
40
+ building_placekey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ normalized_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ street_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ }, z.core.$strip>>>;
48
+ }, z.core.$strip>>;
49
+ }, z.core.$strip>;
50
+ declare const placekeyGetPlacekeysBulk: import("@keystrokehq/action").WorkflowActionDefinition<{
51
+ queries: {
52
+ city?: string | undefined;
53
+ region?: string | undefined;
54
+ latitude?: number | undefined;
55
+ query_id?: string | undefined;
56
+ longitude?: number | undefined;
57
+ postal_code?: string | undefined;
58
+ location_name?: string | undefined;
59
+ street_address?: string | undefined;
60
+ iso_country_code?: string | undefined;
61
+ }[];
62
+ options?: {
63
+ strict_name_match?: boolean | undefined;
64
+ strict_address_match?: boolean | undefined;
65
+ } | undefined;
66
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
67
  //#endregion
8
68
  export { placekeyGetPlacekeysBulk };
9
69
  //# sourceMappingURL=get-placekeys-bulk.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-placekeys-bulk.d.cts","names":[],"sources":["../../src/actions/get-placekeys-bulk.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAgBO;AAAA,cA2BxC,8BAAA,EAAgC,CAAA,CAAE,UAE0B;AAAA,cAE5D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-placekeys-bulk.d.cts","names":[],"sources":["../../src/actions/get-placekeys-bulk.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cA2C7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,69 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-placekeys-bulk.d.ts
4
- declare const PlacekeyGetPlacekeysBulkInput: z.ZodTypeAny;
5
- declare const PlacekeyGetPlacekeysBulkOutput: z.ZodTypeAny;
6
- declare const placekeyGetPlacekeysBulk: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacekeyGetPlacekeysBulkInput: z.ZodObject<{
5
+ options: z.ZodOptional<z.ZodObject<{
6
+ strict_name_match: z.ZodOptional<z.ZodBoolean>;
7
+ strict_address_match: z.ZodOptional<z.ZodBoolean>;
8
+ }, z.core.$strip>>;
9
+ queries: z.ZodArray<z.ZodObject<{
10
+ city: z.ZodOptional<z.ZodString>;
11
+ region: z.ZodOptional<z.ZodString>;
12
+ latitude: z.ZodOptional<z.ZodNumber>;
13
+ query_id: z.ZodOptional<z.ZodString>;
14
+ longitude: z.ZodOptional<z.ZodNumber>;
15
+ postal_code: z.ZodOptional<z.ZodString>;
16
+ location_name: z.ZodOptional<z.ZodString>;
17
+ street_address: z.ZodOptional<z.ZodString>;
18
+ iso_country_code: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>;
21
+ declare const PlacekeyGetPlacekeysBulkOutput: z.ZodObject<{
22
+ results: z.ZodArray<z.ZodObject<{
23
+ upi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ gers: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ geoid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ parcel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ geocode: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ }, z.core.$strip>>>;
32
+ placekey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ query_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ address_placekey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ confidence_score: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
36
+ HIGH: "HIGH";
37
+ MEDIUM: "MEDIUM";
38
+ LOW: "LOW";
39
+ }>>>;
40
+ building_placekey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ normalized_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ street_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ }, z.core.$strip>>>;
48
+ }, z.core.$strip>>;
49
+ }, z.core.$strip>;
50
+ declare const placekeyGetPlacekeysBulk: import("@keystrokehq/action").WorkflowActionDefinition<{
51
+ queries: {
52
+ city?: string | undefined;
53
+ region?: string | undefined;
54
+ latitude?: number | undefined;
55
+ query_id?: string | undefined;
56
+ longitude?: number | undefined;
57
+ postal_code?: string | undefined;
58
+ location_name?: string | undefined;
59
+ street_address?: string | undefined;
60
+ iso_country_code?: string | undefined;
61
+ }[];
62
+ options?: {
63
+ strict_name_match?: boolean | undefined;
64
+ strict_address_match?: boolean | undefined;
65
+ } | undefined;
66
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
67
  //#endregion
8
68
  export { placekeyGetPlacekeysBulk };
9
69
  //# sourceMappingURL=get-placekeys-bulk.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-placekeys-bulk.d.mts","names":[],"sources":["../../src/actions/get-placekeys-bulk.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAgBO;AAAA,cA2BxC,8BAAA,EAAgC,CAAA,CAAE,UAE0B;AAAA,cAE5D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-placekeys-bulk.d.mts","names":[],"sources":["../../src/actions/get-placekeys-bulk.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cA2C7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-placekeys-bulk.mjs","names":[],"sources":["../../src/actions/get-placekeys-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetPlacekeysBulkInput: z.ZodTypeAny = z.object({\n options: z.object({\n strict_name_match: z.boolean().describe(\"If true, requires exact name match for POIs. Use when precise business/POI name matching is critical.\").optional(),\n strict_address_match: z.boolean().describe(\"If true, requires exact address match. Use when precise matching is critical.\").optional(),\n}).describe(\"Options to customize the Placekey response\").optional(),\n queries: z.array(z.object({\n city: z.string().describe(\"The city where the place is located\").optional(),\n region: z.string().describe(\"The second-level administrative region (e.g., state in US)\").optional(),\n latitude: z.number().describe(\"The latitude of the place in WGS-84 coordinates\").optional(),\n query_id: z.string().describe(\"Custom ID that will be echoed back in response for tracking purposes\").optional(),\n longitude: z.number().describe(\"The longitude of the place in WGS-84 coordinates\").optional(),\n postal_code: z.string().describe(\"The postal code for the place\").optional(),\n location_name: z.string().describe(\"The name of the place (POI) for business or landmark lookups\").optional(),\n street_address: z.string().describe(\"The street address of the place\").optional(),\n iso_country_code: z.string().describe(\"The ISO 2-letter Country Code. All queries in a batch must have the same iso_country_code.\").optional(),\n}).describe(\"A single location query for bulk Placekey lookup\")).describe(\"Array of location queries. Maximum 100 queries per request. All queries must have the same iso_country_code.\"),\n}).describe(\"Request model for bulk Placekey lookup\");\nconst PlacekeyGetPlacekeysBulk_GeocodeSchema: z.ZodTypeAny = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable().optional(),\n}).describe(\"Geographic coordinates for the location\");\nconst PlacekeyGetPlacekeysBulk_ConfidenceScoreSchema: z.ZodTypeAny = z.enum([\"HIGH\", \"MEDIUM\", \"LOW\"]).describe(\"Confidence level of the Placekey match\");\nconst PlacekeyGetPlacekeysBulk_NormalizedAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"Normalized city name\").nullable().optional(),\n region: z.string().describe(\"Normalized region/state\").nullable().optional(),\n postal_code: z.string().describe(\"Normalized postal code\").nullable().optional(),\n country_code: z.string().describe(\"Normalized country code\").nullable().optional(),\n street_address: z.string().describe(\"Normalized street address\").nullable().optional(),\n}).describe(\"Structured and parsed representation of the address\");\nconst PlacekeyGetPlacekeysBulk_PlacekeyResultSchema: z.ZodTypeAny = z.object({\n upi: z.string().describe(\"Universal Parcel Identifier\").nullable().optional(),\n gers: z.string().describe(\"Overture Maps identifier\").nullable().optional(),\n error: z.string().describe(\"Error message if the query could not be processed\").nullable().optional(),\n geoid: z.string().describe(\"Geographic identifier code for census/demographic data\").nullable().optional(),\n parcel: z.string().describe(\"Unique land identifier assigned by local government\").nullable().optional(),\n geocode: PlacekeyGetPlacekeysBulk_GeocodeSchema.nullable().optional(),\n placekey: z.string().describe(\"The unique Placekey identifier for the location\").nullable().optional(),\n query_id: z.string().describe(\"The query ID echoed back, or auto-generated index if not provided\").nullable().optional(),\n address_placekey: z.string().describe(\"Placekey for the address without location name (optional field)\").nullable().optional(),\n confidence_score: PlacekeyGetPlacekeysBulk_ConfidenceScoreSchema.nullable().optional(),\n building_placekey: z.string().describe(\"Postal address placekey without suite/apartment number (optional field)\").nullable().optional(),\n normalized_address: PlacekeyGetPlacekeysBulk_NormalizedAddressSchema.nullable().optional(),\n}).describe(\"Result for a single Placekey query\");\nexport const PlacekeyGetPlacekeysBulkOutput: z.ZodTypeAny = z.object({\n results: z.array(PlacekeyGetPlacekeysBulk_PlacekeyResultSchema).describe(\"Array of Placekey results, one for each query in the request\"),\n}).describe(\"Response model containing Placekey results for all queries\");\n\nexport const placekeyGetPlacekeysBulk = action(\"PLACEKEY_GET_PLACEKEYS_BULK\", {\n slug: \"placekey-get-placekeys-bulk\",\n name: \"Get Placekeys Bulk\",\n description: \"Get Placekeys for multiple locations in bulk (up to 100 queries per request). All queries must have the same iso_country_code. Supports address, coordinates, and POI queries with optional query_id for tracking. Returns an array of Placekey results for each query.\",\n input: PlacekeyGetPlacekeysBulkInput,\n output: PlacekeyGetPlacekeysBulkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,SAAS,EAAE,OAAO;EAClB,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EAC1J,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,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C,CAAC,SAAS;CACrF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,oBAAoB,iDAAiD,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAKhD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,SAAS,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,8DAA8D,EACzI,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-placekeys-bulk.mjs","names":[],"sources":["../../src/actions/get-placekeys-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacekeyGetPlacekeysBulkInput = z.object({\n options: z.object({\n strict_name_match: z.boolean().describe(\"If true, requires exact name match for POIs. Use when precise business/POI name matching is critical.\").optional(),\n strict_address_match: z.boolean().describe(\"If true, requires exact address match. Use when precise matching is critical.\").optional(),\n}).describe(\"Options to customize the Placekey response\").optional(),\n queries: z.array(z.object({\n city: z.string().describe(\"The city where the place is located\").optional(),\n region: z.string().describe(\"The second-level administrative region (e.g., state in US)\").optional(),\n latitude: z.number().describe(\"The latitude of the place in WGS-84 coordinates\").optional(),\n query_id: z.string().describe(\"Custom ID that will be echoed back in response for tracking purposes\").optional(),\n longitude: z.number().describe(\"The longitude of the place in WGS-84 coordinates\").optional(),\n postal_code: z.string().describe(\"The postal code for the place\").optional(),\n location_name: z.string().describe(\"The name of the place (POI) for business or landmark lookups\").optional(),\n street_address: z.string().describe(\"The street address of the place\").optional(),\n iso_country_code: z.string().describe(\"The ISO 2-letter Country Code. All queries in a batch must have the same iso_country_code.\").optional(),\n}).describe(\"A single location query for bulk Placekey lookup\")).describe(\"Array of location queries. Maximum 100 queries per request. All queries must have the same iso_country_code.\"),\n}).describe(\"Request model for bulk Placekey lookup\");\nconst PlacekeyGetPlacekeysBulk_GeocodeSchema = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable().optional(),\n}).describe(\"Geographic coordinates for the location\");\nconst PlacekeyGetPlacekeysBulk_ConfidenceScoreSchema = z.enum([\"HIGH\", \"MEDIUM\", \"LOW\"]).describe(\"Confidence level of the Placekey match\");\nconst PlacekeyGetPlacekeysBulk_NormalizedAddressSchema = z.object({\n city: z.string().describe(\"Normalized city name\").nullable().optional(),\n region: z.string().describe(\"Normalized region/state\").nullable().optional(),\n postal_code: z.string().describe(\"Normalized postal code\").nullable().optional(),\n country_code: z.string().describe(\"Normalized country code\").nullable().optional(),\n street_address: z.string().describe(\"Normalized street address\").nullable().optional(),\n}).describe(\"Structured and parsed representation of the address\");\nconst PlacekeyGetPlacekeysBulk_PlacekeyResultSchema = z.object({\n upi: z.string().describe(\"Universal Parcel Identifier\").nullable().optional(),\n gers: z.string().describe(\"Overture Maps identifier\").nullable().optional(),\n error: z.string().describe(\"Error message if the query could not be processed\").nullable().optional(),\n geoid: z.string().describe(\"Geographic identifier code for census/demographic data\").nullable().optional(),\n parcel: z.string().describe(\"Unique land identifier assigned by local government\").nullable().optional(),\n geocode: PlacekeyGetPlacekeysBulk_GeocodeSchema.nullable().optional(),\n placekey: z.string().describe(\"The unique Placekey identifier for the location\").nullable().optional(),\n query_id: z.string().describe(\"The query ID echoed back, or auto-generated index if not provided\").nullable().optional(),\n address_placekey: z.string().describe(\"Placekey for the address without location name (optional field)\").nullable().optional(),\n confidence_score: PlacekeyGetPlacekeysBulk_ConfidenceScoreSchema.nullable().optional(),\n building_placekey: z.string().describe(\"Postal address placekey without suite/apartment number (optional field)\").nullable().optional(),\n normalized_address: PlacekeyGetPlacekeysBulk_NormalizedAddressSchema.nullable().optional(),\n}).describe(\"Result for a single Placekey query\");\nexport const PlacekeyGetPlacekeysBulkOutput = z.object({\n results: z.array(PlacekeyGetPlacekeysBulk_PlacekeyResultSchema).describe(\"Array of Placekey results, one for each query in the request\"),\n}).describe(\"Response model containing Placekey results for all queries\");\n\nexport const placekeyGetPlacekeysBulk = action(\"PLACEKEY_GET_PLACEKEYS_BULK\", {\n slug: \"placekey-get-placekeys-bulk\",\n name: \"Get Placekeys Bulk\",\n description: \"Get Placekeys for multiple locations in bulk (up to 100 queries per request). All queries must have the same iso_country_code. Supports address, coordinates, and POI queries with optional query_id for tracking. Returns an array of Placekey results for each query.\",\n input: PlacekeyGetPlacekeysBulkInput,\n output: PlacekeyGetPlacekeysBulkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,SAAS,EAAE,OAAO;EAClB,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EAC1J,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC5G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,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AAS,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAAS,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,kBAAkB,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACrF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,oBAAoB,iDAAiD,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAKhD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,8DAA8D,EACzI,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const placekeyCatalog = {
7
7
  "category": "Analytics",
8
8
  "logo": "https://logos.composio.dev/api/placekey",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Your Placekey API key"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.placekeyCatalog = placekeyCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const placekeyCatalog = {\n \"slug\": \"placekey\",\n \"name\": \"Placekey\",\n \"description\": \"Placekey standardizes location data by assigning unique IDs to physical addresses, simplifying address matching and enabling data sharing across platforms\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/placekey\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const placekeyCatalog = {\n \"slug\": \"placekey\",\n \"name\": \"Placekey\",\n \"description\": \"Placekey standardizes location data by assigning unique IDs to physical addresses, simplifying address matching and enabling data sharing across platforms\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/placekey\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Placekey API key\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const placekeyCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/placekey";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your Placekey API key";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { placekeyCatalog };
@@ -8,6 +8,14 @@ declare const placekeyCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/placekey";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your Placekey API key";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { placekeyCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const placekeyCatalog = {
7
7
  "category": "Analytics",
8
8
  "logo": "https://logos.composio.dev/api/placekey",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Your Placekey API key"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { placekeyCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const placekeyCatalog = {\n \"slug\": \"placekey\",\n \"name\": \"Placekey\",\n \"description\": \"Placekey standardizes location data by assigning unique IDs to physical addresses, simplifying address matching and enabling data sharing across platforms\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/placekey\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const placekeyCatalog = {\n \"slug\": \"placekey\",\n \"name\": \"Placekey\",\n \"description\": \"Placekey standardizes location data by assigning unique IDs to physical addresses, simplifying address matching and enabling data sharing across platforms\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/placekey\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Placekey API key\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/placekey",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {