@greensecurity/javascript-sdk 0.45.0-beta.11 → 0.45.0-beta.13

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 (197) hide show
  1. package/README.md +1 -4
  2. package/dist/commonjs/__tests__/lookups.test.js +0 -21
  3. package/dist/commonjs/__tests__/lookups.test.js.map +1 -1
  4. package/dist/commonjs/__tests__/vendors.test.js +1 -1
  5. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/webhooks.test.js +5 -6
  7. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  8. package/dist/commonjs/__tests__/zones.test.js +5 -11
  9. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  10. package/dist/commonjs/funcs/usersUpdateUser.d.ts +0 -6
  11. package/dist/commonjs/funcs/usersUpdateUser.d.ts.map +1 -1
  12. package/dist/commonjs/funcs/usersUpdateUser.js +0 -6
  13. package/dist/commonjs/funcs/usersUpdateUser.js.map +1 -1
  14. package/dist/commonjs/funcs/vendorsCreateVendor.d.ts +0 -4
  15. package/dist/commonjs/funcs/vendorsCreateVendor.d.ts.map +1 -1
  16. package/dist/commonjs/funcs/vendorsCreateVendor.js +0 -4
  17. package/dist/commonjs/funcs/vendorsCreateVendor.js.map +1 -1
  18. package/dist/commonjs/funcs/vendorsUpdateVendorDetails.d.ts +1 -9
  19. package/dist/commonjs/funcs/vendorsUpdateVendorDetails.d.ts.map +1 -1
  20. package/dist/commonjs/funcs/vendorsUpdateVendorDetails.js +1 -9
  21. package/dist/commonjs/funcs/vendorsUpdateVendorDetails.js.map +1 -1
  22. package/dist/commonjs/index.extras.d.ts +0 -6
  23. package/dist/commonjs/index.extras.d.ts.map +1 -1
  24. package/dist/commonjs/index.extras.js +0 -6
  25. package/dist/commonjs/index.extras.js.map +1 -1
  26. package/dist/commonjs/lib/config.d.ts +4 -4
  27. package/dist/commonjs/lib/config.js +4 -4
  28. package/dist/commonjs/models/operations/createvendorcompany.d.ts +1 -7
  29. package/dist/commonjs/models/operations/createvendorcompany.d.ts.map +1 -1
  30. package/dist/commonjs/models/operations/createvendorcompany.js.map +1 -1
  31. package/dist/commonjs/models/operations/index.d.ts +0 -1
  32. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  33. package/dist/commonjs/models/operations/index.js +0 -1
  34. package/dist/commonjs/models/operations/index.js.map +1 -1
  35. package/dist/commonjs/react-query/index.d.ts +0 -1
  36. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  37. package/dist/commonjs/react-query/index.js +0 -1
  38. package/dist/commonjs/react-query/index.js.map +1 -1
  39. package/dist/commonjs/react-query/usersUpdateUser.d.ts +0 -6
  40. package/dist/commonjs/react-query/usersUpdateUser.d.ts.map +1 -1
  41. package/dist/commonjs/react-query/usersUpdateUser.js +0 -6
  42. package/dist/commonjs/react-query/usersUpdateUser.js.map +1 -1
  43. package/dist/commonjs/react-query/vendorsCreateVendor.d.ts +0 -4
  44. package/dist/commonjs/react-query/vendorsCreateVendor.d.ts.map +1 -1
  45. package/dist/commonjs/react-query/vendorsCreateVendor.js +0 -4
  46. package/dist/commonjs/react-query/vendorsCreateVendor.js.map +1 -1
  47. package/dist/commonjs/react-query/vendorsUpdateVendorDetails.d.ts +1 -9
  48. package/dist/commonjs/react-query/vendorsUpdateVendorDetails.d.ts.map +1 -1
  49. package/dist/commonjs/react-query/vendorsUpdateVendorDetails.js +1 -9
  50. package/dist/commonjs/react-query/vendorsUpdateVendorDetails.js.map +1 -1
  51. package/dist/commonjs/sdk/lookups.d.ts +0 -22
  52. package/dist/commonjs/sdk/lookups.d.ts.map +1 -1
  53. package/dist/commonjs/sdk/lookups.js +0 -25
  54. package/dist/commonjs/sdk/lookups.js.map +1 -1
  55. package/dist/commonjs/sdk/users.d.ts +0 -6
  56. package/dist/commonjs/sdk/users.d.ts.map +1 -1
  57. package/dist/commonjs/sdk/users.js +0 -6
  58. package/dist/commonjs/sdk/users.js.map +1 -1
  59. package/dist/commonjs/sdk/vendors.d.ts +1 -13
  60. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  61. package/dist/commonjs/sdk/vendors.js +1 -13
  62. package/dist/commonjs/sdk/vendors.js.map +1 -1
  63. package/dist/esm/__tests__/lookups.test.js +0 -21
  64. package/dist/esm/__tests__/lookups.test.js.map +1 -1
  65. package/dist/esm/__tests__/vendors.test.js +1 -1
  66. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  67. package/dist/esm/__tests__/webhooks.test.js +5 -6
  68. package/dist/esm/__tests__/webhooks.test.js.map +1 -1
  69. package/dist/esm/__tests__/zones.test.js +5 -11
  70. package/dist/esm/__tests__/zones.test.js.map +1 -1
  71. package/dist/esm/funcs/usersUpdateUser.d.ts +0 -6
  72. package/dist/esm/funcs/usersUpdateUser.d.ts.map +1 -1
  73. package/dist/esm/funcs/usersUpdateUser.js +0 -6
  74. package/dist/esm/funcs/usersUpdateUser.js.map +1 -1
  75. package/dist/esm/funcs/vendorsCreateVendor.d.ts +0 -4
  76. package/dist/esm/funcs/vendorsCreateVendor.d.ts.map +1 -1
  77. package/dist/esm/funcs/vendorsCreateVendor.js +0 -4
  78. package/dist/esm/funcs/vendorsCreateVendor.js.map +1 -1
  79. package/dist/esm/funcs/vendorsUpdateVendorDetails.d.ts +1 -9
  80. package/dist/esm/funcs/vendorsUpdateVendorDetails.d.ts.map +1 -1
  81. package/dist/esm/funcs/vendorsUpdateVendorDetails.js +1 -9
  82. package/dist/esm/funcs/vendorsUpdateVendorDetails.js.map +1 -1
  83. package/dist/esm/index.extras.d.ts +0 -6
  84. package/dist/esm/index.extras.d.ts.map +1 -1
  85. package/dist/esm/index.extras.js +0 -6
  86. package/dist/esm/index.extras.js.map +1 -1
  87. package/dist/esm/lib/config.d.ts +4 -4
  88. package/dist/esm/lib/config.js +4 -4
  89. package/dist/esm/models/operations/createvendorcompany.d.ts +1 -7
  90. package/dist/esm/models/operations/createvendorcompany.d.ts.map +1 -1
  91. package/dist/esm/models/operations/createvendorcompany.js.map +1 -1
  92. package/dist/esm/models/operations/index.d.ts +0 -1
  93. package/dist/esm/models/operations/index.d.ts.map +1 -1
  94. package/dist/esm/models/operations/index.js +0 -1
  95. package/dist/esm/models/operations/index.js.map +1 -1
  96. package/dist/esm/react-query/index.d.ts +0 -1
  97. package/dist/esm/react-query/index.d.ts.map +1 -1
  98. package/dist/esm/react-query/index.js +0 -1
  99. package/dist/esm/react-query/index.js.map +1 -1
  100. package/dist/esm/react-query/usersUpdateUser.d.ts +0 -6
  101. package/dist/esm/react-query/usersUpdateUser.d.ts.map +1 -1
  102. package/dist/esm/react-query/usersUpdateUser.js +0 -6
  103. package/dist/esm/react-query/usersUpdateUser.js.map +1 -1
  104. package/dist/esm/react-query/vendorsCreateVendor.d.ts +0 -4
  105. package/dist/esm/react-query/vendorsCreateVendor.d.ts.map +1 -1
  106. package/dist/esm/react-query/vendorsCreateVendor.js +0 -4
  107. package/dist/esm/react-query/vendorsCreateVendor.js.map +1 -1
  108. package/dist/esm/react-query/vendorsUpdateVendorDetails.d.ts +1 -9
  109. package/dist/esm/react-query/vendorsUpdateVendorDetails.d.ts.map +1 -1
  110. package/dist/esm/react-query/vendorsUpdateVendorDetails.js +1 -9
  111. package/dist/esm/react-query/vendorsUpdateVendorDetails.js.map +1 -1
  112. package/dist/esm/sdk/lookups.d.ts +0 -22
  113. package/dist/esm/sdk/lookups.d.ts.map +1 -1
  114. package/dist/esm/sdk/lookups.js +0 -25
  115. package/dist/esm/sdk/lookups.js.map +1 -1
  116. package/dist/esm/sdk/users.d.ts +0 -6
  117. package/dist/esm/sdk/users.d.ts.map +1 -1
  118. package/dist/esm/sdk/users.js +0 -6
  119. package/dist/esm/sdk/users.js.map +1 -1
  120. package/dist/esm/sdk/vendors.d.ts +1 -13
  121. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  122. package/dist/esm/sdk/vendors.js +1 -13
  123. package/dist/esm/sdk/vendors.js.map +1 -1
  124. package/jsr.json +1 -1
  125. package/package.json +1 -1
  126. package/src/__tests__/lookups.test.ts +0 -24
  127. package/src/__tests__/vendors.test.ts +1 -1
  128. package/src/__tests__/webhooks.test.ts +5 -6
  129. package/src/__tests__/zones.test.ts +5 -11
  130. package/src/funcs/usersUpdateUser.ts +0 -6
  131. package/src/funcs/vendorsCreateVendor.ts +0 -4
  132. package/src/funcs/vendorsUpdateVendorDetails.ts +1 -9
  133. package/src/index.extras.ts +0 -8
  134. package/src/lib/config.ts +4 -4
  135. package/src/models/operations/createvendorcompany.ts +1 -7
  136. package/src/models/operations/index.ts +0 -1
  137. package/src/react-query/index.ts +0 -1
  138. package/src/react-query/usersUpdateUser.ts +0 -6
  139. package/src/react-query/vendorsCreateVendor.ts +0 -4
  140. package/src/react-query/vendorsUpdateVendorDetails.ts +1 -9
  141. package/src/sdk/lookups.ts +0 -33
  142. package/src/sdk/users.ts +0 -6
  143. package/src/sdk/vendors.ts +1 -13
  144. package/dist/commonjs/admin-funcs/dismissCommunication.d.ts +0 -3
  145. package/dist/commonjs/admin-funcs/dismissCommunication.d.ts.map +0 -1
  146. package/dist/commonjs/admin-funcs/dismissCommunication.js +0 -20
  147. package/dist/commonjs/admin-funcs/dismissCommunication.js.map +0 -1
  148. package/dist/commonjs/admin-funcs/listCommunications.d.ts +0 -3
  149. package/dist/commonjs/admin-funcs/listCommunications.d.ts.map +0 -1
  150. package/dist/commonjs/admin-funcs/listCommunications.js +0 -25
  151. package/dist/commonjs/admin-funcs/listCommunications.js.map +0 -1
  152. package/dist/commonjs/funcs/lookupsLookupPostalCode.d.ts +0 -35
  153. package/dist/commonjs/funcs/lookupsLookupPostalCode.d.ts.map +0 -1
  154. package/dist/commonjs/funcs/lookupsLookupPostalCode.js +0 -140
  155. package/dist/commonjs/funcs/lookupsLookupPostalCode.js.map +0 -1
  156. package/dist/commonjs/models/operations/lookuppostalcode.d.ts +0 -59
  157. package/dist/commonjs/models/operations/lookuppostalcode.d.ts.map +0 -1
  158. package/dist/commonjs/models/operations/lookuppostalcode.js +0 -81
  159. package/dist/commonjs/models/operations/lookuppostalcode.js.map +0 -1
  160. package/dist/commonjs/react-query/lookupsLookupPostalCode.core.d.ts +0 -16
  161. package/dist/commonjs/react-query/lookupsLookupPostalCode.core.d.ts.map +0 -1
  162. package/dist/commonjs/react-query/lookupsLookupPostalCode.core.js +0 -43
  163. package/dist/commonjs/react-query/lookupsLookupPostalCode.core.js.map +0 -1
  164. package/dist/commonjs/react-query/lookupsLookupPostalCode.d.ts +0 -71
  165. package/dist/commonjs/react-query/lookupsLookupPostalCode.d.ts.map +0 -1
  166. package/dist/commonjs/react-query/lookupsLookupPostalCode.js +0 -95
  167. package/dist/commonjs/react-query/lookupsLookupPostalCode.js.map +0 -1
  168. package/dist/esm/admin-funcs/dismissCommunication.d.ts +0 -3
  169. package/dist/esm/admin-funcs/dismissCommunication.d.ts.map +0 -1
  170. package/dist/esm/admin-funcs/dismissCommunication.js +0 -17
  171. package/dist/esm/admin-funcs/dismissCommunication.js.map +0 -1
  172. package/dist/esm/admin-funcs/listCommunications.d.ts +0 -3
  173. package/dist/esm/admin-funcs/listCommunications.d.ts.map +0 -1
  174. package/dist/esm/admin-funcs/listCommunications.js +0 -22
  175. package/dist/esm/admin-funcs/listCommunications.js.map +0 -1
  176. package/dist/esm/funcs/lookupsLookupPostalCode.d.ts +0 -35
  177. package/dist/esm/funcs/lookupsLookupPostalCode.d.ts.map +0 -1
  178. package/dist/esm/funcs/lookupsLookupPostalCode.js +0 -104
  179. package/dist/esm/funcs/lookupsLookupPostalCode.js.map +0 -1
  180. package/dist/esm/models/operations/lookuppostalcode.d.ts +0 -59
  181. package/dist/esm/models/operations/lookuppostalcode.d.ts.map +0 -1
  182. package/dist/esm/models/operations/lookuppostalcode.js +0 -43
  183. package/dist/esm/models/operations/lookuppostalcode.js.map +0 -1
  184. package/dist/esm/react-query/lookupsLookupPostalCode.core.d.ts +0 -16
  185. package/dist/esm/react-query/lookupsLookupPostalCode.core.d.ts.map +0 -1
  186. package/dist/esm/react-query/lookupsLookupPostalCode.core.js +0 -38
  187. package/dist/esm/react-query/lookupsLookupPostalCode.core.js.map +0 -1
  188. package/dist/esm/react-query/lookupsLookupPostalCode.d.ts +0 -71
  189. package/dist/esm/react-query/lookupsLookupPostalCode.d.ts.map +0 -1
  190. package/dist/esm/react-query/lookupsLookupPostalCode.js +0 -85
  191. package/dist/esm/react-query/lookupsLookupPostalCode.js.map +0 -1
  192. package/src/admin-funcs/dismissCommunication.ts +0 -20
  193. package/src/admin-funcs/listCommunications.ts +0 -29
  194. package/src/funcs/lookupsLookupPostalCode.ts +0 -193
  195. package/src/models/operations/lookuppostalcode.ts +0 -118
  196. package/src/react-query/lookupsLookupPostalCode.core.ts +0 -82
  197. package/src/react-query/lookupsLookupPostalCode.ts +0 -177
@@ -1,140 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.lookupsLookupPostalCode = lookupsLookupPostalCode;
40
- const encodings_js_1 = require("../lib/encodings.js");
41
- const http_js_1 = require("../lib/http.js");
42
- const M = __importStar(require("../lib/matchers.js"));
43
- const primitives_js_1 = require("../lib/primitives.js");
44
- const schemas_js_1 = require("../lib/schemas.js");
45
- const security_js_1 = require("../lib/security.js");
46
- const url_js_1 = require("../lib/url.js");
47
- const errors = __importStar(require("../models/errors/index.js"));
48
- const operations = __importStar(require("../models/operations/index.js"));
49
- const async_js_1 = require("../types/async.js");
50
- /**
51
- * Check a postal code against a state and country
52
- *
53
- * @remarks
54
- * Cross-checks a postal code against a state/province and country, the same check
55
- * every write path that stores a US or Canadian address enforces server-side (e.g.
56
- * `PUT /users/{id}`, `PUT /vendors/{vendor_id_or_me}`). Useful for validating an
57
- * address before submitting it elsewhere.
58
- *
59
- * `status` is one of:
60
- * - `ok` — the postal code belongs to the given state/province.
61
- * - `invalid` — the postal code is not shaped like a real one for the given country.
62
- * - `mismatch` — the postal code is well-formed but belongs to a different state or
63
- * province. `expected_states` names the state(s) it actually maps to.
64
- * - `unknown` — nothing to check against (an unsupported country, or a postal code
65
- * absent from the US ZIP dataset). Treated as acceptable by every write path that
66
- * uses this check.
67
- *
68
- * Only the US and Canada have a real code-to-subdivision map; every other country
69
- * always returns `unknown`.
70
- *
71
- * If set, this operation will use {@link Security.bearerJwt} from the global security.
72
- */
73
- function lookupsLookupPostalCode(client, request, options) {
74
- return new async_js_1.APIPromise($do(client, request, options));
75
- }
76
- async function $do(client, request, options) {
77
- const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.LookupPostalCodeRequest$outboundSchema.parse(value), "Input validation failed");
78
- if (!parsed.ok) {
79
- return [parsed, { status: "invalid" }];
80
- }
81
- const payload = parsed.value;
82
- const body = null;
83
- const path = (0, url_js_1.pathToFunc)("/lookups/postal-code")();
84
- const query = (0, encodings_js_1.encodeFormQuery)({
85
- "country": payload.country,
86
- "postal_code": payload.postal_code,
87
- "state": payload.state,
88
- });
89
- const headers = new Headers((0, primitives_js_1.compactMap)({
90
- Accept: "application/json",
91
- }));
92
- const securityInput = await (0, security_js_1.extractSecurity)(client._options.security);
93
- const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput, [1]);
94
- const context = {
95
- options: client._options,
96
- baseURL: options?.serverURL ?? client._baseURL ?? "",
97
- operationID: "lookupPostalCode",
98
- oAuth2Scopes: null,
99
- resolvedSecurity: requestSecurity,
100
- securitySource: client._options.security,
101
- retryConfig: options?.retries
102
- || client._options.retryConfig
103
- || { strategy: "none" },
104
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
105
- };
106
- const requestRes = client._createRequest(context, {
107
- security: requestSecurity,
108
- method: "GET",
109
- baseURL: options?.serverURL,
110
- path: path,
111
- headers: headers,
112
- query: query,
113
- body: body,
114
- userAgent: client._options.userAgent,
115
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
116
- }, options);
117
- if (!requestRes.ok) {
118
- return [requestRes, { status: "invalid" }];
119
- }
120
- const req = requestRes.value;
121
- const doResult = await client._do(req, {
122
- context,
123
- isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
124
- retryConfig: context.retryConfig,
125
- retryCodes: context.retryCodes,
126
- });
127
- if (!doResult.ok) {
128
- return [doResult, { status: "request-error", request: req }];
129
- }
130
- const response = doResult.value;
131
- const responseFields = {
132
- HttpMeta: { Response: response, Request: req },
133
- };
134
- const [result] = await M.match(M.json(200, operations.LookupPostalCodeLookupPostalCodeOk$inboundSchema), M.jsonErr([400, 401, 422], errors.ApiErrorResponse$inboundSchema), M.fail("4XX"), M.fail([500, "5XX"]))(response, req, { extraFields: responseFields });
135
- if (!result.ok) {
136
- return [result, { status: "complete", request: req, response }];
137
- }
138
- return [result, { status: "complete", request: req, response }];
139
- }
140
- //# sourceMappingURL=lookupsLookupPostalCode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lookupsLookupPostalCode.js","sourceRoot":"","sources":["../../../src/funcs/lookupsLookupPostalCode.ts"],"names":[],"mappings":"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"}
@@ -1,59 +0,0 @@
1
- import * as z from "zod/v3";
2
- import { OpenEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- export type LookupPostalCodeRequest = {
6
- /**
7
- * The zip / postal code to check.
8
- */
9
- postalCode: string;
10
- /**
11
- * The state or province, as a code or full name, entered alongside the postal code.
12
- */
13
- state: string;
14
- /**
15
- * The country entered alongside the postal code (e.g. US, CA).
16
- */
17
- country: string;
18
- };
19
- export declare const LookupPostalCodeStatus: {
20
- readonly Ok: "ok";
21
- readonly Invalid: "invalid";
22
- readonly Mismatch: "mismatch";
23
- readonly Unknown: "unknown";
24
- };
25
- export type LookupPostalCodeStatus = OpenEnum<typeof LookupPostalCodeStatus>;
26
- /**
27
- * The request was successful, and the server has returned the check result in the response body.
28
- */
29
- export type LookupPostalCodeLookupPostalCodeOk = {
30
- status: LookupPostalCodeStatus;
31
- /**
32
- * The state(s)/province(s) the postal code actually belongs to. Populated whenever the
33
- *
34
- * @remarks
35
- * postal code is well-formed and a state/province was checked against it — so this is
36
- * non-empty for `ok` (it names the state that matched) as well as for `mismatch`, and
37
- * empty for `invalid` and `unknown`.
38
- */
39
- expectedStates: Array<string>;
40
- /**
41
- * A human-readable explanation of the problem. `null` unless `status` is `invalid` or `mismatch`.
42
- */
43
- error: string | null;
44
- };
45
- /** @internal */
46
- export type LookupPostalCodeRequest$Outbound = {
47
- postal_code: string;
48
- state: string;
49
- country: string;
50
- };
51
- /** @internal */
52
- export declare const LookupPostalCodeRequest$outboundSchema: z.ZodType<LookupPostalCodeRequest$Outbound, z.ZodTypeDef, LookupPostalCodeRequest>;
53
- export declare function lookupPostalCodeRequestToJSON(lookupPostalCodeRequest: LookupPostalCodeRequest): string;
54
- /** @internal */
55
- export declare const LookupPostalCodeStatus$inboundSchema: z.ZodType<LookupPostalCodeStatus, z.ZodTypeDef, unknown>;
56
- /** @internal */
57
- export declare const LookupPostalCodeLookupPostalCodeOk$inboundSchema: z.ZodType<LookupPostalCodeLookupPostalCodeOk, z.ZodTypeDef, unknown>;
58
- export declare function lookupPostalCodeLookupPostalCodeOkFromJSON(jsonString: string): SafeParseResult<LookupPostalCodeLookupPostalCodeOk, SDKValidationError>;
59
- //# sourceMappingURL=lookuppostalcode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lookuppostalcode.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/lookuppostalcode.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAI5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE7E;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAAG;IAC/C,MAAM,EAAE,sBAAsB,CAAC;IAC/B;;;;;;;OAOG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CASvB,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAC0C,CAAC;AAEpD,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,wBAAgB,0CAA0C,CACxD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kCAAkC,EAAE,kBAAkB,CAAC,CAOzE"}
@@ -1,81 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.LookupPostalCodeLookupPostalCodeOk$inboundSchema = exports.LookupPostalCodeStatus$inboundSchema = exports.LookupPostalCodeRequest$outboundSchema = exports.LookupPostalCodeStatus = void 0;
40
- exports.lookupPostalCodeRequestToJSON = lookupPostalCodeRequestToJSON;
41
- exports.lookupPostalCodeLookupPostalCodeOkFromJSON = lookupPostalCodeLookupPostalCodeOkFromJSON;
42
- const z = __importStar(require("zod/v3"));
43
- const primitives_js_1 = require("../../lib/primitives.js");
44
- const schemas_js_1 = require("../../lib/schemas.js");
45
- const openEnums = __importStar(require("../../types/enums.js"));
46
- const types = __importStar(require("../../types/primitives.js"));
47
- exports.LookupPostalCodeStatus = {
48
- Ok: "ok",
49
- Invalid: "invalid",
50
- Mismatch: "mismatch",
51
- Unknown: "unknown",
52
- };
53
- /** @internal */
54
- exports.LookupPostalCodeRequest$outboundSchema = z.object({
55
- postalCode: z.string(),
56
- state: z.string(),
57
- country: z.string(),
58
- }).transform((v) => {
59
- return (0, primitives_js_1.remap)(v, {
60
- postalCode: "postal_code",
61
- });
62
- });
63
- function lookupPostalCodeRequestToJSON(lookupPostalCodeRequest) {
64
- return JSON.stringify(exports.LookupPostalCodeRequest$outboundSchema.parse(lookupPostalCodeRequest));
65
- }
66
- /** @internal */
67
- exports.LookupPostalCodeStatus$inboundSchema = openEnums.inboundSchema(exports.LookupPostalCodeStatus);
68
- /** @internal */
69
- exports.LookupPostalCodeLookupPostalCodeOk$inboundSchema = z.object({
70
- status: exports.LookupPostalCodeStatus$inboundSchema,
71
- expected_states: z.array(types.string()),
72
- error: types.nullable(types.string()),
73
- }).transform((v) => {
74
- return (0, primitives_js_1.remap)(v, {
75
- "expected_states": "expectedStates",
76
- });
77
- });
78
- function lookupPostalCodeLookupPostalCodeOkFromJSON(jsonString) {
79
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.LookupPostalCodeLookupPostalCodeOk$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LookupPostalCodeLookupPostalCodeOk' from JSON`);
80
- }
81
- //# sourceMappingURL=lookuppostalcode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lookuppostalcode.js","sourceRoot":"","sources":["../../../../src/models/operations/lookuppostalcode.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4EH,sEAMC;AAwBD,gGASC;AAjHD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AACjD,gEAAkD;AAGlD,iEAAmD;AAkBtC,QAAA,sBAAsB,GAAG;IACpC,EAAE,EAAE,IAAI;IACR,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;CACV,CAAC;AA8BX,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,SAAS,CAAC,aAAa,CAAC,8BAAsB,CAAC,CAAC;AAEpD,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,4CAAoC;IAC5C,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACxC,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CACtC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,iBAAiB,EAAE,gBAAgB;KACpC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,0CAA0C,CACxD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDAAgD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,gEAAgE,CACjE,CAAC;AACJ,CAAC"}
@@ -1,16 +0,0 @@
1
- import { QueryClient, QueryFunctionContext, QueryKey } from "@tanstack/react-query";
2
- import { GreenSecurityCore } from "../core.js";
3
- import { RequestOptions } from "../lib/sdks.js";
4
- import * as operations from "../models/operations/index.js";
5
- export type LookupsLookupPostalCodeQueryData = operations.LookupPostalCodeLookupPostalCodeOk;
6
- export declare function prefetchLookupsLookupPostalCode(queryClient: QueryClient, client$: GreenSecurityCore, request: operations.LookupPostalCodeRequest, options?: RequestOptions): Promise<void>;
7
- export declare function buildLookupsLookupPostalCodeQuery(client$: GreenSecurityCore, request: operations.LookupPostalCodeRequest, options?: RequestOptions): {
8
- queryKey: QueryKey;
9
- queryFn: (context: QueryFunctionContext) => Promise<LookupsLookupPostalCodeQueryData>;
10
- };
11
- export declare function queryKeyLookupsLookupPostalCode(parameters: {
12
- postalCode: string;
13
- state: string;
14
- country: string;
15
- }): QueryKey;
16
- //# sourceMappingURL=lookupsLookupPostalCode.core.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lookupsLookupPostalCode.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/lookupsLookupPostalCode.core.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,QAAQ,EACT,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,MAAM,MAAM,gCAAgC,GAC1C,UAAU,CAAC,kCAAkC,CAAC;AAEhD,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CAQf;AAED,wBAAgB,iCAAiC,CAC/C,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CACP,OAAO,EAAE,oBAAoB,KAC1B,OAAO,CAAC,gCAAgC,CAAC,CAAC;CAChD,CA4BA;AAED,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACjE,QAAQ,CAOV"}
@@ -1,43 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.prefetchLookupsLookupPostalCode = prefetchLookupsLookupPostalCode;
7
- exports.buildLookupsLookupPostalCodeQuery = buildLookupsLookupPostalCodeQuery;
8
- exports.queryKeyLookupsLookupPostalCode = queryKeyLookupsLookupPostalCode;
9
- const lookupsLookupPostalCode_js_1 = require("../funcs/lookupsLookupPostalCode.js");
10
- const primitives_js_1 = require("../lib/primitives.js");
11
- const fp_js_1 = require("../types/fp.js");
12
- function prefetchLookupsLookupPostalCode(queryClient, client$, request, options) {
13
- return queryClient.prefetchQuery({
14
- ...buildLookupsLookupPostalCodeQuery(client$, request, options),
15
- });
16
- }
17
- function buildLookupsLookupPostalCodeQuery(client$, request, options) {
18
- return {
19
- queryKey: queryKeyLookupsLookupPostalCode({
20
- postalCode: request.postalCode,
21
- state: request.state,
22
- country: request.country,
23
- }),
24
- queryFn: async function lookupsLookupPostalCodeQueryFn(ctx) {
25
- const sig = (0, primitives_js_1.combineSignals)(ctx.signal, options?.signal, options?.fetchOptions?.signal);
26
- const mergedOptions = {
27
- ...options?.fetchOptions,
28
- ...options,
29
- signal: sig,
30
- };
31
- return (0, fp_js_1.unwrapAsync)((0, lookupsLookupPostalCode_js_1.lookupsLookupPostalCode)(client$, request, mergedOptions));
32
- },
33
- };
34
- }
35
- function queryKeyLookupsLookupPostalCode(parameters) {
36
- return [
37
- "@greensecurity/javascript-sdk",
38
- "lookups",
39
- "lookupPostalCode",
40
- parameters,
41
- ];
42
- }
43
- //# sourceMappingURL=lookupsLookupPostalCode.core.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lookupsLookupPostalCode.core.js","sourceRoot":"","sources":["../../../src/react-query/lookupsLookupPostalCode.core.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAgBH,0EAaC;AAED,8EAqCC;AAED,0EASC;AAvED,oFAA8E;AAC9E,wDAAsD;AAGtD,0CAA6C;AAI7C,SAAgB,+BAA+B,CAC7C,WAAwB,EACxB,OAA0B,EAC1B,OAA2C,EAC3C,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,iCAAiC,CAClC,OAAO,EACP,OAAO,EACP,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,iCAAiC,CAC/C,OAA0B,EAC1B,OAA2C,EAC3C,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,+BAA+B,CAAC;YACxC,UAAU,EAAE,OAAO,CAAC,UAAU;YAC9B,KAAK,EAAE,OAAO,CAAC,KAAK;YACpB,OAAO,EAAE,OAAO,CAAC,OAAO;SACzB,CAAC;QACF,OAAO,EAAE,KAAK,UAAU,8BAA8B,CACpD,GAAG;YAEH,MAAM,GAAG,GAAG,IAAA,8BAAc,EACxB,GAAG,CAAC,MAAM,EACV,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B,CAAC;YACF,MAAM,aAAa,GAAG;gBACpB,GAAG,OAAO,EAAE,YAAY;gBACxB,GAAG,OAAO;gBACV,MAAM,EAAE,GAAG;aACZ,CAAC;YAEF,OAAO,IAAA,mBAAW,EAAC,IAAA,oDAAuB,EACxC,OAAO,EACP,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAgB,+BAA+B,CAC7C,UAAkE;IAElE,OAAO;QACL,+BAA+B;QAC/B,SAAS;QACT,kBAAkB;QAClB,UAAU;KACX,CAAC;AACJ,CAAC"}
@@ -1,71 +0,0 @@
1
- import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
2
- import { GreenSecurityError } from "../models/errors/greensecurityerror.js";
3
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
4
- import * as errors from "../models/errors/index.js";
5
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
6
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
- import * as operations from "../models/operations/index.js";
8
- import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
9
- import { buildLookupsLookupPostalCodeQuery, LookupsLookupPostalCodeQueryData, prefetchLookupsLookupPostalCode, queryKeyLookupsLookupPostalCode } from "./lookupsLookupPostalCode.core.js";
10
- export { buildLookupsLookupPostalCodeQuery, type LookupsLookupPostalCodeQueryData, prefetchLookupsLookupPostalCode, queryKeyLookupsLookupPostalCode, };
11
- export type LookupsLookupPostalCodeQueryError = errors.ApiErrorResponse | GreenSecurityError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError;
12
- /**
13
- * Check a postal code against a state and country
14
- *
15
- * @remarks
16
- * Cross-checks a postal code against a state/province and country, the same check
17
- * every write path that stores a US or Canadian address enforces server-side (e.g.
18
- * `PUT /users/{id}`, `PUT /vendors/{vendor_id_or_me}`). Useful for validating an
19
- * address before submitting it elsewhere.
20
- *
21
- * `status` is one of:
22
- * - `ok` — the postal code belongs to the given state/province.
23
- * - `invalid` — the postal code is not shaped like a real one for the given country.
24
- * - `mismatch` — the postal code is well-formed but belongs to a different state or
25
- * province. `expected_states` names the state(s) it actually maps to.
26
- * - `unknown` — nothing to check against (an unsupported country, or a postal code
27
- * absent from the US ZIP dataset). Treated as acceptable by every write path that
28
- * uses this check.
29
- *
30
- * Only the US and Canada have a real code-to-subdivision map; every other country
31
- * always returns `unknown`.
32
- */
33
- export declare function useLookupsLookupPostalCode(request: operations.LookupPostalCodeRequest, options?: QueryHookOptions<LookupsLookupPostalCodeQueryData, LookupsLookupPostalCodeQueryError>): UseQueryResult<LookupsLookupPostalCodeQueryData, LookupsLookupPostalCodeQueryError>;
34
- /**
35
- * Check a postal code against a state and country
36
- *
37
- * @remarks
38
- * Cross-checks a postal code against a state/province and country, the same check
39
- * every write path that stores a US or Canadian address enforces server-side (e.g.
40
- * `PUT /users/{id}`, `PUT /vendors/{vendor_id_or_me}`). Useful for validating an
41
- * address before submitting it elsewhere.
42
- *
43
- * `status` is one of:
44
- * - `ok` — the postal code belongs to the given state/province.
45
- * - `invalid` — the postal code is not shaped like a real one for the given country.
46
- * - `mismatch` — the postal code is well-formed but belongs to a different state or
47
- * province. `expected_states` names the state(s) it actually maps to.
48
- * - `unknown` — nothing to check against (an unsupported country, or a postal code
49
- * absent from the US ZIP dataset). Treated as acceptable by every write path that
50
- * uses this check.
51
- *
52
- * Only the US and Canada have a real code-to-subdivision map; every other country
53
- * always returns `unknown`.
54
- */
55
- export declare function useLookupsLookupPostalCodeSuspense(request: operations.LookupPostalCodeRequest, options?: SuspenseQueryHookOptions<LookupsLookupPostalCodeQueryData, LookupsLookupPostalCodeQueryError>): UseSuspenseQueryResult<LookupsLookupPostalCodeQueryData, LookupsLookupPostalCodeQueryError>;
56
- export declare function setLookupsLookupPostalCodeData(client: QueryClient, queryKeyBase: [
57
- parameters: {
58
- postalCode: string;
59
- state: string;
60
- country: string;
61
- }
62
- ], data: LookupsLookupPostalCodeQueryData): LookupsLookupPostalCodeQueryData | undefined;
63
- export declare function invalidateLookupsLookupPostalCode(client: QueryClient, queryKeyBase: TupleToPrefixes<[
64
- parameters: {
65
- postalCode: string;
66
- state: string;
67
- country: string;
68
- }
69
- ]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
70
- export declare function invalidateAllLookupsLookupPostalCode(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
71
- //# sourceMappingURL=lookupsLookupPostalCode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lookupsLookupPostalCode.d.ts","sourceRoot":"","sources":["../../../src/react-query/lookupsLookupPostalCode.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EAEX,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,eAAe,EAChB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,iCAAiC,EACjC,gCAAgC,EAChC,+BAA+B,EAC/B,+BAA+B,EAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,iCAAiC,EACjC,KAAK,gCAAgC,EACrC,+BAA+B,EAC/B,+BAA+B,GAChC,CAAC;AAEF,MAAM,MAAM,iCAAiC,GACzC,MAAM,CAAC,gBAAgB,GACvB,kBAAkB,GAClB,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CAAC;AAEvB;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,gBAAgB,CACxB,gCAAgC,EAChC,iCAAiC,CAClC,GACA,cAAc,CACf,gCAAgC,EAChC,iCAAiC,CAClC,CAUA;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,wBAAwB,CAChC,gCAAgC,EAChC,iCAAiC,CAClC,GACA,sBAAsB,CACvB,gCAAgC,EAChC,iCAAiC,CAClC,CAUA;AAED,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE;IACZ,UAAU,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;CACnE,EACD,IAAI,EAAE,gCAAgC,GACrC,gCAAgC,GAAG,SAAS,CAI9C;AAED,wBAAgB,iCAAiC,CAC/C,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,eAAe,CAC3B;IAAC,UAAU,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;CAAC,CACrE,EACD,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAUf;AAED,wBAAgB,oCAAoC,CAClD,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf"}
@@ -1,95 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.queryKeyLookupsLookupPostalCode = exports.prefetchLookupsLookupPostalCode = exports.buildLookupsLookupPostalCodeQuery = void 0;
7
- exports.useLookupsLookupPostalCode = useLookupsLookupPostalCode;
8
- exports.useLookupsLookupPostalCodeSuspense = useLookupsLookupPostalCodeSuspense;
9
- exports.setLookupsLookupPostalCodeData = setLookupsLookupPostalCodeData;
10
- exports.invalidateLookupsLookupPostalCode = invalidateLookupsLookupPostalCode;
11
- exports.invalidateAllLookupsLookupPostalCode = invalidateAllLookupsLookupPostalCode;
12
- const react_query_1 = require("@tanstack/react-query");
13
- const _context_js_1 = require("./_context.js");
14
- const lookupsLookupPostalCode_core_js_1 = require("./lookupsLookupPostalCode.core.js");
15
- Object.defineProperty(exports, "buildLookupsLookupPostalCodeQuery", { enumerable: true, get: function () { return lookupsLookupPostalCode_core_js_1.buildLookupsLookupPostalCodeQuery; } });
16
- Object.defineProperty(exports, "prefetchLookupsLookupPostalCode", { enumerable: true, get: function () { return lookupsLookupPostalCode_core_js_1.prefetchLookupsLookupPostalCode; } });
17
- Object.defineProperty(exports, "queryKeyLookupsLookupPostalCode", { enumerable: true, get: function () { return lookupsLookupPostalCode_core_js_1.queryKeyLookupsLookupPostalCode; } });
18
- /**
19
- * Check a postal code against a state and country
20
- *
21
- * @remarks
22
- * Cross-checks a postal code against a state/province and country, the same check
23
- * every write path that stores a US or Canadian address enforces server-side (e.g.
24
- * `PUT /users/{id}`, `PUT /vendors/{vendor_id_or_me}`). Useful for validating an
25
- * address before submitting it elsewhere.
26
- *
27
- * `status` is one of:
28
- * - `ok` — the postal code belongs to the given state/province.
29
- * - `invalid` — the postal code is not shaped like a real one for the given country.
30
- * - `mismatch` — the postal code is well-formed but belongs to a different state or
31
- * province. `expected_states` names the state(s) it actually maps to.
32
- * - `unknown` — nothing to check against (an unsupported country, or a postal code
33
- * absent from the US ZIP dataset). Treated as acceptable by every write path that
34
- * uses this check.
35
- *
36
- * Only the US and Canada have a real code-to-subdivision map; every other country
37
- * always returns `unknown`.
38
- */
39
- function useLookupsLookupPostalCode(request, options) {
40
- const client = (0, _context_js_1.useGreenSecurityContext)();
41
- return (0, react_query_1.useQuery)({
42
- ...(0, lookupsLookupPostalCode_core_js_1.buildLookupsLookupPostalCodeQuery)(client, request, options),
43
- ...options,
44
- });
45
- }
46
- /**
47
- * Check a postal code against a state and country
48
- *
49
- * @remarks
50
- * Cross-checks a postal code against a state/province and country, the same check
51
- * every write path that stores a US or Canadian address enforces server-side (e.g.
52
- * `PUT /users/{id}`, `PUT /vendors/{vendor_id_or_me}`). Useful for validating an
53
- * address before submitting it elsewhere.
54
- *
55
- * `status` is one of:
56
- * - `ok` — the postal code belongs to the given state/province.
57
- * - `invalid` — the postal code is not shaped like a real one for the given country.
58
- * - `mismatch` — the postal code is well-formed but belongs to a different state or
59
- * province. `expected_states` names the state(s) it actually maps to.
60
- * - `unknown` — nothing to check against (an unsupported country, or a postal code
61
- * absent from the US ZIP dataset). Treated as acceptable by every write path that
62
- * uses this check.
63
- *
64
- * Only the US and Canada have a real code-to-subdivision map; every other country
65
- * always returns `unknown`.
66
- */
67
- function useLookupsLookupPostalCodeSuspense(request, options) {
68
- const client = (0, _context_js_1.useGreenSecurityContext)();
69
- return (0, react_query_1.useSuspenseQuery)({
70
- ...(0, lookupsLookupPostalCode_core_js_1.buildLookupsLookupPostalCodeQuery)(client, request, options),
71
- ...options,
72
- });
73
- }
74
- function setLookupsLookupPostalCodeData(client, queryKeyBase, data) {
75
- const key = (0, lookupsLookupPostalCode_core_js_1.queryKeyLookupsLookupPostalCode)(...queryKeyBase);
76
- return client.setQueryData(key, data);
77
- }
78
- function invalidateLookupsLookupPostalCode(client, queryKeyBase, filters) {
79
- return client.invalidateQueries({
80
- ...filters,
81
- queryKey: [
82
- "@greensecurity/javascript-sdk",
83
- "lookups",
84
- "lookupPostalCode",
85
- ...queryKeyBase,
86
- ],
87
- });
88
- }
89
- function invalidateAllLookupsLookupPostalCode(client, filters) {
90
- return client.invalidateQueries({
91
- ...filters,
92
- queryKey: ["@greensecurity/javascript-sdk", "lookups", "lookupPostalCode"],
93
- });
94
- }
95
- //# sourceMappingURL=lookupsLookupPostalCode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lookupsLookupPostalCode.js","sourceRoot":"","sources":["../../../src/react-query/lookupsLookupPostalCode.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAyEH,gEAmBC;AAuBD,gFAmBC;AAED,wEAUC;AAED,8EAgBC;AAED,oFAQC;AA5KD,uDAO+B;AAa/B,+CAAwD;AAMxD,uFAK2C;AAEzC,kHANA,mEAAiC,OAMA;AAEjC,gHANA,iEAA+B,OAMA;AAC/B,gHANA,iEAA+B,OAMA;AAcjC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,0BAA0B,CACxC,OAA2C,EAC3C,OAGC;IAKD,MAAM,MAAM,GAAG,IAAA,qCAAuB,GAAE,CAAC;IACzC,OAAO,IAAA,sBAAQ,EAAC;QACd,GAAG,IAAA,mEAAiC,EAClC,MAAM,EACN,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,kCAAkC,CAChD,OAA2C,EAC3C,OAGC;IAKD,MAAM,MAAM,GAAG,IAAA,qCAAuB,GAAE,CAAC;IACzC,OAAO,IAAA,8BAAgB,EAAC;QACtB,GAAG,IAAA,mEAAiC,EAClC,MAAM,EACN,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,8BAA8B,CAC5C,MAAmB,EACnB,YAEC,EACD,IAAsC;IAEtC,MAAM,GAAG,GAAG,IAAA,iEAA+B,EAAC,GAAG,YAAY,CAAC,CAAC;IAE7D,OAAO,MAAM,CAAC,YAAY,CAAmC,GAAG,EAAE,IAAI,CAAC,CAAC;AAC1E,CAAC;AAED,SAAgB,iCAAiC,CAC/C,MAAmB,EACnB,YAEC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE;YACR,+BAA+B;YAC/B,SAAS;YACT,kBAAkB;YAClB,GAAG,YAAY;SAChB;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,oCAAoC,CAClD,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,+BAA+B,EAAE,SAAS,EAAE,kBAAkB,CAAC;KAC3E,CAAC,CAAC;AACL,CAAC"}
@@ -1,3 +0,0 @@
1
- import { internalApiResult } from "./doAdmin.js";
2
- export declare function dismissCommunication(communicationId: number): internalApiResult;
3
- //# sourceMappingURL=dismissCommunication.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dismissCommunication.d.ts","sourceRoot":"","sources":["../../../src/admin-funcs/dismissCommunication.ts"],"names":[],"mappings":"AACA,OAAO,EAAW,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAa1D,wBAAgB,oBAAoB,CAAC,eAAe,EAAE,MAAM,GAAG,iBAAiB,CAK/E"}
@@ -1,17 +0,0 @@
1
- import { APIPromise } from "../types/async.js";
2
- import { $doPost } from "./doAdmin.js";
3
- // Records that the caller dismissed a communication (GSSD-7336).
4
- //
5
- // Internal for the same reason as listCommunications: it only means anything to our own portal.
6
- //
7
- // The durable half of a two-layer dismissal — the client suppresses locally straight away so a
8
- // banner does not flash back while this is in flight, and this row is what makes the timed
9
- // rules ("after a week", "after a month") hold on a second device. Whether a past dismissal
10
- // still suppresses anything is decided server-side on the next list call.
11
- //
12
- // The server re-checks the caller's audience before writing, so dismissing a communication that
13
- // was never aimed at you answers 404 rather than creating a row.
14
- export function dismissCommunication(communicationId) {
15
- return new APIPromise($doPost(`/communications/${communicationId}/dismiss`, {}));
16
- }
17
- //# sourceMappingURL=dismissCommunication.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dismissCommunication.js","sourceRoot":"","sources":["../../../src/admin-funcs/dismissCommunication.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAqB,MAAM,cAAc,CAAC;AAE1D,iEAAiE;AACjE,EAAE;AACF,gGAAgG;AAChG,EAAE;AACF,+FAA+F;AAC/F,2FAA2F;AAC3F,4FAA4F;AAC5F,0EAA0E;AAC1E,EAAE;AACF,gGAAgG;AAChG,iEAAiE;AACjE,MAAM,UAAU,oBAAoB,CAAC,eAAuB;IAC1D,OAAO,IAAI,UAAU,CAAC,OAAO,CAC3B,mBAAmB,eAAe,UAAU,EAC5C,EAAE,CACH,CAAC,CAAC;AACL,CAAC"}
@@ -1,3 +0,0 @@
1
- import { internalApiResult } from "./doAdmin.js";
2
- export declare function listCommunications(pageKey?: string | null, itemsPerPage?: number): internalApiResult;
3
- //# sourceMappingURL=listCommunications.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listCommunications.d.ts","sourceRoot":"","sources":["../../../src/admin-funcs/listCommunications.ts"],"names":[],"mappings":"AACA,OAAO,EAAmC,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAclF,wBAAgB,kBAAkB,CAChC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,EACvB,YAAY,GAAE,MAAY,GACzB,iBAAiB,CAUnB"}
@@ -1,22 +0,0 @@
1
- import { APIPromise } from "../types/async.js";
2
- import { $doGetSingle, hashToQueryString } from "./doAdmin.js";
3
- // The banners, pop-ups and in-app notifications aimed at the signed-in user (GSSD-7336).
4
- //
5
- // Internal rather than part of the public spec: "the adverts for whoever is holding this token"
6
- // is only meaningful to our own portal, and a third-party SDK consumer has no use for it. See
7
- // the public/app-only split in AGENTS.md.
8
- //
9
- // The response is already filtered and ordered by the server — audience matched per caller,
10
- // page matched, anything still suppressed by a dismissal removed, and sorted by priority — so a
11
- // caller renders the list as it arrives.
12
- //
13
- // pageKey narrows to the communications configured for one page. Omitting it returns every
14
- // communication for the user, which is what a caller that does its own page matching wants.
15
- export function listCommunications(pageKey, itemsPerPage = 100) {
16
- const query = { items_per_page: itemsPerPage };
17
- if (pageKey) {
18
- query["page_key"] = pageKey;
19
- }
20
- return new APIPromise($doGetSingle(`/communications?${hashToQueryString(query)}`, {}));
21
- }
22
- //# sourceMappingURL=listCommunications.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listCommunications.js","sourceRoot":"","sources":["../../../src/admin-funcs/listCommunications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAqB,MAAM,cAAc,CAAC;AAElF,yFAAyF;AACzF,EAAE;AACF,gGAAgG;AAChG,8FAA8F;AAC9F,0CAA0C;AAC1C,EAAE;AACF,4FAA4F;AAC5F,gGAAgG;AAChG,yCAAyC;AACzC,EAAE;AACF,2FAA2F;AAC3F,4FAA4F;AAC5F,MAAM,UAAU,kBAAkB,CAChC,OAAuB,EACvB,eAAuB,GAAG;IAE1B,MAAM,KAAK,GAAoC,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC;IAChF,IAAI,OAAO,EAAE,CAAC;QACZ,KAAK,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC;IAC9B,CAAC;IAED,OAAO,IAAI,UAAU,CAAC,YAAY,CAChC,mBAAmB,iBAAiB,CAAC,KAAK,CAAC,EAAE,EAC7C,EAAE,CACH,CAAC,CAAC;AACL,CAAC"}