@censys/platform-sdk 0.5.0 → 0.5.1

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 (41) hide show
  1. package/README.md +2 -2
  2. package/docs/sdks/globaldata/README.md +0 -87
  3. package/docs/sdks/threathunting/README.md +87 -0
  4. package/examples/package-lock.json +1 -1
  5. package/funcs/{globalDataGetHostObservationsWithCertificate.d.ts → threatHuntingGetHostObservationsWithCertificate.d.ts} +2 -2
  6. package/funcs/threatHuntingGetHostObservationsWithCertificate.d.ts.map +1 -0
  7. package/funcs/{globalDataGetHostObservationsWithCertificate.js → threatHuntingGetHostObservationsWithCertificate.js} +7 -7
  8. package/funcs/threatHuntingGetHostObservationsWithCertificate.js.map +1 -0
  9. package/jsr.json +1 -1
  10. package/lib/config.d.ts +4 -4
  11. package/lib/config.js +4 -4
  12. package/models/operations/index.d.ts +1 -1
  13. package/models/operations/index.d.ts.map +1 -1
  14. package/models/operations/index.js +1 -1
  15. package/models/operations/index.js.map +1 -1
  16. package/models/operations/v3threathuntinggethostobservationswithcertificate.d.ts +124 -0
  17. package/models/operations/v3threathuntinggethostobservationswithcertificate.d.ts.map +1 -0
  18. package/models/operations/v3threathuntinggethostobservationswithcertificate.js +183 -0
  19. package/models/operations/v3threathuntinggethostobservationswithcertificate.js.map +1 -0
  20. package/package.json +1 -1
  21. package/sdk/globaldata.d.ts +0 -7
  22. package/sdk/globaldata.d.ts.map +1 -1
  23. package/sdk/globaldata.js +0 -10
  24. package/sdk/globaldata.js.map +1 -1
  25. package/sdk/threathunting.d.ts +7 -0
  26. package/sdk/threathunting.d.ts.map +1 -1
  27. package/sdk/threathunting.js +10 -0
  28. package/sdk/threathunting.js.map +1 -1
  29. package/src/funcs/{globalDataGetHostObservationsWithCertificate.ts → threatHuntingGetHostObservationsWithCertificate.ts} +10 -10
  30. package/src/lib/config.ts +4 -4
  31. package/src/models/operations/index.ts +1 -1
  32. package/src/models/operations/v3threathuntinggethostobservationswithcertificate.ts +315 -0
  33. package/src/sdk/globaldata.ts +0 -20
  34. package/src/sdk/threathunting.ts +21 -0
  35. package/funcs/globalDataGetHostObservationsWithCertificate.d.ts.map +0 -1
  36. package/funcs/globalDataGetHostObservationsWithCertificate.js.map +0 -1
  37. package/models/operations/v3globaldatagethostobservationswithcertificate.d.ts +0 -124
  38. package/models/operations/v3globaldatagethostobservationswithcertificate.d.ts.map +0 -1
  39. package/models/operations/v3globaldatagethostobservationswithcertificate.js +0 -178
  40. package/models/operations/v3globaldatagethostobservationswithcertificate.js.map +0 -1
  41. package/src/models/operations/v3globaldatagethostobservationswithcertificate.ts +0 -317
package/README.md CHANGED
@@ -129,7 +129,6 @@ run();
129
129
 
130
130
  * [getCertificates](docs/sdks/globaldata/README.md#getcertificates) - Get multiple certificates
131
131
  * [getCertificate](docs/sdks/globaldata/README.md#getcertificate) - Get a certificate
132
- * [getHostObservationsWithCertificate](docs/sdks/globaldata/README.md#gethostobservationswithcertificate) - Get Host Observations With Certificate
133
132
  * [getHosts](docs/sdks/globaldata/README.md#gethosts) - Get multiple hosts
134
133
  * [getHost](docs/sdks/globaldata/README.md#gethost) - Get a host
135
134
  * [getHostTimeline](docs/sdks/globaldata/README.md#gethosttimeline) - Get host event history
@@ -145,6 +144,7 @@ run();
145
144
  ### [threatHunting](docs/sdks/threathunting/README.md)
146
145
 
147
146
  * [getTrackedScan](docs/sdks/threathunting/README.md#gettrackedscan) - Get tracked scan details
147
+ * [getHostObservationsWithCertificate](docs/sdks/threathunting/README.md#gethostobservationswithcertificate) - Get Host Observations With Certificate
148
148
  * [createTrackedScan](docs/sdks/threathunting/README.md#createtrackedscan) - Create a tracked discovery scan
149
149
  * [getTrackedScanThreatHunting](docs/sdks/threathunting/README.md#gettrackedscanthreathunting) - Get tracked scan details
150
150
  * [valueCounts](docs/sdks/threathunting/README.md#valuecounts) - CensEye: Retrieve value counts to discover pivots
@@ -180,7 +180,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
180
180
  - [`globalDataGetCertificate`](docs/sdks/globaldata/README.md#getcertificate) - Get a certificate
181
181
  - [`globalDataGetCertificates`](docs/sdks/globaldata/README.md#getcertificates) - Get multiple certificates
182
182
  - [`globalDataGetHost`](docs/sdks/globaldata/README.md#gethost) - Get a host
183
- - [`globalDataGetHostObservationsWithCertificate`](docs/sdks/globaldata/README.md#gethostobservationswithcertificate) - Get Host Observations With Certificate
184
183
  - [`globalDataGetHosts`](docs/sdks/globaldata/README.md#gethosts) - Get multiple hosts
185
184
  - [`globalDataGetHostTimeline`](docs/sdks/globaldata/README.md#gethosttimeline) - Get host event history
186
185
  - [`globalDataGetTrackedScan`](docs/sdks/globaldata/README.md#gettrackedscan) - Get tracked scan details
@@ -191,6 +190,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
191
190
  - [`globalDataGetWebProperty`](docs/sdks/globaldata/README.md#getwebproperty) - Get a web property
192
191
  - [`globalDataSearch`](docs/sdks/globaldata/README.md#search) - Run a search query
193
192
  - [`threatHuntingCreateTrackedScan`](docs/sdks/threathunting/README.md#createtrackedscan) - Create a tracked discovery scan
193
+ - [`threatHuntingGetHostObservationsWithCertificate`](docs/sdks/threathunting/README.md#gethostobservationswithcertificate) - Get Host Observations With Certificate
194
194
  - [`threatHuntingValueCounts`](docs/sdks/threathunting/README.md#valuecounts) - CensEye: Retrieve value counts to discover pivots
195
195
 
196
196
  </details>
@@ -9,7 +9,6 @@ Endpoints related to the Global Data product
9
9
 
10
10
  * [getCertificates](#getcertificates) - Get multiple certificates
11
11
  * [getCertificate](#getcertificate) - Get a certificate
12
- * [getHostObservationsWithCertificate](#gethostobservationswithcertificate) - Get Host Observations With Certificate
13
12
  * [getHosts](#gethosts) - Get multiple hosts
14
13
  * [getHost](#gethost) - Get a host
15
14
  * [getHostTimeline](#gethosttimeline) - Get host event history
@@ -177,92 +176,6 @@ run();
177
176
  | errors.ErrorModel | 401, 403 | application/problem+json |
178
177
  | errors.SDKError | 4XX, 5XX | \*/\* |
179
178
 
180
- ## getHostObservationsWithCertificate
181
-
182
- Retrieve historical observations of hosts associated with a certificate fingerprint. Useful for threat hunting, detection engineering, and timeline generation.
183
-
184
- ### Example Usage
185
-
186
- <!-- UsageSnippet language="typescript" operationID="v3-globaldata-get-host-observations-with-certificate" method="get" path="/v3/global/asset/certificate/{certificate_id}/observations/hosts" -->
187
- ```typescript
188
- import { SDK } from "@censys/platform-sdk";
189
-
190
- const sdk = new SDK({
191
- organizationId: "11111111-2222-3333-4444-555555555555",
192
- personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
193
- });
194
-
195
- async function run() {
196
- const result = await sdk.globalData.getHostObservationsWithCertificate({
197
- certificateId: "55af8a301eb51abdaf7c31bec951638fe5a99d5d92117eca2be493026613fa46",
198
- startTime: "2023-01-01T00:00:00Z",
199
- endTime: "2023-12-31T23:59:59Z",
200
- port: 443,
201
- protocol: "TCP",
202
- pageSize: 50,
203
- });
204
-
205
- console.log(result);
206
- }
207
-
208
- run();
209
- ```
210
-
211
- ### Standalone function
212
-
213
- The standalone function version of this method:
214
-
215
- ```typescript
216
- import { SDKCore } from "@censys/platform-sdk/core.js";
217
- import { globalDataGetHostObservationsWithCertificate } from "@censys/platform-sdk/funcs/globalDataGetHostObservationsWithCertificate.js";
218
-
219
- // Use `SDKCore` for best tree-shaking performance.
220
- // You can create one instance of it to use across an application.
221
- const sdk = new SDKCore({
222
- organizationId: "11111111-2222-3333-4444-555555555555",
223
- personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
224
- });
225
-
226
- async function run() {
227
- const res = await globalDataGetHostObservationsWithCertificate(sdk, {
228
- certificateId: "55af8a301eb51abdaf7c31bec951638fe5a99d5d92117eca2be493026613fa46",
229
- startTime: "2023-01-01T00:00:00Z",
230
- endTime: "2023-12-31T23:59:59Z",
231
- port: 443,
232
- protocol: "TCP",
233
- pageSize: 50,
234
- });
235
- if (res.ok) {
236
- const { value: result } = res;
237
- console.log(result);
238
- } else {
239
- console.log("globalDataGetHostObservationsWithCertificate failed:", res.error);
240
- }
241
- }
242
-
243
- run();
244
- ```
245
-
246
- ### Parameters
247
-
248
- | Parameter | Type | Required | Description |
249
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
250
- | `request` | [operations.V3GlobaldataGetHostObservationsWithCertificateRequest](../../models/operations/v3globaldatagethostobservationswithcertificaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
251
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
252
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
253
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
254
-
255
- ### Response
256
-
257
- **Promise\<[operations.V3GlobaldataGetHostObservationsWithCertificateResponse](../../models/operations/v3globaldatagethostobservationswithcertificateresponse.md)\>**
258
-
259
- ### Errors
260
-
261
- | Error Type | Status Code | Content Type |
262
- | ------------------------ | ------------------------ | ------------------------ |
263
- | errors.ErrorModel | 401, 403 | application/problem+json |
264
- | errors.SDKError | 4XX, 5XX | \*/\* |
265
-
266
179
  ## getHosts
267
180
 
268
181
  Retrieve information about multiple hosts. A host ID is its IP address.
@@ -8,6 +8,7 @@ Endpoints related to the Threat Hunting product
8
8
  ### Available Operations
9
9
 
10
10
  * [getTrackedScan](#gettrackedscan) - Get tracked scan details
11
+ * [getHostObservationsWithCertificate](#gethostobservationswithcertificate) - Get Host Observations With Certificate
11
12
  * [createTrackedScan](#createtrackedscan) - Create a tracked discovery scan
12
13
  * [getTrackedScanThreatHunting](#gettrackedscanthreathunting) - Get tracked scan details
13
14
  * [valueCounts](#valuecounts) - CensEye: Retrieve value counts to discover pivots
@@ -89,6 +90,92 @@ run();
89
90
  | errors.ErrorModel | 401, 403 | application/problem+json |
90
91
  | errors.SDKError | 4XX, 5XX | \*/\* |
91
92
 
93
+ ## getHostObservationsWithCertificate
94
+
95
+ Retrieve historical observations of hosts associated with a certificate fingerprint. Useful for threat hunting, detection engineering, and timeline generation.
96
+
97
+ ### Example Usage
98
+
99
+ <!-- UsageSnippet language="typescript" operationID="v3-threathunting-get-host-observations-with-certificate" method="get" path="/v3/threat-hunting/certificate/{certificate_id}/observations/hosts" -->
100
+ ```typescript
101
+ import { SDK } from "@censys/platform-sdk";
102
+
103
+ const sdk = new SDK({
104
+ organizationId: "11111111-2222-3333-4444-555555555555",
105
+ personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
106
+ });
107
+
108
+ async function run() {
109
+ const result = await sdk.threatHunting.getHostObservationsWithCertificate({
110
+ certificateId: "55af8a301eb51abdaf7c31bec951638fe5a99d5d92117eca2be493026613fa46",
111
+ startTime: "2023-01-01T00:00:00Z",
112
+ endTime: "2023-12-31T23:59:59Z",
113
+ port: 443,
114
+ protocol: "TCP",
115
+ pageSize: 50,
116
+ });
117
+
118
+ console.log(result);
119
+ }
120
+
121
+ run();
122
+ ```
123
+
124
+ ### Standalone function
125
+
126
+ The standalone function version of this method:
127
+
128
+ ```typescript
129
+ import { SDKCore } from "@censys/platform-sdk/core.js";
130
+ import { threatHuntingGetHostObservationsWithCertificate } from "@censys/platform-sdk/funcs/threatHuntingGetHostObservationsWithCertificate.js";
131
+
132
+ // Use `SDKCore` for best tree-shaking performance.
133
+ // You can create one instance of it to use across an application.
134
+ const sdk = new SDKCore({
135
+ organizationId: "11111111-2222-3333-4444-555555555555",
136
+ personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
137
+ });
138
+
139
+ async function run() {
140
+ const res = await threatHuntingGetHostObservationsWithCertificate(sdk, {
141
+ certificateId: "55af8a301eb51abdaf7c31bec951638fe5a99d5d92117eca2be493026613fa46",
142
+ startTime: "2023-01-01T00:00:00Z",
143
+ endTime: "2023-12-31T23:59:59Z",
144
+ port: 443,
145
+ protocol: "TCP",
146
+ pageSize: 50,
147
+ });
148
+ if (res.ok) {
149
+ const { value: result } = res;
150
+ console.log(result);
151
+ } else {
152
+ console.log("threatHuntingGetHostObservationsWithCertificate failed:", res.error);
153
+ }
154
+ }
155
+
156
+ run();
157
+ ```
158
+
159
+ ### Parameters
160
+
161
+ | Parameter | Type | Required | Description |
162
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
163
+ | `request` | [operations.V3ThreathuntingGetHostObservationsWithCertificateRequest](../../models/operations/v3threathuntinggethostobservationswithcertificaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
164
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
165
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
166
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
167
+
168
+ ### Response
169
+
170
+ **Promise\<[operations.V3ThreathuntingGetHostObservationsWithCertificateResponse](../../models/operations/v3threathuntinggethostobservationswithcertificateresponse.md)\>**
171
+
172
+ ### Errors
173
+
174
+ | Error Type | Status Code | Content Type |
175
+ | ------------------------ | ------------------------ | ------------------------ |
176
+ | errors.ErrorModel | 401, 403 | application/problem+json |
177
+ | errors.SDKError | 4XX, 5XX | \*/\* |
178
+
92
179
  ## createTrackedScan
93
180
 
94
181
  Create a new tracked discovery scan for a specified target. Discovery scans are used to scan new targets that have not been previously identified. The scan will be queued. The response will contain a scan ID that you can use with the [get tracked scan details endpoint](https://docs.censys.com/reference/v3-globaldata-scans-get#/) to monitor its status and results.<br><br>This endpoint is available to organizations that have access to the Threat Hunting module.
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "..": {
20
20
  "name": "@censys/platform-sdk",
21
- "version": "0.5.0",
21
+ "version": "0.5.1",
22
22
  "dependencies": {
23
23
  "zod": "^3.20.0"
24
24
  },
@@ -14,5 +14,5 @@ import { Result } from "../types/fp.js";
14
14
  * @remarks
15
15
  * Retrieve historical observations of hosts associated with a certificate fingerprint. Useful for threat hunting, detection engineering, and timeline generation.
16
16
  */
17
- export declare function globalDataGetHostObservationsWithCertificate(client: SDKCore, request: operations.V3GlobaldataGetHostObservationsWithCertificateRequest, options?: RequestOptions): APIPromise<Result<operations.V3GlobaldataGetHostObservationsWithCertificateResponse, errors.ErrorModel | SDKBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
18
- //# sourceMappingURL=globalDataGetHostObservationsWithCertificate.d.ts.map
17
+ export declare function threatHuntingGetHostObservationsWithCertificate(client: SDKCore, request: operations.V3ThreathuntingGetHostObservationsWithCertificateRequest, options?: RequestOptions): APIPromise<Result<operations.V3ThreathuntingGetHostObservationsWithCertificateResponse, errors.ErrorModel | SDKBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
18
+ //# sourceMappingURL=threatHuntingGetHostObservationsWithCertificate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"threatHuntingGetHostObservationsWithCertificate.d.ts","sourceRoot":"","sources":["../src/funcs/threatHuntingGetHostObservationsWithCertificate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAKrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,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,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,+CAA+C,CAC7D,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,wDAAwD,EAC5E,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,yDAAyD,EAClE,MAAM,CAAC,UAAU,GACjB,YAAY,GACZ,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.globalDataGetHostObservationsWithCertificate = globalDataGetHostObservationsWithCertificate;
39
+ exports.threatHuntingGetHostObservationsWithCertificate = threatHuntingGetHostObservationsWithCertificate;
40
40
  const encodings_js_1 = require("../lib/encodings.js");
41
41
  const M = __importStar(require("../lib/matchers.js"));
42
42
  const primitives_js_1 = require("../lib/primitives.js");
@@ -52,12 +52,12 @@ const async_js_1 = require("../types/async.js");
52
52
  * @remarks
53
53
  * Retrieve historical observations of hosts associated with a certificate fingerprint. Useful for threat hunting, detection engineering, and timeline generation.
54
54
  */
55
- function globalDataGetHostObservationsWithCertificate(client, request, options) {
55
+ function threatHuntingGetHostObservationsWithCertificate(client, request, options) {
56
56
  return new async_js_1.APIPromise($do(client, request, options));
57
57
  }
58
58
  async function $do(client, request, options) {
59
59
  const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations
60
- .V3GlobaldataGetHostObservationsWithCertificateRequest$outboundSchema
60
+ .V3ThreathuntingGetHostObservationsWithCertificateRequest$outboundSchema
61
61
  .parse(value), "Input validation failed");
62
62
  if (!parsed.ok) {
63
63
  return [parsed, { status: "invalid" }];
@@ -70,7 +70,7 @@ async function $do(client, request, options) {
70
70
  charEncoding: "percent",
71
71
  }),
72
72
  };
73
- const path = (0, url_js_1.pathToFunc)("/v3/global/asset/certificate/{certificate_id}/observations/hosts")(pathParams);
73
+ const path = (0, url_js_1.pathToFunc)("/v3/threat-hunting/certificate/{certificate_id}/observations/hosts")(pathParams);
74
74
  const query = (0, encodings_js_1.encodeFormQuery)({
75
75
  "end_time": payload.end_time,
76
76
  "organization_id": payload.organization_id
@@ -92,7 +92,7 @@ async function $do(client, request, options) {
92
92
  const context = {
93
93
  options: client._options,
94
94
  baseURL: options?.serverURL ?? client._baseURL ?? "",
95
- operationID: "v3-globaldata-get-host-observations-with-certificate",
95
+ operationID: "v3-threathunting-get-host-observations-with-certificate",
96
96
  oAuth2Scopes: [],
97
97
  resolvedSecurity: requestSecurity,
98
98
  securitySource: client._options.personalAccessToken,
@@ -130,7 +130,7 @@ async function $do(client, request, options) {
130
130
  HttpMeta: { Response: response, Request: req },
131
131
  };
132
132
  const [result] = await M.match(M.json(200, operations
133
- .V3GlobaldataGetHostObservationsWithCertificateResponse$inboundSchema, { hdrs: true, key: "Result" }), M.jsonErr([401, 403], errors.ErrorModel$inboundSchema, {
133
+ .V3ThreathuntingGetHostObservationsWithCertificateResponse$inboundSchema, { hdrs: true, key: "Result" }), M.jsonErr([401, 403], errors.ErrorModel$inboundSchema, {
134
134
  ctype: "application/problem+json",
135
135
  }), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
136
136
  if (!result.ok) {
@@ -138,4 +138,4 @@ async function $do(client, request, options) {
138
138
  }
139
139
  return [result, { status: "complete", request: req, response }];
140
140
  }
141
- //# sourceMappingURL=globalDataGetHostObservationsWithCertificate.js.map
141
+ //# sourceMappingURL=threatHuntingGetHostObservationsWithCertificate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"threatHuntingGetHostObservationsWithCertificate.js","sourceRoot":"","sources":["../src/funcs/threatHuntingGetHostObservationsWithCertificate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BH,0GAuBC;AAnDD,sDAAoE;AACpE,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAIpD,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,+CAA+C,CAC7D,MAAe,EACf,OAA4E,EAC5E,OAAwB;IAexB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAe,EACf,OAA4E,EAC5E,OAAwB;IAkBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,UAAU;SACP,uEAAuE;SACvE,KAAK,CAAC,KAAK,CAAC,EACjB,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAI,CAAC;IAElB,MAAM,UAAU,GAAG;QACjB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EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,cAAc,GAAG;QACrB,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE;KAC/C,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAY5B,CAAC,CAAC,IAAI,CACJ,GAAG,EACH,UAAU;SACP,uEAAuE,EAC1E,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,CAC9B,EACD,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,wBAAwB,EAAE;QACrD,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@censys/platform-sdk",
5
- "version": "0.5.0",
5
+ "version": "0.5.1",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/lib/config.d.ts CHANGED
@@ -34,9 +34,9 @@ export type SDKOptions = {
34
34
  export declare function serverURLFromOptions(options: SDKOptions): URL | null;
35
35
  export declare const SDK_METADATA: {
36
36
  readonly language: "typescript";
37
- readonly openapiDocVersion: "1.0.24";
38
- readonly sdkVersion: "0.5.0";
39
- readonly genVersion: "2.671.2";
40
- readonly userAgent: "speakeasy-sdk/typescript 0.5.0 2.671.2 1.0.24 @censys/platform-sdk";
37
+ readonly openapiDocVersion: "1.0.25";
38
+ readonly sdkVersion: "0.5.1";
39
+ readonly genVersion: "2.672.0";
40
+ readonly userAgent: "speakeasy-sdk/typescript 0.5.1 2.672.0 1.0.25 @censys/platform-sdk";
41
41
  };
42
42
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -30,9 +30,9 @@ function serverURLFromOptions(options) {
30
30
  }
31
31
  exports.SDK_METADATA = {
32
32
  language: "typescript",
33
- openapiDocVersion: "1.0.24",
34
- sdkVersion: "0.5.0",
35
- genVersion: "2.671.2",
36
- userAgent: "speakeasy-sdk/typescript 0.5.0 2.671.2 1.0.24 @censys/platform-sdk",
33
+ openapiDocVersion: "1.0.25",
34
+ sdkVersion: "0.5.1",
35
+ genVersion: "2.672.0",
36
+ userAgent: "speakeasy-sdk/typescript 0.5.1 2.672.0 1.0.25 @censys/platform-sdk",
37
37
  };
38
38
  //# sourceMappingURL=config.js.map
@@ -13,11 +13,11 @@ export * from "./v3globaldataassethostlist.js";
13
13
  export * from "./v3globaldataassethosttimeline.js";
14
14
  export * from "./v3globaldataassetwebproperty.js";
15
15
  export * from "./v3globaldataassetwebpropertylist.js";
16
- export * from "./v3globaldatagethostobservationswithcertificate.js";
17
16
  export * from "./v3globaldatascansget.js";
18
17
  export * from "./v3globaldatascansrescan.js";
19
18
  export * from "./v3globaldatasearchaggregate.js";
20
19
  export * from "./v3globaldatasearchquery.js";
20
+ export * from "./v3threathuntinggethostobservationswithcertificate.js";
21
21
  export * from "./v3threathuntingscansdiscovery.js";
22
22
  export * from "./v3threathuntingscansget.js";
23
23
  export * from "./v3threathuntingvaluecounts.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":"AAIA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,qDAAqD,CAAC;AACpE,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":"AAIA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wDAAwD,CAAC;AACvE,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC"}
@@ -32,11 +32,11 @@ __exportStar(require("./v3globaldataassethostlist.js"), exports);
32
32
  __exportStar(require("./v3globaldataassethosttimeline.js"), exports);
33
33
  __exportStar(require("./v3globaldataassetwebproperty.js"), exports);
34
34
  __exportStar(require("./v3globaldataassetwebpropertylist.js"), exports);
35
- __exportStar(require("./v3globaldatagethostobservationswithcertificate.js"), exports);
36
35
  __exportStar(require("./v3globaldatascansget.js"), exports);
37
36
  __exportStar(require("./v3globaldatascansrescan.js"), exports);
38
37
  __exportStar(require("./v3globaldatasearchaggregate.js"), exports);
39
38
  __exportStar(require("./v3globaldatasearchquery.js"), exports);
39
+ __exportStar(require("./v3threathuntinggethostobservationswithcertificate.js"), exports);
40
40
  __exportStar(require("./v3threathuntingscansdiscovery.js"), exports);
41
41
  __exportStar(require("./v3threathuntingscansget.js"), exports);
42
42
  __exportStar(require("./v3threathuntingvaluecounts.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,+DAA6C;AAC7C,+DAA6C;AAC7C,4DAA0C;AAC1C,6DAA2C;AAC3C,+DAA6C;AAC7C,+DAA6C;AAC7C,oEAAkD;AAClD,gEAA8C;AAC9C,oEAAkD;AAClD,wEAAsD;AACtD,6DAA2C;AAC3C,iEAA+C;AAC/C,qEAAmD;AACnD,oEAAkD;AAClD,wEAAsD;AACtD,sFAAoE;AACpE,4DAA0C;AAC1C,+DAA6C;AAC7C,mEAAiD;AACjD,+DAA6C;AAC7C,qEAAmD;AACnD,+DAA6C;AAC7C,kEAAgD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,+DAA6C;AAC7C,+DAA6C;AAC7C,4DAA0C;AAC1C,6DAA2C;AAC3C,+DAA6C;AAC7C,+DAA6C;AAC7C,oEAAkD;AAClD,gEAA8C;AAC9C,oEAAkD;AAClD,wEAAsD;AACtD,6DAA2C;AAC3C,iEAA+C;AAC/C,qEAAmD;AACnD,oEAAkD;AAClD,wEAAsD;AACtD,4DAA0C;AAC1C,+DAA6C;AAC7C,mEAAiD;AACjD,+DAA6C;AAC7C,yFAAuE;AACvE,qEAAmD;AACnD,+DAA6C;AAC7C,kEAAgD"}
@@ -0,0 +1,124 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import * as components from "../components/index.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export type V3ThreathuntingGetHostObservationsWithCertificateGlobals = {
6
+ organizationId?: string | undefined;
7
+ };
8
+ export type V3ThreathuntingGetHostObservationsWithCertificateRequest = {
9
+ /**
10
+ * The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
11
+ */
12
+ organizationId?: string | undefined;
13
+ /**
14
+ * SHA-256 hash of the certificate
15
+ */
16
+ certificateId: string;
17
+ /**
18
+ * Only show ranges ending at or after this time (ISO 8601)
19
+ */
20
+ startTime?: string | undefined;
21
+ /**
22
+ * Only show ranges starting at or before this time (ISO 8601)
23
+ */
24
+ endTime?: string | undefined;
25
+ /**
26
+ * The port to filter by
27
+ */
28
+ port?: number | undefined;
29
+ /**
30
+ * The transport protocol to filter by
31
+ */
32
+ protocol?: string | undefined;
33
+ /**
34
+ * Pagination token from previous response to retrieve next page of results
35
+ */
36
+ pageToken?: string | undefined;
37
+ /**
38
+ * Number of results per page. Maximum 100, defaults to 100 if not specified
39
+ */
40
+ pageSize?: number | undefined;
41
+ };
42
+ export type V3ThreathuntingGetHostObservationsWithCertificateResponse = {
43
+ headers: {
44
+ [k: string]: Array<string>;
45
+ };
46
+ result: components.ResponseEnvelopeHostObservationResponse;
47
+ };
48
+ /** @internal */
49
+ export declare const V3ThreathuntingGetHostObservationsWithCertificateGlobals$inboundSchema: z.ZodType<V3ThreathuntingGetHostObservationsWithCertificateGlobals, z.ZodTypeDef, unknown>;
50
+ /** @internal */
51
+ export type V3ThreathuntingGetHostObservationsWithCertificateGlobals$Outbound = {
52
+ organization_id?: string | undefined;
53
+ };
54
+ /** @internal */
55
+ export declare const V3ThreathuntingGetHostObservationsWithCertificateGlobals$outboundSchema: z.ZodType<V3ThreathuntingGetHostObservationsWithCertificateGlobals$Outbound, z.ZodTypeDef, V3ThreathuntingGetHostObservationsWithCertificateGlobals>;
56
+ /**
57
+ * @internal
58
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
59
+ */
60
+ export declare namespace V3ThreathuntingGetHostObservationsWithCertificateGlobals$ {
61
+ /** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateGlobals$inboundSchema` instead. */
62
+ const inboundSchema: z.ZodType<V3ThreathuntingGetHostObservationsWithCertificateGlobals, z.ZodTypeDef, unknown>;
63
+ /** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateGlobals$outboundSchema` instead. */
64
+ const outboundSchema: z.ZodType<V3ThreathuntingGetHostObservationsWithCertificateGlobals$Outbound, z.ZodTypeDef, V3ThreathuntingGetHostObservationsWithCertificateGlobals>;
65
+ /** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateGlobals$Outbound` instead. */
66
+ type Outbound = V3ThreathuntingGetHostObservationsWithCertificateGlobals$Outbound;
67
+ }
68
+ export declare function v3ThreathuntingGetHostObservationsWithCertificateGlobalsToJSON(v3ThreathuntingGetHostObservationsWithCertificateGlobals: V3ThreathuntingGetHostObservationsWithCertificateGlobals): string;
69
+ export declare function v3ThreathuntingGetHostObservationsWithCertificateGlobalsFromJSON(jsonString: string): SafeParseResult<V3ThreathuntingGetHostObservationsWithCertificateGlobals, SDKValidationError>;
70
+ /** @internal */
71
+ export declare const V3ThreathuntingGetHostObservationsWithCertificateRequest$inboundSchema: z.ZodType<V3ThreathuntingGetHostObservationsWithCertificateRequest, z.ZodTypeDef, unknown>;
72
+ /** @internal */
73
+ export type V3ThreathuntingGetHostObservationsWithCertificateRequest$Outbound = {
74
+ organization_id?: string | undefined;
75
+ certificate_id: string;
76
+ start_time?: string | undefined;
77
+ end_time?: string | undefined;
78
+ port?: number | undefined;
79
+ protocol?: string | undefined;
80
+ page_token?: string | undefined;
81
+ page_size?: number | undefined;
82
+ };
83
+ /** @internal */
84
+ export declare const V3ThreathuntingGetHostObservationsWithCertificateRequest$outboundSchema: z.ZodType<V3ThreathuntingGetHostObservationsWithCertificateRequest$Outbound, z.ZodTypeDef, V3ThreathuntingGetHostObservationsWithCertificateRequest>;
85
+ /**
86
+ * @internal
87
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
88
+ */
89
+ export declare namespace V3ThreathuntingGetHostObservationsWithCertificateRequest$ {
90
+ /** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateRequest$inboundSchema` instead. */
91
+ const inboundSchema: z.ZodType<V3ThreathuntingGetHostObservationsWithCertificateRequest, z.ZodTypeDef, unknown>;
92
+ /** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateRequest$outboundSchema` instead. */
93
+ const outboundSchema: z.ZodType<V3ThreathuntingGetHostObservationsWithCertificateRequest$Outbound, z.ZodTypeDef, V3ThreathuntingGetHostObservationsWithCertificateRequest>;
94
+ /** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateRequest$Outbound` instead. */
95
+ type Outbound = V3ThreathuntingGetHostObservationsWithCertificateRequest$Outbound;
96
+ }
97
+ export declare function v3ThreathuntingGetHostObservationsWithCertificateRequestToJSON(v3ThreathuntingGetHostObservationsWithCertificateRequest: V3ThreathuntingGetHostObservationsWithCertificateRequest): string;
98
+ export declare function v3ThreathuntingGetHostObservationsWithCertificateRequestFromJSON(jsonString: string): SafeParseResult<V3ThreathuntingGetHostObservationsWithCertificateRequest, SDKValidationError>;
99
+ /** @internal */
100
+ export declare const V3ThreathuntingGetHostObservationsWithCertificateResponse$inboundSchema: z.ZodType<V3ThreathuntingGetHostObservationsWithCertificateResponse, z.ZodTypeDef, unknown>;
101
+ /** @internal */
102
+ export type V3ThreathuntingGetHostObservationsWithCertificateResponse$Outbound = {
103
+ Headers: {
104
+ [k: string]: Array<string>;
105
+ };
106
+ Result: components.ResponseEnvelopeHostObservationResponse$Outbound;
107
+ };
108
+ /** @internal */
109
+ export declare const V3ThreathuntingGetHostObservationsWithCertificateResponse$outboundSchema: z.ZodType<V3ThreathuntingGetHostObservationsWithCertificateResponse$Outbound, z.ZodTypeDef, V3ThreathuntingGetHostObservationsWithCertificateResponse>;
110
+ /**
111
+ * @internal
112
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
113
+ */
114
+ export declare namespace V3ThreathuntingGetHostObservationsWithCertificateResponse$ {
115
+ /** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateResponse$inboundSchema` instead. */
116
+ const inboundSchema: z.ZodType<V3ThreathuntingGetHostObservationsWithCertificateResponse, z.ZodTypeDef, unknown>;
117
+ /** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateResponse$outboundSchema` instead. */
118
+ const outboundSchema: z.ZodType<V3ThreathuntingGetHostObservationsWithCertificateResponse$Outbound, z.ZodTypeDef, V3ThreathuntingGetHostObservationsWithCertificateResponse>;
119
+ /** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateResponse$Outbound` instead. */
120
+ type Outbound = V3ThreathuntingGetHostObservationsWithCertificateResponse$Outbound;
121
+ }
122
+ export declare function v3ThreathuntingGetHostObservationsWithCertificateResponseToJSON(v3ThreathuntingGetHostObservationsWithCertificateResponse: V3ThreathuntingGetHostObservationsWithCertificateResponse): string;
123
+ export declare function v3ThreathuntingGetHostObservationsWithCertificateResponseFromJSON(jsonString: string): SafeParseResult<V3ThreathuntingGetHostObservationsWithCertificateResponse, SDKValidationError>;
124
+ //# sourceMappingURL=v3threathuntinggethostobservationswithcertificate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v3threathuntinggethostobservationswithcertificate.d.ts","sourceRoot":"","sources":["../../src/models/operations/v3threathuntinggethostobservationswithcertificate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,wDAAwD,GAAG;IACrE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,wDAAwD,GAAG;IACrE;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,yDAAyD,GAAG;IACtE,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,uC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