@censys/platform-sdk 0.4.3 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +0 -1
- package/README.md +17 -2
- package/docs/sdks/collections/README.md +12 -6
- package/docs/sdks/globaldata/README.md +347 -6
- package/docs/sdks/threathunting/README.md +248 -0
- package/examples/globalDataSearch.example.ts +0 -1
- package/examples/package-lock.json +5 -6
- package/funcs/globalDataCreateTrackedScan.d.ts +18 -0
- package/funcs/globalDataCreateTrackedScan.d.ts.map +1 -0
- package/funcs/globalDataCreateTrackedScan.js +132 -0
- package/funcs/globalDataCreateTrackedScan.js.map +1 -0
- package/funcs/globalDataGetHostObservationsWithCertificate.d.ts +18 -0
- package/funcs/globalDataGetHostObservationsWithCertificate.d.ts.map +1 -0
- package/funcs/globalDataGetHostObservationsWithCertificate.js +141 -0
- package/funcs/globalDataGetHostObservationsWithCertificate.js.map +1 -0
- package/funcs/globalDataGetTrackedScan.d.ts +19 -0
- package/funcs/globalDataGetTrackedScan.d.ts.map +1 -0
- package/funcs/globalDataGetTrackedScan.js +137 -0
- package/funcs/globalDataGetTrackedScan.js.map +1 -0
- package/funcs/globalDataGetTrackedScanThreatHunting.d.ts +19 -0
- package/funcs/globalDataGetTrackedScanThreatHunting.d.ts.map +1 -0
- package/funcs/globalDataGetTrackedScanThreatHunting.js +137 -0
- package/funcs/globalDataGetTrackedScanThreatHunting.js.map +1 -0
- package/funcs/threatHuntingCreateTrackedScan.d.ts +18 -0
- package/funcs/threatHuntingCreateTrackedScan.d.ts.map +1 -0
- package/funcs/threatHuntingCreateTrackedScan.js +129 -0
- package/funcs/threatHuntingCreateTrackedScan.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/models/components/elasticsearch.d.ts +3 -0
- package/models/components/elasticsearch.d.ts.map +1 -1
- package/models/components/elasticsearch.js +5 -0
- package/models/components/elasticsearch.js.map +1 -1
- package/models/components/elasticsearcherrormessage.d.ts +33 -0
- package/models/components/elasticsearcherrormessage.d.ts.map +1 -0
- package/models/components/elasticsearcherrormessage.js +73 -0
- package/models/components/elasticsearcherrormessage.js.map +1 -0
- package/models/components/hostobservationrange.d.ts +39 -0
- package/models/components/hostobservationrange.d.ts.map +1 -0
- package/models/components/hostobservationrange.js +92 -0
- package/models/components/hostobservationrange.js.map +1 -0
- package/models/components/hostobservationresponse.d.ts +34 -0
- package/models/components/hostobservationresponse.d.ts.map +1 -0
- package/models/components/hostobservationresponse.js +85 -0
- package/models/components/hostobservationresponse.js.map +1 -0
- package/models/components/httpfavicon.d.ts +5 -0
- package/models/components/httpfavicon.d.ts.map +1 -1
- package/models/components/httpfavicon.js +4 -0
- package/models/components/httpfavicon.js.map +1 -1
- package/models/components/index.d.ts +14 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +14 -0
- package/models/components/index.js.map +1 -1
- package/models/components/responseenvelopehostobservationresponse.d.ts +30 -0
- package/models/components/responseenvelopehostobservationresponse.d.ts.map +1 -0
- package/models/components/responseenvelopehostobservationresponse.js +70 -0
- package/models/components/responseenvelopehostobservationresponse.js.map +1 -0
- package/models/components/responseenvelopetrackedscan.d.ts +30 -0
- package/models/components/responseenvelopetrackedscan.d.ts.map +1 -0
- package/models/components/responseenvelopetrackedscan.js +70 -0
- package/models/components/responseenvelopetrackedscan.js.map +1 -0
- package/models/components/scansdiscoveryinputbody.d.ts +172 -0
- package/models/components/scansdiscoveryinputbody.d.ts.map +1 -0
- package/models/components/scansdiscoveryinputbody.js +233 -0
- package/models/components/scansdiscoveryinputbody.js.map +1 -0
- package/models/components/scansrescaninputbody.d.ts +214 -0
- package/models/components/scansrescaninputbody.d.ts.map +1 -0
- package/models/components/scansrescaninputbody.js +268 -0
- package/models/components/scansrescaninputbody.js.map +1 -0
- package/models/components/screenshot.d.ts +2 -0
- package/models/components/screenshot.d.ts.map +1 -1
- package/models/components/screenshot.js +11 -0
- package/models/components/screenshot.js.map +1 -1
- package/models/components/searchaggregateinputbody.d.ts +5 -0
- package/models/components/searchaggregateinputbody.d.ts.map +1 -1
- package/models/components/searchaggregateinputbody.js +4 -0
- package/models/components/searchaggregateinputbody.js.map +1 -1
- package/models/components/searchvaluecountsinputbody.d.ts +5 -0
- package/models/components/searchvaluecountsinputbody.d.ts.map +1 -1
- package/models/components/searchvaluecountsinputbody.js +2 -0
- package/models/components/searchvaluecountsinputbody.js.map +1 -1
- package/models/components/serviceid.d.ts +70 -0
- package/models/components/serviceid.d.ts.map +1 -0
- package/models/components/serviceid.js +106 -0
- package/models/components/serviceid.js.map +1 -0
- package/models/components/trackedscan.d.ts +39 -0
- package/models/components/trackedscan.d.ts.map +1 -0
- package/models/components/trackedscan.js +90 -0
- package/models/components/trackedscan.js.map +1 -0
- package/models/components/trackedscanscantarget.d.ts +39 -0
- package/models/components/trackedscanscantarget.d.ts.map +1 -0
- package/models/components/trackedscanscantarget.js +94 -0
- package/models/components/trackedscanscantarget.js.map +1 -0
- package/models/components/trackedscanscantargethostnameport.d.ts +31 -0
- package/models/components/trackedscanscantargethostnameport.d.ts.map +1 -0
- package/models/components/trackedscanscantargethostnameport.js +71 -0
- package/models/components/trackedscanscantargethostnameport.js.map +1 -0
- package/models/components/trackedscanscantargethostport.d.ts +31 -0
- package/models/components/trackedscanscantargethostport.d.ts.map +1 -0
- package/models/components/trackedscanscantargethostport.js +71 -0
- package/models/components/trackedscanscantargethostport.js.map +1 -0
- package/models/components/trackedscantask.d.ts +74 -0
- package/models/components/trackedscantask.d.ts.map +1 -0
- package/models/components/trackedscantask.js +106 -0
- package/models/components/trackedscantask.js.map +1 -0
- package/models/components/weborigin.d.ts +31 -0
- package/models/components/weborigin.d.ts.map +1 -0
- package/models/components/weborigin.js +71 -0
- package/models/components/weborigin.js.map +1 -0
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/v3globaldatagethostobservationswithcertificate.d.ts +124 -0
- package/models/operations/v3globaldatagethostobservationswithcertificate.d.ts.map +1 -0
- package/models/operations/v3globaldatagethostobservationswithcertificate.js +178 -0
- package/models/operations/v3globaldatagethostobservationswithcertificate.js.map +1 -0
- package/models/operations/v3globaldatascansget.d.ts +94 -0
- package/models/operations/v3globaldatascansget.d.ts.map +1 -0
- package/models/operations/v3globaldatascansget.js +157 -0
- package/models/operations/v3globaldatascansget.js.map +1 -0
- package/models/operations/v3globaldatascansrescan.d.ts +91 -0
- package/models/operations/v3globaldatascansrescan.d.ts.map +1 -0
- package/models/operations/v3globaldatascansrescan.js +157 -0
- package/models/operations/v3globaldatascansrescan.js.map +1 -0
- package/models/operations/v3threathuntingscansdiscovery.d.ts +91 -0
- package/models/operations/v3threathuntingscansdiscovery.d.ts.map +1 -0
- package/models/operations/v3threathuntingscansdiscovery.js +157 -0
- package/models/operations/v3threathuntingscansdiscovery.js.map +1 -0
- package/models/operations/v3threathuntingscansget.d.ts +94 -0
- package/models/operations/v3threathuntingscansget.d.ts.map +1 -0
- package/models/operations/v3threathuntingscansget.js +157 -0
- package/models/operations/v3threathuntingscansget.js.map +1 -0
- package/package.json +4 -5
- package/sdk/globaldata.d.ts +30 -0
- package/sdk/globaldata.d.ts.map +1 -1
- package/sdk/globaldata.js +42 -0
- package/sdk/globaldata.js.map +1 -1
- package/sdk/threathunting.d.ts +23 -0
- package/sdk/threathunting.d.ts.map +1 -1
- package/sdk/threathunting.js +32 -0
- package/sdk/threathunting.js.map +1 -1
- package/src/funcs/globalDataCreateTrackedScan.ts +185 -0
- package/src/funcs/globalDataGetHostObservationsWithCertificate.ts +201 -0
- package/src/funcs/globalDataGetTrackedScan.ts +191 -0
- package/src/funcs/globalDataGetTrackedScanThreatHunting.ts +191 -0
- package/src/funcs/threatHuntingCreateTrackedScan.ts +188 -0
- package/src/lib/config.ts +4 -4
- package/src/models/components/elasticsearch.ts +12 -0
- package/src/models/components/elasticsearcherrormessage.ts +74 -0
- package/src/models/components/hostobservationrange.ts +99 -0
- package/src/models/components/hostobservationresponse.ts +91 -0
- package/src/models/components/httpfavicon.ts +9 -0
- package/src/models/components/index.ts +14 -0
- package/src/models/components/responseenvelopehostobservationresponse.ts +83 -0
- package/src/models/components/responseenvelopetrackedscan.ts +74 -0
- package/src/models/components/scansdiscoveryinputbody.ts +385 -0
- package/src/models/components/scansrescaninputbody.ts +428 -0
- package/src/models/components/screenshot.ts +13 -0
- package/src/models/components/searchaggregateinputbody.ts +9 -0
- package/src/models/components/searchvaluecountsinputbody.ts +7 -0
- package/src/models/components/serviceid.ts +116 -0
- package/src/models/components/trackedscan.ts +101 -0
- package/src/models/components/trackedscanscantarget.ts +117 -0
- package/src/models/components/trackedscanscantargethostnameport.ts +73 -0
- package/src/models/components/trackedscanscantargethostport.ts +72 -0
- package/src/models/components/trackedscantask.ts +114 -0
- package/src/models/components/weborigin.ts +66 -0
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/v3globaldatagethostobservationswithcertificate.ts +317 -0
- package/src/models/operations/v3globaldatascansget.ts +232 -0
- package/src/models/operations/v3globaldatascansrescan.ts +229 -0
- package/src/models/operations/v3threathuntingscansdiscovery.ts +238 -0
- package/src/models/operations/v3threathuntingscansget.ts +232 -0
- package/src/sdk/globaldata.ts +76 -0
- package/src/sdk/threathunting.ts +56 -0
|
@@ -0,0 +1,94 @@
|
|
|
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 V3GlobaldataScansGetGlobals = {
|
|
6
|
+
organizationId?: string | undefined;
|
|
7
|
+
};
|
|
8
|
+
export type V3GlobaldataScansGetRequest = {
|
|
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
|
+
* The unique identifier of the tracked scan
|
|
15
|
+
*/
|
|
16
|
+
scanId: string;
|
|
17
|
+
};
|
|
18
|
+
export type V3GlobaldataScansGetResponse = {
|
|
19
|
+
headers: {
|
|
20
|
+
[k: string]: Array<string>;
|
|
21
|
+
};
|
|
22
|
+
result: components.ResponseEnvelopeTrackedScan;
|
|
23
|
+
};
|
|
24
|
+
/** @internal */
|
|
25
|
+
export declare const V3GlobaldataScansGetGlobals$inboundSchema: z.ZodType<V3GlobaldataScansGetGlobals, z.ZodTypeDef, unknown>;
|
|
26
|
+
/** @internal */
|
|
27
|
+
export type V3GlobaldataScansGetGlobals$Outbound = {
|
|
28
|
+
organization_id?: string | undefined;
|
|
29
|
+
};
|
|
30
|
+
/** @internal */
|
|
31
|
+
export declare const V3GlobaldataScansGetGlobals$outboundSchema: z.ZodType<V3GlobaldataScansGetGlobals$Outbound, z.ZodTypeDef, V3GlobaldataScansGetGlobals>;
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
35
|
+
*/
|
|
36
|
+
export declare namespace V3GlobaldataScansGetGlobals$ {
|
|
37
|
+
/** @deprecated use `V3GlobaldataScansGetGlobals$inboundSchema` instead. */
|
|
38
|
+
const inboundSchema: z.ZodType<V3GlobaldataScansGetGlobals, z.ZodTypeDef, unknown>;
|
|
39
|
+
/** @deprecated use `V3GlobaldataScansGetGlobals$outboundSchema` instead. */
|
|
40
|
+
const outboundSchema: z.ZodType<V3GlobaldataScansGetGlobals$Outbound, z.ZodTypeDef, V3GlobaldataScansGetGlobals>;
|
|
41
|
+
/** @deprecated use `V3GlobaldataScansGetGlobals$Outbound` instead. */
|
|
42
|
+
type Outbound = V3GlobaldataScansGetGlobals$Outbound;
|
|
43
|
+
}
|
|
44
|
+
export declare function v3GlobaldataScansGetGlobalsToJSON(v3GlobaldataScansGetGlobals: V3GlobaldataScansGetGlobals): string;
|
|
45
|
+
export declare function v3GlobaldataScansGetGlobalsFromJSON(jsonString: string): SafeParseResult<V3GlobaldataScansGetGlobals, SDKValidationError>;
|
|
46
|
+
/** @internal */
|
|
47
|
+
export declare const V3GlobaldataScansGetRequest$inboundSchema: z.ZodType<V3GlobaldataScansGetRequest, z.ZodTypeDef, unknown>;
|
|
48
|
+
/** @internal */
|
|
49
|
+
export type V3GlobaldataScansGetRequest$Outbound = {
|
|
50
|
+
organization_id?: string | undefined;
|
|
51
|
+
scan_id: string;
|
|
52
|
+
};
|
|
53
|
+
/** @internal */
|
|
54
|
+
export declare const V3GlobaldataScansGetRequest$outboundSchema: z.ZodType<V3GlobaldataScansGetRequest$Outbound, z.ZodTypeDef, V3GlobaldataScansGetRequest>;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
+
*/
|
|
59
|
+
export declare namespace V3GlobaldataScansGetRequest$ {
|
|
60
|
+
/** @deprecated use `V3GlobaldataScansGetRequest$inboundSchema` instead. */
|
|
61
|
+
const inboundSchema: z.ZodType<V3GlobaldataScansGetRequest, z.ZodTypeDef, unknown>;
|
|
62
|
+
/** @deprecated use `V3GlobaldataScansGetRequest$outboundSchema` instead. */
|
|
63
|
+
const outboundSchema: z.ZodType<V3GlobaldataScansGetRequest$Outbound, z.ZodTypeDef, V3GlobaldataScansGetRequest>;
|
|
64
|
+
/** @deprecated use `V3GlobaldataScansGetRequest$Outbound` instead. */
|
|
65
|
+
type Outbound = V3GlobaldataScansGetRequest$Outbound;
|
|
66
|
+
}
|
|
67
|
+
export declare function v3GlobaldataScansGetRequestToJSON(v3GlobaldataScansGetRequest: V3GlobaldataScansGetRequest): string;
|
|
68
|
+
export declare function v3GlobaldataScansGetRequestFromJSON(jsonString: string): SafeParseResult<V3GlobaldataScansGetRequest, SDKValidationError>;
|
|
69
|
+
/** @internal */
|
|
70
|
+
export declare const V3GlobaldataScansGetResponse$inboundSchema: z.ZodType<V3GlobaldataScansGetResponse, z.ZodTypeDef, unknown>;
|
|
71
|
+
/** @internal */
|
|
72
|
+
export type V3GlobaldataScansGetResponse$Outbound = {
|
|
73
|
+
Headers: {
|
|
74
|
+
[k: string]: Array<string>;
|
|
75
|
+
};
|
|
76
|
+
Result: components.ResponseEnvelopeTrackedScan$Outbound;
|
|
77
|
+
};
|
|
78
|
+
/** @internal */
|
|
79
|
+
export declare const V3GlobaldataScansGetResponse$outboundSchema: z.ZodType<V3GlobaldataScansGetResponse$Outbound, z.ZodTypeDef, V3GlobaldataScansGetResponse>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
83
|
+
*/
|
|
84
|
+
export declare namespace V3GlobaldataScansGetResponse$ {
|
|
85
|
+
/** @deprecated use `V3GlobaldataScansGetResponse$inboundSchema` instead. */
|
|
86
|
+
const inboundSchema: z.ZodType<V3GlobaldataScansGetResponse, z.ZodTypeDef, unknown>;
|
|
87
|
+
/** @deprecated use `V3GlobaldataScansGetResponse$outboundSchema` instead. */
|
|
88
|
+
const outboundSchema: z.ZodType<V3GlobaldataScansGetResponse$Outbound, z.ZodTypeDef, V3GlobaldataScansGetResponse>;
|
|
89
|
+
/** @deprecated use `V3GlobaldataScansGetResponse$Outbound` instead. */
|
|
90
|
+
type Outbound = V3GlobaldataScansGetResponse$Outbound;
|
|
91
|
+
}
|
|
92
|
+
export declare function v3GlobaldataScansGetResponseToJSON(v3GlobaldataScansGetResponse: V3GlobaldataScansGetResponse): string;
|
|
93
|
+
export declare function v3GlobaldataScansGetResponseFromJSON(jsonString: string): SafeParseResult<V3GlobaldataScansGetResponse, SDKValidationError>;
|
|
94
|
+
//# sourceMappingURL=v3globaldatascansget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":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AAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,oCAAoC,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAS5B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,6BAA6B,CAAC;IAC7C,4EAA4E;IACrE,MAAM,aAAa,gEAA6C,CAAC;IACxE,6EAA6E;IACtE,MAAM,cAAc,8FAA8C,CAAC;IAC1E,uEAAuE;IACvE,KAAY,QAAQ,GAAG,qCAAqC,CAAC;CAC9D;AAED,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR;AAED,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}
|
|
@@ -0,0 +1,157 @@
|
|
|
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.V3GlobaldataScansGetResponse$ = exports.V3GlobaldataScansGetResponse$outboundSchema = exports.V3GlobaldataScansGetResponse$inboundSchema = exports.V3GlobaldataScansGetRequest$ = exports.V3GlobaldataScansGetRequest$outboundSchema = exports.V3GlobaldataScansGetRequest$inboundSchema = exports.V3GlobaldataScansGetGlobals$ = exports.V3GlobaldataScansGetGlobals$outboundSchema = exports.V3GlobaldataScansGetGlobals$inboundSchema = void 0;
|
|
40
|
+
exports.v3GlobaldataScansGetGlobalsToJSON = v3GlobaldataScansGetGlobalsToJSON;
|
|
41
|
+
exports.v3GlobaldataScansGetGlobalsFromJSON = v3GlobaldataScansGetGlobalsFromJSON;
|
|
42
|
+
exports.v3GlobaldataScansGetRequestToJSON = v3GlobaldataScansGetRequestToJSON;
|
|
43
|
+
exports.v3GlobaldataScansGetRequestFromJSON = v3GlobaldataScansGetRequestFromJSON;
|
|
44
|
+
exports.v3GlobaldataScansGetResponseToJSON = v3GlobaldataScansGetResponseToJSON;
|
|
45
|
+
exports.v3GlobaldataScansGetResponseFromJSON = v3GlobaldataScansGetResponseFromJSON;
|
|
46
|
+
const z = __importStar(require("zod"));
|
|
47
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
48
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
49
|
+
const components = __importStar(require("../components/index.js"));
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.V3GlobaldataScansGetGlobals$inboundSchema = z.object({
|
|
52
|
+
organization_id: z.string().optional(),
|
|
53
|
+
}).transform((v) => {
|
|
54
|
+
return (0, primitives_js_1.remap)(v, {
|
|
55
|
+
"organization_id": "organizationId",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
/** @internal */
|
|
59
|
+
exports.V3GlobaldataScansGetGlobals$outboundSchema = z.object({
|
|
60
|
+
organizationId: z.string().optional(),
|
|
61
|
+
}).transform((v) => {
|
|
62
|
+
return (0, primitives_js_1.remap)(v, {
|
|
63
|
+
organizationId: "organization_id",
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
+
*/
|
|
70
|
+
var V3GlobaldataScansGetGlobals$;
|
|
71
|
+
(function (V3GlobaldataScansGetGlobals$) {
|
|
72
|
+
/** @deprecated use `V3GlobaldataScansGetGlobals$inboundSchema` instead. */
|
|
73
|
+
V3GlobaldataScansGetGlobals$.inboundSchema = exports.V3GlobaldataScansGetGlobals$inboundSchema;
|
|
74
|
+
/** @deprecated use `V3GlobaldataScansGetGlobals$outboundSchema` instead. */
|
|
75
|
+
V3GlobaldataScansGetGlobals$.outboundSchema = exports.V3GlobaldataScansGetGlobals$outboundSchema;
|
|
76
|
+
})(V3GlobaldataScansGetGlobals$ || (exports.V3GlobaldataScansGetGlobals$ = V3GlobaldataScansGetGlobals$ = {}));
|
|
77
|
+
function v3GlobaldataScansGetGlobalsToJSON(v3GlobaldataScansGetGlobals) {
|
|
78
|
+
return JSON.stringify(exports.V3GlobaldataScansGetGlobals$outboundSchema.parse(v3GlobaldataScansGetGlobals));
|
|
79
|
+
}
|
|
80
|
+
function v3GlobaldataScansGetGlobalsFromJSON(jsonString) {
|
|
81
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3GlobaldataScansGetGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'V3GlobaldataScansGetGlobals' from JSON`);
|
|
82
|
+
}
|
|
83
|
+
/** @internal */
|
|
84
|
+
exports.V3GlobaldataScansGetRequest$inboundSchema = z.object({
|
|
85
|
+
organization_id: z.string().optional(),
|
|
86
|
+
scan_id: z.string(),
|
|
87
|
+
}).transform((v) => {
|
|
88
|
+
return (0, primitives_js_1.remap)(v, {
|
|
89
|
+
"organization_id": "organizationId",
|
|
90
|
+
"scan_id": "scanId",
|
|
91
|
+
});
|
|
92
|
+
});
|
|
93
|
+
/** @internal */
|
|
94
|
+
exports.V3GlobaldataScansGetRequest$outboundSchema = z.object({
|
|
95
|
+
organizationId: z.string().optional(),
|
|
96
|
+
scanId: z.string(),
|
|
97
|
+
}).transform((v) => {
|
|
98
|
+
return (0, primitives_js_1.remap)(v, {
|
|
99
|
+
organizationId: "organization_id",
|
|
100
|
+
scanId: "scan_id",
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
106
|
+
*/
|
|
107
|
+
var V3GlobaldataScansGetRequest$;
|
|
108
|
+
(function (V3GlobaldataScansGetRequest$) {
|
|
109
|
+
/** @deprecated use `V3GlobaldataScansGetRequest$inboundSchema` instead. */
|
|
110
|
+
V3GlobaldataScansGetRequest$.inboundSchema = exports.V3GlobaldataScansGetRequest$inboundSchema;
|
|
111
|
+
/** @deprecated use `V3GlobaldataScansGetRequest$outboundSchema` instead. */
|
|
112
|
+
V3GlobaldataScansGetRequest$.outboundSchema = exports.V3GlobaldataScansGetRequest$outboundSchema;
|
|
113
|
+
})(V3GlobaldataScansGetRequest$ || (exports.V3GlobaldataScansGetRequest$ = V3GlobaldataScansGetRequest$ = {}));
|
|
114
|
+
function v3GlobaldataScansGetRequestToJSON(v3GlobaldataScansGetRequest) {
|
|
115
|
+
return JSON.stringify(exports.V3GlobaldataScansGetRequest$outboundSchema.parse(v3GlobaldataScansGetRequest));
|
|
116
|
+
}
|
|
117
|
+
function v3GlobaldataScansGetRequestFromJSON(jsonString) {
|
|
118
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3GlobaldataScansGetRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'V3GlobaldataScansGetRequest' from JSON`);
|
|
119
|
+
}
|
|
120
|
+
/** @internal */
|
|
121
|
+
exports.V3GlobaldataScansGetResponse$inboundSchema = z.object({
|
|
122
|
+
Headers: z.record(z.array(z.string())),
|
|
123
|
+
Result: components.ResponseEnvelopeTrackedScan$inboundSchema,
|
|
124
|
+
}).transform((v) => {
|
|
125
|
+
return (0, primitives_js_1.remap)(v, {
|
|
126
|
+
"Headers": "headers",
|
|
127
|
+
"Result": "result",
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
/** @internal */
|
|
131
|
+
exports.V3GlobaldataScansGetResponse$outboundSchema = z.object({
|
|
132
|
+
headers: z.record(z.array(z.string())),
|
|
133
|
+
result: components.ResponseEnvelopeTrackedScan$outboundSchema,
|
|
134
|
+
}).transform((v) => {
|
|
135
|
+
return (0, primitives_js_1.remap)(v, {
|
|
136
|
+
headers: "Headers",
|
|
137
|
+
result: "Result",
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
143
|
+
*/
|
|
144
|
+
var V3GlobaldataScansGetResponse$;
|
|
145
|
+
(function (V3GlobaldataScansGetResponse$) {
|
|
146
|
+
/** @deprecated use `V3GlobaldataScansGetResponse$inboundSchema` instead. */
|
|
147
|
+
V3GlobaldataScansGetResponse$.inboundSchema = exports.V3GlobaldataScansGetResponse$inboundSchema;
|
|
148
|
+
/** @deprecated use `V3GlobaldataScansGetResponse$outboundSchema` instead. */
|
|
149
|
+
V3GlobaldataScansGetResponse$.outboundSchema = exports.V3GlobaldataScansGetResponse$outboundSchema;
|
|
150
|
+
})(V3GlobaldataScansGetResponse$ || (exports.V3GlobaldataScansGetResponse$ = V3GlobaldataScansGetResponse$ = {}));
|
|
151
|
+
function v3GlobaldataScansGetResponseToJSON(v3GlobaldataScansGetResponse) {
|
|
152
|
+
return JSON.stringify(exports.V3GlobaldataScansGetResponse$outboundSchema.parse(v3GlobaldataScansGetResponse));
|
|
153
|
+
}
|
|
154
|
+
function v3GlobaldataScansGetResponseFromJSON(jsonString) {
|
|
155
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3GlobaldataScansGetResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'V3GlobaldataScansGetResponse' from JSON`);
|
|
156
|
+
}
|
|
157
|
+
//# sourceMappingURL=v3globaldatascansget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v3globaldatascansget.js","sourceRoot":"","sources":["../../src/models/operations/v3globaldatascansget.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyEH,8EAQC;AAED,kFAQC;AAmDD,8EAQC;AAED,kFAQC;AAmDD,gFAQC;AAED,oFAQC;AAnOD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAuBrD,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE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jB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACtC,MAAM,EAAE,UAAU,CAAC,0CAA0C;CAC9D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;KACjB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,6BAA6B,CAO7C;AAPD,WAAiB,6BAA6B;IAC5C,4EAA4E;IAC/D,2CAAa,GAAG,kDAA0C,CAAC;IACxE,6EAA6E;IAChE,4CAAc,GAAG,mDAA2C,CAAC;AAG5E,CAAC,EAPgB,6BAA6B,6CAA7B,6BAA6B,QAO7C;AAED,SAAgB,kCAAkC,CAChD,4BAA0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,mDAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,oCAAoC,CAClD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kDAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
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 V3GlobaldataScansRescanGlobals = {
|
|
6
|
+
organizationId?: string | undefined;
|
|
7
|
+
};
|
|
8
|
+
export type V3GlobaldataScansRescanRequest = {
|
|
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
|
+
scansRescanInputBody: components.ScansRescanInputBody;
|
|
14
|
+
};
|
|
15
|
+
export type V3GlobaldataScansRescanResponse = {
|
|
16
|
+
headers: {
|
|
17
|
+
[k: string]: Array<string>;
|
|
18
|
+
};
|
|
19
|
+
result: components.ResponseEnvelopeTrackedScan;
|
|
20
|
+
};
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const V3GlobaldataScansRescanGlobals$inboundSchema: z.ZodType<V3GlobaldataScansRescanGlobals, z.ZodTypeDef, unknown>;
|
|
23
|
+
/** @internal */
|
|
24
|
+
export type V3GlobaldataScansRescanGlobals$Outbound = {
|
|
25
|
+
organization_id?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare const V3GlobaldataScansRescanGlobals$outboundSchema: z.ZodType<V3GlobaldataScansRescanGlobals$Outbound, z.ZodTypeDef, V3GlobaldataScansRescanGlobals>;
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
32
|
+
*/
|
|
33
|
+
export declare namespace V3GlobaldataScansRescanGlobals$ {
|
|
34
|
+
/** @deprecated use `V3GlobaldataScansRescanGlobals$inboundSchema` instead. */
|
|
35
|
+
const inboundSchema: z.ZodType<V3GlobaldataScansRescanGlobals, z.ZodTypeDef, unknown>;
|
|
36
|
+
/** @deprecated use `V3GlobaldataScansRescanGlobals$outboundSchema` instead. */
|
|
37
|
+
const outboundSchema: z.ZodType<V3GlobaldataScansRescanGlobals$Outbound, z.ZodTypeDef, V3GlobaldataScansRescanGlobals>;
|
|
38
|
+
/** @deprecated use `V3GlobaldataScansRescanGlobals$Outbound` instead. */
|
|
39
|
+
type Outbound = V3GlobaldataScansRescanGlobals$Outbound;
|
|
40
|
+
}
|
|
41
|
+
export declare function v3GlobaldataScansRescanGlobalsToJSON(v3GlobaldataScansRescanGlobals: V3GlobaldataScansRescanGlobals): string;
|
|
42
|
+
export declare function v3GlobaldataScansRescanGlobalsFromJSON(jsonString: string): SafeParseResult<V3GlobaldataScansRescanGlobals, SDKValidationError>;
|
|
43
|
+
/** @internal */
|
|
44
|
+
export declare const V3GlobaldataScansRescanRequest$inboundSchema: z.ZodType<V3GlobaldataScansRescanRequest, z.ZodTypeDef, unknown>;
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type V3GlobaldataScansRescanRequest$Outbound = {
|
|
47
|
+
organization_id?: string | undefined;
|
|
48
|
+
ScansRescanInputBody: components.ScansRescanInputBody$Outbound;
|
|
49
|
+
};
|
|
50
|
+
/** @internal */
|
|
51
|
+
export declare const V3GlobaldataScansRescanRequest$outboundSchema: z.ZodType<V3GlobaldataScansRescanRequest$Outbound, z.ZodTypeDef, V3GlobaldataScansRescanRequest>;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
+
*/
|
|
56
|
+
export declare namespace V3GlobaldataScansRescanRequest$ {
|
|
57
|
+
/** @deprecated use `V3GlobaldataScansRescanRequest$inboundSchema` instead. */
|
|
58
|
+
const inboundSchema: z.ZodType<V3GlobaldataScansRescanRequest, z.ZodTypeDef, unknown>;
|
|
59
|
+
/** @deprecated use `V3GlobaldataScansRescanRequest$outboundSchema` instead. */
|
|
60
|
+
const outboundSchema: z.ZodType<V3GlobaldataScansRescanRequest$Outbound, z.ZodTypeDef, V3GlobaldataScansRescanRequest>;
|
|
61
|
+
/** @deprecated use `V3GlobaldataScansRescanRequest$Outbound` instead. */
|
|
62
|
+
type Outbound = V3GlobaldataScansRescanRequest$Outbound;
|
|
63
|
+
}
|
|
64
|
+
export declare function v3GlobaldataScansRescanRequestToJSON(v3GlobaldataScansRescanRequest: V3GlobaldataScansRescanRequest): string;
|
|
65
|
+
export declare function v3GlobaldataScansRescanRequestFromJSON(jsonString: string): SafeParseResult<V3GlobaldataScansRescanRequest, SDKValidationError>;
|
|
66
|
+
/** @internal */
|
|
67
|
+
export declare const V3GlobaldataScansRescanResponse$inboundSchema: z.ZodType<V3GlobaldataScansRescanResponse, z.ZodTypeDef, unknown>;
|
|
68
|
+
/** @internal */
|
|
69
|
+
export type V3GlobaldataScansRescanResponse$Outbound = {
|
|
70
|
+
Headers: {
|
|
71
|
+
[k: string]: Array<string>;
|
|
72
|
+
};
|
|
73
|
+
Result: components.ResponseEnvelopeTrackedScan$Outbound;
|
|
74
|
+
};
|
|
75
|
+
/** @internal */
|
|
76
|
+
export declare const V3GlobaldataScansRescanResponse$outboundSchema: z.ZodType<V3GlobaldataScansRescanResponse$Outbound, z.ZodTypeDef, V3GlobaldataScansRescanResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
80
|
+
*/
|
|
81
|
+
export declare namespace V3GlobaldataScansRescanResponse$ {
|
|
82
|
+
/** @deprecated use `V3GlobaldataScansRescanResponse$inboundSchema` instead. */
|
|
83
|
+
const inboundSchema: z.ZodType<V3GlobaldataScansRescanResponse, z.ZodTypeDef, unknown>;
|
|
84
|
+
/** @deprecated use `V3GlobaldataScansRescanResponse$outboundSchema` instead. */
|
|
85
|
+
const outboundSchema: z.ZodType<V3GlobaldataScansRescanResponse$Outbound, z.ZodTypeDef, V3GlobaldataScansRescanResponse>;
|
|
86
|
+
/** @deprecated use `V3GlobaldataScansRescanResponse$Outbound` instead. */
|
|
87
|
+
type Outbound = V3GlobaldataScansRescanResponse$Outbound;
|
|
88
|
+
}
|
|
89
|
+
export declare function v3GlobaldataScansRescanResponseToJSON(v3GlobaldataScansRescanResponse: V3GlobaldataScansRescanResponse): string;
|
|
90
|
+
export declare function v3GlobaldataScansRescanResponseFromJSON(jsonString: string): SafeParseResult<V3GlobaldataScansRescanResponse, SDKValidationError>;
|
|
91
|
+
//# sourceMappingURL=v3globaldatascansrescan.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v3globaldatascansrescan.d.ts","sourceRoot":"","sources":["../../src/models/operations/v3globaldatascansrescan.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,8BAA8B,GAAG;IAC3C,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,oBAAoB,EAAE,UAAU,CAAC,oBAAoB,CAAC;CACvD,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,2BAA2B,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,uCAAuC,GAAG;IACpD,eAAe,CAAC,EAAE,MAAM,GAA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pD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAMrE;AAED,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,wCAAwC,GAAG;IACrD,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,oCAAoC,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,wCAAwC,EACxC,CAAC,CAAC,UAAU,EACZ,+BAA+B,CAS/B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,gCAAgC,CAAC;IAChD,+EAA+E;IACxE,MAAM,aAAa,mEAAgD,CAAC;IAC3E,gFAAgF;IACzE,MAAM,cAAc,oGAAiD,CAAC;IAC7E,0EAA0E;IAC1E,KAAY,QAAQ,GAAG,wCAAwC,CAAC;CACjE;AAED,wBAAgB,qCAAqC,CACnD,+BAA+B,EAAE,+BAA+B,GAC/D,MAAM,CAMR;AAED,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
|
|
@@ -0,0 +1,157 @@
|
|
|
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.V3GlobaldataScansRescanResponse$ = exports.V3GlobaldataScansRescanResponse$outboundSchema = exports.V3GlobaldataScansRescanResponse$inboundSchema = exports.V3GlobaldataScansRescanRequest$ = exports.V3GlobaldataScansRescanRequest$outboundSchema = exports.V3GlobaldataScansRescanRequest$inboundSchema = exports.V3GlobaldataScansRescanGlobals$ = exports.V3GlobaldataScansRescanGlobals$outboundSchema = exports.V3GlobaldataScansRescanGlobals$inboundSchema = void 0;
|
|
40
|
+
exports.v3GlobaldataScansRescanGlobalsToJSON = v3GlobaldataScansRescanGlobalsToJSON;
|
|
41
|
+
exports.v3GlobaldataScansRescanGlobalsFromJSON = v3GlobaldataScansRescanGlobalsFromJSON;
|
|
42
|
+
exports.v3GlobaldataScansRescanRequestToJSON = v3GlobaldataScansRescanRequestToJSON;
|
|
43
|
+
exports.v3GlobaldataScansRescanRequestFromJSON = v3GlobaldataScansRescanRequestFromJSON;
|
|
44
|
+
exports.v3GlobaldataScansRescanResponseToJSON = v3GlobaldataScansRescanResponseToJSON;
|
|
45
|
+
exports.v3GlobaldataScansRescanResponseFromJSON = v3GlobaldataScansRescanResponseFromJSON;
|
|
46
|
+
const z = __importStar(require("zod"));
|
|
47
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
48
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
49
|
+
const components = __importStar(require("../components/index.js"));
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.V3GlobaldataScansRescanGlobals$inboundSchema = z.object({
|
|
52
|
+
organization_id: z.string().optional(),
|
|
53
|
+
}).transform((v) => {
|
|
54
|
+
return (0, primitives_js_1.remap)(v, {
|
|
55
|
+
"organization_id": "organizationId",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
/** @internal */
|
|
59
|
+
exports.V3GlobaldataScansRescanGlobals$outboundSchema = z.object({
|
|
60
|
+
organizationId: z.string().optional(),
|
|
61
|
+
}).transform((v) => {
|
|
62
|
+
return (0, primitives_js_1.remap)(v, {
|
|
63
|
+
organizationId: "organization_id",
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
+
*/
|
|
70
|
+
var V3GlobaldataScansRescanGlobals$;
|
|
71
|
+
(function (V3GlobaldataScansRescanGlobals$) {
|
|
72
|
+
/** @deprecated use `V3GlobaldataScansRescanGlobals$inboundSchema` instead. */
|
|
73
|
+
V3GlobaldataScansRescanGlobals$.inboundSchema = exports.V3GlobaldataScansRescanGlobals$inboundSchema;
|
|
74
|
+
/** @deprecated use `V3GlobaldataScansRescanGlobals$outboundSchema` instead. */
|
|
75
|
+
V3GlobaldataScansRescanGlobals$.outboundSchema = exports.V3GlobaldataScansRescanGlobals$outboundSchema;
|
|
76
|
+
})(V3GlobaldataScansRescanGlobals$ || (exports.V3GlobaldataScansRescanGlobals$ = V3GlobaldataScansRescanGlobals$ = {}));
|
|
77
|
+
function v3GlobaldataScansRescanGlobalsToJSON(v3GlobaldataScansRescanGlobals) {
|
|
78
|
+
return JSON.stringify(exports.V3GlobaldataScansRescanGlobals$outboundSchema.parse(v3GlobaldataScansRescanGlobals));
|
|
79
|
+
}
|
|
80
|
+
function v3GlobaldataScansRescanGlobalsFromJSON(jsonString) {
|
|
81
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3GlobaldataScansRescanGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'V3GlobaldataScansRescanGlobals' from JSON`);
|
|
82
|
+
}
|
|
83
|
+
/** @internal */
|
|
84
|
+
exports.V3GlobaldataScansRescanRequest$inboundSchema = z.object({
|
|
85
|
+
organization_id: z.string().optional(),
|
|
86
|
+
ScansRescanInputBody: components.ScansRescanInputBody$inboundSchema,
|
|
87
|
+
}).transform((v) => {
|
|
88
|
+
return (0, primitives_js_1.remap)(v, {
|
|
89
|
+
"organization_id": "organizationId",
|
|
90
|
+
"ScansRescanInputBody": "scansRescanInputBody",
|
|
91
|
+
});
|
|
92
|
+
});
|
|
93
|
+
/** @internal */
|
|
94
|
+
exports.V3GlobaldataScansRescanRequest$outboundSchema = z.object({
|
|
95
|
+
organizationId: z.string().optional(),
|
|
96
|
+
scansRescanInputBody: components.ScansRescanInputBody$outboundSchema,
|
|
97
|
+
}).transform((v) => {
|
|
98
|
+
return (0, primitives_js_1.remap)(v, {
|
|
99
|
+
organizationId: "organization_id",
|
|
100
|
+
scansRescanInputBody: "ScansRescanInputBody",
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
106
|
+
*/
|
|
107
|
+
var V3GlobaldataScansRescanRequest$;
|
|
108
|
+
(function (V3GlobaldataScansRescanRequest$) {
|
|
109
|
+
/** @deprecated use `V3GlobaldataScansRescanRequest$inboundSchema` instead. */
|
|
110
|
+
V3GlobaldataScansRescanRequest$.inboundSchema = exports.V3GlobaldataScansRescanRequest$inboundSchema;
|
|
111
|
+
/** @deprecated use `V3GlobaldataScansRescanRequest$outboundSchema` instead. */
|
|
112
|
+
V3GlobaldataScansRescanRequest$.outboundSchema = exports.V3GlobaldataScansRescanRequest$outboundSchema;
|
|
113
|
+
})(V3GlobaldataScansRescanRequest$ || (exports.V3GlobaldataScansRescanRequest$ = V3GlobaldataScansRescanRequest$ = {}));
|
|
114
|
+
function v3GlobaldataScansRescanRequestToJSON(v3GlobaldataScansRescanRequest) {
|
|
115
|
+
return JSON.stringify(exports.V3GlobaldataScansRescanRequest$outboundSchema.parse(v3GlobaldataScansRescanRequest));
|
|
116
|
+
}
|
|
117
|
+
function v3GlobaldataScansRescanRequestFromJSON(jsonString) {
|
|
118
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3GlobaldataScansRescanRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'V3GlobaldataScansRescanRequest' from JSON`);
|
|
119
|
+
}
|
|
120
|
+
/** @internal */
|
|
121
|
+
exports.V3GlobaldataScansRescanResponse$inboundSchema = z.object({
|
|
122
|
+
Headers: z.record(z.array(z.string())),
|
|
123
|
+
Result: components.ResponseEnvelopeTrackedScan$inboundSchema,
|
|
124
|
+
}).transform((v) => {
|
|
125
|
+
return (0, primitives_js_1.remap)(v, {
|
|
126
|
+
"Headers": "headers",
|
|
127
|
+
"Result": "result",
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
/** @internal */
|
|
131
|
+
exports.V3GlobaldataScansRescanResponse$outboundSchema = z.object({
|
|
132
|
+
headers: z.record(z.array(z.string())),
|
|
133
|
+
result: components.ResponseEnvelopeTrackedScan$outboundSchema,
|
|
134
|
+
}).transform((v) => {
|
|
135
|
+
return (0, primitives_js_1.remap)(v, {
|
|
136
|
+
headers: "Headers",
|
|
137
|
+
result: "Result",
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
143
|
+
*/
|
|
144
|
+
var V3GlobaldataScansRescanResponse$;
|
|
145
|
+
(function (V3GlobaldataScansRescanResponse$) {
|
|
146
|
+
/** @deprecated use `V3GlobaldataScansRescanResponse$inboundSchema` instead. */
|
|
147
|
+
V3GlobaldataScansRescanResponse$.inboundSchema = exports.V3GlobaldataScansRescanResponse$inboundSchema;
|
|
148
|
+
/** @deprecated use `V3GlobaldataScansRescanResponse$outboundSchema` instead. */
|
|
149
|
+
V3GlobaldataScansRescanResponse$.outboundSchema = exports.V3GlobaldataScansRescanResponse$outboundSchema;
|
|
150
|
+
})(V3GlobaldataScansRescanResponse$ || (exports.V3GlobaldataScansRescanResponse$ = V3GlobaldataScansRescanResponse$ = {}));
|
|
151
|
+
function v3GlobaldataScansRescanResponseToJSON(v3GlobaldataScansRescanResponse) {
|
|
152
|
+
return JSON.stringify(exports.V3GlobaldataScansRescanResponse$outboundSchema.parse(v3GlobaldataScansRescanResponse));
|
|
153
|
+
}
|
|
154
|
+
function v3GlobaldataScansRescanResponseFromJSON(jsonString) {
|
|
155
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3GlobaldataScansRescanResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'V3GlobaldataScansRescanResponse' from JSON`);
|
|
156
|
+
}
|
|
157
|
+
//# sourceMappingURL=v3globaldatascansrescan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v3globaldatascansrescan.js","sourceRoot":"","sources":["../../src/models/operations/v3globaldatascansrescan.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsEH,oFAQC;AAED,wFAQC;AAmDD,oFAQC;AAED,wFAQC;AAmDD,sFAQC;AAED,0FAQC;AAhOD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAoBrD,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvC,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;AAOH,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,+BAA+B,CAO/C;AAPD,WAAiB,+BAA+B;IAC9C,8EAA8E;IACjE,6CAAa,GAAG,oDAA4C,CAAC;IAC1E,+EAA+E;IAClE,8CAAc,GAAG,qDAA6C,CAAC;AAG9E,CAAC,EAPgB,+BAA+B,+CAA/B,+BAA+B,QAO/C;AAED,SAAgB,oCAAoC,CAClD,8BAA8D;IAE9D,OAAO,IAAI,CAAC,SAAS,CACnB,qDAA6C,CAAC,KAAK,CACjD,8BAA8B,CAC/B,CACF,CAAC;AACJ,CAAC;AA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AAgC,gDAAhC,gCAAgC,QAOhD;AAED,SAAgB,qCAAqC,CACnD,+BAAgE;IAEhE,OAAO,IAAI,CAAC,SAAS,CACnB,sDAA8C,CAAC,KAAK,CAClD,+BAA+B,CAChC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,uCAAuC,CACrD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qDAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
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 V3ThreathuntingScansDiscoveryGlobals = {
|
|
6
|
+
organizationId?: string | undefined;
|
|
7
|
+
};
|
|
8
|
+
export type V3ThreathuntingScansDiscoveryRequest = {
|
|
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
|
+
scansDiscoveryInputBody: components.ScansDiscoveryInputBody;
|
|
14
|
+
};
|
|
15
|
+
export type V3ThreathuntingScansDiscoveryResponse = {
|
|
16
|
+
headers: {
|
|
17
|
+
[k: string]: Array<string>;
|
|
18
|
+
};
|
|
19
|
+
result: components.ResponseEnvelopeTrackedScan;
|
|
20
|
+
};
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const V3ThreathuntingScansDiscoveryGlobals$inboundSchema: z.ZodType<V3ThreathuntingScansDiscoveryGlobals, z.ZodTypeDef, unknown>;
|
|
23
|
+
/** @internal */
|
|
24
|
+
export type V3ThreathuntingScansDiscoveryGlobals$Outbound = {
|
|
25
|
+
organization_id?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare const V3ThreathuntingScansDiscoveryGlobals$outboundSchema: z.ZodType<V3ThreathuntingScansDiscoveryGlobals$Outbound, z.ZodTypeDef, V3ThreathuntingScansDiscoveryGlobals>;
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
32
|
+
*/
|
|
33
|
+
export declare namespace V3ThreathuntingScansDiscoveryGlobals$ {
|
|
34
|
+
/** @deprecated use `V3ThreathuntingScansDiscoveryGlobals$inboundSchema` instead. */
|
|
35
|
+
const inboundSchema: z.ZodType<V3ThreathuntingScansDiscoveryGlobals, z.ZodTypeDef, unknown>;
|
|
36
|
+
/** @deprecated use `V3ThreathuntingScansDiscoveryGlobals$outboundSchema` instead. */
|
|
37
|
+
const outboundSchema: z.ZodType<V3ThreathuntingScansDiscoveryGlobals$Outbound, z.ZodTypeDef, V3ThreathuntingScansDiscoveryGlobals>;
|
|
38
|
+
/** @deprecated use `V3ThreathuntingScansDiscoveryGlobals$Outbound` instead. */
|
|
39
|
+
type Outbound = V3ThreathuntingScansDiscoveryGlobals$Outbound;
|
|
40
|
+
}
|
|
41
|
+
export declare function v3ThreathuntingScansDiscoveryGlobalsToJSON(v3ThreathuntingScansDiscoveryGlobals: V3ThreathuntingScansDiscoveryGlobals): string;
|
|
42
|
+
export declare function v3ThreathuntingScansDiscoveryGlobalsFromJSON(jsonString: string): SafeParseResult<V3ThreathuntingScansDiscoveryGlobals, SDKValidationError>;
|
|
43
|
+
/** @internal */
|
|
44
|
+
export declare const V3ThreathuntingScansDiscoveryRequest$inboundSchema: z.ZodType<V3ThreathuntingScansDiscoveryRequest, z.ZodTypeDef, unknown>;
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type V3ThreathuntingScansDiscoveryRequest$Outbound = {
|
|
47
|
+
organization_id?: string | undefined;
|
|
48
|
+
ScansDiscoveryInputBody: components.ScansDiscoveryInputBody$Outbound;
|
|
49
|
+
};
|
|
50
|
+
/** @internal */
|
|
51
|
+
export declare const V3ThreathuntingScansDiscoveryRequest$outboundSchema: z.ZodType<V3ThreathuntingScansDiscoveryRequest$Outbound, z.ZodTypeDef, V3ThreathuntingScansDiscoveryRequest>;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
+
*/
|
|
56
|
+
export declare namespace V3ThreathuntingScansDiscoveryRequest$ {
|
|
57
|
+
/** @deprecated use `V3ThreathuntingScansDiscoveryRequest$inboundSchema` instead. */
|
|
58
|
+
const inboundSchema: z.ZodType<V3ThreathuntingScansDiscoveryRequest, z.ZodTypeDef, unknown>;
|
|
59
|
+
/** @deprecated use `V3ThreathuntingScansDiscoveryRequest$outboundSchema` instead. */
|
|
60
|
+
const outboundSchema: z.ZodType<V3ThreathuntingScansDiscoveryRequest$Outbound, z.ZodTypeDef, V3ThreathuntingScansDiscoveryRequest>;
|
|
61
|
+
/** @deprecated use `V3ThreathuntingScansDiscoveryRequest$Outbound` instead. */
|
|
62
|
+
type Outbound = V3ThreathuntingScansDiscoveryRequest$Outbound;
|
|
63
|
+
}
|
|
64
|
+
export declare function v3ThreathuntingScansDiscoveryRequestToJSON(v3ThreathuntingScansDiscoveryRequest: V3ThreathuntingScansDiscoveryRequest): string;
|
|
65
|
+
export declare function v3ThreathuntingScansDiscoveryRequestFromJSON(jsonString: string): SafeParseResult<V3ThreathuntingScansDiscoveryRequest, SDKValidationError>;
|
|
66
|
+
/** @internal */
|
|
67
|
+
export declare const V3ThreathuntingScansDiscoveryResponse$inboundSchema: z.ZodType<V3ThreathuntingScansDiscoveryResponse, z.ZodTypeDef, unknown>;
|
|
68
|
+
/** @internal */
|
|
69
|
+
export type V3ThreathuntingScansDiscoveryResponse$Outbound = {
|
|
70
|
+
Headers: {
|
|
71
|
+
[k: string]: Array<string>;
|
|
72
|
+
};
|
|
73
|
+
Result: components.ResponseEnvelopeTrackedScan$Outbound;
|
|
74
|
+
};
|
|
75
|
+
/** @internal */
|
|
76
|
+
export declare const V3ThreathuntingScansDiscoveryResponse$outboundSchema: z.ZodType<V3ThreathuntingScansDiscoveryResponse$Outbound, z.ZodTypeDef, V3ThreathuntingScansDiscoveryResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
80
|
+
*/
|
|
81
|
+
export declare namespace V3ThreathuntingScansDiscoveryResponse$ {
|
|
82
|
+
/** @deprecated use `V3ThreathuntingScansDiscoveryResponse$inboundSchema` instead. */
|
|
83
|
+
const inboundSchema: z.ZodType<V3ThreathuntingScansDiscoveryResponse, z.ZodTypeDef, unknown>;
|
|
84
|
+
/** @deprecated use `V3ThreathuntingScansDiscoveryResponse$outboundSchema` instead. */
|
|
85
|
+
const outboundSchema: z.ZodType<V3ThreathuntingScansDiscoveryResponse$Outbound, z.ZodTypeDef, V3ThreathuntingScansDiscoveryResponse>;
|
|
86
|
+
/** @deprecated use `V3ThreathuntingScansDiscoveryResponse$Outbound` instead. */
|
|
87
|
+
type Outbound = V3ThreathuntingScansDiscoveryResponse$Outbound;
|
|
88
|
+
}
|
|
89
|
+
export declare function v3ThreathuntingScansDiscoveryResponseToJSON(v3ThreathuntingScansDiscoveryResponse: V3ThreathuntingScansDiscoveryResponse): string;
|
|
90
|
+
export declare function v3ThreathuntingScansDiscoveryResponseFromJSON(jsonString: string): SafeParseResult<V3ThreathuntingScansDiscoveryResponse, SDKValidationError>;
|
|
91
|
+
//# sourceMappingURL=v3threathuntingscansdiscovery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v3threathuntingscansdiscovery.d.ts","sourceRoot":"","sources":["../../src/models/operations/v3threathuntingscansdiscovery.ts"],"names":[],"mappings":"AAIA,OAAO,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