@keystrokehq/postgrid_verify 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/autocomplete-address.cjs +1 -0
- package/dist/actions/autocomplete-address.cjs.map +1 -1
- package/dist/actions/autocomplete-address.d.cts +3 -20
- package/dist/actions/autocomplete-address.d.cts.map +1 -1
- package/dist/actions/autocomplete-address.d.mts +3 -20
- package/dist/actions/autocomplete-address.d.mts.map +1 -1
- package/dist/actions/autocomplete-address.mjs +1 -0
- package/dist/actions/autocomplete-address.mjs.map +1 -1
- package/dist/actions/autocomplete-intl-address.cjs +1 -0
- package/dist/actions/autocomplete-intl-address.cjs.map +1 -1
- package/dist/actions/autocomplete-intl-address.d.cts +3 -15
- package/dist/actions/autocomplete-intl-address.d.cts.map +1 -1
- package/dist/actions/autocomplete-intl-address.d.mts +3 -15
- package/dist/actions/autocomplete-intl-address.d.mts.map +1 -1
- package/dist/actions/autocomplete-intl-address.mjs +1 -0
- package/dist/actions/autocomplete-intl-address.mjs.map +1 -1
- package/dist/actions/get-autocomplete-previews.cjs +1 -0
- package/dist/actions/get-autocomplete-previews.cjs.map +1 -1
- package/dist/actions/get-autocomplete-previews.d.cts +3 -17
- package/dist/actions/get-autocomplete-previews.d.cts.map +1 -1
- package/dist/actions/get-autocomplete-previews.d.mts +3 -17
- package/dist/actions/get-autocomplete-previews.d.mts.map +1 -1
- package/dist/actions/get-autocomplete-previews.mjs +1 -0
- package/dist/actions/get-autocomplete-previews.mjs.map +1 -1
- package/dist/actions/get-intl-autocomplete-previews.cjs +1 -0
- package/dist/actions/get-intl-autocomplete-previews.cjs.map +1 -1
- package/dist/actions/get-intl-autocomplete-previews.d.cts +3 -22
- package/dist/actions/get-intl-autocomplete-previews.d.cts.map +1 -1
- package/dist/actions/get-intl-autocomplete-previews.d.mts +3 -22
- package/dist/actions/get-intl-autocomplete-previews.d.mts.map +1 -1
- package/dist/actions/get-intl-autocomplete-previews.mjs +1 -0
- package/dist/actions/get-intl-autocomplete-previews.mjs.map +1 -1
- package/dist/actions/get-lookup-info.cjs +1 -0
- package/dist/actions/get-lookup-info.cjs.map +1 -1
- package/dist/actions/get-lookup-info.d.cts +3 -13
- package/dist/actions/get-lookup-info.d.cts.map +1 -1
- package/dist/actions/get-lookup-info.d.mts +3 -13
- package/dist/actions/get-lookup-info.d.mts.map +1 -1
- package/dist/actions/get-lookup-info.mjs +1 -0
- package/dist/actions/get-lookup-info.mjs.map +1 -1
- package/dist/actions/lookup-city-state-from-postal.cjs +1 -0
- package/dist/actions/lookup-city-state-from-postal.cjs.map +1 -1
- package/dist/actions/lookup-city-state-from-postal.d.cts +3 -15
- package/dist/actions/lookup-city-state-from-postal.d.cts.map +1 -1
- package/dist/actions/lookup-city-state-from-postal.d.mts +3 -15
- package/dist/actions/lookup-city-state-from-postal.d.mts.map +1 -1
- package/dist/actions/lookup-city-state-from-postal.mjs +1 -0
- package/dist/actions/lookup-city-state-from-postal.mjs.map +1 -1
- package/dist/actions/parse-address.cjs +1 -0
- package/dist/actions/parse-address.cjs.map +1 -1
- package/dist/actions/parse-address.d.cts +3 -15
- package/dist/actions/parse-address.d.cts.map +1 -1
- package/dist/actions/parse-address.d.mts +3 -15
- package/dist/actions/parse-address.d.mts.map +1 -1
- package/dist/actions/parse-address.mjs +1 -0
- package/dist/actions/parse-address.mjs.map +1 -1
- package/dist/actions/suggest-addresses.cjs +1 -0
- package/dist/actions/suggest-addresses.cjs.map +1 -1
- package/dist/actions/suggest-addresses.d.cts +3 -23
- package/dist/actions/suggest-addresses.d.cts.map +1 -1
- package/dist/actions/suggest-addresses.d.mts +3 -23
- package/dist/actions/suggest-addresses.d.mts.map +1 -1
- package/dist/actions/suggest-addresses.mjs +1 -0
- package/dist/actions/suggest-addresses.mjs.map +1 -1
- package/dist/actions/verify-address.cjs +1 -0
- package/dist/actions/verify-address.cjs.map +1 -1
- package/dist/actions/verify-address.d.cts +3 -23
- package/dist/actions/verify-address.d.cts.map +1 -1
- package/dist/actions/verify-address.d.mts +3 -23
- package/dist/actions/verify-address.d.mts.map +1 -1
- package/dist/actions/verify-address.mjs +1 -0
- package/dist/actions/verify-address.mjs.map +1 -1
- package/dist/actions/verify-batch-addresses.cjs +1 -0
- package/dist/actions/verify-batch-addresses.cjs.map +1 -1
- package/dist/actions/verify-batch-addresses.d.cts +3 -26
- package/dist/actions/verify-batch-addresses.d.cts.map +1 -1
- package/dist/actions/verify-batch-addresses.d.mts +3 -26
- package/dist/actions/verify-batch-addresses.d.mts.map +1 -1
- package/dist/actions/verify-batch-addresses.mjs +1 -0
- package/dist/actions/verify-batch-addresses.mjs.map +1 -1
- package/dist/actions/verify-international-address.cjs +1 -0
- package/dist/actions/verify-international-address.cjs.map +1 -1
- package/dist/actions/verify-international-address.d.cts +3 -17
- package/dist/actions/verify-international-address.d.cts.map +1 -1
- package/dist/actions/verify-international-address.d.mts +3 -17
- package/dist/actions/verify-international-address.d.mts.map +1 -1
- package/dist/actions/verify-international-address.mjs +1 -0
- package/dist/actions/verify-international-address.mjs.map +1 -1
- package/dist/actions/verify-intl-addresses-batch.cjs +1 -0
- package/dist/actions/verify-intl-addresses-batch.cjs.map +1 -1
- package/dist/actions/verify-intl-addresses-batch.d.cts +3 -27
- package/dist/actions/verify-intl-addresses-batch.d.cts.map +1 -1
- package/dist/actions/verify-intl-addresses-batch.d.mts +3 -27
- package/dist/actions/verify-intl-addresses-batch.d.mts.map +1 -1
- package/dist/actions/verify-intl-addresses-batch.mjs +1 -0
- package/dist/actions/verify-intl-addresses-batch.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["postgridVerify","executePostgridVerifyTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof postgridVerify.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAO8D;CAC9D,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.map
CHANGED
|
@@ -1 +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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof postgridVerify.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAO8D;CAC9D,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"}
|
|
@@ -1 +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.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.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}).passthrough();\nconst PostgridVerifyAutocompleteAddress_CompletionDataItemSchema = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Validation errors per field if any\").nullable().optional(),\n address: PostgridVerifyAutocompleteAddress_CompletionAddressSchema.nullable().optional(),\n}).passthrough();\nexport const PostgridVerifyAutocompleteAddressOutput = 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}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"autocomplete-address.cjs","names":["z","action"],"sources":["../../src/actions/autocomplete-address.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgridVerify } from \"../app\";\n\nexport const PostgridVerifyAutocompleteAddressInput = 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.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}).passthrough();\nconst PostgridVerifyAutocompleteAddress_CompletionDataItemSchema = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Validation errors per field if any\").nullable().optional(),\n address: PostgridVerifyAutocompleteAddress_CompletionAddressSchema.nullable().optional(),\n}).passthrough();\nexport const PostgridVerifyAutocompleteAddressOutput = 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}).passthrough();\n\nexport const postgridVerifyAutocompleteAddress: AppAction<\n typeof PostgridVerifyAutocompleteAddressInput,\n typeof PostgridVerifyAutocompleteAddressOutput,\n typeof postgridVerify.credential\n> = 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":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,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,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,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,CAAC,CAAC,YAAY;AACf,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAAS,0DAA0D,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,CAAC,CAAC,YAAY;AAEf,MAAa,oCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgridVerify } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/autocomplete-address.d.ts
|
|
@@ -23,26 +25,7 @@ declare const PostgridVerifyAutocompleteAddressOutput: z.ZodObject<{
|
|
|
23
25
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const postgridVerifyAutocompleteAddress:
|
|
27
|
-
partialStreet: string;
|
|
28
|
-
index?: string | undefined;
|
|
29
|
-
pcFilter?: string | undefined;
|
|
30
|
-
cityFilter?: string | undefined;
|
|
31
|
-
stateFilter?: string | undefined;
|
|
32
|
-
countryFilter?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const postgridVerifyAutocompleteAddress: AppAction<typeof PostgridVerifyAutocompleteAddressInput, typeof PostgridVerifyAutocompleteAddressOutput, typeof postgridVerify.credential>;
|
|
46
29
|
//#endregion
|
|
47
30
|
export { postgridVerifyAutocompleteAddress };
|
|
48
31
|
//# sourceMappingURL=autocomplete-address.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete-address.d.cts","names":[],"sources":["../../src/actions/autocomplete-address.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"autocomplete-address.d.cts","names":[],"sources":["../../src/actions/autocomplete-address.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;cAmBtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgridVerify } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/autocomplete-address.d.ts
|
|
@@ -23,26 +25,7 @@ declare const PostgridVerifyAutocompleteAddressOutput: z.ZodObject<{
|
|
|
23
25
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const postgridVerifyAutocompleteAddress:
|
|
27
|
-
partialStreet: string;
|
|
28
|
-
index?: string | undefined;
|
|
29
|
-
pcFilter?: string | undefined;
|
|
30
|
-
cityFilter?: string | undefined;
|
|
31
|
-
stateFilter?: string | undefined;
|
|
32
|
-
countryFilter?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const postgridVerifyAutocompleteAddress: AppAction<typeof PostgridVerifyAutocompleteAddressInput, typeof PostgridVerifyAutocompleteAddressOutput, typeof postgridVerify.credential>;
|
|
46
29
|
//#endregion
|
|
47
30
|
export { postgridVerifyAutocompleteAddress };
|
|
48
31
|
//# sourceMappingURL=autocomplete-address.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete-address.d.mts","names":[],"sources":["../../src/actions/autocomplete-address.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"autocomplete-address.d.mts","names":[],"sources":["../../src/actions/autocomplete-address.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;cAmBtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +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.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.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}).passthrough();\nconst PostgridVerifyAutocompleteAddress_CompletionDataItemSchema = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Validation errors per field if any\").nullable().optional(),\n address: PostgridVerifyAutocompleteAddress_CompletionAddressSchema.nullable().optional(),\n}).passthrough();\nexport const PostgridVerifyAutocompleteAddressOutput = 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}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"autocomplete-address.mjs","names":[],"sources":["../../src/actions/autocomplete-address.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgridVerify } from \"../app\";\n\nexport const PostgridVerifyAutocompleteAddressInput = 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.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}).passthrough();\nconst PostgridVerifyAutocompleteAddress_CompletionDataItemSchema = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Validation errors per field if any\").nullable().optional(),\n address: PostgridVerifyAutocompleteAddress_CompletionAddressSchema.nullable().optional(),\n}).passthrough();\nexport const PostgridVerifyAutocompleteAddressOutput = 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}).passthrough();\n\nexport const postgridVerifyAutocompleteAddress: AppAction<\n typeof PostgridVerifyAutocompleteAddressInput,\n typeof PostgridVerifyAutocompleteAddressOutput,\n typeof postgridVerify.credential\n> = 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":";;;;AAMA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,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,4DAA4D,EAAE,OAAO;CACzE,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,CAAC,CAAC,YAAY;AACf,MAAM,6DAA6D,EAAE,OAAO;CAC1E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAAS,0DAA0D,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,oCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfqD,EAAE,OAAO;EAC9D,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,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +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.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.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}).passthrough();\nexport const PostgridVerifyAutocompleteIntlAddressOutput = 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}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"autocomplete-intl-address.cjs","names":["z","action"],"sources":["../../src/actions/autocomplete-intl-address.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgridVerify } from \"../app\";\n\nexport const PostgridVerifyAutocompleteIntlAddressInput = 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.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}).passthrough();\nexport const PostgridVerifyAutocompleteIntlAddressOutput = 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}).passthrough();\n\nexport const postgridVerifyAutocompleteIntlAddress: AppAction<\n typeof PostgridVerifyAutocompleteIntlAddressInput,\n typeof PostgridVerifyAutocompleteIntlAddressOutput,\n typeof postgridVerify.credential\n> = 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":";;;;AAMA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,EAClK,CAAC;AACD,MAAM,iFAAiFA,IAAAA,EAAE,OAAO;CAC9F,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,CAAC,CAAC,YAAY;AACf,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,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,CAAC,CAAC,YAAY;AAEf,MAAa,wCAITC,eAAAA,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgridVerify } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/autocomplete-intl-address.d.ts
|
|
@@ -18,21 +20,7 @@ declare const PostgridVerifyAutocompleteIntlAddressOutput: z.ZodObject<{
|
|
|
18
20
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const postgridVerifyAutocompleteIntlAddress:
|
|
22
|
-
id: string;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const postgridVerifyAutocompleteIntlAddress: AppAction<typeof PostgridVerifyAutocompleteIntlAddressInput, typeof PostgridVerifyAutocompleteIntlAddressOutput, typeof postgridVerify.credential>;
|
|
36
24
|
//#endregion
|
|
37
25
|
export { postgridVerifyAutocompleteIntlAddress };
|
|
38
26
|
//# sourceMappingURL=autocomplete-intl-address.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete-intl-address.d.cts","names":[],"sources":["../../src/actions/autocomplete-intl-address.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"autocomplete-intl-address.d.cts","names":[],"sources":["../../src/actions/autocomplete-intl-address.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAa1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAM3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgridVerify } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/autocomplete-intl-address.d.ts
|
|
@@ -18,21 +20,7 @@ declare const PostgridVerifyAutocompleteIntlAddressOutput: z.ZodObject<{
|
|
|
18
20
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const postgridVerifyAutocompleteIntlAddress:
|
|
22
|
-
id: string;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const postgridVerifyAutocompleteIntlAddress: AppAction<typeof PostgridVerifyAutocompleteIntlAddressInput, typeof PostgridVerifyAutocompleteIntlAddressOutput, typeof postgridVerify.credential>;
|
|
36
24
|
//#endregion
|
|
37
25
|
export { postgridVerifyAutocompleteIntlAddress };
|
|
38
26
|
//# sourceMappingURL=autocomplete-intl-address.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete-intl-address.d.mts","names":[],"sources":["../../src/actions/autocomplete-intl-address.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"autocomplete-intl-address.d.mts","names":[],"sources":["../../src/actions/autocomplete-intl-address.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAa1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAM3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +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.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.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}).passthrough();\nexport const PostgridVerifyAutocompleteIntlAddressOutput = 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}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"autocomplete-intl-address.mjs","names":[],"sources":["../../src/actions/autocomplete-intl-address.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgridVerify } from \"../app\";\n\nexport const PostgridVerifyAutocompleteIntlAddressInput = 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.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}).passthrough();\nexport const PostgridVerifyAutocompleteIntlAddressOutput = 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}).passthrough();\n\nexport const postgridVerifyAutocompleteIntlAddress: AppAction<\n typeof PostgridVerifyAutocompleteIntlAddressInput,\n typeof PostgridVerifyAutocompleteIntlAddressOutput,\n typeof postgridVerify.credential\n> = 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":";;;;AAMA,MAAa,6CAA6C,EAAE,OAAO,EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,EAClK,CAAC;AACD,MAAM,iFAAiF,EAAE,OAAO;CAC9F,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,CAAC,CAAC,YAAY;AAOf,MAAa,wCAIT,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfyD,EAAE,OAAO;EAClE,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,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +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.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.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}).passthrough();\nconst PostgridVerifyGetAutocompletePreviews_AutocompletePreviewDataItemSchema = z.object({\n preview: PostgridVerifyGetAutocompletePreviews_PreviewDetailsSchema.nullable(),\n}).passthrough();\nexport const PostgridVerifyGetAutocompletePreviewsOutput = 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}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"get-autocomplete-previews.cjs","names":["z","action"],"sources":["../../src/actions/get-autocomplete-previews.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgridVerify } from \"../app\";\n\nexport const PostgridVerifyGetAutocompletePreviewsInput = 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.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}).passthrough();\nconst PostgridVerifyGetAutocompletePreviews_AutocompletePreviewDataItemSchema = z.object({\n preview: PostgridVerifyGetAutocompletePreviews_PreviewDetailsSchema.nullable(),\n}).passthrough();\nexport const PostgridVerifyGetAutocompletePreviewsOutput = 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}).passthrough();\n\nexport const postgridVerifyGetAutocompletePreviews: AppAction<\n typeof PostgridVerifyGetAutocompletePreviewsInput,\n typeof PostgridVerifyGetAutocompletePreviewsOutput,\n typeof postgridVerify.credential\n> = 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":";;;;AAMA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,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,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,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,CAAC,CAAC,YAAY;AACf,MAAM,0EAA0EA,IAAAA,EAAE,OAAO,EACvF,SAAS,2DAA2D,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,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,CAAC,CAAC,YAAY;AAEf,MAAa,wCAITC,eAAAA,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgridVerify } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-autocomplete-previews.d.ts
|
|
@@ -18,23 +20,7 @@ declare const PostgridVerifyGetAutocompletePreviewsOutput: z.ZodObject<{
|
|
|
18
20
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const postgridVerifyGetAutocompletePreviews:
|
|
22
|
-
countryFilter?: string | undefined;
|
|
23
|
-
partialStreet?: string | undefined;
|
|
24
|
-
provInsteadOfPC?: boolean | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const postgridVerifyGetAutocompletePreviews: AppAction<typeof PostgridVerifyGetAutocompletePreviewsInput, typeof PostgridVerifyGetAutocompletePreviewsOutput, typeof postgridVerify.credential>;
|
|
38
24
|
//#endregion
|
|
39
25
|
export { postgridVerifyGetAutocompletePreviews };
|
|
40
26
|
//# sourceMappingURL=get-autocomplete-previews.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-autocomplete-previews.d.cts","names":[],"sources":["../../src/actions/get-autocomplete-previews.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-autocomplete-previews.d.cts","names":[],"sources":["../../src/actions/get-autocomplete-previews.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAc1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAM3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgridVerify } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-autocomplete-previews.d.ts
|
|
@@ -18,23 +20,7 @@ declare const PostgridVerifyGetAutocompletePreviewsOutput: z.ZodObject<{
|
|
|
18
20
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const postgridVerifyGetAutocompletePreviews:
|
|
22
|
-
countryFilter?: string | undefined;
|
|
23
|
-
partialStreet?: string | undefined;
|
|
24
|
-
provInsteadOfPC?: boolean | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const postgridVerifyGetAutocompletePreviews: AppAction<typeof PostgridVerifyGetAutocompletePreviewsInput, typeof PostgridVerifyGetAutocompletePreviewsOutput, typeof postgridVerify.credential>;
|
|
38
24
|
//#endregion
|
|
39
25
|
export { postgridVerifyGetAutocompletePreviews };
|
|
40
26
|
//# sourceMappingURL=get-autocomplete-previews.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-autocomplete-previews.d.mts","names":[],"sources":["../../src/actions/get-autocomplete-previews.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-autocomplete-previews.d.mts","names":[],"sources":["../../src/actions/get-autocomplete-previews.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAc1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAM3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +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.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.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}).passthrough();\nconst PostgridVerifyGetAutocompletePreviews_AutocompletePreviewDataItemSchema = z.object({\n preview: PostgridVerifyGetAutocompletePreviews_PreviewDetailsSchema.nullable(),\n}).passthrough();\nexport const PostgridVerifyGetAutocompletePreviewsOutput = 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}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"get-autocomplete-previews.mjs","names":[],"sources":["../../src/actions/get-autocomplete-previews.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgridVerify } from \"../app\";\n\nexport const PostgridVerifyGetAutocompletePreviewsInput = 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.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}).passthrough();\nconst PostgridVerifyGetAutocompletePreviews_AutocompletePreviewDataItemSchema = z.object({\n preview: PostgridVerifyGetAutocompletePreviews_PreviewDetailsSchema.nullable(),\n}).passthrough();\nexport const PostgridVerifyGetAutocompletePreviewsOutput = 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}).passthrough();\n\nexport const postgridVerifyGetAutocompletePreviews: AppAction<\n typeof PostgridVerifyGetAutocompletePreviewsInput,\n typeof PostgridVerifyGetAutocompletePreviewsOutput,\n typeof postgridVerify.credential\n> = 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":";;;;AAMA,MAAa,6CAA6C,EAAE,OAAO;CACjE,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,6DAA6D,EAAE,OAAO;CAC1E,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,CAAC,CAAC,YAAY;AACf,MAAM,0EAA0E,EAAE,OAAO,EACvF,SAAS,2DAA2D,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,wCAIT,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfyD,EAAE,OAAO;EAClE,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,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +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.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.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}).passthrough();\nexport const PostgridVerifyGetIntlAutocompletePreviewsOutput = 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}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"get-intl-autocomplete-previews.cjs","names":["z","action"],"sources":["../../src/actions/get-intl-autocomplete-previews.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgridVerify } from \"../app\";\n\nexport const PostgridVerifyGetIntlAutocompletePreviewsInput = 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.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}).passthrough();\nexport const PostgridVerifyGetIntlAutocompletePreviewsOutput = 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}).passthrough();\n\nexport const postgridVerifyGetIntlAutocompletePreviews: AppAction<\n typeof PostgridVerifyGetIntlAutocompletePreviewsInput,\n typeof PostgridVerifyGetIntlAutocompletePreviewsOutput,\n typeof postgridVerify.credential\n> = 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":";;;;AAMA,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,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,0EAA0EA,IAAAA,EAAE,OAAO;CACvF,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,CAAC,CAAC,YAAY;AACf,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,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,CAAC,CAAC,YAAY;AAEf,MAAa,4CAITC,eAAAA,OAAO,kDAAkD;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgridVerify } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-intl-autocomplete-previews.d.ts
|
|
@@ -21,28 +23,7 @@ declare const PostgridVerifyGetIntlAutocompletePreviewsOutput: z.ZodObject<{
|
|
|
21
23
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const postgridVerifyGetIntlAutocompletePreviews:
|
|
25
|
-
limit?: number | undefined;
|
|
26
|
-
language?: string | undefined;
|
|
27
|
-
cityFilter?: string | undefined;
|
|
28
|
-
streetFilter?: string | undefined;
|
|
29
|
-
partialStreet?: string | undefined;
|
|
30
|
-
countriesFilter?: string | undefined;
|
|
31
|
-
disableIPBiasing?: boolean | undefined;
|
|
32
|
-
postalOrZipFilter?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const postgridVerifyGetIntlAutocompletePreviews: AppAction<typeof PostgridVerifyGetIntlAutocompletePreviewsInput, typeof PostgridVerifyGetIntlAutocompletePreviewsOutput, typeof postgridVerify.credential>;
|
|
46
27
|
//#endregion
|
|
47
28
|
export { postgridVerifyGetIntlAutocompletePreviews };
|
|
48
29
|
//# sourceMappingURL=get-intl-autocomplete-previews.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-intl-autocomplete-previews.d.cts","names":[],"sources":["../../src/actions/get-intl-autocomplete-previews.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-intl-autocomplete-previews.d.cts","names":[],"sources":["../../src/actions/get-intl-autocomplete-previews.ts"],"mappings":";;;;;cAMa,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;;;;;;cAgB9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;cAM/C,yCAAA,EAA2C,SAAA,QAC/C,8CAAA,SACA,+CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgridVerify } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-intl-autocomplete-previews.d.ts
|
|
@@ -21,28 +23,7 @@ declare const PostgridVerifyGetIntlAutocompletePreviewsOutput: z.ZodObject<{
|
|
|
21
23
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const postgridVerifyGetIntlAutocompletePreviews:
|
|
25
|
-
limit?: number | undefined;
|
|
26
|
-
language?: string | undefined;
|
|
27
|
-
cityFilter?: string | undefined;
|
|
28
|
-
streetFilter?: string | undefined;
|
|
29
|
-
partialStreet?: string | undefined;
|
|
30
|
-
countriesFilter?: string | undefined;
|
|
31
|
-
disableIPBiasing?: boolean | undefined;
|
|
32
|
-
postalOrZipFilter?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid_verify", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const postgridVerifyGetIntlAutocompletePreviews: AppAction<typeof PostgridVerifyGetIntlAutocompletePreviewsInput, typeof PostgridVerifyGetIntlAutocompletePreviewsOutput, typeof postgridVerify.credential>;
|
|
46
27
|
//#endregion
|
|
47
28
|
export { postgridVerifyGetIntlAutocompletePreviews };
|
|
48
29
|
//# sourceMappingURL=get-intl-autocomplete-previews.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-intl-autocomplete-previews.d.mts","names":[],"sources":["../../src/actions/get-intl-autocomplete-previews.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-intl-autocomplete-previews.d.mts","names":[],"sources":["../../src/actions/get-intl-autocomplete-previews.ts"],"mappings":";;;;;cAMa,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;;;;;;cAgB9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;cAM/C,yCAAA,EAA2C,SAAA,QAC/C,8CAAA,SACA,+CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +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.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.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}).passthrough();\nexport const PostgridVerifyGetIntlAutocompletePreviewsOutput = 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}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"get-intl-autocomplete-previews.mjs","names":[],"sources":["../../src/actions/get-intl-autocomplete-previews.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgridVerify } from \"../app\";\n\nexport const PostgridVerifyGetIntlAutocompletePreviewsInput = 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.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}).passthrough();\nexport const PostgridVerifyGetIntlAutocompletePreviewsOutput = 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}).passthrough();\n\nexport const postgridVerifyGetIntlAutocompletePreviews: AppAction<\n typeof PostgridVerifyGetIntlAutocompletePreviewsInput,\n typeof PostgridVerifyGetIntlAutocompletePreviewsOutput,\n typeof postgridVerify.credential\n> = 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":";;;;AAMA,MAAa,iDAAiD,EAAE,OAAO;CACrE,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,0EAA0E,EAAE,OAAO;CACvF,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,CAAC,CAAC,YAAY;AAOf,MAAa,4CAIT,OAAO,kDAAkD;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf6D,EAAE,OAAO;EACtE,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,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +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.object({});\nconst PostgridVerifyGetLookupInfo_LookupInfoDataSchema = 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}).passthrough();\nexport const PostgridVerifyGetLookupInfoOutput = 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}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"get-lookup-info.cjs","names":["z","action"],"sources":["../../src/actions/get-lookup-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgridVerify } from \"../app\";\n\nexport const PostgridVerifyGetLookupInfoInput = z.object({});\nconst PostgridVerifyGetLookupInfo_LookupInfoDataSchema = 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}).passthrough();\nexport const PostgridVerifyGetLookupInfoOutput = 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}).passthrough();\n\nexport const postgridVerifyGetLookupInfo: AppAction<\n typeof PostgridVerifyGetLookupInfoInput,\n typeof PostgridVerifyGetLookupInfoOutput,\n typeof postgridVerify.credential\n> = 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":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC3D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,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,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,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,CAAC,CAAC,YAAY;AAEf,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|