@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.
Files changed (130) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/autocomplete-address.cjs +38 -0
  7. package/dist/actions/autocomplete-address.cjs.map +1 -0
  8. package/dist/actions/autocomplete-address.d.cts +9 -0
  9. package/dist/actions/autocomplete-address.d.cts.map +1 -0
  10. package/dist/actions/autocomplete-address.d.mts +9 -0
  11. package/dist/actions/autocomplete-address.d.mts.map +1 -0
  12. package/dist/actions/autocomplete-address.mjs +37 -0
  13. package/dist/actions/autocomplete-address.mjs.map +1 -0
  14. package/dist/actions/autocomplete-intl-address.cjs +30 -0
  15. package/dist/actions/autocomplete-intl-address.cjs.map +1 -0
  16. package/dist/actions/autocomplete-intl-address.d.cts +9 -0
  17. package/dist/actions/autocomplete-intl-address.d.cts.map +1 -0
  18. package/dist/actions/autocomplete-intl-address.d.mts +9 -0
  19. package/dist/actions/autocomplete-intl-address.d.mts.map +1 -0
  20. package/dist/actions/autocomplete-intl-address.mjs +29 -0
  21. package/dist/actions/autocomplete-intl-address.mjs.map +1 -0
  22. package/dist/actions/get-autocomplete-previews.cjs +31 -0
  23. package/dist/actions/get-autocomplete-previews.cjs.map +1 -0
  24. package/dist/actions/get-autocomplete-previews.d.cts +9 -0
  25. package/dist/actions/get-autocomplete-previews.d.cts.map +1 -0
  26. package/dist/actions/get-autocomplete-previews.d.mts +9 -0
  27. package/dist/actions/get-autocomplete-previews.d.mts.map +1 -0
  28. package/dist/actions/get-autocomplete-previews.mjs +30 -0
  29. package/dist/actions/get-autocomplete-previews.mjs.map +1 -0
  30. package/dist/actions/get-intl-autocomplete-previews.cjs +35 -0
  31. package/dist/actions/get-intl-autocomplete-previews.cjs.map +1 -0
  32. package/dist/actions/get-intl-autocomplete-previews.d.cts +9 -0
  33. package/dist/actions/get-intl-autocomplete-previews.d.cts.map +1 -0
  34. package/dist/actions/get-intl-autocomplete-previews.d.mts +9 -0
  35. package/dist/actions/get-intl-autocomplete-previews.d.mts.map +1 -0
  36. package/dist/actions/get-intl-autocomplete-previews.mjs +34 -0
  37. package/dist/actions/get-intl-autocomplete-previews.mjs.map +1 -0
  38. package/dist/actions/get-lookup-info.cjs +24 -0
  39. package/dist/actions/get-lookup-info.cjs.map +1 -0
  40. package/dist/actions/get-lookup-info.d.cts +9 -0
  41. package/dist/actions/get-lookup-info.d.cts.map +1 -0
  42. package/dist/actions/get-lookup-info.d.mts +9 -0
  43. package/dist/actions/get-lookup-info.d.mts.map +1 -0
  44. package/dist/actions/get-lookup-info.mjs +23 -0
  45. package/dist/actions/get-lookup-info.mjs.map +1 -0
  46. package/dist/actions/index.cjs +25 -0
  47. package/dist/actions/index.d.cts +13 -0
  48. package/dist/actions/index.d.mts +13 -0
  49. package/dist/actions/index.mjs +13 -0
  50. package/dist/actions/lookup-city-state-from-postal.cjs +24 -0
  51. package/dist/actions/lookup-city-state-from-postal.cjs.map +1 -0
  52. package/dist/actions/lookup-city-state-from-postal.d.cts +9 -0
  53. package/dist/actions/lookup-city-state-from-postal.d.cts.map +1 -0
  54. package/dist/actions/lookup-city-state-from-postal.d.mts +9 -0
  55. package/dist/actions/lookup-city-state-from-postal.d.mts.map +1 -0
  56. package/dist/actions/lookup-city-state-from-postal.mjs +23 -0
  57. package/dist/actions/lookup-city-state-from-postal.mjs.map +1 -0
  58. package/dist/actions/parse-address.cjs +38 -0
  59. package/dist/actions/parse-address.cjs.map +1 -0
  60. package/dist/actions/parse-address.d.cts +9 -0
  61. package/dist/actions/parse-address.d.cts.map +1 -0
  62. package/dist/actions/parse-address.d.mts +9 -0
  63. package/dist/actions/parse-address.d.mts.map +1 -0
  64. package/dist/actions/parse-address.mjs +37 -0
  65. package/dist/actions/parse-address.mjs.map +1 -0
  66. package/dist/actions/suggest-addresses.cjs +45 -0
  67. package/dist/actions/suggest-addresses.cjs.map +1 -0
  68. package/dist/actions/suggest-addresses.d.cts +9 -0
  69. package/dist/actions/suggest-addresses.d.cts.map +1 -0
  70. package/dist/actions/suggest-addresses.d.mts +9 -0
  71. package/dist/actions/suggest-addresses.d.mts.map +1 -0
  72. package/dist/actions/suggest-addresses.mjs +44 -0
  73. package/dist/actions/suggest-addresses.mjs.map +1 -0
  74. package/dist/actions/verify-address.cjs +40 -0
  75. package/dist/actions/verify-address.cjs.map +1 -0
  76. package/dist/actions/verify-address.d.cts +9 -0
  77. package/dist/actions/verify-address.d.cts.map +1 -0
  78. package/dist/actions/verify-address.d.mts +9 -0
  79. package/dist/actions/verify-address.d.mts.map +1 -0
  80. package/dist/actions/verify-address.mjs +39 -0
  81. package/dist/actions/verify-address.mjs.map +1 -0
  82. package/dist/actions/verify-batch-addresses.cjs +60 -0
  83. package/dist/actions/verify-batch-addresses.cjs.map +1 -0
  84. package/dist/actions/verify-batch-addresses.d.cts +9 -0
  85. package/dist/actions/verify-batch-addresses.d.cts.map +1 -0
  86. package/dist/actions/verify-batch-addresses.d.mts +9 -0
  87. package/dist/actions/verify-batch-addresses.d.mts.map +1 -0
  88. package/dist/actions/verify-batch-addresses.mjs +59 -0
  89. package/dist/actions/verify-batch-addresses.mjs.map +1 -0
  90. package/dist/actions/verify-international-address.cjs +51 -0
  91. package/dist/actions/verify-international-address.cjs.map +1 -0
  92. package/dist/actions/verify-international-address.d.cts +9 -0
  93. package/dist/actions/verify-international-address.d.cts.map +1 -0
  94. package/dist/actions/verify-international-address.d.mts +9 -0
  95. package/dist/actions/verify-international-address.d.mts.map +1 -0
  96. package/dist/actions/verify-international-address.mjs +50 -0
  97. package/dist/actions/verify-international-address.mjs.map +1 -0
  98. package/dist/actions/verify-intl-addresses-batch.cjs +50 -0
  99. package/dist/actions/verify-intl-addresses-batch.cjs.map +1 -0
  100. package/dist/actions/verify-intl-addresses-batch.d.cts +9 -0
  101. package/dist/actions/verify-intl-addresses-batch.d.cts.map +1 -0
  102. package/dist/actions/verify-intl-addresses-batch.d.mts +9 -0
  103. package/dist/actions/verify-intl-addresses-batch.d.mts.map +1 -0
  104. package/dist/actions/verify-intl-addresses-batch.mjs +49 -0
  105. package/dist/actions/verify-intl-addresses-batch.mjs.map +1 -0
  106. package/dist/app.cjs +9 -0
  107. package/dist/app.cjs.map +1 -0
  108. package/dist/app.d.cts +5 -0
  109. package/dist/app.d.cts.map +1 -0
  110. package/dist/app.d.mts +5 -0
  111. package/dist/app.d.mts.map +1 -0
  112. package/dist/app.mjs +10 -0
  113. package/dist/app.mjs.map +1 -0
  114. package/dist/catalog.cjs +15 -0
  115. package/dist/catalog.cjs.map +1 -0
  116. package/dist/catalog.d.cts +14 -0
  117. package/dist/catalog.d.cts.map +1 -0
  118. package/dist/catalog.d.mts +14 -0
  119. package/dist/catalog.d.mts.map +1 -0
  120. package/dist/catalog.mjs +15 -0
  121. package/dist/catalog.mjs.map +1 -0
  122. package/dist/execute.cjs +18 -0
  123. package/dist/execute.cjs.map +1 -0
  124. package/dist/execute.mjs +18 -0
  125. package/dist/execute.mjs.map +1 -0
  126. package/dist/index.cjs +30 -0
  127. package/dist/index.d.cts +15 -0
  128. package/dist/index.d.mts +15 -0
  129. package/dist/index.mjs +16 -0
  130. package/package.json +49 -0
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/verify-address.d.ts
4
+ declare const PostgridVerifyVerifyAddressInput: z.ZodTypeAny;
5
+ declare const PostgridVerifyVerifyAddressOutput: z.ZodTypeAny;
6
+ declare const postgridVerifyVerifyAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postgridVerifyVerifyAddress };
9
+ //# sourceMappingURL=verify-address.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-address.d.mts","names":[],"sources":["../../src/actions/verify-address.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAU/C;AAAA,cAWW,iCAAA,EAAmC,CAAA,CAAE,UAIhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,39 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/verify-address.ts
4
+ const PostgridVerifyVerifyAddressInput = z.object({
5
+ city: z.string().describe("City name. Used with structured addresses.").optional(),
6
+ line1: z.string().describe("First line of the address. Use for structured addresses. Either 'address' or 'line1' must be provided.").optional(),
7
+ line2: z.string().describe("Second line of the address (optional). Only used with structured addresses.").optional(),
8
+ address: z.string().describe("Freeform address written on a single line (e.g., '22-20 bay st, floor 11, toronto, on'). Use this for unstructured addresses. Either 'address' or 'line1' must be provided.").optional(),
9
+ country: z.string().describe("ISO 2-letter country code (US or CA). Used with structured addresses.").optional(),
10
+ geocode: z.boolean().describe("If true, include geocoding data (latitude/longitude) in the response. Uses an additional lookup credit.").optional(),
11
+ postalOrZip: z.string().describe("ZIP or postal code. Used with structured addresses.").optional(),
12
+ includeDetails: z.boolean().describe("If true, include additional address details in the response. Default is false.").optional(),
13
+ provinceOrState: z.string().describe("State or province code (e.g., 'CA', 'ON'). Used with structured addresses.").optional()
14
+ });
15
+ const PostgridVerifyVerifyAddress_VerifyAddressResponseDataSchema = z.object({
16
+ city: z.string().describe("City of the verified address.").nullable().optional(),
17
+ line1: z.string().describe("First line of the verified address.").nullable().optional(),
18
+ line2: z.string().describe("Second line of the verified address.").nullable().optional(),
19
+ errors: z.object({}).describe("Errors per field if any validation issues occurred.").nullable().optional(),
20
+ status: z.string().describe("Verification status (e.g., 'verified', 'corrected', 'unverified').").nullable().optional(),
21
+ country: z.string().describe("Country code of the verified address.").nullable().optional(),
22
+ postalOrZip: z.string().describe("ZIP or postal code of the verified address.").nullable().optional(),
23
+ provinceOrState: z.string().describe("State or province of the verified address.").nullable().optional()
24
+ });
25
+ const postgridVerifyVerifyAddress = action("POSTGRID_VERIFY_VERIFY_ADDRESS", {
26
+ slug: "postgrid_verify-verify-address",
27
+ name: "Verify Address",
28
+ description: "Tool to verify and standardize a US or Canadian address. Supports both freeform addresses (single-line) and structured addresses (with separate line1, city, etc.). Use includeDetails=true for additional metadata or geocode=true for latitude/longitude.",
29
+ input: PostgridVerifyVerifyAddressInput,
30
+ output: z.object({
31
+ data: PostgridVerifyVerifyAddress_VerifyAddressResponseDataSchema.nullable().optional(),
32
+ status: z.string().describe("Overall request status (e.g., 'success').").nullable().optional(),
33
+ message: z.string().describe("Message providing details about the verification result.").nullable().optional()
34
+ })
35
+ });
36
+ //#endregion
37
+ export { postgridVerifyVerifyAddress };
38
+
39
+ //# sourceMappingURL=verify-address.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-address.mjs","names":[],"sources":["../../src/actions/verify-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyVerifyAddressInput: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City name. Used with structured addresses.\").optional(),\n line1: z.string().describe(\"First line of the address. Use for structured addresses. Either 'address' or 'line1' must be provided.\").optional(),\n line2: z.string().describe(\"Second line of the address (optional). Only used with structured addresses.\").optional(),\n address: z.string().describe(\"Freeform address written on a single line (e.g., '22-20 bay st, floor 11, toronto, on'). Use this for unstructured addresses. Either 'address' or 'line1' must be provided.\").optional(),\n country: z.string().describe(\"ISO 2-letter country code (US or CA). Used with structured addresses.\").optional(),\n geocode: z.boolean().describe(\"If true, include geocoding data (latitude/longitude) in the response. Uses an additional lookup credit.\").optional(),\n postalOrZip: z.string().describe(\"ZIP or postal code. Used with structured addresses.\").optional(),\n includeDetails: z.boolean().describe(\"If true, include additional address details in the response. Default is false.\").optional(),\n provinceOrState: z.string().describe(\"State or province code (e.g., 'CA', 'ON'). Used with structured addresses.\").optional(),\n});\nconst PostgridVerifyVerifyAddress_VerifyAddressResponseDataSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the verified address.\").nullable().optional(),\n line1: z.string().describe(\"First line of the verified address.\").nullable().optional(),\n line2: z.string().describe(\"Second line of the verified address.\").nullable().optional(),\n errors: z.object({}).describe(\"Errors per field if any validation issues occurred.\").nullable().optional(),\n status: z.string().describe(\"Verification status (e.g., 'verified', 'corrected', 'unverified').\").nullable().optional(),\n country: z.string().describe(\"Country code of the verified address.\").nullable().optional(),\n postalOrZip: z.string().describe(\"ZIP or postal code of the verified address.\").nullable().optional(),\n provinceOrState: z.string().describe(\"State or province of the verified address.\").nullable().optional(),\n});\nexport const PostgridVerifyVerifyAddressOutput: z.ZodTypeAny = z.object({\n data: PostgridVerifyVerifyAddress_VerifyAddressResponseDataSchema.nullable().optional(),\n status: z.string().describe(\"Overall request status (e.g., 'success').\").nullable().optional(),\n message: z.string().describe(\"Message providing details about the verification result.\").nullable().optional(),\n});\n\nexport const postgridVerifyVerifyAddress = action(\"POSTGRID_VERIFY_VERIFY_ADDRESS\", {\n slug: \"postgrid_verify-verify-address\",\n name: \"Verify Address\",\n description: \"Tool to verify and standardize a US or Canadian address. Supports both freeform addresses (single-line) and structured addresses (with separate line1, city, etc.). Use includeDetails=true for additional metadata or geocode=true for latitude/longitude.\",\n input: PostgridVerifyVerifyAddressInput,\n output: PostgridVerifyVerifyAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACnH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K,CAAC,C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AO;EACtE,MAAM,4DAA4D,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAOU;AACV,CAAC"}
@@ -0,0 +1,60 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/verify-batch-addresses.ts
4
+ const PostgridVerifyVerifyBatchAddressesInput = zod.z.object({
5
+ geocode: zod.z.boolean().default(false).describe("If true and your account has geocoding enabled, provides geolocation info (latitude/longitude).").optional(),
6
+ addresses: zod.z.array(zod.z.union([zod.z.string(), zod.z.object({
7
+ city: zod.z.string().nullable().optional(),
8
+ line1: zod.z.string().describe("First line of the address (street number and name)."),
9
+ line2: zod.z.string().nullable().optional(),
10
+ country: zod.z.string().nullable().optional(),
11
+ postalOrZip: zod.z.string().nullable().optional(),
12
+ provinceOrState: zod.z.string().nullable().optional()
13
+ }).describe("Structured address object with individual fields.")])).describe("List of addresses to verify. Each address can be either a freeform string or a structured object with fields (line1, city, etc). Maximum 2000 addresses per batch."),
14
+ properCase: zod.z.boolean().default(false).describe("If true, returns the address in proper mixed case instead of uppercase.").optional(),
15
+ includeDetails: zod.z.boolean().default(true).describe("If true, provides additional details about the address (street name, type, county, etc).").optional()
16
+ });
17
+ const PostgridVerifyVerifyBatchAddresses_AddressDetailsSchema = zod.z.object({
18
+ rdi: zod.z.string().describe("Residential delivery indicator").nullable().optional(),
19
+ county: zod.z.string().describe("County name").nullable().optional(),
20
+ suiteID: zod.z.string().describe("Suite or unit number").nullable().optional(),
21
+ latitude: zod.z.number().describe("Latitude coordinate (if geocoding enabled)").nullable().optional(),
22
+ suiteKey: zod.z.string().describe("Suite key or type").nullable().optional(),
23
+ longitude: zod.z.number().describe("Longitude coordinate (if geocoding enabled)").nullable().optional(),
24
+ streetName: zod.z.string().describe("Street name").nullable().optional(),
25
+ streetType: zod.z.string().describe("Street type (e.g., St, Ave, Blvd)").nullable().optional(),
26
+ carrierRoute: zod.z.string().describe("USPS carrier route").nullable().optional(),
27
+ streetNumber: zod.z.string().describe("Street number").nullable().optional(),
28
+ congressionalDistrict: zod.z.string().describe("Congressional district").nullable().optional()
29
+ }).describe("Additional details about the verified address.");
30
+ const PostgridVerifyVerifyBatchAddresses_VerifiedAddressSchema = zod.z.object({
31
+ city: zod.z.string().describe("City of the verified address").nullable().optional(),
32
+ line1: zod.z.string().describe("First line of the verified address").nullable().optional(),
33
+ line2: zod.z.string().describe("Second line of the verified address").nullable().optional(),
34
+ errors: zod.z.object({}).describe("Field-specific validation errors if status is 'failed'").nullable().optional(),
35
+ status: zod.z.string().describe("Verification status: 'success' (exact match), 'corrected' (modified), or 'failed' (invalid)").nullable().optional(),
36
+ country: zod.z.string().describe("Country code of the verified address").nullable().optional(),
37
+ details: PostgridVerifyVerifyBatchAddresses_AddressDetailsSchema.nullable().optional(),
38
+ zipPlus4: zod.z.string().describe("ZIP+4 code (US only)").nullable().optional(),
39
+ countryName: zod.z.string().describe("Full country name").nullable().optional(),
40
+ postalOrZip: zod.z.string().describe("ZIP or postal code of the verified address").nullable().optional(),
41
+ provinceOrState: zod.z.string().describe("State or province of the verified address").nullable().optional()
42
+ }).describe("Verified address result with standardized fields.");
43
+ const PostgridVerifyVerifyBatchAddresses_VerificationResultSchema = zod.z.object({ verifiedAddress: PostgridVerifyVerifyBatchAddresses_VerifiedAddressSchema.nullable().optional() }).describe("Individual verification result wrapper.");
44
+ const PostgridVerifyVerifyBatchAddresses_BatchVerifyAddressesResponseDataSchema = zod.z.object({ results: zod.z.array(PostgridVerifyVerifyBatchAddresses_VerificationResultSchema).describe("List of verification results, one per input address in the same order") }).describe("Data container for batch verification results.");
45
+ const PostgridVerifyVerifyBatchAddressesOutput = zod.z.object({
46
+ data: PostgridVerifyVerifyBatchAddresses_BatchVerifyAddressesResponseDataSchema.nullable(),
47
+ status: zod.z.string().describe("Overall status of the batch operation (e.g., 'success')"),
48
+ message: zod.z.string().describe("Message describing the operation result")
49
+ }).describe("Response from batch address verification.");
50
+ const postgridVerifyVerifyBatchAddresses = require_action.action("POSTGRID_VERIFY_VERIFY_BATCH_ADDRESSES", {
51
+ slug: "postgrid_verify-verify-batch-addresses",
52
+ name: "Batch Verify Addresses with Mixed Format",
53
+ description: "Tool to verify up to 2000 US and Canada addresses in a single API call. Accepts both freeform address strings and structured address objects. Each address uses 1 lookup credit.",
54
+ input: PostgridVerifyVerifyBatchAddressesInput,
55
+ output: PostgridVerifyVerifyBatchAddressesOutput
56
+ });
57
+ //#endregion
58
+ exports.postgridVerifyVerifyBatchAddresses = postgridVerifyVerifyBatchAddresses;
59
+
60
+ //# sourceMappingURL=verify-batch-addresses.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-batch-addresses.cjs","names":["z","action"],"sources":["../../src/actions/verify-batch-addresses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyVerifyBatchAddressesInput: z.ZodTypeAny = z.object({\n geocode: z.boolean().default(false).describe(\"If true and your account has geocoding enabled, provides geolocation info (latitude/longitude).\").optional(),\n addresses: z.array(z.union([z.string(), z.object({\n city: z.string().nullable().optional(),\n line1: z.string().describe(\"First line of the address (street number and name).\"),\n line2: z.string().nullable().optional(),\n country: z.string().nullable().optional(),\n postalOrZip: z.string().nullable().optional(),\n provinceOrState: z.string().nullable().optional(),\n}).describe(\"Structured address object with individual fields.\")])).describe(\"List of addresses to verify. Each address can be either a freeform string or a structured object with fields (line1, city, etc). Maximum 2000 addresses per batch.\"),\n properCase: z.boolean().default(false).describe(\"If true, returns the address in proper mixed case instead of uppercase.\").optional(),\n includeDetails: z.boolean().default(true).describe(\"If true, provides additional details about the address (street name, type, county, etc).\").optional(),\n});\nconst PostgridVerifyVerifyBatchAddresses_AddressDetailsSchema: z.ZodTypeAny = z.object({\n rdi: z.string().describe(\"Residential delivery indicator\").nullable().optional(),\n county: z.string().describe(\"County name\").nullable().optional(),\n suiteID: z.string().describe(\"Suite or unit number\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate (if geocoding enabled)\").nullable().optional(),\n suiteKey: z.string().describe(\"Suite key or type\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate (if geocoding enabled)\").nullable().optional(),\n streetName: z.string().describe(\"Street name\").nullable().optional(),\n streetType: z.string().describe(\"Street type (e.g., St, Ave, Blvd)\").nullable().optional(),\n carrierRoute: z.string().describe(\"USPS carrier route\").nullable().optional(),\n streetNumber: z.string().describe(\"Street number\").nullable().optional(),\n congressionalDistrict: z.string().describe(\"Congressional district\").nullable().optional(),\n}).describe(\"Additional details about the verified address.\");\nconst PostgridVerifyVerifyBatchAddresses_VerifiedAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the verified address\").nullable().optional(),\n line1: z.string().describe(\"First line of the verified address\").nullable().optional(),\n line2: z.string().describe(\"Second line of the verified address\").nullable().optional(),\n errors: z.object({}).describe(\"Field-specific validation errors if status is 'failed'\").nullable().optional(),\n status: z.string().describe(\"Verification status: 'success' (exact match), 'corrected' (modified), or 'failed' (invalid)\").nullable().optional(),\n country: z.string().describe(\"Country code of the verified address\").nullable().optional(),\n details: PostgridVerifyVerifyBatchAddresses_AddressDetailsSchema.nullable().optional(),\n zipPlus4: z.string().describe(\"ZIP+4 code (US only)\").nullable().optional(),\n countryName: z.string().describe(\"Full country name\").nullable().optional(),\n postalOrZip: z.string().describe(\"ZIP or postal code of the verified address\").nullable().optional(),\n provinceOrState: z.string().describe(\"State or province of the verified address\").nullable().optional(),\n}).describe(\"Verified address result with standardized fields.\");\nconst PostgridVerifyVerifyBatchAddresses_VerificationResultSchema: z.ZodTypeAny = z.object({\n verifiedAddress: PostgridVerifyVerifyBatchAddresses_VerifiedAddressSchema.nullable().optional(),\n}).describe(\"Individual verification result wrapper.\");\nconst PostgridVerifyVerifyBatchAddresses_BatchVerifyAddressesResponseDataSchema: z.ZodTypeAny = z.object({\n results: z.array(PostgridVerifyVerifyBatchAddresses_VerificationResultSchema).describe(\"List of verification results, one per input address in the same order\"),\n}).describe(\"Data container for batch verification results.\");\nexport const PostgridVerifyVerifyBatchAddressesOutput: z.ZodTypeAny = z.object({\n data: PostgridVerifyVerifyBatchAddresses_BatchVerifyAddressesResponseDataSchema.nullable(),\n status: z.string().describe(\"Overall status of the batch operation (e.g., 'success')\"),\n message: z.string().describe(\"Message describing the operation result\"),\n}).describe(\"Response from batch address verification.\");\n\nexport const postgridVerifyVerifyBatchAddresses = action(\"POSTGRID_VERIFY_VERIFY_BATCH_ADDRESSES\", {\n slug: \"postgrid_verify-verify-batch-addresses\",\n name: \"Batch Verify Addresses with Mixed Format\",\n description: \"Tool to verify up to 2000 US and Canada addresses in a single API call. Accepts both freeform address strings and structured address objects. Each address uses 1 lookup credit.\",\n input: PostgridVerifyVerifyBatchAddressesInput,\n output: PostgridVerifyVerifyBatchAddressesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACzJ,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO;EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxC,aAAaA,IAAAA,EAAE,OAAO,CAAC,C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,SAAS,CAAC,CAAC,SAAS;CACnG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,8DAA4EA,IAAAA,EAAE,OAAO,EACzF,iBAAiB,yDAAyD,SAAS,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,4EAA0FA,IAAAA,EAAE,OAAO,EACvG,SAASA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,uEAAuE,EAChK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,MAAM,0EAA0E,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AACxE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,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/verify-batch-addresses.d.ts
4
+ declare const PostgridVerifyVerifyBatchAddressesInput: z.ZodTypeAny;
5
+ declare const PostgridVerifyVerifyBatchAddressesOutput: z.ZodTypeAny;
6
+ declare const postgridVerifyVerifyBatchAddresses: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postgridVerifyVerifyBatchAddresses };
9
+ //# sourceMappingURL=verify-batch-addresses.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-batch-addresses.d.cts","names":[],"sources":["../../src/actions/verify-batch-addresses.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAYtD;AAAA,cAiCW,wCAAA,EAA0C,CAAA,CAAE,UAID;AAAA,cAE3C,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/verify-batch-addresses.d.ts
4
+ declare const PostgridVerifyVerifyBatchAddressesInput: z.ZodTypeAny;
5
+ declare const PostgridVerifyVerifyBatchAddressesOutput: z.ZodTypeAny;
6
+ declare const postgridVerifyVerifyBatchAddresses: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postgridVerifyVerifyBatchAddresses };
9
+ //# sourceMappingURL=verify-batch-addresses.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-batch-addresses.d.mts","names":[],"sources":["../../src/actions/verify-batch-addresses.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAYtD;AAAA,cAiCW,wCAAA,EAA0C,CAAA,CAAE,UAID;AAAA,cAE3C,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,59 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/verify-batch-addresses.ts
4
+ const PostgridVerifyVerifyBatchAddressesInput = z.object({
5
+ geocode: z.boolean().default(false).describe("If true and your account has geocoding enabled, provides geolocation info (latitude/longitude).").optional(),
6
+ addresses: z.array(z.union([z.string(), z.object({
7
+ city: z.string().nullable().optional(),
8
+ line1: z.string().describe("First line of the address (street number and name)."),
9
+ line2: z.string().nullable().optional(),
10
+ country: z.string().nullable().optional(),
11
+ postalOrZip: z.string().nullable().optional(),
12
+ provinceOrState: z.string().nullable().optional()
13
+ }).describe("Structured address object with individual fields.")])).describe("List of addresses to verify. Each address can be either a freeform string or a structured object with fields (line1, city, etc). Maximum 2000 addresses per batch."),
14
+ properCase: z.boolean().default(false).describe("If true, returns the address in proper mixed case instead of uppercase.").optional(),
15
+ includeDetails: z.boolean().default(true).describe("If true, provides additional details about the address (street name, type, county, etc).").optional()
16
+ });
17
+ const PostgridVerifyVerifyBatchAddresses_AddressDetailsSchema = z.object({
18
+ rdi: z.string().describe("Residential delivery indicator").nullable().optional(),
19
+ county: z.string().describe("County name").nullable().optional(),
20
+ suiteID: z.string().describe("Suite or unit number").nullable().optional(),
21
+ latitude: z.number().describe("Latitude coordinate (if geocoding enabled)").nullable().optional(),
22
+ suiteKey: z.string().describe("Suite key or type").nullable().optional(),
23
+ longitude: z.number().describe("Longitude coordinate (if geocoding enabled)").nullable().optional(),
24
+ streetName: z.string().describe("Street name").nullable().optional(),
25
+ streetType: z.string().describe("Street type (e.g., St, Ave, Blvd)").nullable().optional(),
26
+ carrierRoute: z.string().describe("USPS carrier route").nullable().optional(),
27
+ streetNumber: z.string().describe("Street number").nullable().optional(),
28
+ congressionalDistrict: z.string().describe("Congressional district").nullable().optional()
29
+ }).describe("Additional details about the verified address.");
30
+ const PostgridVerifyVerifyBatchAddresses_VerifiedAddressSchema = z.object({
31
+ city: z.string().describe("City of the verified address").nullable().optional(),
32
+ line1: z.string().describe("First line of the verified address").nullable().optional(),
33
+ line2: z.string().describe("Second line of the verified address").nullable().optional(),
34
+ errors: z.object({}).describe("Field-specific validation errors if status is 'failed'").nullable().optional(),
35
+ status: z.string().describe("Verification status: 'success' (exact match), 'corrected' (modified), or 'failed' (invalid)").nullable().optional(),
36
+ country: z.string().describe("Country code of the verified address").nullable().optional(),
37
+ details: PostgridVerifyVerifyBatchAddresses_AddressDetailsSchema.nullable().optional(),
38
+ zipPlus4: z.string().describe("ZIP+4 code (US only)").nullable().optional(),
39
+ countryName: z.string().describe("Full country name").nullable().optional(),
40
+ postalOrZip: z.string().describe("ZIP or postal code of the verified address").nullable().optional(),
41
+ provinceOrState: z.string().describe("State or province of the verified address").nullable().optional()
42
+ }).describe("Verified address result with standardized fields.");
43
+ const PostgridVerifyVerifyBatchAddresses_VerificationResultSchema = z.object({ verifiedAddress: PostgridVerifyVerifyBatchAddresses_VerifiedAddressSchema.nullable().optional() }).describe("Individual verification result wrapper.");
44
+ const PostgridVerifyVerifyBatchAddresses_BatchVerifyAddressesResponseDataSchema = z.object({ results: z.array(PostgridVerifyVerifyBatchAddresses_VerificationResultSchema).describe("List of verification results, one per input address in the same order") }).describe("Data container for batch verification results.");
45
+ const postgridVerifyVerifyBatchAddresses = action("POSTGRID_VERIFY_VERIFY_BATCH_ADDRESSES", {
46
+ slug: "postgrid_verify-verify-batch-addresses",
47
+ name: "Batch Verify Addresses with Mixed Format",
48
+ description: "Tool to verify up to 2000 US and Canada addresses in a single API call. Accepts both freeform address strings and structured address objects. Each address uses 1 lookup credit.",
49
+ input: PostgridVerifyVerifyBatchAddressesInput,
50
+ output: z.object({
51
+ data: PostgridVerifyVerifyBatchAddresses_BatchVerifyAddressesResponseDataSchema.nullable(),
52
+ status: z.string().describe("Overall status of the batch operation (e.g., 'success')"),
53
+ message: z.string().describe("Message describing the operation result")
54
+ }).describe("Response from batch address verification.")
55
+ });
56
+ //#endregion
57
+ export { postgridVerifyVerifyBatchAddresses };
58
+
59
+ //# sourceMappingURL=verify-batch-addresses.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-batch-addresses.mjs","names":[],"sources":["../../src/actions/verify-batch-addresses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyVerifyBatchAddressesInput: z.ZodTypeAny = z.object({\n geocode: z.boolean().default(false).describe(\"If true and your account has geocoding enabled, provides geolocation info (latitude/longitude).\").optional(),\n addresses: z.array(z.union([z.string(), z.object({\n city: z.string().nullable().optional(),\n line1: z.string().describe(\"First line of the address (street number and name).\"),\n line2: z.string().nullable().optional(),\n country: z.string().nullable().optional(),\n postalOrZip: z.string().nullable().optional(),\n provinceOrState: z.string().nullable().optional(),\n}).describe(\"Structured address object with individual fields.\")])).describe(\"List of addresses to verify. Each address can be either a freeform string or a structured object with fields (line1, city, etc). Maximum 2000 addresses per batch.\"),\n properCase: z.boolean().default(false).describe(\"If true, returns the address in proper mixed case instead of uppercase.\").optional(),\n includeDetails: z.boolean().default(true).describe(\"If true, provides additional details about the address (street name, type, county, etc).\").optional(),\n});\nconst PostgridVerifyVerifyBatchAddresses_AddressDetailsSchema: z.ZodTypeAny = z.object({\n rdi: z.string().describe(\"Residential delivery indicator\").nullable().optional(),\n county: z.string().describe(\"County name\").nullable().optional(),\n suiteID: z.string().describe(\"Suite or unit number\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate (if geocoding enabled)\").nullable().optional(),\n suiteKey: z.string().describe(\"Suite key or type\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate (if geocoding enabled)\").nullable().optional(),\n streetName: z.string().describe(\"Street name\").nullable().optional(),\n streetType: z.string().describe(\"Street type (e.g., St, Ave, Blvd)\").nullable().optional(),\n carrierRoute: z.string().describe(\"USPS carrier route\").nullable().optional(),\n streetNumber: z.string().describe(\"Street number\").nullable().optional(),\n congressionalDistrict: z.string().describe(\"Congressional district\").nullable().optional(),\n}).describe(\"Additional details about the verified address.\");\nconst PostgridVerifyVerifyBatchAddresses_VerifiedAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the verified address\").nullable().optional(),\n line1: z.string().describe(\"First line of the verified address\").nullable().optional(),\n line2: z.string().describe(\"Second line of the verified address\").nullable().optional(),\n errors: z.object({}).describe(\"Field-specific validation errors if status is 'failed'\").nullable().optional(),\n status: z.string().describe(\"Verification status: 'success' (exact match), 'corrected' (modified), or 'failed' (invalid)\").nullable().optional(),\n country: z.string().describe(\"Country code of the verified address\").nullable().optional(),\n details: PostgridVerifyVerifyBatchAddresses_AddressDetailsSchema.nullable().optional(),\n zipPlus4: z.string().describe(\"ZIP+4 code (US only)\").nullable().optional(),\n countryName: z.string().describe(\"Full country name\").nullable().optional(),\n postalOrZip: z.string().describe(\"ZIP or postal code of the verified address\").nullable().optional(),\n provinceOrState: z.string().describe(\"State or province of the verified address\").nullable().optional(),\n}).describe(\"Verified address result with standardized fields.\");\nconst PostgridVerifyVerifyBatchAddresses_VerificationResultSchema: z.ZodTypeAny = z.object({\n verifiedAddress: PostgridVerifyVerifyBatchAddresses_VerifiedAddressSchema.nullable().optional(),\n}).describe(\"Individual verification result wrapper.\");\nconst PostgridVerifyVerifyBatchAddresses_BatchVerifyAddressesResponseDataSchema: z.ZodTypeAny = z.object({\n results: z.array(PostgridVerifyVerifyBatchAddresses_VerificationResultSchema).describe(\"List of verification results, one per input address in the same order\"),\n}).describe(\"Data container for batch verification results.\");\nexport const PostgridVerifyVerifyBatchAddressesOutput: z.ZodTypeAny = z.object({\n data: PostgridVerifyVerifyBatchAddresses_BatchVerifyAddressesResponseDataSchema.nullable(),\n status: z.string().describe(\"Overall status of the batch operation (e.g., 'success')\"),\n message: z.string().describe(\"Message describing the operation result\"),\n}).describe(\"Response from batch address verification.\");\n\nexport const postgridVerifyVerifyBatchAddresses = action(\"POSTGRID_VERIFY_VERIFY_BATCH_ADDRESSES\", {\n slug: \"postgrid_verify-verify-batch-addresses\",\n name: \"Batch Verify Addresses with Mixed Format\",\n description: \"Tool to verify up to 2000 US and Canada addresses in a single API call. Accepts both freeform address strings and structured address objects. Each address uses 1 lookup credit.\",\n input: PostgridVerifyVerifyBatchAddressesInput,\n output: PostgridVerifyVerifyBatchAddressesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwD,EAAE,OAAO;CAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACzJ,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,E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SAAS,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,8DAA4E,EAAE,OAAO,EACzF,iBAAiB,yDAAyD,SAAS,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,4EAA0F,EAAE,OAAO,EACvG,SAAS,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,uEAAuE,EAChK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAO5D,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoE,EAAE,OAAO;EAC7E,MAAM,0EAA0E,SAAS;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACxE,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
@@ -0,0 +1,51 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/verify-international-address.ts
4
+ const PostgridVerifyVerifyInternationalAddressInput = zod.z.object({
5
+ address: zod.z.string().describe("The freeform international address to verify, written on a single line. Can include country, city, street, and postal code."),
6
+ geoData: zod.z.boolean().default(false).describe("If true, includes geolocation information (latitude, longitude) and accuracy data for the verified address.").optional(),
7
+ includeDetails: zod.z.boolean().default(true).describe("If true, provides additional details about the verified address including parsing and verification match levels.").optional()
8
+ });
9
+ const PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDetailsSchema = zod.z.object({ premise: zod.z.string().describe("Premise or building information").nullable().optional() });
10
+ const PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseGeoDataSchema = zod.z.object({
11
+ latitude: zod.z.string().describe("Latitude coordinate of the address").nullable().optional(),
12
+ longitude: zod.z.string().describe("Longitude coordinate of the address").nullable().optional(),
13
+ geoAccuracy: zod.z.string().describe("Accuracy level of the geolocation data").nullable().optional()
14
+ });
15
+ const PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseSummarySchema = zod.z.object({
16
+ matchScore: zod.z.number().int().describe("Match score indicating confidence in verification").nullable().optional(),
17
+ parsingStatus: zod.z.string().describe("Status of address parsing").nullable().optional(),
18
+ postCodeStatus: zod.z.string().describe("Status of postal code verification").nullable().optional(),
19
+ verificationStatus: zod.z.string().describe("Overall verification status of the address").nullable().optional(),
20
+ contextIdentificationMatchLevel: zod.z.string().describe("Match level for context identification").nullable().optional(),
21
+ lexiconIdentificationMatchLevel: zod.z.string().describe("Match level for lexicon identification").nullable().optional(),
22
+ preProcessedVerificationMatchLevel: zod.z.string().describe("Match level before processing").nullable().optional(),
23
+ postProcessedVerificationMatchLevel: zod.z.string().describe("Match level after processing").nullable().optional()
24
+ });
25
+ const PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDataSchema = zod.z.object({
26
+ city: zod.z.string().describe("City of the verified address").nullable().optional(),
27
+ line1: zod.z.string().describe("First line of the verified address").nullable().optional(),
28
+ line2: zod.z.string().describe("Second line of the verified address").nullable().optional(),
29
+ country: zod.z.string().describe("Country code of the verified address").nullable().optional(),
30
+ details: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDetailsSchema.nullable().optional(),
31
+ geoData: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseGeoDataSchema.nullable().optional(),
32
+ summary: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseSummarySchema.nullable().optional(),
33
+ provinceOrState: zod.z.string().describe("Province or state of the verified address").nullable().optional(),
34
+ formattedAddress: zod.z.string().describe("Complete formatted address string").nullable().optional()
35
+ });
36
+ const PostgridVerifyVerifyInternationalAddressOutput = zod.z.object({
37
+ data: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDataSchema.nullable().optional(),
38
+ status: zod.z.string().describe("Status of the verification request (e.g., 'success')").nullable().optional(),
39
+ message: zod.z.string().describe("Message describing the result of the verification").nullable().optional()
40
+ });
41
+ const postgridVerifyVerifyInternationalAddress = require_action.action("POSTGRID_VERIFY_VERIFY_INTERNATIONAL_ADDRESS", {
42
+ slug: "postgrid_verify-verify-international-address",
43
+ name: "Verify International Address",
44
+ description: "Tool to verify and standardize international addresses from 245+ countries. Supports both structured and freeform address inputs. Use includeDetails=true for match levels and geoData=true for coordinates.",
45
+ input: PostgridVerifyVerifyInternationalAddressInput,
46
+ output: PostgridVerifyVerifyInternationalAddressOutput
47
+ });
48
+ //#endregion
49
+ exports.postgridVerifyVerifyInternationalAddress = postgridVerifyVerifyInternationalAddress;
50
+
51
+ //# sourceMappingURL=verify-international-address.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-international-address.cjs","names":["z","action"],"sources":["../../src/actions/verify-international-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyVerifyInternationalAddressInput: z.ZodTypeAny = z.object({\n address: z.string().describe(\"The freeform international address to verify, written on a single line. Can include country, city, street, and postal code.\"),\n geoData: z.boolean().default(false).describe(\"If true, includes geolocation information (latitude, longitude) and accuracy data for the verified address.\").optional(),\n includeDetails: z.boolean().default(true).describe(\"If true, provides additional details about the verified address including parsing and verification match levels.\").optional(),\n});\nconst PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDetailsSchema: z.ZodTypeAny = z.object({\n premise: z.string().describe(\"Premise or building information\").nullable().optional(),\n});\nconst PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseGeoDataSchema: z.ZodTypeAny = z.object({\n latitude: z.string().describe(\"Latitude coordinate of the address\").nullable().optional(),\n longitude: z.string().describe(\"Longitude coordinate of the address\").nullable().optional(),\n geoAccuracy: z.string().describe(\"Accuracy level of the geolocation data\").nullable().optional(),\n});\nconst PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseSummarySchema: z.ZodTypeAny = z.object({\n matchScore: z.number().int().describe(\"Match score indicating confidence in verification\").nullable().optional(),\n parsingStatus: z.string().describe(\"Status of address parsing\").nullable().optional(),\n postCodeStatus: z.string().describe(\"Status of postal code verification\").nullable().optional(),\n verificationStatus: z.string().describe(\"Overall verification status of the address\").nullable().optional(),\n contextIdentificationMatchLevel: z.string().describe(\"Match level for context identification\").nullable().optional(),\n lexiconIdentificationMatchLevel: z.string().describe(\"Match level for lexicon identification\").nullable().optional(),\n preProcessedVerificationMatchLevel: z.string().describe(\"Match level before processing\").nullable().optional(),\n postProcessedVerificationMatchLevel: z.string().describe(\"Match level after processing\").nullable().optional(),\n});\nconst PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDataSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the verified address\").nullable().optional(),\n line1: z.string().describe(\"First line of the verified address\").nullable().optional(),\n line2: z.string().describe(\"Second line of the verified address\").nullable().optional(),\n country: z.string().describe(\"Country code of the verified address\").nullable().optional(),\n details: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDetailsSchema.nullable().optional(),\n geoData: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseGeoDataSchema.nullable().optional(),\n summary: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseSummarySchema.nullable().optional(),\n provinceOrState: z.string().describe(\"Province or state of the verified address\").nullable().optional(),\n formattedAddress: z.string().describe(\"Complete formatted address string\").nullable().optional(),\n});\nexport const PostgridVerifyVerifyInternationalAddressOutput: z.ZodTypeAny = z.object({\n data: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the verification request (e.g., 'success')\").nullable().optional(),\n message: z.string().describe(\"Message describing the result of the verification\").nullable().optional(),\n});\n\nexport const postgridVerifyVerifyInternationalAddress = action(\"POSTGRID_VERIFY_VERIFY_INTERNATIONAL_ADDRESS\", {\n slug: \"postgrid_verify-verify-international-address\",\n name: \"Verify International Address\",\n description: \"Tool to verify and standardize international addresses from 245+ countries. Supports both structured and freeform address inputs. Use includeDetails=true for match levels and geoData=true for coordinates.\",\n input: PostgridVerifyVerifyInternationalAddressInput,\n output: PostgridVerifyVerifyInternationalAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAA8DA,IAAAA,EAAE,OAAO;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;CAC1J,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACrK,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;AAClL,CAAC;AACD,MAAM,2FAAyGA,IAAAA,EAAE,OAAO,EACtH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtF,CAAC;AACD,MAAM,2FAAyGA,IAAAA,EAAE,OAAO;CACtH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;AACD,MAAM,2FAAyGA,IAAAA,EAAE,OAAO;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,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AAS;CACtH,SAAS,yFAAyF,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;AACD,MAAa,iDAA+DA,IAAAA,EAAE,OAAO;CACnF,MAAM,sFAAsF,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC;AAED,MAAa,2CAA2CC,eAAAA,OAAO,gDAAgD;CAC7G,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/verify-international-address.d.ts
4
+ declare const PostgridVerifyVerifyInternationalAddressInput: z.ZodTypeAny;
5
+ declare const PostgridVerifyVerifyInternationalAddressOutput: z.ZodTypeAny;
6
+ declare const postgridVerifyVerifyInternationalAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postgridVerifyVerifyInternationalAddress };
9
+ //# sourceMappingURL=verify-international-address.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-international-address.d.cts","names":[],"sources":["../../src/actions/verify-international-address.ts"],"mappings":";;;cAIa,6CAAA,EAA+C,CAAA,CAAE,UAI5D;AAAA,cA8BW,8CAAA,EAAgD,CAAA,CAAE,UAI7D;AAAA,cAEW,wCAAA,gCAAwC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/verify-international-address.d.ts
4
+ declare const PostgridVerifyVerifyInternationalAddressInput: z.ZodTypeAny;
5
+ declare const PostgridVerifyVerifyInternationalAddressOutput: z.ZodTypeAny;
6
+ declare const postgridVerifyVerifyInternationalAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postgridVerifyVerifyInternationalAddress };
9
+ //# sourceMappingURL=verify-international-address.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-international-address.d.mts","names":[],"sources":["../../src/actions/verify-international-address.ts"],"mappings":";;;cAIa,6CAAA,EAA+C,CAAA,CAAE,UAI5D;AAAA,cA8BW,8CAAA,EAAgD,CAAA,CAAE,UAI7D;AAAA,cAEW,wCAAA,gCAAwC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,50 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/verify-international-address.ts
4
+ const PostgridVerifyVerifyInternationalAddressInput = z.object({
5
+ address: z.string().describe("The freeform international address to verify, written on a single line. Can include country, city, street, and postal code."),
6
+ geoData: z.boolean().default(false).describe("If true, includes geolocation information (latitude, longitude) and accuracy data for the verified address.").optional(),
7
+ includeDetails: z.boolean().default(true).describe("If true, provides additional details about the verified address including parsing and verification match levels.").optional()
8
+ });
9
+ const PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDetailsSchema = z.object({ premise: z.string().describe("Premise or building information").nullable().optional() });
10
+ const PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseGeoDataSchema = z.object({
11
+ latitude: z.string().describe("Latitude coordinate of the address").nullable().optional(),
12
+ longitude: z.string().describe("Longitude coordinate of the address").nullable().optional(),
13
+ geoAccuracy: z.string().describe("Accuracy level of the geolocation data").nullable().optional()
14
+ });
15
+ const PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseSummarySchema = z.object({
16
+ matchScore: z.number().int().describe("Match score indicating confidence in verification").nullable().optional(),
17
+ parsingStatus: z.string().describe("Status of address parsing").nullable().optional(),
18
+ postCodeStatus: z.string().describe("Status of postal code verification").nullable().optional(),
19
+ verificationStatus: z.string().describe("Overall verification status of the address").nullable().optional(),
20
+ contextIdentificationMatchLevel: z.string().describe("Match level for context identification").nullable().optional(),
21
+ lexiconIdentificationMatchLevel: z.string().describe("Match level for lexicon identification").nullable().optional(),
22
+ preProcessedVerificationMatchLevel: z.string().describe("Match level before processing").nullable().optional(),
23
+ postProcessedVerificationMatchLevel: z.string().describe("Match level after processing").nullable().optional()
24
+ });
25
+ const PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDataSchema = z.object({
26
+ city: z.string().describe("City of the verified address").nullable().optional(),
27
+ line1: z.string().describe("First line of the verified address").nullable().optional(),
28
+ line2: z.string().describe("Second line of the verified address").nullable().optional(),
29
+ country: z.string().describe("Country code of the verified address").nullable().optional(),
30
+ details: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDetailsSchema.nullable().optional(),
31
+ geoData: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseGeoDataSchema.nullable().optional(),
32
+ summary: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseSummarySchema.nullable().optional(),
33
+ provinceOrState: z.string().describe("Province or state of the verified address").nullable().optional(),
34
+ formattedAddress: z.string().describe("Complete formatted address string").nullable().optional()
35
+ });
36
+ const postgridVerifyVerifyInternationalAddress = action("POSTGRID_VERIFY_VERIFY_INTERNATIONAL_ADDRESS", {
37
+ slug: "postgrid_verify-verify-international-address",
38
+ name: "Verify International Address",
39
+ description: "Tool to verify and standardize international addresses from 245+ countries. Supports both structured and freeform address inputs. Use includeDetails=true for match levels and geoData=true for coordinates.",
40
+ input: PostgridVerifyVerifyInternationalAddressInput,
41
+ output: z.object({
42
+ data: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDataSchema.nullable().optional(),
43
+ status: z.string().describe("Status of the verification request (e.g., 'success')").nullable().optional(),
44
+ message: z.string().describe("Message describing the result of the verification").nullable().optional()
45
+ })
46
+ });
47
+ //#endregion
48
+ export { postgridVerifyVerifyInternationalAddress };
49
+
50
+ //# sourceMappingURL=verify-international-address.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-international-address.mjs","names":[],"sources":["../../src/actions/verify-international-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyVerifyInternationalAddressInput: z.ZodTypeAny = z.object({\n address: z.string().describe(\"The freeform international address to verify, written on a single line. Can include country, city, street, and postal code.\"),\n geoData: z.boolean().default(false).describe(\"If true, includes geolocation information (latitude, longitude) and accuracy data for the verified address.\").optional(),\n includeDetails: z.boolean().default(true).describe(\"If true, provides additional details about the verified address including parsing and verification match levels.\").optional(),\n});\nconst PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDetailsSchema: z.ZodTypeAny = z.object({\n premise: z.string().describe(\"Premise or building information\").nullable().optional(),\n});\nconst PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseGeoDataSchema: z.ZodTypeAny = z.object({\n latitude: z.string().describe(\"Latitude coordinate of the address\").nullable().optional(),\n longitude: z.string().describe(\"Longitude coordinate of the address\").nullable().optional(),\n geoAccuracy: z.string().describe(\"Accuracy level of the geolocation data\").nullable().optional(),\n});\nconst PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseSummarySchema: z.ZodTypeAny = z.object({\n matchScore: z.number().int().describe(\"Match score indicating confidence in verification\").nullable().optional(),\n parsingStatus: z.string().describe(\"Status of address parsing\").nullable().optional(),\n postCodeStatus: z.string().describe(\"Status of postal code verification\").nullable().optional(),\n verificationStatus: z.string().describe(\"Overall verification status of the address\").nullable().optional(),\n contextIdentificationMatchLevel: z.string().describe(\"Match level for context identification\").nullable().optional(),\n lexiconIdentificationMatchLevel: z.string().describe(\"Match level for lexicon identification\").nullable().optional(),\n preProcessedVerificationMatchLevel: z.string().describe(\"Match level before processing\").nullable().optional(),\n postProcessedVerificationMatchLevel: z.string().describe(\"Match level after processing\").nullable().optional(),\n});\nconst PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDataSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the verified address\").nullable().optional(),\n line1: z.string().describe(\"First line of the verified address\").nullable().optional(),\n line2: z.string().describe(\"Second line of the verified address\").nullable().optional(),\n country: z.string().describe(\"Country code of the verified address\").nullable().optional(),\n details: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDetailsSchema.nullable().optional(),\n geoData: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseGeoDataSchema.nullable().optional(),\n summary: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseSummarySchema.nullable().optional(),\n provinceOrState: z.string().describe(\"Province or state of the verified address\").nullable().optional(),\n formattedAddress: z.string().describe(\"Complete formatted address string\").nullable().optional(),\n});\nexport const PostgridVerifyVerifyInternationalAddressOutput: z.ZodTypeAny = z.object({\n data: PostgridVerifyVerifyInternationalAddress_VerifyInternationalAddressResponseDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the verification request (e.g., 'success')\").nullable().optional(),\n message: z.string().describe(\"Message describing the result of the verification\").nullable().optional(),\n});\n\nexport const postgridVerifyVerifyInternationalAddress = action(\"POSTGRID_VERIFY_VERIFY_INTERNATIONAL_ADDRESS\", {\n slug: \"postgrid_verify-verify-international-address\",\n name: \"Verify International Address\",\n description: \"Tool to verify and standardize international addresses from 245+ countries. Supports both structured and freeform address inputs. Use includeDetails=true for match levels and geoData=true for coordinates.\",\n input: PostgridVerify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AsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAOU;AACV,CAAC"}
@@ -0,0 +1,50 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/verify-intl-addresses-batch.ts
4
+ const PostgridVerifyVerifyIntlAddressesBatchInput = zod.z.object({
5
+ geoData: zod.z.boolean().default(false).describe("If true, include geolocation information (latitude, longitude, accuracy) in the response.").optional(),
6
+ addresses: zod.z.array(zod.z.union([zod.z.string(), zod.z.object({
7
+ city: zod.z.string().nullable().optional(),
8
+ line1: zod.z.string().describe("First line of the address (e.g., street number and name)."),
9
+ line2: zod.z.string().nullable().optional(),
10
+ line3: zod.z.string().nullable().optional(),
11
+ line4: zod.z.string().nullable().optional(),
12
+ country: zod.z.string().describe("ISO 2 or 3-letter country code."),
13
+ postalOrZip: zod.z.string().describe("Postal or ZIP code."),
14
+ provinceOrState: zod.z.string().nullable().optional()
15
+ }).describe("Structured international address with individual components.")])).describe("List of up to 2000 addresses to verify. Each address can be either a freeform string or a structured address object with individual components."),
16
+ includeDetails: zod.z.boolean().default(true).describe("If true, provide additional details about each verified address.").optional()
17
+ });
18
+ const PostgridVerifyVerifyIntlAddressesBatch_GeoDataSchema = zod.z.object({
19
+ accuracy: zod.z.string().describe("Accuracy of the geolocation data.").nullable().optional(),
20
+ latitude: zod.z.number().describe("Latitude coordinate of the address.").nullable().optional(),
21
+ longitude: zod.z.number().describe("Longitude coordinate of the address.").nullable().optional()
22
+ }).describe("Geolocation data for the verified address.");
23
+ const PostgridVerifyVerifyIntlAddressesBatch_VerifiedAddressDataSchema = zod.z.object({
24
+ city: zod.z.string().describe("City of the verified address.").nullable().optional(),
25
+ line1: zod.z.string().describe("First line of the verified address.").nullable().optional(),
26
+ line2: zod.z.string().describe("Second line of the verified address.").nullable().optional(),
27
+ country: zod.z.string().describe("Country code of the verified address.").nullable().optional(),
28
+ details: zod.z.object({}).describe("Additional details about the verified address if requested.").nullable().optional(),
29
+ geoData: PostgridVerifyVerifyIntlAddressesBatch_GeoDataSchema.nullable().optional(),
30
+ summary: zod.z.object({}).describe("Summary information about the verification result.").nullable().optional(),
31
+ postalOrZip: zod.z.string().describe("Postal or ZIP code of the verified address.").nullable().optional(),
32
+ provinceOrState: zod.z.string().describe("Province or state of the verified address.").nullable().optional(),
33
+ formattedAddress: zod.z.string().describe("The complete formatted address string.").nullable().optional()
34
+ }).describe("Individual verified address result.");
35
+ const PostgridVerifyVerifyIntlAddressesBatchOutput = zod.z.object({
36
+ data: zod.z.array(PostgridVerifyVerifyIntlAddressesBatch_VerifiedAddressDataSchema).describe("List of verified address results, one for each input address."),
37
+ status: zod.z.string().describe("Status of the batch operation (e.g., 'success')."),
38
+ message: zod.z.string().describe("Message providing details about the operation.")
39
+ });
40
+ const postgridVerifyVerifyIntlAddressesBatch = require_action.action("POSTGRID_VERIFY_VERIFY_INTL_ADDRESSES_BATCH", {
41
+ slug: "postgrid_verify-verify-intl-addresses-batch",
42
+ name: "Batch Verify International Addresses",
43
+ description: "Tool to verify up to 2000 international addresses in a single API call. Accepts both freeform address strings and structured address objects. Uses 1 lookup per address.",
44
+ input: PostgridVerifyVerifyIntlAddressesBatchInput,
45
+ output: PostgridVerifyVerifyIntlAddressesBatchOutput
46
+ });
47
+ //#endregion
48
+ exports.postgridVerifyVerifyIntlAddressesBatch = postgridVerifyVerifyIntlAddressesBatch;
49
+
50
+ //# sourceMappingURL=verify-intl-addresses-batch.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-intl-addresses-batch.cjs","names":["z","action"],"sources":["../../src/actions/verify-intl-addresses-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridVerifyVerifyIntlAddressesBatchInput: z.ZodTypeAny = z.object({\n geoData: z.boolean().default(false).describe(\"If true, include geolocation information (latitude, longitude, accuracy) in the response.\").optional(),\n addresses: z.array(z.union([z.string(), z.object({\n city: z.string().nullable().optional(),\n line1: z.string().describe(\"First line of the address (e.g., street number and name).\"),\n line2: z.string().nullable().optional(),\n line3: z.string().nullable().optional(),\n line4: z.string().nullable().optional(),\n country: z.string().describe(\"ISO 2 or 3-letter country code.\"),\n postalOrZip: z.string().describe(\"Postal or ZIP code.\"),\n provinceOrState: z.string().nullable().optional(),\n}).describe(\"Structured international address with individual components.\")])).describe(\"List of up to 2000 addresses to verify. Each address can be either a freeform string or a structured address object with individual components.\"),\n includeDetails: z.boolean().default(true).describe(\"If true, provide additional details about each verified address.\").optional(),\n});\nconst PostgridVerifyVerifyIntlAddressesBatch_GeoDataSchema: z.ZodTypeAny = z.object({\n accuracy: z.string().describe(\"Accuracy of the geolocation data.\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate of the address.\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate of the address.\").nullable().optional(),\n}).describe(\"Geolocation data for the verified address.\");\nconst PostgridVerifyVerifyIntlAddressesBatch_VerifiedAddressDataSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the verified address.\").nullable().optional(),\n line1: z.string().describe(\"First line of the verified address.\").nullable().optional(),\n line2: z.string().describe(\"Second line of the verified address.\").nullable().optional(),\n country: z.string().describe(\"Country code of the verified address.\").nullable().optional(),\n details: z.object({}).describe(\"Additional details about the verified address if requested.\").nullable().optional(),\n geoData: PostgridVerifyVerifyIntlAddressesBatch_GeoDataSchema.nullable().optional(),\n summary: z.object({}).describe(\"Summary information about the verification result.\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code of the verified address.\").nullable().optional(),\n provinceOrState: z.string().describe(\"Province or state of the verified address.\").nullable().optional(),\n formattedAddress: z.string().describe(\"The complete formatted address string.\").nullable().optional(),\n}).describe(\"Individual verified address result.\");\nexport const PostgridVerifyVerifyIntlAddressesBatchOutput: z.ZodTypeAny = z.object({\n data: z.array(PostgridVerifyVerifyIntlAddressesBatch_VerifiedAddressDataSchema).describe(\"List of verified address results, one for each input address.\"),\n status: z.string().describe(\"Status of the batch operation (e.g., 'success').\"),\n message: z.string().describe(\"Message providing details about the operation.\"),\n});\n\nexport const postgridVerifyVerifyIntlAddressesBatch = action(\"POSTGRID_VERIFY_VERIFY_INTL_ADDRESSES_BATCH\", {\n slug: \"postgrid_verify-verify-intl-addresses-batch\",\n name: \"Batch Verify International Addresses\",\n description: \"Tool to verify up to 2000 international addresses in a single API call. Accepts both freeform address strings and structured address objects. Uses 1 lookup per address.\",\n input: PostgridVerifyVerifyIntlAddressesBatchInput,\n output: PostgridVerifyVerifyIntlAddressesBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACnJ,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO;EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACtD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClD,CAAC,CA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CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,MAAMA,IAAAA,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,+DAA+D;CACxJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AAC/E,CAAC;AAED,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,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/verify-intl-addresses-batch.d.ts
4
+ declare const PostgridVerifyVerifyIntlAddressesBatchInput: z.ZodTypeAny;
5
+ declare const PostgridVerifyVerifyIntlAddressesBatchOutput: z.ZodTypeAny;
6
+ declare const postgridVerifyVerifyIntlAddressesBatch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postgridVerifyVerifyIntlAddressesBatch };
9
+ //# sourceMappingURL=verify-intl-addresses-batch.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-intl-addresses-batch.d.cts","names":[],"sources":["../../src/actions/verify-intl-addresses-batch.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAa1D;AAAA,cAkBW,4CAAA,EAA8C,CAAA,CAAE,UAI3D;AAAA,cAEW,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/verify-intl-addresses-batch.d.ts
4
+ declare const PostgridVerifyVerifyIntlAddressesBatchInput: z.ZodTypeAny;
5
+ declare const PostgridVerifyVerifyIntlAddressesBatchOutput: z.ZodTypeAny;
6
+ declare const postgridVerifyVerifyIntlAddressesBatch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postgridVerifyVerifyIntlAddressesBatch };
9
+ //# sourceMappingURL=verify-intl-addresses-batch.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-intl-addresses-batch.d.mts","names":[],"sources":["../../src/actions/verify-intl-addresses-batch.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAa1D;AAAA,cAkBW,4CAAA,EAA8C,CAAA,CAAE,UAI3D;AAAA,cAEW,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,49 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/verify-intl-addresses-batch.ts
4
+ const PostgridVerifyVerifyIntlAddressesBatchInput = z.object({
5
+ geoData: z.boolean().default(false).describe("If true, include geolocation information (latitude, longitude, accuracy) in the response.").optional(),
6
+ addresses: z.array(z.union([z.string(), z.object({
7
+ city: z.string().nullable().optional(),
8
+ line1: z.string().describe("First line of the address (e.g., street number and name)."),
9
+ line2: z.string().nullable().optional(),
10
+ line3: z.string().nullable().optional(),
11
+ line4: z.string().nullable().optional(),
12
+ country: z.string().describe("ISO 2 or 3-letter country code."),
13
+ postalOrZip: z.string().describe("Postal or ZIP code."),
14
+ provinceOrState: z.string().nullable().optional()
15
+ }).describe("Structured international address with individual components.")])).describe("List of up to 2000 addresses to verify. Each address can be either a freeform string or a structured address object with individual components."),
16
+ includeDetails: z.boolean().default(true).describe("If true, provide additional details about each verified address.").optional()
17
+ });
18
+ const PostgridVerifyVerifyIntlAddressesBatch_GeoDataSchema = z.object({
19
+ accuracy: z.string().describe("Accuracy of the geolocation data.").nullable().optional(),
20
+ latitude: z.number().describe("Latitude coordinate of the address.").nullable().optional(),
21
+ longitude: z.number().describe("Longitude coordinate of the address.").nullable().optional()
22
+ }).describe("Geolocation data for the verified address.");
23
+ const PostgridVerifyVerifyIntlAddressesBatch_VerifiedAddressDataSchema = z.object({
24
+ city: z.string().describe("City of the verified address.").nullable().optional(),
25
+ line1: z.string().describe("First line of the verified address.").nullable().optional(),
26
+ line2: z.string().describe("Second line of the verified address.").nullable().optional(),
27
+ country: z.string().describe("Country code of the verified address.").nullable().optional(),
28
+ details: z.object({}).describe("Additional details about the verified address if requested.").nullable().optional(),
29
+ geoData: PostgridVerifyVerifyIntlAddressesBatch_GeoDataSchema.nullable().optional(),
30
+ summary: z.object({}).describe("Summary information about the verification result.").nullable().optional(),
31
+ postalOrZip: z.string().describe("Postal or ZIP code of the verified address.").nullable().optional(),
32
+ provinceOrState: z.string().describe("Province or state of the verified address.").nullable().optional(),
33
+ formattedAddress: z.string().describe("The complete formatted address string.").nullable().optional()
34
+ }).describe("Individual verified address result.");
35
+ const postgridVerifyVerifyIntlAddressesBatch = action("POSTGRID_VERIFY_VERIFY_INTL_ADDRESSES_BATCH", {
36
+ slug: "postgrid_verify-verify-intl-addresses-batch",
37
+ name: "Batch Verify International Addresses",
38
+ description: "Tool to verify up to 2000 international addresses in a single API call. Accepts both freeform address strings and structured address objects. Uses 1 lookup per address.",
39
+ input: PostgridVerifyVerifyIntlAddressesBatchInput,
40
+ output: z.object({
41
+ data: z.array(PostgridVerifyVerifyIntlAddressesBatch_VerifiedAddressDataSchema).describe("List of verified address results, one for each input address."),
42
+ status: z.string().describe("Status of the batch operation (e.g., 'success')."),
43
+ message: z.string().describe("Message providing details about the operation.")
44
+ })
45
+ });
46
+ //#endregion
47
+ export { postgridVerifyVerifyIntlAddressesBatch };
48
+
49
+ //# sourceMappingURL=verify-intl-addresses-batch.mjs.map