@censys/platform-sdk 0.5.0 → 0.6.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/README.md +17 -17
- package/docs/sdks/globaldata/README.md +190 -92
- package/docs/sdks/threathunting/README.md +29 -21
- package/examples/globalDataSearch.example.ts +1 -1
- package/examples/package-lock.json +3 -3
- package/funcs/globalDataConvertLegacySearchQueries.d.ts +18 -0
- package/funcs/globalDataConvertLegacySearchQueries.d.ts.map +1 -0
- package/funcs/globalDataConvertLegacySearchQueries.js +134 -0
- package/funcs/globalDataConvertLegacySearchQueries.js.map +1 -0
- package/funcs/globalDataCreateTrackedScan.d.ts +2 -2
- package/funcs/globalDataCreateTrackedScan.js +2 -2
- package/funcs/{globalDataGetTrackedScanThreatHunting.d.ts → globalDataGetCertificateRaw.d.ts} +4 -5
- package/funcs/globalDataGetCertificateRaw.d.ts.map +1 -0
- package/funcs/{globalDataGetHostObservationsWithCertificate.js → globalDataGetCertificateRaw.js} +10 -19
- package/funcs/globalDataGetCertificateRaw.js.map +1 -0
- package/funcs/globalDataGetCertificates.d.ts +1 -1
- package/funcs/globalDataGetCertificates.d.ts.map +1 -1
- package/funcs/globalDataGetCertificates.js +9 -6
- package/funcs/globalDataGetCertificates.js.map +1 -1
- package/funcs/globalDataGetCertificatesRaw.d.ts +18 -0
- package/funcs/globalDataGetCertificatesRaw.d.ts.map +1 -0
- package/funcs/globalDataGetCertificatesRaw.js +130 -0
- package/funcs/globalDataGetCertificatesRaw.js.map +1 -0
- package/funcs/globalDataGetHostTimeline.d.ts +1 -1
- package/funcs/globalDataGetHostTimeline.js +1 -1
- package/funcs/globalDataGetHosts.d.ts +1 -1
- package/funcs/globalDataGetHosts.d.ts.map +1 -1
- package/funcs/globalDataGetHosts.js +8 -6
- package/funcs/globalDataGetHosts.js.map +1 -1
- package/funcs/globalDataGetTrackedScan.d.ts +2 -3
- package/funcs/globalDataGetTrackedScan.d.ts.map +1 -1
- package/funcs/globalDataGetTrackedScan.js +2 -3
- package/funcs/globalDataGetTrackedScan.js.map +1 -1
- package/funcs/globalDataGetWebProperties.d.ts +1 -1
- package/funcs/globalDataGetWebProperties.d.ts.map +1 -1
- package/funcs/globalDataGetWebProperties.js +9 -6
- package/funcs/globalDataGetWebProperties.js.map +1 -1
- package/funcs/threatHuntingCreateTrackedScan.d.ts +2 -2
- package/funcs/threatHuntingCreateTrackedScan.js +2 -2
- package/funcs/threatHuntingGetHostObservationsWithCertificate.d.ts +18 -0
- package/funcs/threatHuntingGetHostObservationsWithCertificate.d.ts.map +1 -0
- package/funcs/threatHuntingGetHostObservationsWithCertificate.js +141 -0
- package/funcs/threatHuntingGetHostObservationsWithCertificate.js.map +1 -0
- package/funcs/threatHuntingGetTrackedScanThreatHunting.d.ts +18 -0
- package/funcs/threatHuntingGetTrackedScanThreatHunting.d.ts.map +1 -0
- package/funcs/{globalDataGetTrackedScanThreatHunting.js → threatHuntingGetTrackedScanThreatHunting.js} +5 -6
- package/funcs/threatHuntingGetTrackedScanThreatHunting.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js.map +1 -1
- package/models/components/alternativequery.d.ts +69 -0
- package/models/components/alternativequery.d.ts.map +1 -0
- package/models/components/alternativequery.js +93 -0
- package/models/components/alternativequery.js.map +1 -0
- package/models/components/assetcertificatelistinputbody.d.ts +32 -0
- package/models/components/assetcertificatelistinputbody.d.ts.map +1 -0
- package/models/components/assetcertificatelistinputbody.js +78 -0
- package/models/components/assetcertificatelistinputbody.js.map +1 -0
- package/models/components/assethostlistinputbody.d.ts +32 -0
- package/models/components/assethostlistinputbody.d.ts.map +1 -0
- package/models/components/assethostlistinputbody.js +78 -0
- package/models/components/assethostlistinputbody.js.map +1 -0
- package/models/components/assetwebpropertylistinputbody.d.ts +32 -0
- package/models/components/assetwebpropertylistinputbody.d.ts.map +1 -0
- package/models/components/assetwebpropertylistinputbody.js +78 -0
- package/models/components/assetwebpropertylistinputbody.js.map +1 -0
- package/models/components/asteriskmanagerinterface.d.ts +29 -0
- package/models/components/asteriskmanagerinterface.d.ts.map +1 -0
- package/models/components/asteriskmanagerinterface.js +69 -0
- package/models/components/asteriskmanagerinterface.js.map +1 -0
- package/models/components/convertqueryerror.d.ts +32 -0
- package/models/components/convertqueryerror.d.ts.map +1 -0
- package/models/components/convertqueryerror.js +69 -0
- package/models/components/convertqueryerror.js.map +1 -0
- package/models/components/index.d.ts +12 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +12 -0
- package/models/components/index.js.map +1 -1
- package/models/components/openvpnmgmt.d.ts +37 -0
- package/models/components/openvpnmgmt.d.ts.map +1 -0
- package/models/components/openvpnmgmt.js +92 -0
- package/models/components/openvpnmgmt.js.map +1 -0
- package/models/components/rawcertificateresponse.d.ts +31 -0
- package/models/components/rawcertificateresponse.d.ts.map +1 -0
- package/models/components/rawcertificateresponse.js +80 -0
- package/models/components/rawcertificateresponse.js.map +1 -0
- package/models/components/rdp.d.ts +2 -0
- package/models/components/rdp.d.ts.map +1 -1
- package/models/components/rdp.js +4 -0
- package/models/components/rdp.js.map +1 -1
- package/models/components/responseenvelopelistrawcertificateresponse.d.ts +30 -0
- package/models/components/responseenvelopelistrawcertificateresponse.d.ts.map +1 -0
- package/models/components/responseenvelopelistrawcertificateresponse.js +72 -0
- package/models/components/responseenvelopelistrawcertificateresponse.js.map +1 -0
- package/models/components/responseenvelopelistsearchconvertqueryresponse.d.ts +30 -0
- package/models/components/responseenvelopelistsearchconvertqueryresponse.d.ts.map +1 -0
- package/models/components/responseenvelopelistsearchconvertqueryresponse.js +72 -0
- package/models/components/responseenvelopelistsearchconvertqueryresponse.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 +2 -0
- package/models/components/screenshot.js.map +1 -1
- package/models/components/searchconvertqueryinputbody.d.ts +32 -0
- package/models/components/searchconvertqueryinputbody.d.ts.map +1 -0
- package/models/components/searchconvertqueryinputbody.js +69 -0
- package/models/components/searchconvertqueryinputbody.js.map +1 -0
- package/models/components/searchconvertqueryresponse.d.ts +91 -0
- package/models/components/searchconvertqueryresponse.d.ts.map +1 -0
- package/models/components/searchconvertqueryresponse.js +117 -0
- package/models/components/searchconvertqueryresponse.js.map +1 -0
- package/models/components/service.d.ts +6 -0
- package/models/components/service.d.ts.map +1 -1
- package/models/components/service.js +11 -0
- package/models/components/service.js.map +1 -1
- package/models/components/servicescan.d.ts +6 -0
- package/models/components/servicescan.d.ts.map +1 -1
- package/models/components/servicescan.js +10 -0
- package/models/components/servicescan.js.map +1 -1
- package/models/operations/index.d.ts +7 -4
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +7 -4
- package/models/operations/index.js.map +1 -1
- package/models/operations/v3globaldataassetcertificatelistpost.d.ts +91 -0
- package/models/operations/v3globaldataassetcertificatelistpost.d.ts.map +1 -0
- package/models/operations/v3globaldataassetcertificatelistpost.js +157 -0
- package/models/operations/v3globaldataassetcertificatelistpost.js.map +1 -0
- package/models/operations/v3globaldataassetcertificatelistrawpost.d.ts +91 -0
- package/models/operations/v3globaldataassetcertificatelistrawpost.d.ts.map +1 -0
- package/models/operations/v3globaldataassetcertificatelistrawpost.js +157 -0
- package/models/operations/v3globaldataassetcertificatelistrawpost.js.map +1 -0
- package/models/operations/v3globaldataassetcertificateraw.d.ts +93 -0
- package/models/operations/v3globaldataassetcertificateraw.d.ts.map +1 -0
- package/models/operations/v3globaldataassetcertificateraw.js +156 -0
- package/models/operations/v3globaldataassetcertificateraw.js.map +1 -0
- package/models/operations/v3globaldataassethostlistpost.d.ts +91 -0
- package/models/operations/v3globaldataassethostlistpost.d.ts.map +1 -0
- package/models/operations/v3globaldataassethostlistpost.js +157 -0
- package/models/operations/v3globaldataassethostlistpost.js.map +1 -0
- package/models/operations/v3globaldataassethosttimeline.d.ts +2 -2
- package/models/operations/v3globaldataassetwebpropertylistpost.d.ts +91 -0
- package/models/operations/v3globaldataassetwebpropertylistpost.d.ts.map +1 -0
- package/models/operations/v3globaldataassetwebpropertylistpost.js +157 -0
- package/models/operations/v3globaldataassetwebpropertylistpost.js.map +1 -0
- package/models/operations/v3globaldatasearchconvert.d.ts +91 -0
- package/models/operations/v3globaldatasearchconvert.d.ts.map +1 -0
- package/models/operations/v3globaldatasearchconvert.js +157 -0
- package/models/operations/v3globaldatasearchconvert.js.map +1 -0
- package/models/operations/v3threathuntinggethostobservationswithcertificate.d.ts +124 -0
- package/models/operations/v3threathuntinggethostobservationswithcertificate.d.ts.map +1 -0
- package/models/operations/v3threathuntinggethostobservationswithcertificate.js +183 -0
- package/models/operations/v3threathuntinggethostobservationswithcertificate.js.map +1 -0
- package/package.json +3 -3
- package/sdk/globaldata.d.ts +24 -19
- package/sdk/globaldata.d.ts.map +1 -1
- package/sdk/globaldata.js +29 -21
- package/sdk/globaldata.js.map +1 -1
- package/sdk/threathunting.d.ts +7 -9
- package/sdk/threathunting.d.ts.map +1 -1
- package/sdk/threathunting.js +11 -13
- package/sdk/threathunting.js.map +1 -1
- package/src/funcs/globalDataConvertLegacySearchQueries.ts +188 -0
- package/src/funcs/globalDataCreateTrackedScan.ts +2 -2
- package/src/funcs/{globalDataGetHostObservationsWithCertificate.ts → globalDataGetCertificateRaw.ts} +19 -26
- package/src/funcs/globalDataGetCertificates.ts +15 -14
- package/src/funcs/globalDataGetCertificatesRaw.ts +187 -0
- package/src/funcs/globalDataGetHostTimeline.ts +1 -1
- package/src/funcs/globalDataGetHosts.ts +24 -16
- package/src/funcs/globalDataGetTrackedScan.ts +2 -3
- package/src/funcs/globalDataGetWebProperties.ts +15 -14
- package/src/funcs/threatHuntingCreateTrackedScan.ts +2 -2
- package/src/funcs/threatHuntingGetHostObservationsWithCertificate.ts +201 -0
- package/src/funcs/{globalDataGetTrackedScanThreatHunting.ts → threatHuntingGetTrackedScanThreatHunting.ts} +3 -4
- package/src/lib/config.ts +4 -4
- package/src/lib/security.ts +4 -1
- package/src/models/components/alternativequery.ts +104 -0
- package/src/models/components/assetcertificatelistinputbody.ts +80 -0
- package/src/models/components/assethostlistinputbody.ts +78 -0
- package/src/models/components/assetwebpropertylistinputbody.ts +80 -0
- package/src/models/components/asteriskmanagerinterface.ts +66 -0
- package/src/models/components/convertqueryerror.ts +69 -0
- package/src/models/components/index.ts +12 -0
- package/src/models/components/openvpnmgmt.ts +93 -0
- package/src/models/components/rawcertificateresponse.ts +79 -0
- package/src/models/components/rdp.ts +6 -0
- package/src/models/components/responseenvelopelistrawcertificateresponse.ts +84 -0
- package/src/models/components/responseenvelopelistsearchconvertqueryresponse.ts +88 -0
- package/src/models/components/screenshot.ts +4 -0
- package/src/models/components/searchconvertqueryinputbody.ts +71 -0
- package/src/models/components/searchconvertqueryresponse.ts +166 -0
- package/src/models/components/service.ts +25 -0
- package/src/models/components/servicescan.ts +24 -0
- package/src/models/operations/index.ts +7 -4
- package/src/models/operations/v3globaldataassetcertificatelistpost.ts +265 -0
- package/src/models/operations/v3globaldataassetcertificatelistrawpost.ts +269 -0
- package/src/models/operations/v3globaldataassetcertificateraw.ts +248 -0
- package/src/models/operations/v3globaldataassethostlistpost.ts +238 -0
- package/src/models/operations/v3globaldataassethosttimeline.ts +2 -2
- package/src/models/operations/v3globaldataassetwebpropertylistpost.ts +265 -0
- package/src/models/operations/v3globaldatasearchconvert.ts +234 -0
- package/src/models/operations/v3threathuntinggethostobservationswithcertificate.ts +315 -0
- package/src/sdk/globaldata.ts +49 -35
- package/src/sdk/threathunting.ts +16 -15
- package/tests/sdk.test.ts +2 -2
- package/funcs/globalDataGetHostObservationsWithCertificate.d.ts +0 -18
- package/funcs/globalDataGetHostObservationsWithCertificate.d.ts.map +0 -1
- package/funcs/globalDataGetHostObservationsWithCertificate.js.map +0 -1
- package/funcs/globalDataGetTrackedScanThreatHunting.d.ts.map +0 -1
- package/funcs/globalDataGetTrackedScanThreatHunting.js.map +0 -1
- package/models/operations/v3globaldataassetcertificatelist.d.ts +0 -94
- package/models/operations/v3globaldataassetcertificatelist.d.ts.map +0 -1
- package/models/operations/v3globaldataassetcertificatelist.js +0 -157
- package/models/operations/v3globaldataassetcertificatelist.js.map +0 -1
- package/models/operations/v3globaldataassethostlist.d.ts +0 -94
- package/models/operations/v3globaldataassethostlist.d.ts.map +0 -1
- package/models/operations/v3globaldataassethostlist.js +0 -157
- package/models/operations/v3globaldataassethostlist.js.map +0 -1
- package/models/operations/v3globaldataassetwebpropertylist.d.ts +0 -94
- package/models/operations/v3globaldataassetwebpropertylist.d.ts.map +0 -1
- package/models/operations/v3globaldataassetwebpropertylist.js +0 -157
- package/models/operations/v3globaldataassetwebpropertylist.js.map +0 -1
- package/models/operations/v3globaldatagethostobservationswithcertificate.d.ts +0 -124
- package/models/operations/v3globaldatagethostobservationswithcertificate.d.ts.map +0 -1
- package/models/operations/v3globaldatagethostobservationswithcertificate.js +0 -178
- package/models/operations/v3globaldatagethostobservationswithcertificate.js.map +0 -1
- package/src/models/operations/v3globaldataassetcertificatelist.ts +0 -259
- package/src/models/operations/v3globaldataassethostlist.ts +0 -233
- package/src/models/operations/v3globaldataassetwebpropertylist.ts +0 -259
- package/src/models/operations/v3globaldatagethostobservationswithcertificate.ts +0 -317
|
@@ -1,94 +0,0 @@
|
|
|
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 V3GlobaldataAssetHostListGlobals = {
|
|
6
|
-
organizationId?: string | undefined;
|
|
7
|
-
};
|
|
8
|
-
export type V3GlobaldataAssetHostListRequest = {
|
|
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
|
-
* A list of host IP addresses.
|
|
15
|
-
*/
|
|
16
|
-
hostIds: Array<string> | null;
|
|
17
|
-
};
|
|
18
|
-
export type V3GlobaldataAssetHostListResponse = {
|
|
19
|
-
headers: {
|
|
20
|
-
[k: string]: Array<string>;
|
|
21
|
-
};
|
|
22
|
-
result: components.ResponseEnvelopeListHostAsset;
|
|
23
|
-
};
|
|
24
|
-
/** @internal */
|
|
25
|
-
export declare const V3GlobaldataAssetHostListGlobals$inboundSchema: z.ZodType<V3GlobaldataAssetHostListGlobals, z.ZodTypeDef, unknown>;
|
|
26
|
-
/** @internal */
|
|
27
|
-
export type V3GlobaldataAssetHostListGlobals$Outbound = {
|
|
28
|
-
organization_id?: string | undefined;
|
|
29
|
-
};
|
|
30
|
-
/** @internal */
|
|
31
|
-
export declare const V3GlobaldataAssetHostListGlobals$outboundSchema: z.ZodType<V3GlobaldataAssetHostListGlobals$Outbound, z.ZodTypeDef, V3GlobaldataAssetHostListGlobals>;
|
|
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 V3GlobaldataAssetHostListGlobals$ {
|
|
37
|
-
/** @deprecated use `V3GlobaldataAssetHostListGlobals$inboundSchema` instead. */
|
|
38
|
-
const inboundSchema: z.ZodType<V3GlobaldataAssetHostListGlobals, z.ZodTypeDef, unknown>;
|
|
39
|
-
/** @deprecated use `V3GlobaldataAssetHostListGlobals$outboundSchema` instead. */
|
|
40
|
-
const outboundSchema: z.ZodType<V3GlobaldataAssetHostListGlobals$Outbound, z.ZodTypeDef, V3GlobaldataAssetHostListGlobals>;
|
|
41
|
-
/** @deprecated use `V3GlobaldataAssetHostListGlobals$Outbound` instead. */
|
|
42
|
-
type Outbound = V3GlobaldataAssetHostListGlobals$Outbound;
|
|
43
|
-
}
|
|
44
|
-
export declare function v3GlobaldataAssetHostListGlobalsToJSON(v3GlobaldataAssetHostListGlobals: V3GlobaldataAssetHostListGlobals): string;
|
|
45
|
-
export declare function v3GlobaldataAssetHostListGlobalsFromJSON(jsonString: string): SafeParseResult<V3GlobaldataAssetHostListGlobals, SDKValidationError>;
|
|
46
|
-
/** @internal */
|
|
47
|
-
export declare const V3GlobaldataAssetHostListRequest$inboundSchema: z.ZodType<V3GlobaldataAssetHostListRequest, z.ZodTypeDef, unknown>;
|
|
48
|
-
/** @internal */
|
|
49
|
-
export type V3GlobaldataAssetHostListRequest$Outbound = {
|
|
50
|
-
organization_id?: string | undefined;
|
|
51
|
-
host_ids: Array<string> | null;
|
|
52
|
-
};
|
|
53
|
-
/** @internal */
|
|
54
|
-
export declare const V3GlobaldataAssetHostListRequest$outboundSchema: z.ZodType<V3GlobaldataAssetHostListRequest$Outbound, z.ZodTypeDef, V3GlobaldataAssetHostListRequest>;
|
|
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 V3GlobaldataAssetHostListRequest$ {
|
|
60
|
-
/** @deprecated use `V3GlobaldataAssetHostListRequest$inboundSchema` instead. */
|
|
61
|
-
const inboundSchema: z.ZodType<V3GlobaldataAssetHostListRequest, z.ZodTypeDef, unknown>;
|
|
62
|
-
/** @deprecated use `V3GlobaldataAssetHostListRequest$outboundSchema` instead. */
|
|
63
|
-
const outboundSchema: z.ZodType<V3GlobaldataAssetHostListRequest$Outbound, z.ZodTypeDef, V3GlobaldataAssetHostListRequest>;
|
|
64
|
-
/** @deprecated use `V3GlobaldataAssetHostListRequest$Outbound` instead. */
|
|
65
|
-
type Outbound = V3GlobaldataAssetHostListRequest$Outbound;
|
|
66
|
-
}
|
|
67
|
-
export declare function v3GlobaldataAssetHostListRequestToJSON(v3GlobaldataAssetHostListRequest: V3GlobaldataAssetHostListRequest): string;
|
|
68
|
-
export declare function v3GlobaldataAssetHostListRequestFromJSON(jsonString: string): SafeParseResult<V3GlobaldataAssetHostListRequest, SDKValidationError>;
|
|
69
|
-
/** @internal */
|
|
70
|
-
export declare const V3GlobaldataAssetHostListResponse$inboundSchema: z.ZodType<V3GlobaldataAssetHostListResponse, z.ZodTypeDef, unknown>;
|
|
71
|
-
/** @internal */
|
|
72
|
-
export type V3GlobaldataAssetHostListResponse$Outbound = {
|
|
73
|
-
Headers: {
|
|
74
|
-
[k: string]: Array<string>;
|
|
75
|
-
};
|
|
76
|
-
Result: components.ResponseEnvelopeListHostAsset$Outbound;
|
|
77
|
-
};
|
|
78
|
-
/** @internal */
|
|
79
|
-
export declare const V3GlobaldataAssetHostListResponse$outboundSchema: z.ZodType<V3GlobaldataAssetHostListResponse$Outbound, z.ZodTypeDef, V3GlobaldataAssetHostListResponse>;
|
|
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 V3GlobaldataAssetHostListResponse$ {
|
|
85
|
-
/** @deprecated use `V3GlobaldataAssetHostListResponse$inboundSchema` instead. */
|
|
86
|
-
const inboundSchema: z.ZodType<V3GlobaldataAssetHostListResponse, z.ZodTypeDef, unknown>;
|
|
87
|
-
/** @deprecated use `V3GlobaldataAssetHostListResponse$outboundSchema` instead. */
|
|
88
|
-
const outboundSchema: z.ZodType<V3GlobaldataAssetHostListResponse$Outbound, z.ZodTypeDef, V3GlobaldataAssetHostListResponse>;
|
|
89
|
-
/** @deprecated use `V3GlobaldataAssetHostListResponse$Outbound` instead. */
|
|
90
|
-
type Outbound = V3GlobaldataAssetHostListResponse$Outbound;
|
|
91
|
-
}
|
|
92
|
-
export declare function v3GlobaldataAssetHostListResponseToJSON(v3GlobaldataAssetHostListResponse: V3GlobaldataAssetHostListResponse): string;
|
|
93
|
-
export declare function v3GlobaldataAssetHostListResponseFromJSON(jsonString: string): SafeParseResult<V3GlobaldataAssetHostListResponse, SDKValidationError>;
|
|
94
|
-
//# sourceMappingURL=v3globaldataassethostlist.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v3globaldataassethostlist.d.ts","sourceRoot":"","sources":["../../src/models/operations/v3globaldataassethostlist.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,gCAAgC,GAAG;IAC7C,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG;IAC9C,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,6BAA6B,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,yCAAyC,GAAG;IACtD,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,gCAAgC,CAOhC,CAAC;AAEH;;;GAGG;A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AAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,0CAA0C,GAAG;IACvD,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,sCAAsC,CAAC;CAC3D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,0CAA0C,EAC1C,CAAC,CAAC,UAAU,EACZ,iCAAiC,CASjC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kCAAkC,CAAC;IAClD,iFAAiF;IAC1E,MAAM,aAAa,qEAAkD,CAAC;IAC7E,kFAAkF;IAC3E,MAAM,cAAc,wGACuB,CAAC;IACnD,4EAA4E;IAC5E,KAAY,QAAQ,GAAG,0CAA0C,CAAC;CACnE;AAED,wBAAgB,uCAAuC,CACrD,iCAAiC,EAAE,iCAAiC,GACnE,MAAM,CAMR;AAED,wBAAgB,yCAAyC,CACvD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iCAAiC,EAAE,kBAAkB,CAAC,CAMxE"}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.V3GlobaldataAssetHostListResponse$ = exports.V3GlobaldataAssetHostListResponse$outboundSchema = exports.V3GlobaldataAssetHostListResponse$inboundSchema = exports.V3GlobaldataAssetHostListRequest$ = exports.V3GlobaldataAssetHostListRequest$outboundSchema = exports.V3GlobaldataAssetHostListRequest$inboundSchema = exports.V3GlobaldataAssetHostListGlobals$ = exports.V3GlobaldataAssetHostListGlobals$outboundSchema = exports.V3GlobaldataAssetHostListGlobals$inboundSchema = void 0;
|
|
40
|
-
exports.v3GlobaldataAssetHostListGlobalsToJSON = v3GlobaldataAssetHostListGlobalsToJSON;
|
|
41
|
-
exports.v3GlobaldataAssetHostListGlobalsFromJSON = v3GlobaldataAssetHostListGlobalsFromJSON;
|
|
42
|
-
exports.v3GlobaldataAssetHostListRequestToJSON = v3GlobaldataAssetHostListRequestToJSON;
|
|
43
|
-
exports.v3GlobaldataAssetHostListRequestFromJSON = v3GlobaldataAssetHostListRequestFromJSON;
|
|
44
|
-
exports.v3GlobaldataAssetHostListResponseToJSON = v3GlobaldataAssetHostListResponseToJSON;
|
|
45
|
-
exports.v3GlobaldataAssetHostListResponseFromJSON = v3GlobaldataAssetHostListResponseFromJSON;
|
|
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.V3GlobaldataAssetHostListGlobals$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.V3GlobaldataAssetHostListGlobals$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 V3GlobaldataAssetHostListGlobals$;
|
|
71
|
-
(function (V3GlobaldataAssetHostListGlobals$) {
|
|
72
|
-
/** @deprecated use `V3GlobaldataAssetHostListGlobals$inboundSchema` instead. */
|
|
73
|
-
V3GlobaldataAssetHostListGlobals$.inboundSchema = exports.V3GlobaldataAssetHostListGlobals$inboundSchema;
|
|
74
|
-
/** @deprecated use `V3GlobaldataAssetHostListGlobals$outboundSchema` instead. */
|
|
75
|
-
V3GlobaldataAssetHostListGlobals$.outboundSchema = exports.V3GlobaldataAssetHostListGlobals$outboundSchema;
|
|
76
|
-
})(V3GlobaldataAssetHostListGlobals$ || (exports.V3GlobaldataAssetHostListGlobals$ = V3GlobaldataAssetHostListGlobals$ = {}));
|
|
77
|
-
function v3GlobaldataAssetHostListGlobalsToJSON(v3GlobaldataAssetHostListGlobals) {
|
|
78
|
-
return JSON.stringify(exports.V3GlobaldataAssetHostListGlobals$outboundSchema.parse(v3GlobaldataAssetHostListGlobals));
|
|
79
|
-
}
|
|
80
|
-
function v3GlobaldataAssetHostListGlobalsFromJSON(jsonString) {
|
|
81
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3GlobaldataAssetHostListGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'V3GlobaldataAssetHostListGlobals' from JSON`);
|
|
82
|
-
}
|
|
83
|
-
/** @internal */
|
|
84
|
-
exports.V3GlobaldataAssetHostListRequest$inboundSchema = z.object({
|
|
85
|
-
organization_id: z.string().optional(),
|
|
86
|
-
host_ids: z.nullable(z.array(z.string())),
|
|
87
|
-
}).transform((v) => {
|
|
88
|
-
return (0, primitives_js_1.remap)(v, {
|
|
89
|
-
"organization_id": "organizationId",
|
|
90
|
-
"host_ids": "hostIds",
|
|
91
|
-
});
|
|
92
|
-
});
|
|
93
|
-
/** @internal */
|
|
94
|
-
exports.V3GlobaldataAssetHostListRequest$outboundSchema = z.object({
|
|
95
|
-
organizationId: z.string().optional(),
|
|
96
|
-
hostIds: z.nullable(z.array(z.string())),
|
|
97
|
-
}).transform((v) => {
|
|
98
|
-
return (0, primitives_js_1.remap)(v, {
|
|
99
|
-
organizationId: "organization_id",
|
|
100
|
-
hostIds: "host_ids",
|
|
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 V3GlobaldataAssetHostListRequest$;
|
|
108
|
-
(function (V3GlobaldataAssetHostListRequest$) {
|
|
109
|
-
/** @deprecated use `V3GlobaldataAssetHostListRequest$inboundSchema` instead. */
|
|
110
|
-
V3GlobaldataAssetHostListRequest$.inboundSchema = exports.V3GlobaldataAssetHostListRequest$inboundSchema;
|
|
111
|
-
/** @deprecated use `V3GlobaldataAssetHostListRequest$outboundSchema` instead. */
|
|
112
|
-
V3GlobaldataAssetHostListRequest$.outboundSchema = exports.V3GlobaldataAssetHostListRequest$outboundSchema;
|
|
113
|
-
})(V3GlobaldataAssetHostListRequest$ || (exports.V3GlobaldataAssetHostListRequest$ = V3GlobaldataAssetHostListRequest$ = {}));
|
|
114
|
-
function v3GlobaldataAssetHostListRequestToJSON(v3GlobaldataAssetHostListRequest) {
|
|
115
|
-
return JSON.stringify(exports.V3GlobaldataAssetHostListRequest$outboundSchema.parse(v3GlobaldataAssetHostListRequest));
|
|
116
|
-
}
|
|
117
|
-
function v3GlobaldataAssetHostListRequestFromJSON(jsonString) {
|
|
118
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3GlobaldataAssetHostListRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'V3GlobaldataAssetHostListRequest' from JSON`);
|
|
119
|
-
}
|
|
120
|
-
/** @internal */
|
|
121
|
-
exports.V3GlobaldataAssetHostListResponse$inboundSchema = z.object({
|
|
122
|
-
Headers: z.record(z.array(z.string())),
|
|
123
|
-
Result: components.ResponseEnvelopeListHostAsset$inboundSchema,
|
|
124
|
-
}).transform((v) => {
|
|
125
|
-
return (0, primitives_js_1.remap)(v, {
|
|
126
|
-
"Headers": "headers",
|
|
127
|
-
"Result": "result",
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
/** @internal */
|
|
131
|
-
exports.V3GlobaldataAssetHostListResponse$outboundSchema = z.object({
|
|
132
|
-
headers: z.record(z.array(z.string())),
|
|
133
|
-
result: components.ResponseEnvelopeListHostAsset$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 V3GlobaldataAssetHostListResponse$;
|
|
145
|
-
(function (V3GlobaldataAssetHostListResponse$) {
|
|
146
|
-
/** @deprecated use `V3GlobaldataAssetHostListResponse$inboundSchema` instead. */
|
|
147
|
-
V3GlobaldataAssetHostListResponse$.inboundSchema = exports.V3GlobaldataAssetHostListResponse$inboundSchema;
|
|
148
|
-
/** @deprecated use `V3GlobaldataAssetHostListResponse$outboundSchema` instead. */
|
|
149
|
-
V3GlobaldataAssetHostListResponse$.outboundSchema = exports.V3GlobaldataAssetHostListResponse$outboundSchema;
|
|
150
|
-
})(V3GlobaldataAssetHostListResponse$ || (exports.V3GlobaldataAssetHostListResponse$ = V3GlobaldataAssetHostListResponse$ = {}));
|
|
151
|
-
function v3GlobaldataAssetHostListResponseToJSON(v3GlobaldataAssetHostListResponse) {
|
|
152
|
-
return JSON.stringify(exports.V3GlobaldataAssetHostListResponse$outboundSchema.parse(v3GlobaldataAssetHostListResponse));
|
|
153
|
-
}
|
|
154
|
-
function v3GlobaldataAssetHostListResponseFromJSON(jsonString) {
|
|
155
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3GlobaldataAssetHostListResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'V3GlobaldataAssetHostListResponse' from JSON`);
|
|
156
|
-
}
|
|
157
|
-
//# sourceMappingURL=v3globaldataassethostlist.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v3globaldataassethostlist.js","sourceRoot":"","sources":["../../src/models/operations/v3globaldataassethostlist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;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AAlC,kCAAkC,QAQlD;AAED,SAAgB,uCAAuC,CACrD,iCAAoE;IAEpE,OAAO,IAAI,CAAC,SAAS,CACnB,wDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,yCAAyC,CACvD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uDAA+C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,+DAA+D,CAChE,CAAC;AACJ,CAAC"}
|
|
@@ -1,94 +0,0 @@
|
|
|
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 V3GlobaldataAssetWebpropertyListGlobals = {
|
|
6
|
-
organizationId?: string | undefined;
|
|
7
|
-
};
|
|
8
|
-
export type V3GlobaldataAssetWebpropertyListRequest = {
|
|
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
|
-
* A list of web property identifiers.
|
|
15
|
-
*/
|
|
16
|
-
webpropertyIds: Array<string> | null;
|
|
17
|
-
};
|
|
18
|
-
export type V3GlobaldataAssetWebpropertyListResponse = {
|
|
19
|
-
headers: {
|
|
20
|
-
[k: string]: Array<string>;
|
|
21
|
-
};
|
|
22
|
-
result: components.ResponseEnvelopeListWebpropertyAsset;
|
|
23
|
-
};
|
|
24
|
-
/** @internal */
|
|
25
|
-
export declare const V3GlobaldataAssetWebpropertyListGlobals$inboundSchema: z.ZodType<V3GlobaldataAssetWebpropertyListGlobals, z.ZodTypeDef, unknown>;
|
|
26
|
-
/** @internal */
|
|
27
|
-
export type V3GlobaldataAssetWebpropertyListGlobals$Outbound = {
|
|
28
|
-
organization_id?: string | undefined;
|
|
29
|
-
};
|
|
30
|
-
/** @internal */
|
|
31
|
-
export declare const V3GlobaldataAssetWebpropertyListGlobals$outboundSchema: z.ZodType<V3GlobaldataAssetWebpropertyListGlobals$Outbound, z.ZodTypeDef, V3GlobaldataAssetWebpropertyListGlobals>;
|
|
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 V3GlobaldataAssetWebpropertyListGlobals$ {
|
|
37
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListGlobals$inboundSchema` instead. */
|
|
38
|
-
const inboundSchema: z.ZodType<V3GlobaldataAssetWebpropertyListGlobals, z.ZodTypeDef, unknown>;
|
|
39
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListGlobals$outboundSchema` instead. */
|
|
40
|
-
const outboundSchema: z.ZodType<V3GlobaldataAssetWebpropertyListGlobals$Outbound, z.ZodTypeDef, V3GlobaldataAssetWebpropertyListGlobals>;
|
|
41
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListGlobals$Outbound` instead. */
|
|
42
|
-
type Outbound = V3GlobaldataAssetWebpropertyListGlobals$Outbound;
|
|
43
|
-
}
|
|
44
|
-
export declare function v3GlobaldataAssetWebpropertyListGlobalsToJSON(v3GlobaldataAssetWebpropertyListGlobals: V3GlobaldataAssetWebpropertyListGlobals): string;
|
|
45
|
-
export declare function v3GlobaldataAssetWebpropertyListGlobalsFromJSON(jsonString: string): SafeParseResult<V3GlobaldataAssetWebpropertyListGlobals, SDKValidationError>;
|
|
46
|
-
/** @internal */
|
|
47
|
-
export declare const V3GlobaldataAssetWebpropertyListRequest$inboundSchema: z.ZodType<V3GlobaldataAssetWebpropertyListRequest, z.ZodTypeDef, unknown>;
|
|
48
|
-
/** @internal */
|
|
49
|
-
export type V3GlobaldataAssetWebpropertyListRequest$Outbound = {
|
|
50
|
-
organization_id?: string | undefined;
|
|
51
|
-
webproperty_ids: Array<string> | null;
|
|
52
|
-
};
|
|
53
|
-
/** @internal */
|
|
54
|
-
export declare const V3GlobaldataAssetWebpropertyListRequest$outboundSchema: z.ZodType<V3GlobaldataAssetWebpropertyListRequest$Outbound, z.ZodTypeDef, V3GlobaldataAssetWebpropertyListRequest>;
|
|
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 V3GlobaldataAssetWebpropertyListRequest$ {
|
|
60
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListRequest$inboundSchema` instead. */
|
|
61
|
-
const inboundSchema: z.ZodType<V3GlobaldataAssetWebpropertyListRequest, z.ZodTypeDef, unknown>;
|
|
62
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListRequest$outboundSchema` instead. */
|
|
63
|
-
const outboundSchema: z.ZodType<V3GlobaldataAssetWebpropertyListRequest$Outbound, z.ZodTypeDef, V3GlobaldataAssetWebpropertyListRequest>;
|
|
64
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListRequest$Outbound` instead. */
|
|
65
|
-
type Outbound = V3GlobaldataAssetWebpropertyListRequest$Outbound;
|
|
66
|
-
}
|
|
67
|
-
export declare function v3GlobaldataAssetWebpropertyListRequestToJSON(v3GlobaldataAssetWebpropertyListRequest: V3GlobaldataAssetWebpropertyListRequest): string;
|
|
68
|
-
export declare function v3GlobaldataAssetWebpropertyListRequestFromJSON(jsonString: string): SafeParseResult<V3GlobaldataAssetWebpropertyListRequest, SDKValidationError>;
|
|
69
|
-
/** @internal */
|
|
70
|
-
export declare const V3GlobaldataAssetWebpropertyListResponse$inboundSchema: z.ZodType<V3GlobaldataAssetWebpropertyListResponse, z.ZodTypeDef, unknown>;
|
|
71
|
-
/** @internal */
|
|
72
|
-
export type V3GlobaldataAssetWebpropertyListResponse$Outbound = {
|
|
73
|
-
Headers: {
|
|
74
|
-
[k: string]: Array<string>;
|
|
75
|
-
};
|
|
76
|
-
Result: components.ResponseEnvelopeListWebpropertyAsset$Outbound;
|
|
77
|
-
};
|
|
78
|
-
/** @internal */
|
|
79
|
-
export declare const V3GlobaldataAssetWebpropertyListResponse$outboundSchema: z.ZodType<V3GlobaldataAssetWebpropertyListResponse$Outbound, z.ZodTypeDef, V3GlobaldataAssetWebpropertyListResponse>;
|
|
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 V3GlobaldataAssetWebpropertyListResponse$ {
|
|
85
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListResponse$inboundSchema` instead. */
|
|
86
|
-
const inboundSchema: z.ZodType<V3GlobaldataAssetWebpropertyListResponse, z.ZodTypeDef, unknown>;
|
|
87
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListResponse$outboundSchema` instead. */
|
|
88
|
-
const outboundSchema: z.ZodType<V3GlobaldataAssetWebpropertyListResponse$Outbound, z.ZodTypeDef, V3GlobaldataAssetWebpropertyListResponse>;
|
|
89
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListResponse$Outbound` instead. */
|
|
90
|
-
type Outbound = V3GlobaldataAssetWebpropertyListResponse$Outbound;
|
|
91
|
-
}
|
|
92
|
-
export declare function v3GlobaldataAssetWebpropertyListResponseToJSON(v3GlobaldataAssetWebpropertyListResponse: V3GlobaldataAssetWebpropertyListResponse): string;
|
|
93
|
-
export declare function v3GlobaldataAssetWebpropertyListResponseFromJSON(jsonString: string): SafeParseResult<V3GlobaldataAssetWebpropertyListResponse, SDKValidationError>;
|
|
94
|
-
//# sourceMappingURL=v3globaldataassetwebpropertylist.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v3globa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E,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,6CAA6C,CAAC;CAClE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uDAAuD,EAAE,CAAC,CAAC,OAAO,CAC7E,iDAAiD,EACjD,CAAC,CAAC,UAAU,EACZ,wCAAwC,CASxC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,yCAAyC,CAAC;IACzD,wFAAwF;IACjF,MAAM,aAAa,4EAC8B,CAAC;IACzD,yFAAyF;IAClF,MAAM,cAAc,sHAC8B,CAAC;IAC1D,mFAAmF;IACnF,KAAY,QAAQ,GAAG,iDAAiD,CAAC;CAC1E;AAED,wBAAgB,8CAA8C,CAC5D,wCAAwC,EACtC,wCAAwC,GACzC,MAAM,CAMR;AAED,wBAAgB,gDAAgD,CAC9D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,wCAAwC,EACxC,kBAAkB,CACnB,CASA"}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.V3GlobaldataAssetWebpropertyListResponse$ = exports.V3GlobaldataAssetWebpropertyListResponse$outboundSchema = exports.V3GlobaldataAssetWebpropertyListResponse$inboundSchema = exports.V3GlobaldataAssetWebpropertyListRequest$ = exports.V3GlobaldataAssetWebpropertyListRequest$outboundSchema = exports.V3GlobaldataAssetWebpropertyListRequest$inboundSchema = exports.V3GlobaldataAssetWebpropertyListGlobals$ = exports.V3GlobaldataAssetWebpropertyListGlobals$outboundSchema = exports.V3GlobaldataAssetWebpropertyListGlobals$inboundSchema = void 0;
|
|
40
|
-
exports.v3GlobaldataAssetWebpropertyListGlobalsToJSON = v3GlobaldataAssetWebpropertyListGlobalsToJSON;
|
|
41
|
-
exports.v3GlobaldataAssetWebpropertyListGlobalsFromJSON = v3GlobaldataAssetWebpropertyListGlobalsFromJSON;
|
|
42
|
-
exports.v3GlobaldataAssetWebpropertyListRequestToJSON = v3GlobaldataAssetWebpropertyListRequestToJSON;
|
|
43
|
-
exports.v3GlobaldataAssetWebpropertyListRequestFromJSON = v3GlobaldataAssetWebpropertyListRequestFromJSON;
|
|
44
|
-
exports.v3GlobaldataAssetWebpropertyListResponseToJSON = v3GlobaldataAssetWebpropertyListResponseToJSON;
|
|
45
|
-
exports.v3GlobaldataAssetWebpropertyListResponseFromJSON = v3GlobaldataAssetWebpropertyListResponseFromJSON;
|
|
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.V3GlobaldataAssetWebpropertyListGlobals$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.V3GlobaldataAssetWebpropertyListGlobals$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 V3GlobaldataAssetWebpropertyListGlobals$;
|
|
71
|
-
(function (V3GlobaldataAssetWebpropertyListGlobals$) {
|
|
72
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListGlobals$inboundSchema` instead. */
|
|
73
|
-
V3GlobaldataAssetWebpropertyListGlobals$.inboundSchema = exports.V3GlobaldataAssetWebpropertyListGlobals$inboundSchema;
|
|
74
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListGlobals$outboundSchema` instead. */
|
|
75
|
-
V3GlobaldataAssetWebpropertyListGlobals$.outboundSchema = exports.V3GlobaldataAssetWebpropertyListGlobals$outboundSchema;
|
|
76
|
-
})(V3GlobaldataAssetWebpropertyListGlobals$ || (exports.V3GlobaldataAssetWebpropertyListGlobals$ = V3GlobaldataAssetWebpropertyListGlobals$ = {}));
|
|
77
|
-
function v3GlobaldataAssetWebpropertyListGlobalsToJSON(v3GlobaldataAssetWebpropertyListGlobals) {
|
|
78
|
-
return JSON.stringify(exports.V3GlobaldataAssetWebpropertyListGlobals$outboundSchema.parse(v3GlobaldataAssetWebpropertyListGlobals));
|
|
79
|
-
}
|
|
80
|
-
function v3GlobaldataAssetWebpropertyListGlobalsFromJSON(jsonString) {
|
|
81
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3GlobaldataAssetWebpropertyListGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'V3GlobaldataAssetWebpropertyListGlobals' from JSON`);
|
|
82
|
-
}
|
|
83
|
-
/** @internal */
|
|
84
|
-
exports.V3GlobaldataAssetWebpropertyListRequest$inboundSchema = z.object({
|
|
85
|
-
organization_id: z.string().optional(),
|
|
86
|
-
webproperty_ids: z.nullable(z.array(z.string())),
|
|
87
|
-
}).transform((v) => {
|
|
88
|
-
return (0, primitives_js_1.remap)(v, {
|
|
89
|
-
"organization_id": "organizationId",
|
|
90
|
-
"webproperty_ids": "webpropertyIds",
|
|
91
|
-
});
|
|
92
|
-
});
|
|
93
|
-
/** @internal */
|
|
94
|
-
exports.V3GlobaldataAssetWebpropertyListRequest$outboundSchema = z.object({
|
|
95
|
-
organizationId: z.string().optional(),
|
|
96
|
-
webpropertyIds: z.nullable(z.array(z.string())),
|
|
97
|
-
}).transform((v) => {
|
|
98
|
-
return (0, primitives_js_1.remap)(v, {
|
|
99
|
-
organizationId: "organization_id",
|
|
100
|
-
webpropertyIds: "webproperty_ids",
|
|
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 V3GlobaldataAssetWebpropertyListRequest$;
|
|
108
|
-
(function (V3GlobaldataAssetWebpropertyListRequest$) {
|
|
109
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListRequest$inboundSchema` instead. */
|
|
110
|
-
V3GlobaldataAssetWebpropertyListRequest$.inboundSchema = exports.V3GlobaldataAssetWebpropertyListRequest$inboundSchema;
|
|
111
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListRequest$outboundSchema` instead. */
|
|
112
|
-
V3GlobaldataAssetWebpropertyListRequest$.outboundSchema = exports.V3GlobaldataAssetWebpropertyListRequest$outboundSchema;
|
|
113
|
-
})(V3GlobaldataAssetWebpropertyListRequest$ || (exports.V3GlobaldataAssetWebpropertyListRequest$ = V3GlobaldataAssetWebpropertyListRequest$ = {}));
|
|
114
|
-
function v3GlobaldataAssetWebpropertyListRequestToJSON(v3GlobaldataAssetWebpropertyListRequest) {
|
|
115
|
-
return JSON.stringify(exports.V3GlobaldataAssetWebpropertyListRequest$outboundSchema.parse(v3GlobaldataAssetWebpropertyListRequest));
|
|
116
|
-
}
|
|
117
|
-
function v3GlobaldataAssetWebpropertyListRequestFromJSON(jsonString) {
|
|
118
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3GlobaldataAssetWebpropertyListRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'V3GlobaldataAssetWebpropertyListRequest' from JSON`);
|
|
119
|
-
}
|
|
120
|
-
/** @internal */
|
|
121
|
-
exports.V3GlobaldataAssetWebpropertyListResponse$inboundSchema = z.object({
|
|
122
|
-
Headers: z.record(z.array(z.string())),
|
|
123
|
-
Result: components.ResponseEnvelopeListWebpropertyAsset$inboundSchema,
|
|
124
|
-
}).transform((v) => {
|
|
125
|
-
return (0, primitives_js_1.remap)(v, {
|
|
126
|
-
"Headers": "headers",
|
|
127
|
-
"Result": "result",
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
/** @internal */
|
|
131
|
-
exports.V3GlobaldataAssetWebpropertyListResponse$outboundSchema = z.object({
|
|
132
|
-
headers: z.record(z.array(z.string())),
|
|
133
|
-
result: components.ResponseEnvelopeListWebpropertyAsset$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 V3GlobaldataAssetWebpropertyListResponse$;
|
|
145
|
-
(function (V3GlobaldataAssetWebpropertyListResponse$) {
|
|
146
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListResponse$inboundSchema` instead. */
|
|
147
|
-
V3GlobaldataAssetWebpropertyListResponse$.inboundSchema = exports.V3GlobaldataAssetWebpropertyListResponse$inboundSchema;
|
|
148
|
-
/** @deprecated use `V3GlobaldataAssetWebpropertyListResponse$outboundSchema` instead. */
|
|
149
|
-
V3GlobaldataAssetWebpropertyListResponse$.outboundSchema = exports.V3GlobaldataAssetWebpropertyListResponse$outboundSchema;
|
|
150
|
-
})(V3GlobaldataAssetWebpropertyListResponse$ || (exports.V3GlobaldataAssetWebpropertyListResponse$ = V3GlobaldataAssetWebpropertyListResponse$ = {}));
|
|
151
|
-
function v3GlobaldataAssetWebpropertyListResponseToJSON(v3GlobaldataAssetWebpropertyListResponse) {
|
|
152
|
-
return JSON.stringify(exports.V3GlobaldataAssetWebpropertyListResponse$outboundSchema.parse(v3GlobaldataAssetWebpropertyListResponse));
|
|
153
|
-
}
|
|
154
|
-
function v3GlobaldataAssetWebpropertyListResponseFromJSON(jsonString) {
|
|
155
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3GlobaldataAssetWebpropertyListResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'V3GlobaldataAssetWebpropertyListResponse' from JSON`);
|
|
156
|
-
}
|
|
157
|
-
//# sourceMappingURL=v3globaldataassetwebpropertylist.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v3globaldataassetwebpropertylist.js","sourceRoot":"","sources":["../../src/models/operations/v3globaldataassetwebpropertylist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EH,sGASC;AAED,0GAcC;AAqDD,sGASC;AAED,0GAcC;AAqDD,wGASC;AAED,4GAcC;AA9PD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAuBrD,gBAAgB;AACH,QAAA,qDAAqD,GAI9D,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,sDAAsD,GAI/D,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,wCAAwC,CASxD;AATD,WAAiB,wCAAwC;IACvD,uFAAuF;IAC1E,sDAAa,GACxB,6DAAqD,CAAC;IACxD,wFAAwF;IAC3E,uDAAc,GACzB,8DA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