@keystrokehq/postgrid_verify 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/autocomplete-address.cjs +38 -0
- package/dist/actions/autocomplete-address.cjs.map +1 -0
- package/dist/actions/autocomplete-address.d.cts +9 -0
- package/dist/actions/autocomplete-address.d.cts.map +1 -0
- package/dist/actions/autocomplete-address.d.mts +9 -0
- package/dist/actions/autocomplete-address.d.mts.map +1 -0
- package/dist/actions/autocomplete-address.mjs +37 -0
- package/dist/actions/autocomplete-address.mjs.map +1 -0
- package/dist/actions/autocomplete-intl-address.cjs +30 -0
- package/dist/actions/autocomplete-intl-address.cjs.map +1 -0
- package/dist/actions/autocomplete-intl-address.d.cts +9 -0
- package/dist/actions/autocomplete-intl-address.d.cts.map +1 -0
- package/dist/actions/autocomplete-intl-address.d.mts +9 -0
- package/dist/actions/autocomplete-intl-address.d.mts.map +1 -0
- package/dist/actions/autocomplete-intl-address.mjs +29 -0
- package/dist/actions/autocomplete-intl-address.mjs.map +1 -0
- package/dist/actions/get-autocomplete-previews.cjs +31 -0
- package/dist/actions/get-autocomplete-previews.cjs.map +1 -0
- package/dist/actions/get-autocomplete-previews.d.cts +9 -0
- package/dist/actions/get-autocomplete-previews.d.cts.map +1 -0
- package/dist/actions/get-autocomplete-previews.d.mts +9 -0
- package/dist/actions/get-autocomplete-previews.d.mts.map +1 -0
- package/dist/actions/get-autocomplete-previews.mjs +30 -0
- package/dist/actions/get-autocomplete-previews.mjs.map +1 -0
- package/dist/actions/get-intl-autocomplete-previews.cjs +35 -0
- package/dist/actions/get-intl-autocomplete-previews.cjs.map +1 -0
- package/dist/actions/get-intl-autocomplete-previews.d.cts +9 -0
- package/dist/actions/get-intl-autocomplete-previews.d.cts.map +1 -0
- package/dist/actions/get-intl-autocomplete-previews.d.mts +9 -0
- package/dist/actions/get-intl-autocomplete-previews.d.mts.map +1 -0
- package/dist/actions/get-intl-autocomplete-previews.mjs +34 -0
- package/dist/actions/get-intl-autocomplete-previews.mjs.map +1 -0
- package/dist/actions/get-lookup-info.cjs +24 -0
- package/dist/actions/get-lookup-info.cjs.map +1 -0
- package/dist/actions/get-lookup-info.d.cts +9 -0
- package/dist/actions/get-lookup-info.d.cts.map +1 -0
- package/dist/actions/get-lookup-info.d.mts +9 -0
- package/dist/actions/get-lookup-info.d.mts.map +1 -0
- package/dist/actions/get-lookup-info.mjs +23 -0
- package/dist/actions/get-lookup-info.mjs.map +1 -0
- package/dist/actions/index.cjs +25 -0
- package/dist/actions/index.d.cts +13 -0
- package/dist/actions/index.d.mts +13 -0
- package/dist/actions/index.mjs +13 -0
- package/dist/actions/lookup-city-state-from-postal.cjs +24 -0
- package/dist/actions/lookup-city-state-from-postal.cjs.map +1 -0
- package/dist/actions/lookup-city-state-from-postal.d.cts +9 -0
- package/dist/actions/lookup-city-state-from-postal.d.cts.map +1 -0
- package/dist/actions/lookup-city-state-from-postal.d.mts +9 -0
- package/dist/actions/lookup-city-state-from-postal.d.mts.map +1 -0
- package/dist/actions/lookup-city-state-from-postal.mjs +23 -0
- package/dist/actions/lookup-city-state-from-postal.mjs.map +1 -0
- package/dist/actions/parse-address.cjs +38 -0
- package/dist/actions/parse-address.cjs.map +1 -0
- package/dist/actions/parse-address.d.cts +9 -0
- package/dist/actions/parse-address.d.cts.map +1 -0
- package/dist/actions/parse-address.d.mts +9 -0
- package/dist/actions/parse-address.d.mts.map +1 -0
- package/dist/actions/parse-address.mjs +37 -0
- package/dist/actions/parse-address.mjs.map +1 -0
- package/dist/actions/suggest-addresses.cjs +45 -0
- package/dist/actions/suggest-addresses.cjs.map +1 -0
- package/dist/actions/suggest-addresses.d.cts +9 -0
- package/dist/actions/suggest-addresses.d.cts.map +1 -0
- package/dist/actions/suggest-addresses.d.mts +9 -0
- package/dist/actions/suggest-addresses.d.mts.map +1 -0
- package/dist/actions/suggest-addresses.mjs +44 -0
- package/dist/actions/suggest-addresses.mjs.map +1 -0
- package/dist/actions/verify-address.cjs +40 -0
- package/dist/actions/verify-address.cjs.map +1 -0
- package/dist/actions/verify-address.d.cts +9 -0
- package/dist/actions/verify-address.d.cts.map +1 -0
- package/dist/actions/verify-address.d.mts +9 -0
- package/dist/actions/verify-address.d.mts.map +1 -0
- package/dist/actions/verify-address.mjs +39 -0
- package/dist/actions/verify-address.mjs.map +1 -0
- package/dist/actions/verify-batch-addresses.cjs +60 -0
- package/dist/actions/verify-batch-addresses.cjs.map +1 -0
- package/dist/actions/verify-batch-addresses.d.cts +9 -0
- package/dist/actions/verify-batch-addresses.d.cts.map +1 -0
- package/dist/actions/verify-batch-addresses.d.mts +9 -0
- package/dist/actions/verify-batch-addresses.d.mts.map +1 -0
- package/dist/actions/verify-batch-addresses.mjs +59 -0
- package/dist/actions/verify-batch-addresses.mjs.map +1 -0
- package/dist/actions/verify-international-address.cjs +51 -0
- package/dist/actions/verify-international-address.cjs.map +1 -0
- package/dist/actions/verify-international-address.d.cts +9 -0
- package/dist/actions/verify-international-address.d.cts.map +1 -0
- package/dist/actions/verify-international-address.d.mts +9 -0
- package/dist/actions/verify-international-address.d.mts.map +1 -0
- package/dist/actions/verify-international-address.mjs +50 -0
- package/dist/actions/verify-international-address.mjs.map +1 -0
- package/dist/actions/verify-intl-addresses-batch.cjs +50 -0
- package/dist/actions/verify-intl-addresses-batch.cjs.map +1 -0
- package/dist/actions/verify-intl-addresses-batch.d.cts +9 -0
- package/dist/actions/verify-intl-addresses-batch.d.cts.map +1 -0
- package/dist/actions/verify-intl-addresses-batch.d.mts +9 -0
- package/dist/actions/verify-intl-addresses-batch.d.mts.map +1 -0
- package/dist/actions/verify-intl-addresses-batch.mjs +49 -0
- package/dist/actions/verify-intl-addresses-batch.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +30 -0
- package/dist/index.d.cts +15 -0
- package/dist/index.d.mts +15 -0
- package/dist/index.mjs +16 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/postgrid_verify
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `postgrid_verify`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 12
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { postgridVerifyAutocompleteAddress } from "@keystrokehq/postgrid_verify/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "postgrid_verify-agent",
|
|
15
|
+
tools: [postgridVerifyAutocompleteAddress],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.postgridVerify.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executePostgridVerifyTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["postgridVerify","executePostgridVerifyTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { postgridVerify } from \"./app\";\nimport { executePostgridVerifyTool } 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 postgridVerify.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 executePostgridVerifyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,eAAe,OAAO;EAC3B,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,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { postgridVerify } from "./app.mjs";
|
|
2
|
+
import { executePostgridVerifyTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return postgridVerify.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executePostgridVerifyTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { postgridVerify } from \"./app\";\nimport { executePostgridVerifyTool } 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 postgridVerify.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 executePostgridVerifyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/autocomplete-address.ts
|
|
4
|
+
const PostgridVerifyAutocompleteAddressInput = zod.z.object({
|
|
5
|
+
index: zod.z.string().describe("Optional parameter to retrieve the completion result at a particular index.").optional(),
|
|
6
|
+
pcFilter: zod.z.string().describe("Only return addresses within this postal/zip code.").optional(),
|
|
7
|
+
cityFilter: zod.z.string().describe("Only return addresses from this city.").optional(),
|
|
8
|
+
stateFilter: zod.z.string().describe("Only return addresses within this province/state.").optional(),
|
|
9
|
+
countryFilter: zod.z.string().describe("Only return addresses within this country.").optional(),
|
|
10
|
+
partialStreet: zod.z.string().describe("The partially written address to autocomplete.")
|
|
11
|
+
});
|
|
12
|
+
const PostgridVerifyAutocompleteAddress_CompletionAddressSchema = zod.z.object({
|
|
13
|
+
pc: zod.z.string().describe("Postal code or ZIP code").nullable().optional(),
|
|
14
|
+
city: zod.z.string().describe("City name").nullable().optional(),
|
|
15
|
+
prov: zod.z.string().describe("Province or state abbreviation").nullable().optional(),
|
|
16
|
+
address: zod.z.string().describe("The street address line").nullable().optional(),
|
|
17
|
+
country: zod.z.string().describe("Country code").nullable().optional()
|
|
18
|
+
});
|
|
19
|
+
const PostgridVerifyAutocompleteAddress_CompletionDataItemSchema = zod.z.object({
|
|
20
|
+
errors: zod.z.object({}).describe("Validation errors per field if any").nullable().optional(),
|
|
21
|
+
address: PostgridVerifyAutocompleteAddress_CompletionAddressSchema.nullable().optional()
|
|
22
|
+
});
|
|
23
|
+
const PostgridVerifyAutocompleteAddressOutput = zod.z.object({
|
|
24
|
+
data: zod.z.array(PostgridVerifyAutocompleteAddress_CompletionDataItemSchema).describe("List of address completion results").nullable().optional(),
|
|
25
|
+
status: zod.z.string().describe("Indicates request success or failure").nullable().optional(),
|
|
26
|
+
message: zod.z.string().describe("Additional information about the request status").nullable().optional()
|
|
27
|
+
});
|
|
28
|
+
const postgridVerifyAutocompleteAddress = require_action.action("POSTGRID_VERIFY_AUTOCOMPLETE_ADDRESS", {
|
|
29
|
+
slug: "postgrid_verify-autocomplete-address",
|
|
30
|
+
name: "Autocomplete Address",
|
|
31
|
+
description: "Tool to autocomplete a partially specified US or Canada address. Retrieves complete verified address including full postal code. Uses 1 lookup per request.",
|
|
32
|
+
input: PostgridVerifyAutocompleteAddressInput,
|
|
33
|
+
output: PostgridVerifyAutocompleteAddressOutput
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
exports.postgridVerifyAutocompleteAddress = postgridVerifyAutocompleteAddress;
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=autocomplete-address.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete-address.cjs","names":["z","action"],"sources":["../../src/actions/autocomplete-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyAutocompleteAddressInput: z.ZodTypeAny = z.object({\n index: z.string().describe(\"Optional parameter to retrieve the completion result at a particular index.\").optional(),\n pcFilter: z.string().describe(\"Only return addresses within this postal/zip code.\").optional(),\n cityFilter: z.string().describe(\"Only return addresses from this city.\").optional(),\n stateFilter: z.string().describe(\"Only return addresses within this province/state.\").optional(),\n countryFilter: z.string().describe(\"Only return addresses within this country.\").optional(),\n partialStreet: z.string().describe(\"The partially written address to autocomplete.\"),\n});\nconst PostgridVerifyAutocompleteAddress_CompletionAddressSchema: z.ZodTypeAny = z.object({\n pc: z.string().describe(\"Postal code or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n prov: z.string().describe(\"Province or state abbreviation\").nullable().optional(),\n address: z.string().describe(\"The street address line\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n});\nconst PostgridVerifyAutocompleteAddress_CompletionDataItemSchema: z.ZodTypeAny = z.object({\n errors: z.object({}).describe(\"Validation errors per field if any\").nullable().optional(),\n address: PostgridVerifyAutocompleteAddress_CompletionAddressSchema.nullable().optional(),\n});\nexport const PostgridVerifyAutocompleteAddressOutput: z.ZodTypeAny = z.object({\n data: z.array(PostgridVerifyAutocompleteAddress_CompletionDataItemSchema).describe(\"List of address completion results\").nullable().optional(),\n status: z.string().describe(\"Indicates request success or failure\").nullable().optional(),\n message: z.string().describe(\"Additional information about the request status\").nullable().optional(),\n});\n\nexport const postgridVerifyAutocompleteAddress = action(\"POSTGRID_VERIFY_AUTOCOMPLETE_ADDRESS\", {\n slug: \"postgrid_verify-autocomplete-address\",\n name: \"Autocomplete Address\",\n description: \"Tool to autocomplete a partially specified US or Canada address. Retrieves complete verified address including full postal code. Uses 1 lookup per request.\",\n input: PostgridVerifyAutocompleteAddressInput,\n output: PostgridVerifyAutocompleteAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC1F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACrF,CAAC;AACD,MAAM,4DAA0EA,IAAAA,EAAE,OAAO;CACvF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC;AACD,MAAM,6DAA2EA,IAAAA,EAAE,OAAO;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAAS,0DAA0D,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC;AACD,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC;AAED,MAAa,oCAAoCC,eAAAA,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/autocomplete-address.d.ts
|
|
4
|
+
declare const PostgridVerifyAutocompleteAddressInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostgridVerifyAutocompleteAddressOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postgridVerifyAutocompleteAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postgridVerifyAutocompleteAddress };
|
|
9
|
+
//# sourceMappingURL=autocomplete-address.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete-address.d.cts","names":[],"sources":["../../src/actions/autocomplete-address.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAOrD;AAAA,cAYW,uCAAA,EAAyC,CAAA,CAAE,UAItD;AAAA,cAEW,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/autocomplete-address.d.ts
|
|
4
|
+
declare const PostgridVerifyAutocompleteAddressInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostgridVerifyAutocompleteAddressOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postgridVerifyAutocompleteAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postgridVerifyAutocompleteAddress };
|
|
9
|
+
//# sourceMappingURL=autocomplete-address.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete-address.d.mts","names":[],"sources":["../../src/actions/autocomplete-address.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAOrD;AAAA,cAYW,uCAAA,EAAyC,CAAA,CAAE,UAItD;AAAA,cAEW,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/autocomplete-address.ts
|
|
4
|
+
const PostgridVerifyAutocompleteAddressInput = z.object({
|
|
5
|
+
index: z.string().describe("Optional parameter to retrieve the completion result at a particular index.").optional(),
|
|
6
|
+
pcFilter: z.string().describe("Only return addresses within this postal/zip code.").optional(),
|
|
7
|
+
cityFilter: z.string().describe("Only return addresses from this city.").optional(),
|
|
8
|
+
stateFilter: z.string().describe("Only return addresses within this province/state.").optional(),
|
|
9
|
+
countryFilter: z.string().describe("Only return addresses within this country.").optional(),
|
|
10
|
+
partialStreet: z.string().describe("The partially written address to autocomplete.")
|
|
11
|
+
});
|
|
12
|
+
const PostgridVerifyAutocompleteAddress_CompletionAddressSchema = z.object({
|
|
13
|
+
pc: z.string().describe("Postal code or ZIP code").nullable().optional(),
|
|
14
|
+
city: z.string().describe("City name").nullable().optional(),
|
|
15
|
+
prov: z.string().describe("Province or state abbreviation").nullable().optional(),
|
|
16
|
+
address: z.string().describe("The street address line").nullable().optional(),
|
|
17
|
+
country: z.string().describe("Country code").nullable().optional()
|
|
18
|
+
});
|
|
19
|
+
const PostgridVerifyAutocompleteAddress_CompletionDataItemSchema = z.object({
|
|
20
|
+
errors: z.object({}).describe("Validation errors per field if any").nullable().optional(),
|
|
21
|
+
address: PostgridVerifyAutocompleteAddress_CompletionAddressSchema.nullable().optional()
|
|
22
|
+
});
|
|
23
|
+
const postgridVerifyAutocompleteAddress = action("POSTGRID_VERIFY_AUTOCOMPLETE_ADDRESS", {
|
|
24
|
+
slug: "postgrid_verify-autocomplete-address",
|
|
25
|
+
name: "Autocomplete Address",
|
|
26
|
+
description: "Tool to autocomplete a partially specified US or Canada address. Retrieves complete verified address including full postal code. Uses 1 lookup per request.",
|
|
27
|
+
input: PostgridVerifyAutocompleteAddressInput,
|
|
28
|
+
output: z.object({
|
|
29
|
+
data: z.array(PostgridVerifyAutocompleteAddress_CompletionDataItemSchema).describe("List of address completion results").nullable().optional(),
|
|
30
|
+
status: z.string().describe("Indicates request success or failure").nullable().optional(),
|
|
31
|
+
message: z.string().describe("Additional information about the request status").nullable().optional()
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { postgridVerifyAutocompleteAddress };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=autocomplete-address.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete-address.mjs","names":[],"sources":["../../src/actions/autocomplete-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyAutocompleteAddressInput: z.ZodTypeAny = z.object({\n index: z.string().describe(\"Optional parameter to retrieve the completion result at a particular index.\").optional(),\n pcFilter: z.string().describe(\"Only return addresses within this postal/zip code.\").optional(),\n cityFilter: z.string().describe(\"Only return addresses from this city.\").optional(),\n stateFilter: z.string().describe(\"Only return addresses within this province/state.\").optional(),\n countryFilter: z.string().describe(\"Only return addresses within this country.\").optional(),\n partialStreet: z.string().describe(\"The partially written address to autocomplete.\"),\n});\nconst PostgridVerifyAutocompleteAddress_CompletionAddressSchema: z.ZodTypeAny = z.object({\n pc: z.string().describe(\"Postal code or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n prov: z.string().describe(\"Province or state abbreviation\").nullable().optional(),\n address: z.string().describe(\"The street address line\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n});\nconst PostgridVerifyAutocompleteAddress_CompletionDataItemSchema: z.ZodTypeAny = z.object({\n errors: z.object({}).describe(\"Validation errors per field if any\").nullable().optional(),\n address: PostgridVerifyAutocompleteAddress_CompletionAddressSchema.nullable().optional(),\n});\nexport const PostgridVerifyAutocompleteAddressOutput: z.ZodTypeAny = z.object({\n data: z.array(PostgridVerifyAutocompleteAddress_CompletionDataItemSchema).describe(\"List of address completion results\").nullable().optional(),\n status: z.string().describe(\"Indicates request success or failure\").nullable().optional(),\n message: z.string().describe(\"Additional information about the request status\").nullable().optional(),\n});\n\nexport const postgridVerifyAutocompleteAddress = action(\"POSTGRID_VERIFY_AUTOCOMPLETE_ADDRESS\", {\n slug: \"postgrid_verify-autocomplete-address\",\n name: \"Autocomplete Address\",\n description: \"Tool to autocomplete a partially specified US or Canada address. Retrieves complete verified address including full postal code. Uses 1 lookup per request.\",\n input: PostgridVerifyAutocompleteAddressInput,\n output: PostgridVerifyAutocompleteAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuD,EAAE,OAAO;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC1F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACrF,CAAC;AACD,MAAM,4DAA0E,EAAE,OAAO;CACvF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC;AACD,MAAM,6DAA2E,EAAE,OAAO;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAAS,0DAA0D,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC;AAOD,MAAa,oCAAoC,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXmE,EAAE,OAAO;EAC5E,MAAM,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/autocomplete-intl-address.ts
|
|
4
|
+
const PostgridVerifyAutocompleteIntlAddressInput = zod.z.object({ id: zod.z.string().describe("The ID previously returned from the preview endpoint where the type is 'Address'. Used to retrieve the complete verified address data.") });
|
|
5
|
+
const PostgridVerifyAutocompleteIntlAddress_AutocompleteIntlAddressDataDetailsSchema = zod.z.object({
|
|
6
|
+
city: zod.z.string().describe("City name.").nullable().optional(),
|
|
7
|
+
line1: zod.z.string().describe("First line of the completed address.").nullable().optional(),
|
|
8
|
+
country: zod.z.string().describe("Country name.").nullable().optional(),
|
|
9
|
+
countryCode: zod.z.string().describe("ISO country code.").nullable().optional(),
|
|
10
|
+
postalOrZip: zod.z.string().describe("Postal or ZIP code.").nullable().optional(),
|
|
11
|
+
provinceCode: zod.z.string().describe("State or province code.").nullable().optional(),
|
|
12
|
+
provinceOrState: zod.z.string().describe("State or province name.").nullable().optional(),
|
|
13
|
+
formattedAddress: zod.z.string().describe("Fully formatted address string.").nullable().optional()
|
|
14
|
+
});
|
|
15
|
+
const PostgridVerifyAutocompleteIntlAddressOutput = zod.z.object({
|
|
16
|
+
data: PostgridVerifyAutocompleteIntlAddress_AutocompleteIntlAddressDataDetailsSchema.nullable().optional(),
|
|
17
|
+
status: zod.z.string().describe("Status of the request (e.g., 'success').").nullable().optional(),
|
|
18
|
+
message: zod.z.string().describe("Message providing details about the operation.").nullable().optional()
|
|
19
|
+
});
|
|
20
|
+
const postgridVerifyAutocompleteIntlAddress = require_action.action("POSTGRID_VERIFY_AUTOCOMPLETE_INTL_ADDRESS", {
|
|
21
|
+
slug: "postgrid_verify-autocomplete-intl-address",
|
|
22
|
+
name: "Autocomplete International Address",
|
|
23
|
+
description: "Tool to retrieve complete verified international address data using an ID from the preview endpoint. Use when you have an address ID from the preview step and need the full address details.",
|
|
24
|
+
input: PostgridVerifyAutocompleteIntlAddressInput,
|
|
25
|
+
output: PostgridVerifyAutocompleteIntlAddressOutput
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
exports.postgridVerifyAutocompleteIntlAddress = postgridVerifyAutocompleteIntlAddress;
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=autocomplete-intl-address.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete-intl-address.cjs","names":["z","action"],"sources":["../../src/actions/autocomplete-intl-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyAutocompleteIntlAddressInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID previously returned from the preview endpoint where the type is 'Address'. Used to retrieve the complete verified address data.\"),\n});\nconst PostgridVerifyAutocompleteIntlAddress_AutocompleteIntlAddressDataDetailsSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City name.\").nullable().optional(),\n line1: z.string().describe(\"First line of the completed address.\").nullable().optional(),\n country: z.string().describe(\"Country name.\").nullable().optional(),\n countryCode: z.string().describe(\"ISO country code.\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code.\").nullable().optional(),\n provinceCode: z.string().describe(\"State or province code.\").nullable().optional(),\n provinceOrState: z.string().describe(\"State or province name.\").nullable().optional(),\n formattedAddress: z.string().describe(\"Fully formatted address string.\").nullable().optional(),\n});\nexport const PostgridVerifyAutocompleteIntlAddressOutput: z.ZodTypeAny = z.object({\n data: PostgridVerifyAutocompleteIntlAddress_AutocompleteIntlAddressDataDetailsSchema.nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'success').\").nullable().optional(),\n message: z.string().describe(\"Message providing details about the operation.\").nullable().optional(),\n});\n\nexport const postgridVerifyAutocompleteIntlAddress = action(\"POSTGRID_VERIFY_AUTOCOMPLETE_INTL_ADDRESS\", {\n slug: \"postgrid_verify-autocomplete-intl-address\",\n name: \"Autocomplete International Address\",\n description: \"Tool to retrieve complete verified international address data using an ID from the preview endpoint. Use when you have an address ID from the preview step and need the full address details.\",\n input: PostgridVerifyAutocompleteIntlAddressInput,\n output: PostgridVerifyAutocompleteIntlAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2DA,IAAAA,EAAE,OAAO,EAC/E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,EAClK,CAAC;AACD,MAAM,iFAA+FA,IAAAA,EAAE,OAAO;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,MAAM,+EAA+E,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC;AAED,MAAa,wCAAwCC,eAAAA,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/autocomplete-intl-address.d.ts
|
|
4
|
+
declare const PostgridVerifyAutocompleteIntlAddressInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostgridVerifyAutocompleteIntlAddressOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postgridVerifyAutocompleteIntlAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postgridVerifyAutocompleteIntlAddress };
|
|
9
|
+
//# sourceMappingURL=autocomplete-intl-address.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete-intl-address.d.cts","names":[],"sources":["../../src/actions/autocomplete-intl-address.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAEzD;AAAA,cAWW,2CAAA,EAA6C,CAAA,CAAE,UAI1D;AAAA,cAEW,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/autocomplete-intl-address.d.ts
|
|
4
|
+
declare const PostgridVerifyAutocompleteIntlAddressInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostgridVerifyAutocompleteIntlAddressOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postgridVerifyAutocompleteIntlAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postgridVerifyAutocompleteIntlAddress };
|
|
9
|
+
//# sourceMappingURL=autocomplete-intl-address.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete-intl-address.d.mts","names":[],"sources":["../../src/actions/autocomplete-intl-address.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAEzD;AAAA,cAWW,2CAAA,EAA6C,CAAA,CAAE,UAI1D;AAAA,cAEW,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/autocomplete-intl-address.ts
|
|
4
|
+
const PostgridVerifyAutocompleteIntlAddressInput = z.object({ id: z.string().describe("The ID previously returned from the preview endpoint where the type is 'Address'. Used to retrieve the complete verified address data.") });
|
|
5
|
+
const PostgridVerifyAutocompleteIntlAddress_AutocompleteIntlAddressDataDetailsSchema = z.object({
|
|
6
|
+
city: z.string().describe("City name.").nullable().optional(),
|
|
7
|
+
line1: z.string().describe("First line of the completed address.").nullable().optional(),
|
|
8
|
+
country: z.string().describe("Country name.").nullable().optional(),
|
|
9
|
+
countryCode: z.string().describe("ISO country code.").nullable().optional(),
|
|
10
|
+
postalOrZip: z.string().describe("Postal or ZIP code.").nullable().optional(),
|
|
11
|
+
provinceCode: z.string().describe("State or province code.").nullable().optional(),
|
|
12
|
+
provinceOrState: z.string().describe("State or province name.").nullable().optional(),
|
|
13
|
+
formattedAddress: z.string().describe("Fully formatted address string.").nullable().optional()
|
|
14
|
+
});
|
|
15
|
+
const postgridVerifyAutocompleteIntlAddress = action("POSTGRID_VERIFY_AUTOCOMPLETE_INTL_ADDRESS", {
|
|
16
|
+
slug: "postgrid_verify-autocomplete-intl-address",
|
|
17
|
+
name: "Autocomplete International Address",
|
|
18
|
+
description: "Tool to retrieve complete verified international address data using an ID from the preview endpoint. Use when you have an address ID from the preview step and need the full address details.",
|
|
19
|
+
input: PostgridVerifyAutocompleteIntlAddressInput,
|
|
20
|
+
output: z.object({
|
|
21
|
+
data: PostgridVerifyAutocompleteIntlAddress_AutocompleteIntlAddressDataDetailsSchema.nullable().optional(),
|
|
22
|
+
status: z.string().describe("Status of the request (e.g., 'success').").nullable().optional(),
|
|
23
|
+
message: z.string().describe("Message providing details about the operation.").nullable().optional()
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { postgridVerifyAutocompleteIntlAddress };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=autocomplete-intl-address.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete-intl-address.mjs","names":[],"sources":["../../src/actions/autocomplete-intl-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyAutocompleteIntlAddressInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID previously returned from the preview endpoint where the type is 'Address'. Used to retrieve the complete verified address data.\"),\n});\nconst PostgridVerifyAutocompleteIntlAddress_AutocompleteIntlAddressDataDetailsSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City name.\").nullable().optional(),\n line1: z.string().describe(\"First line of the completed address.\").nullable().optional(),\n country: z.string().describe(\"Country name.\").nullable().optional(),\n countryCode: z.string().describe(\"ISO country code.\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code.\").nullable().optional(),\n provinceCode: z.string().describe(\"State or province code.\").nullable().optional(),\n provinceOrState: z.string().describe(\"State or province name.\").nullable().optional(),\n formattedAddress: z.string().describe(\"Fully formatted address string.\").nullable().optional(),\n});\nexport const PostgridVerifyAutocompleteIntlAddressOutput: z.ZodTypeAny = z.object({\n data: PostgridVerifyAutocompleteIntlAddress_AutocompleteIntlAddressDataDetailsSchema.nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'success').\").nullable().optional(),\n message: z.string().describe(\"Message providing details about the operation.\").nullable().optional(),\n});\n\nexport const postgridVerifyAutocompleteIntlAddress = action(\"POSTGRID_VERIFY_AUTOCOMPLETE_INTL_ADDRESS\", {\n slug: \"postgrid_verify-autocomplete-intl-address\",\n name: \"Autocomplete International Address\",\n description: \"Tool to retrieve complete verified international address data using an ID from the preview endpoint. Use when you have an address ID from the preview step and need the full address details.\",\n input: PostgridVerifyAutocompleteIntlAddressInput,\n output: PostgridVerifyAutocompleteIntlAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2D,EAAE,OAAO,EAC/E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,EAClK,CAAC;AACD,MAAM,iFAA+F,EAAE,OAAO;CAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AAOD,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuE,EAAE,OAAO;EAChF,MAAM,+EAA+E,SAAS,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-autocomplete-previews.ts
|
|
4
|
+
const PostgridVerifyGetAutocompletePreviewsInput = zod.z.object({
|
|
5
|
+
countryFilter: zod.z.string().describe("The country you want to filter the results by. Use ISO 2-letter country code (e.g., 'US' or 'CA')").optional(),
|
|
6
|
+
partialStreet: zod.z.string().describe("The partially written street address to get autocomplete suggestions for").optional(),
|
|
7
|
+
provInsteadOfPC: zod.z.boolean().describe("If true, returns the prov (province/state) field instead of the pc (postal code) field in preview objects").optional()
|
|
8
|
+
});
|
|
9
|
+
const PostgridVerifyGetAutocompletePreviews_PreviewDetailsSchema = zod.z.object({
|
|
10
|
+
pc: zod.z.string().describe("First 3 digits of postal/ZIP code (returned when provInsteadOfPC is false or not set)").nullable().optional(),
|
|
11
|
+
city: zod.z.string().describe("Municipality name of the autocomplete suggestion").nullable().optional(),
|
|
12
|
+
prov: zod.z.string().describe("Province or state code (returned when provInsteadOfPC is true)").nullable().optional(),
|
|
13
|
+
address: zod.z.string().describe("Street address (first line only) of the autocomplete suggestion").nullable().optional()
|
|
14
|
+
});
|
|
15
|
+
const PostgridVerifyGetAutocompletePreviews_AutocompletePreviewDataItemSchema = zod.z.object({ preview: PostgridVerifyGetAutocompletePreviews_PreviewDetailsSchema.nullable() });
|
|
16
|
+
const PostgridVerifyGetAutocompletePreviewsOutput = zod.z.object({
|
|
17
|
+
data: zod.z.array(PostgridVerifyGetAutocompletePreviews_AutocompletePreviewDataItemSchema).describe("List of autocomplete preview suggestions"),
|
|
18
|
+
status: zod.z.string().describe("Status of the request (e.g., 'success')").nullable().optional(),
|
|
19
|
+
message: zod.z.string().describe("Message providing details about the operation (e.g., 'Retrieved verified address completions successfully.')").nullable().optional()
|
|
20
|
+
});
|
|
21
|
+
const postgridVerifyGetAutocompletePreviews = require_action.action("POSTGRID_VERIFY_GET_AUTOCOMPLETE_PREVIEWS", {
|
|
22
|
+
slug: "postgrid_verify-get-autocomplete-previews",
|
|
23
|
+
name: "Get Autocomplete Previews",
|
|
24
|
+
description: "Tool to get previews of autocompleted US and Canadian addresses. Returns partial address data (line1, city, first 3 digits of postal code) without using any lookups. Use when you need quick autocomplete suggestions for address input.",
|
|
25
|
+
input: PostgridVerifyGetAutocompletePreviewsInput,
|
|
26
|
+
output: PostgridVerifyGetAutocompletePreviewsOutput
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
exports.postgridVerifyGetAutocompletePreviews = postgridVerifyGetAutocompletePreviews;
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=get-autocomplete-previews.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-autocomplete-previews.cjs","names":["z","action"],"sources":["../../src/actions/get-autocomplete-previews.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyGetAutocompletePreviewsInput: z.ZodTypeAny = z.object({\n countryFilter: z.string().describe(\"The country you want to filter the results by. Use ISO 2-letter country code (e.g., 'US' or 'CA')\").optional(),\n partialStreet: z.string().describe(\"The partially written street address to get autocomplete suggestions for\").optional(),\n provInsteadOfPC: z.boolean().describe(\"If true, returns the prov (province/state) field instead of the pc (postal code) field in preview objects\").optional(),\n});\nconst PostgridVerifyGetAutocompletePreviews_PreviewDetailsSchema: z.ZodTypeAny = z.object({\n pc: z.string().describe(\"First 3 digits of postal/ZIP code (returned when provInsteadOfPC is false or not set)\").nullable().optional(),\n city: z.string().describe(\"Municipality name of the autocomplete suggestion\").nullable().optional(),\n prov: z.string().describe(\"Province or state code (returned when provInsteadOfPC is true)\").nullable().optional(),\n address: z.string().describe(\"Street address (first line only) of the autocomplete suggestion\").nullable().optional(),\n});\nconst PostgridVerifyGetAutocompletePreviews_AutocompletePreviewDataItemSchema: z.ZodTypeAny = z.object({\n preview: PostgridVerifyGetAutocompletePreviews_PreviewDetailsSchema.nullable(),\n});\nexport const PostgridVerifyGetAutocompletePreviewsOutput: z.ZodTypeAny = z.object({\n data: z.array(PostgridVerifyGetAutocompletePreviews_AutocompletePreviewDataItemSchema).describe(\"List of autocomplete preview suggestions\"),\n status: z.string().describe(\"Status of the request (e.g., 'success')\").nullable().optional(),\n message: z.string().describe(\"Message providing details about the operation (e.g., 'Retrieved verified address completions successfully.')\").nullable().optional(),\n});\n\nexport const postgridVerifyGetAutocompletePreviews = action(\"POSTGRID_VERIFY_GET_AUTOCOMPLETE_PREVIEWS\", {\n slug: \"postgrid_verify-get-autocomplete-previews\",\n name: \"Get Autocomplete Previews\",\n description: \"Tool to get previews of autocompleted US and Canadian addresses. Returns partial address data (line1, city, first 3 digits of postal code) without using any lookups. Use when you need quick autocomplete suggestions for address input.\",\n input: PostgridVerifyGetAutocompletePreviewsInput,\n output: PostgridVerifyGetAutocompletePreviewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACjJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACxH,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;AAC9J,CAAC;AACD,MAAM,6DAA2EA,IAAAA,EAAE,OAAO;CACxF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC;AACD,MAAM,0EAAwFA,IAAAA,EAAE,OAAO,EACrG,SAAS,2DAA2D,SAAS,EAC/E,CAAC;AACD,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,MAAM,uEAAuE,CAAC,CAAC,SAAS,0CAA0C;CAC1I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC;AAED,MAAa,wCAAwCC,eAAAA,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-autocomplete-previews.d.ts
|
|
4
|
+
declare const PostgridVerifyGetAutocompletePreviewsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostgridVerifyGetAutocompletePreviewsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postgridVerifyGetAutocompletePreviews: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postgridVerifyGetAutocompletePreviews };
|
|
9
|
+
//# sourceMappingURL=get-autocomplete-previews.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-autocomplete-previews.d.cts","names":[],"sources":["../../src/actions/get-autocomplete-previews.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAIzD;AAAA,cAUW,2CAAA,EAA6C,CAAA,CAAE,UAI1D;AAAA,cAEW,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-autocomplete-previews.d.ts
|
|
4
|
+
declare const PostgridVerifyGetAutocompletePreviewsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostgridVerifyGetAutocompletePreviewsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postgridVerifyGetAutocompletePreviews: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postgridVerifyGetAutocompletePreviews };
|
|
9
|
+
//# sourceMappingURL=get-autocomplete-previews.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-autocomplete-previews.d.mts","names":[],"sources":["../../src/actions/get-autocomplete-previews.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAIzD;AAAA,cAUW,2CAAA,EAA6C,CAAA,CAAE,UAI1D;AAAA,cAEW,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-autocomplete-previews.ts
|
|
4
|
+
const PostgridVerifyGetAutocompletePreviewsInput = z.object({
|
|
5
|
+
countryFilter: z.string().describe("The country you want to filter the results by. Use ISO 2-letter country code (e.g., 'US' or 'CA')").optional(),
|
|
6
|
+
partialStreet: z.string().describe("The partially written street address to get autocomplete suggestions for").optional(),
|
|
7
|
+
provInsteadOfPC: z.boolean().describe("If true, returns the prov (province/state) field instead of the pc (postal code) field in preview objects").optional()
|
|
8
|
+
});
|
|
9
|
+
const PostgridVerifyGetAutocompletePreviews_PreviewDetailsSchema = z.object({
|
|
10
|
+
pc: z.string().describe("First 3 digits of postal/ZIP code (returned when provInsteadOfPC is false or not set)").nullable().optional(),
|
|
11
|
+
city: z.string().describe("Municipality name of the autocomplete suggestion").nullable().optional(),
|
|
12
|
+
prov: z.string().describe("Province or state code (returned when provInsteadOfPC is true)").nullable().optional(),
|
|
13
|
+
address: z.string().describe("Street address (first line only) of the autocomplete suggestion").nullable().optional()
|
|
14
|
+
});
|
|
15
|
+
const PostgridVerifyGetAutocompletePreviews_AutocompletePreviewDataItemSchema = z.object({ preview: PostgridVerifyGetAutocompletePreviews_PreviewDetailsSchema.nullable() });
|
|
16
|
+
const postgridVerifyGetAutocompletePreviews = action("POSTGRID_VERIFY_GET_AUTOCOMPLETE_PREVIEWS", {
|
|
17
|
+
slug: "postgrid_verify-get-autocomplete-previews",
|
|
18
|
+
name: "Get Autocomplete Previews",
|
|
19
|
+
description: "Tool to get previews of autocompleted US and Canadian addresses. Returns partial address data (line1, city, first 3 digits of postal code) without using any lookups. Use when you need quick autocomplete suggestions for address input.",
|
|
20
|
+
input: PostgridVerifyGetAutocompletePreviewsInput,
|
|
21
|
+
output: z.object({
|
|
22
|
+
data: z.array(PostgridVerifyGetAutocompletePreviews_AutocompletePreviewDataItemSchema).describe("List of autocomplete preview suggestions"),
|
|
23
|
+
status: z.string().describe("Status of the request (e.g., 'success')").nullable().optional(),
|
|
24
|
+
message: z.string().describe("Message providing details about the operation (e.g., 'Retrieved verified address completions successfully.')").nullable().optional()
|
|
25
|
+
})
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { postgridVerifyGetAutocompletePreviews };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=get-autocomplete-previews.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-autocomplete-previews.mjs","names":[],"sources":["../../src/actions/get-autocomplete-previews.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyGetAutocompletePreviewsInput: z.ZodTypeAny = z.object({\n countryFilter: z.string().describe(\"The country you want to filter the results by. Use ISO 2-letter country code (e.g., 'US' or 'CA')\").optional(),\n partialStreet: z.string().describe(\"The partially written street address to get autocomplete suggestions for\").optional(),\n provInsteadOfPC: z.boolean().describe(\"If true, returns the prov (province/state) field instead of the pc (postal code) field in preview objects\").optional(),\n});\nconst PostgridVerifyGetAutocompletePreviews_PreviewDetailsSchema: z.ZodTypeAny = z.object({\n pc: z.string().describe(\"First 3 digits of postal/ZIP code (returned when provInsteadOfPC is false or not set)\").nullable().optional(),\n city: z.string().describe(\"Municipality name of the autocomplete suggestion\").nullable().optional(),\n prov: z.string().describe(\"Province or state code (returned when provInsteadOfPC is true)\").nullable().optional(),\n address: z.string().describe(\"Street address (first line only) of the autocomplete suggestion\").nullable().optional(),\n});\nconst PostgridVerifyGetAutocompletePreviews_AutocompletePreviewDataItemSchema: z.ZodTypeAny = z.object({\n preview: PostgridVerifyGetAutocompletePreviews_PreviewDetailsSchema.nullable(),\n});\nexport const PostgridVerifyGetAutocompletePreviewsOutput: z.ZodTypeAny = z.object({\n data: z.array(PostgridVerifyGetAutocompletePreviews_AutocompletePreviewDataItemSchema).describe(\"List of autocomplete preview suggestions\"),\n status: z.string().describe(\"Status of the request (e.g., 'success')\").nullable().optional(),\n message: z.string().describe(\"Message providing details about the operation (e.g., 'Retrieved verified address completions successfully.')\").nullable().optional(),\n});\n\nexport const postgridVerifyGetAutocompletePreviews = action(\"POSTGRID_VERIFY_GET_AUTOCOMPLETE_PREVIEWS\", {\n slug: \"postgrid_verify-get-autocomplete-previews\",\n name: \"Get Autocomplete Previews\",\n description: \"Tool to get previews of autocompleted US and Canadian addresses. Returns partial address data (line1, city, first 3 digits of postal code) without using any lookups. Use when you need quick autocomplete suggestions for address input.\",\n input: PostgridVerifyGetAutocompletePreviewsInput,\n output: PostgridVerifyGetAutocompletePreviewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2D,EAAE,OAAO;CAC/E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACjJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACxH,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;AAC9J,CAAC;AACD,MAAM,6DAA2E,EAAE,OAAO;CACxF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC;AACD,MAAM,0EAAwF,EAAE,OAAO,EACrG,SAAS,2DAA2D,SAAS,EAC/E,CAAC;AAOD,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuE,EAAE,OAAO;EAChF,MAAM,EAAE,MAAM,uEAAuE,CAAC,CAAC,SAAS,0CAA0C;EAC1I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-intl-autocomplete-previews.ts
|
|
4
|
+
const PostgridVerifyGetIntlAutocompletePreviewsInput = zod.z.object({
|
|
5
|
+
limit: zod.z.number().int().describe("Maximum number of results to return").optional(),
|
|
6
|
+
language: zod.z.string().describe("The language preference of the results (e.g., EN, FR, ES)").optional(),
|
|
7
|
+
cityFilter: zod.z.string().describe("The city you want to filter the results by").optional(),
|
|
8
|
+
streetFilter: zod.z.string().describe("The street you want to filter the results by").optional(),
|
|
9
|
+
partialStreet: zod.z.string().describe("The partially written street address to autocomplete").optional(),
|
|
10
|
+
countriesFilter: zod.z.string().describe("The countries you want to filter the results by. Supply ISO country code or the country's name. Separate multiple codes by comma.").optional(),
|
|
11
|
+
disableIPBiasing: zod.z.boolean().describe("Disables the IP of the request from being used as a starting point for the search. By default, results are biased based on your current IP address.").optional(),
|
|
12
|
+
postalOrZipFilter: zod.z.string().describe("The postal code or zip code you want to filter the results by").optional()
|
|
13
|
+
});
|
|
14
|
+
const PostgridVerifyGetIntlAutocompletePreviews_AutocompletePreviewItemSchema = zod.z.object({
|
|
15
|
+
id: zod.z.string().describe("Unique identifier for this preview item. If type is 'Address', this id can be used in POST /completions. If 'BuildingNumber', use the container id with advanced previews.").nullable().optional(),
|
|
16
|
+
text: zod.z.string().describe("The display text for the autocomplete preview").nullable().optional(),
|
|
17
|
+
type: zod.z.string().describe("Type of the preview item (e.g., 'Address', 'BuildingNumber')").nullable().optional(),
|
|
18
|
+
highlight: zod.z.string().describe("Highlighted portion of the text matching the search query").nullable().optional()
|
|
19
|
+
});
|
|
20
|
+
const PostgridVerifyGetIntlAutocompletePreviewsOutput = zod.z.object({
|
|
21
|
+
data: zod.z.array(PostgridVerifyGetIntlAutocompletePreviews_AutocompletePreviewItemSchema).describe("List of autocomplete preview items for international addresses").nullable().optional(),
|
|
22
|
+
status: zod.z.string().describe("Status of the request (e.g., 'success')").nullable().optional(),
|
|
23
|
+
message: zod.z.string().describe("Message providing details about the operation").nullable().optional()
|
|
24
|
+
});
|
|
25
|
+
const postgridVerifyGetIntlAutocompletePreviews = require_action.action("POSTGRID_VERIFY_GET_INTL_AUTOCOMPLETE_PREVIEWS", {
|
|
26
|
+
slug: "postgrid_verify-get-intl-autocomplete-previews",
|
|
27
|
+
name: "Get International Autocomplete Previews",
|
|
28
|
+
description: "Tool to get previews of autocompleted international addresses. Results are biased based on your current IP address unless disabled. Returns both 'Address' and 'BuildingNumber' types - if type is 'Address', its id can be used in POST /completions; if 'BuildingNumber', use the container id with advanced previews.",
|
|
29
|
+
input: PostgridVerifyGetIntlAutocompletePreviewsInput,
|
|
30
|
+
output: PostgridVerifyGetIntlAutocompletePreviewsOutput
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
exports.postgridVerifyGetIntlAutocompletePreviews = postgridVerifyGetIntlAutocompletePreviews;
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=get-intl-autocomplete-previews.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-intl-autocomplete-previews.cjs","names":["z","action"],"sources":["../../src/actions/get-intl-autocomplete-previews.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyGetIntlAutocompletePreviewsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n language: z.string().describe(\"The language preference of the results (e.g., EN, FR, ES)\").optional(),\n cityFilter: z.string().describe(\"The city you want to filter the results by\").optional(),\n streetFilter: z.string().describe(\"The street you want to filter the results by\").optional(),\n partialStreet: z.string().describe(\"The partially written street address to autocomplete\").optional(),\n countriesFilter: z.string().describe(\"The countries you want to filter the results by. Supply ISO country code or the country's name. Separate multiple codes by comma.\").optional(),\n disableIPBiasing: z.boolean().describe(\"Disables the IP of the request from being used as a starting point for the search. By default, results are biased based on your current IP address.\").optional(),\n postalOrZipFilter: z.string().describe(\"The postal code or zip code you want to filter the results by\").optional(),\n});\nconst PostgridVerifyGetIntlAutocompletePreviews_AutocompletePreviewItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for this preview item. If type is 'Address', this id can be used in POST /completions. If 'BuildingNumber', use the container id with advanced previews.\").nullable().optional(),\n text: z.string().describe(\"The display text for the autocomplete preview\").nullable().optional(),\n type: z.string().describe(\"Type of the preview item (e.g., 'Address', 'BuildingNumber')\").nullable().optional(),\n highlight: z.string().describe(\"Highlighted portion of the text matching the search query\").nullable().optional(),\n});\nexport const PostgridVerifyGetIntlAutocompletePreviewsOutput: z.ZodTypeAny = z.object({\n data: z.array(PostgridVerifyGetIntlAutocompletePreviews_AutocompletePreviewItemSchema).describe(\"List of autocomplete preview items for international addresses\").nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'success')\").nullable().optional(),\n message: z.string().describe(\"Message providing details about the operation\").nullable().optional(),\n});\n\nexport const postgridVerifyGetIntlAutocompletePreviews = action(\"POSTGRID_VERIFY_GET_INTL_AUTOCOMPLETE_PREVIEWS\", {\n slug: \"postgrid_verify-get-intl-autocomplete-previews\",\n name: \"Get International Autocomplete Previews\",\n description: \"Tool to get previews of autocompleted international addresses. Results are biased based on your current IP address unless disabled. Returns both 'Address' and 'BuildingNumber' types - if type is 'Address', its id can be used in POST /completions; if 'BuildingNumber', use the container id with advanced previews.\",\n input: PostgridVerifyGetIntlAutocompletePreviewsInput,\n output: PostgridVerifyGetIntlAutocompletePreviewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAA+DA,IAAAA,EAAE,OAAO;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACnL,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CACvM,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACnH,CAAC;AACD,MAAM,0EAAwFA,IAAAA,EAAE,OAAO;CACrG,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1N,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC;AACD,MAAa,kDAAgEA,IAAAA,EAAE,OAAO;CACpF,MAAMA,IAAAA,EAAE,MAAM,uEAAuE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC;AAED,MAAa,4CAA4CC,eAAAA,OAAO,kDAAkD;CAChH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-intl-autocomplete-previews.d.ts
|
|
4
|
+
declare const PostgridVerifyGetIntlAutocompletePreviewsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostgridVerifyGetIntlAutocompletePreviewsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postgridVerifyGetIntlAutocompletePreviews: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postgridVerifyGetIntlAutocompletePreviews };
|
|
9
|
+
//# sourceMappingURL=get-intl-autocomplete-previews.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-intl-autocomplete-previews.d.cts","names":[],"sources":["../../src/actions/get-intl-autocomplete-previews.ts"],"mappings":";;;cAIa,8CAAA,EAAgD,CAAA,CAAE,UAS7D;AAAA,cAOW,+CAAA,EAAiD,CAAA,CAAE,UAI9D;AAAA,cAEW,yCAAA,gCAAyC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-intl-autocomplete-previews.d.ts
|
|
4
|
+
declare const PostgridVerifyGetIntlAutocompletePreviewsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostgridVerifyGetIntlAutocompletePreviewsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postgridVerifyGetIntlAutocompletePreviews: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postgridVerifyGetIntlAutocompletePreviews };
|
|
9
|
+
//# sourceMappingURL=get-intl-autocomplete-previews.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-intl-autocomplete-previews.d.mts","names":[],"sources":["../../src/actions/get-intl-autocomplete-previews.ts"],"mappings":";;;cAIa,8CAAA,EAAgD,CAAA,CAAE,UAS7D;AAAA,cAOW,+CAAA,EAAiD,CAAA,CAAE,UAI9D;AAAA,cAEW,yCAAA,gCAAyC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-intl-autocomplete-previews.ts
|
|
4
|
+
const PostgridVerifyGetIntlAutocompletePreviewsInput = z.object({
|
|
5
|
+
limit: z.number().int().describe("Maximum number of results to return").optional(),
|
|
6
|
+
language: z.string().describe("The language preference of the results (e.g., EN, FR, ES)").optional(),
|
|
7
|
+
cityFilter: z.string().describe("The city you want to filter the results by").optional(),
|
|
8
|
+
streetFilter: z.string().describe("The street you want to filter the results by").optional(),
|
|
9
|
+
partialStreet: z.string().describe("The partially written street address to autocomplete").optional(),
|
|
10
|
+
countriesFilter: z.string().describe("The countries you want to filter the results by. Supply ISO country code or the country's name. Separate multiple codes by comma.").optional(),
|
|
11
|
+
disableIPBiasing: z.boolean().describe("Disables the IP of the request from being used as a starting point for the search. By default, results are biased based on your current IP address.").optional(),
|
|
12
|
+
postalOrZipFilter: z.string().describe("The postal code or zip code you want to filter the results by").optional()
|
|
13
|
+
});
|
|
14
|
+
const PostgridVerifyGetIntlAutocompletePreviews_AutocompletePreviewItemSchema = z.object({
|
|
15
|
+
id: z.string().describe("Unique identifier for this preview item. If type is 'Address', this id can be used in POST /completions. If 'BuildingNumber', use the container id with advanced previews.").nullable().optional(),
|
|
16
|
+
text: z.string().describe("The display text for the autocomplete preview").nullable().optional(),
|
|
17
|
+
type: z.string().describe("Type of the preview item (e.g., 'Address', 'BuildingNumber')").nullable().optional(),
|
|
18
|
+
highlight: z.string().describe("Highlighted portion of the text matching the search query").nullable().optional()
|
|
19
|
+
});
|
|
20
|
+
const postgridVerifyGetIntlAutocompletePreviews = action("POSTGRID_VERIFY_GET_INTL_AUTOCOMPLETE_PREVIEWS", {
|
|
21
|
+
slug: "postgrid_verify-get-intl-autocomplete-previews",
|
|
22
|
+
name: "Get International Autocomplete Previews",
|
|
23
|
+
description: "Tool to get previews of autocompleted international addresses. Results are biased based on your current IP address unless disabled. Returns both 'Address' and 'BuildingNumber' types - if type is 'Address', its id can be used in POST /completions; if 'BuildingNumber', use the container id with advanced previews.",
|
|
24
|
+
input: PostgridVerifyGetIntlAutocompletePreviewsInput,
|
|
25
|
+
output: z.object({
|
|
26
|
+
data: z.array(PostgridVerifyGetIntlAutocompletePreviews_AutocompletePreviewItemSchema).describe("List of autocomplete preview items for international addresses").nullable().optional(),
|
|
27
|
+
status: z.string().describe("Status of the request (e.g., 'success')").nullable().optional(),
|
|
28
|
+
message: z.string().describe("Message providing details about the operation").nullable().optional()
|
|
29
|
+
})
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { postgridVerifyGetIntlAutocompletePreviews };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=get-intl-autocomplete-previews.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-intl-autocomplete-previews.mjs","names":[],"sources":["../../src/actions/get-intl-autocomplete-previews.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyGetIntlAutocompletePreviewsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n language: z.string().describe(\"The language preference of the results (e.g., EN, FR, ES)\").optional(),\n cityFilter: z.string().describe(\"The city you want to filter the results by\").optional(),\n streetFilter: z.string().describe(\"The street you want to filter the results by\").optional(),\n partialStreet: z.string().describe(\"The partially written street address to autocomplete\").optional(),\n countriesFilter: z.string().describe(\"The countries you want to filter the results by. Supply ISO country code or the country's name. Separate multiple codes by comma.\").optional(),\n disableIPBiasing: z.boolean().describe(\"Disables the IP of the request from being used as a starting point for the search. By default, results are biased based on your current IP address.\").optional(),\n postalOrZipFilter: z.string().describe(\"The postal code or zip code you want to filter the results by\").optional(),\n});\nconst PostgridVerifyGetIntlAutocompletePreviews_AutocompletePreviewItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for this preview item. If type is 'Address', this id can be used in POST /completions. If 'BuildingNumber', use the container id with advanced previews.\").nullable().optional(),\n text: z.string().describe(\"The display text for the autocomplete preview\").nullable().optional(),\n type: z.string().describe(\"Type of the preview item (e.g., 'Address', 'BuildingNumber')\").nullable().optional(),\n highlight: z.string().describe(\"Highlighted portion of the text matching the search query\").nullable().optional(),\n});\nexport const PostgridVerifyGetIntlAutocompletePreviewsOutput: z.ZodTypeAny = z.object({\n data: z.array(PostgridVerifyGetIntlAutocompletePreviews_AutocompletePreviewItemSchema).describe(\"List of autocomplete preview items for international addresses\").nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'success')\").nullable().optional(),\n message: z.string().describe(\"Message providing details about the operation\").nullable().optional(),\n});\n\nexport const postgridVerifyGetIntlAutocompletePreviews = action(\"POSTGRID_VERIFY_GET_INTL_AUTOCOMPLETE_PREVIEWS\", {\n slug: \"postgrid_verify-get-intl-autocomplete-previews\",\n name: \"Get International Autocomplete Previews\",\n description: \"Tool to get previews of autocompleted international addresses. Results are biased based on your current IP address unless disabled. Returns both 'Address' and 'BuildingNumber' types - if type is 'Address', its id can be used in POST /completions; if 'BuildingNumber', use the container id with advanced previews.\",\n input: PostgridVerifyGetIntlAutocompletePreviewsInput,\n output: PostgridVerifyGetIntlAutocompletePreviewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAA+D,EAAE,OAAO;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACnL,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CACvM,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACnH,CAAC;AACD,MAAM,0EAAwF,EAAE,OAAO;CACrG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1N,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC;AAOD,MAAa,4CAA4C,OAAO,kDAAkD;CAChH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2E,EAAE,OAAO;EACpF,MAAM,EAAE,MAAM,uEAAuE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtL,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-lookup-info.ts
|
|
4
|
+
const PostgridVerifyGetLookupInfoInput = zod.z.object({});
|
|
5
|
+
const PostgridVerifyGetLookupInfo_LookupInfoDataSchema = zod.z.object({
|
|
6
|
+
used: zod.z.number().int().describe("The number of lookups you have used so far.").nullable().optional(),
|
|
7
|
+
freeLimit: zod.z.number().int().describe("The free lookup limit for your account. Returns 0 if no free tier is available.").nullable().optional()
|
|
8
|
+
});
|
|
9
|
+
const PostgridVerifyGetLookupInfoOutput = zod.z.object({
|
|
10
|
+
data: PostgridVerifyGetLookupInfo_LookupInfoDataSchema.nullable().optional(),
|
|
11
|
+
status: zod.z.string().describe("Status of the request (e.g., 'success').").nullable().optional(),
|
|
12
|
+
message: zod.z.string().describe("Message providing details about the operation.").nullable().optional()
|
|
13
|
+
});
|
|
14
|
+
const postgridVerifyGetLookupInfo = require_action.action("POSTGRID_VERIFY_GET_LOOKUP_INFO", {
|
|
15
|
+
slug: "postgrid_verify-get-lookup-info",
|
|
16
|
+
name: "Get Lookup Info",
|
|
17
|
+
description: "Tool to retrieve lookup usage information for your PostGrid account. Use when you need to check how many lookups you have used and your free lookup limit.",
|
|
18
|
+
input: PostgridVerifyGetLookupInfoInput,
|
|
19
|
+
output: PostgridVerifyGetLookupInfoOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.postgridVerifyGetLookupInfo = postgridVerifyGetLookupInfo;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-lookup-info.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-lookup-info.cjs","names":["z","action"],"sources":["../../src/actions/get-lookup-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyGetLookupInfoInput: z.ZodTypeAny = z.object({});\nconst PostgridVerifyGetLookupInfo_LookupInfoDataSchema: z.ZodTypeAny = z.object({\n used: z.number().int().describe(\"The number of lookups you have used so far.\").nullable().optional(),\n freeLimit: z.number().int().describe(\"The free lookup limit for your account. Returns 0 if no free tier is available.\").nullable().optional(),\n});\nexport const PostgridVerifyGetLookupInfoOutput: z.ZodTypeAny = z.object({\n data: PostgridVerifyGetLookupInfo_LookupInfoDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'success').\").nullable().optional(),\n message: z.string().describe(\"Message providing details about the operation.\").nullable().optional(),\n});\n\nexport const postgridVerifyGetLookupInfo = action(\"POSTGRID_VERIFY_GET_LOOKUP_INFO\", {\n slug: \"postgrid_verify-get-lookup-info\",\n name: \"Get Lookup Info\",\n description: \"Tool to retrieve lookup usage information for your PostGrid account. Use when you need to check how many lookups you have used and your free lookup limit.\",\n input: PostgridVerifyGetLookupInfoInput,\n output: PostgridVerifyGetLookupInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACzE,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC;AACD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|