@censys/platform-sdk 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/docs/sdks/collections/README.md +8 -0
- package/docs/sdks/globaldata/README.md +91 -0
- package/funcs/collectionsList.js +1 -0
- package/funcs/collectionsList.js.map +1 -1
- package/funcs/globalDataListServicesOnHost.d.ts +18 -0
- package/funcs/globalDataListServicesOnHost.d.ts.map +1 -0
- package/funcs/globalDataListServicesOnHost.js +145 -0
- package/funcs/globalDataListServicesOnHost.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/lib/config.js.map +1 -1
- package/models/components/anermacfforth.d.ts +14 -0
- package/models/components/anermacfforth.d.ts.map +1 -0
- package/models/components/anermacfforth.js +60 -0
- package/models/components/anermacfforth.js.map +1 -0
- package/models/components/cursorontarget.d.ts +11 -0
- package/models/components/cursorontarget.d.ts.map +1 -0
- package/models/components/cursorontarget.js +51 -0
- package/models/components/cursorontarget.js.map +1 -0
- package/models/components/cursorontargetevent.d.ts +25 -0
- package/models/components/cursorontargetevent.d.ts.map +1 -0
- package/models/components/cursorontargetevent.js +70 -0
- package/models/components/cursorontargetevent.js.map +1 -0
- package/models/components/cursorontargetpoint.d.ts +14 -0
- package/models/components/cursorontargetpoint.d.ts.map +1 -0
- package/models/components/cursorontargetpoint.js +54 -0
- package/models/components/cursorontargetpoint.js.map +1 -0
- package/models/components/cursorontargetstatus.d.ts +10 -0
- package/models/components/cursorontargetstatus.d.ts.map +1 -0
- package/models/components/cursorontargetstatus.js +50 -0
- package/models/components/cursorontargetstatus.js.map +1 -0
- package/models/components/cursorontargettakv.d.ts +13 -0
- package/models/components/cursorontargettakv.d.ts.map +1 -0
- package/models/components/cursorontargettakv.js +53 -0
- package/models/components/cursorontargettakv.js.map +1 -0
- package/models/components/frps.d.ts +12 -0
- package/models/components/frps.d.ts.map +1 -0
- package/models/components/frps.js +58 -0
- package/models/components/frps.js.map +1 -0
- package/models/components/icap.d.ts +11 -0
- package/models/components/icap.d.ts.map +1 -0
- package/models/components/icap.js +57 -0
- package/models/components/icap.js.map +1 -0
- package/models/components/icapoptionsresponse.d.ts +21 -0
- package/models/components/icapoptionsresponse.d.ts.map +1 -0
- package/models/components/icapoptionsresponse.js +73 -0
- package/models/components/icapoptionsresponse.js.map +1 -0
- package/models/components/index.d.ts +19 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +19 -0
- package/models/components/index.js.map +1 -1
- package/models/components/responseenvelopeservicesonhostresponse.d.ts +11 -0
- package/models/components/responseenvelopeservicesonhostresponse.d.ts.map +1 -0
- package/models/components/responseenvelopeservicesonhostresponse.js +51 -0
- package/models/components/responseenvelopeservicesonhostresponse.js.map +1 -0
- package/models/components/service.d.ts +10 -0
- package/models/components/service.d.ts.map +1 -1
- package/models/components/service.js +12 -0
- package/models/components/service.js.map +1 -1
- package/models/components/serviceonhostrange.d.ts +33 -0
- package/models/components/serviceonhostrange.d.ts.map +1 -0
- package/models/components/serviceonhostrange.js +62 -0
- package/models/components/serviceonhostrange.js.map +1 -0
- package/models/components/servicescan.d.ts +10 -0
- package/models/components/servicescan.d.ts.map +1 -1
- package/models/components/servicescan.js +12 -0
- package/models/components/servicescan.js.map +1 -1
- package/models/components/servicesonhostresponse.d.ts +12 -0
- package/models/components/servicesonhostresponse.d.ts.map +1 -0
- package/models/components/servicesonhostresponse.js +58 -0
- package/models/components/servicesonhostresponse.js.map +1 -0
- package/models/components/sourceusagebreakdown.d.ts +2 -2
- package/models/components/sourceusagebreakdown.d.ts.map +1 -1
- package/models/components/sourceusagebreakdown.js +2 -2
- package/models/components/sourceusagebreakdown.js.map +1 -1
- package/models/components/stun.d.ts +17 -0
- package/models/components/stun.d.ts.map +1 -0
- package/models/components/stun.js +67 -0
- package/models/components/stun.js.map +1 -0
- package/models/components/stunbindingerrorresponse.d.ts +13 -0
- package/models/components/stunbindingerrorresponse.d.ts.map +1 -0
- package/models/components/stunbindingerrorresponse.js +60 -0
- package/models/components/stunbindingerrorresponse.js.map +1 -0
- package/models/components/stunbindingsuccessresponse.d.ts +13 -0
- package/models/components/stunbindingsuccessresponse.d.ts.map +1 -0
- package/models/components/stunbindingsuccessresponse.js +59 -0
- package/models/components/stunbindingsuccessresponse.js.map +1 -0
- package/models/components/stunmappedaddress.d.ts +11 -0
- package/models/components/stunmappedaddress.d.ts.map +1 -0
- package/models/components/stunmappedaddress.js +51 -0
- package/models/components/stunmappedaddress.js.map +1 -0
- package/models/components/stunturn.d.ts +15 -0
- package/models/components/stunturn.d.ts.map +1 -0
- package/models/components/stunturn.js +65 -0
- package/models/components/stunturn.js.map +1 -0
- package/models/components/stunturnallocateerrorresponse.d.ts +15 -0
- package/models/components/stunturnallocateerrorresponse.d.ts.map +1 -0
- package/models/components/stunturnallocateerrorresponse.js +62 -0
- package/models/components/stunturnallocateerrorresponse.js.map +1 -0
- package/models/components/stunturnallocatesuccessresponse.d.ts +13 -0
- package/models/components/stunturnallocatesuccessresponse.d.ts.map +1 -0
- package/models/components/stunturnallocatesuccessresponse.js +59 -0
- package/models/components/stunturnallocatesuccessresponse.js.map +1 -0
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/v3collectionscrudlist.d.ts +15 -0
- package/models/operations/v3collectionscrudlist.d.ts.map +1 -1
- package/models/operations/v3collectionscrudlist.js +12 -1
- package/models/operations/v3collectionscrudlist.js.map +1 -1
- package/models/operations/v3globaldataserviceonhost.d.ts +101 -0
- package/models/operations/v3globaldataserviceonhost.d.ts.map +1 -0
- package/models/operations/v3globaldataserviceonhost.js +107 -0
- package/models/operations/v3globaldataserviceonhost.js.map +1 -0
- package/package.json +1 -1
- package/sdk/globaldata.d.ts +7 -0
- package/sdk/globaldata.d.ts.map +1 -1
- package/sdk/globaldata.js +10 -0
- package/sdk/globaldata.js.map +1 -1
- package/src/funcs/collectionsList.ts +1 -0
- package/src/funcs/globalDataListServicesOnHost.ts +206 -0
- package/src/lib/config.ts +4 -4
- package/src/models/components/anermacfforth.ts +45 -0
- package/src/models/components/cursorontarget.ts +35 -0
- package/src/models/components/cursorontargetevent.ts +72 -0
- package/src/models/components/cursorontargetpoint.ts +39 -0
- package/src/models/components/cursorontargetstatus.ts +31 -0
- package/src/models/components/cursorontargettakv.ts +37 -0
- package/src/models/components/frps.ts +37 -0
- package/src/models/components/icap.ts +37 -0
- package/src/models/components/icapoptionsresponse.ts +65 -0
- package/src/models/components/index.ts +19 -0
- package/src/models/components/responseenvelopeservicesonhostresponse.ts +36 -0
- package/src/models/components/service.ts +20 -0
- package/src/models/components/serviceonhostrange.ts +66 -0
- package/src/models/components/servicescan.ts +20 -0
- package/src/models/components/servicesonhostresponse.ts +43 -0
- package/src/models/components/sourceusagebreakdown.ts +4 -4
- package/src/models/components/stun.ts +54 -0
- package/src/models/components/stunbindingerrorresponse.ts +44 -0
- package/src/models/components/stunbindingsuccessresponse.ts +45 -0
- package/src/models/components/stunmappedaddress.ts +33 -0
- package/src/models/components/stunturn.ts +55 -0
- package/src/models/components/stunturnallocateerrorresponse.ts +48 -0
- package/src/models/components/stunturnallocatesuccessresponse.ts +45 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/v3collectionscrudlist.ts +22 -0
- package/src/models/operations/v3globaldataserviceonhost.ts +173 -0
- package/src/sdk/globaldata.ts +18 -0
- package/examples/package-lock.json +0 -610
- package/examples/package.json +0 -18
- package/tests/package-lock.json +0 -1448
- package/tests/package.json +0 -11
- package/tsconfig.json +0 -40
|
@@ -0,0 +1,70 @@
|
|
|
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.CursorOnTargetEvent$inboundSchema = void 0;
|
|
40
|
+
exports.cursorOnTargetEventFromJSON = cursorOnTargetEventFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const cursorontargetpoint_js_1 = require("./cursorontargetpoint.js");
|
|
45
|
+
const cursorontargetstatus_js_1 = require("./cursorontargetstatus.js");
|
|
46
|
+
const cursorontargettakv_js_1 = require("./cursorontargettakv.js");
|
|
47
|
+
/** @internal */
|
|
48
|
+
exports.CursorOnTargetEvent$inboundSchema = z.object({
|
|
49
|
+
callsign: z.string().optional(),
|
|
50
|
+
endpoint: z.string().optional(),
|
|
51
|
+
how: z.string().optional(),
|
|
52
|
+
point: cursorontargetpoint_js_1.CursorOnTargetPoint$inboundSchema.optional(),
|
|
53
|
+
stale: z.string().optional(),
|
|
54
|
+
start: z.string().optional(),
|
|
55
|
+
status: cursorontargetstatus_js_1.CursorOnTargetStatus$inboundSchema.optional(),
|
|
56
|
+
takv: cursorontargettakv_js_1.CursorOnTargetTakv$inboundSchema.optional(),
|
|
57
|
+
time: z.string().optional(),
|
|
58
|
+
type: z.string().optional(),
|
|
59
|
+
uid: z.string().optional(),
|
|
60
|
+
version: z.string().optional(),
|
|
61
|
+
video_url: z.string().optional(),
|
|
62
|
+
}).transform((v) => {
|
|
63
|
+
return (0, primitives_js_1.remap)(v, {
|
|
64
|
+
"video_url": "videoUrl",
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
function cursorOnTargetEventFromJSON(jsonString) {
|
|
68
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CursorOnTargetEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CursorOnTargetEvent' from JSON`);
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=cursorontargetevent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursorontargetevent.js","sourceRoot":"","sources":["../../src/models/components/cursorontargetevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DH,kEAQC;AAnED,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,qEAGkC;AAClC,uEAGmC;AACnC,mEAGiC;AAkBjC,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,KAAK,EAAE,0DAAiC,CAAC,QAAQ,EAAE;IACnD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,MAAM,EAAE,4DAAkC,CAAC,QAAQ,EAAE;IACrD,IAAI,EAAE,wDAAgC,CAAC,QAAQ,EAAE;IACjD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,UAAU;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type CursorOnTargetPoint = {
|
|
5
|
+
ce?: number | undefined;
|
|
6
|
+
hae?: number | undefined;
|
|
7
|
+
lat?: number | undefined;
|
|
8
|
+
le?: number | undefined;
|
|
9
|
+
lon?: number | undefined;
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const CursorOnTargetPoint$inboundSchema: z.ZodType<CursorOnTargetPoint, z.ZodTypeDef, unknown>;
|
|
13
|
+
export declare function cursorOnTargetPointFromJSON(jsonString: string): SafeParseResult<CursorOnTargetPoint, SDKValidationError>;
|
|
14
|
+
//# sourceMappingURL=cursorontargetpoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursorontargetpoint.d.ts","sourceRoot":"","sources":["../../src/models/components/cursorontargetpoint.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.CursorOnTargetPoint$inboundSchema = void 0;
|
|
40
|
+
exports.cursorOnTargetPointFromJSON = cursorOnTargetPointFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.CursorOnTargetPoint$inboundSchema = z.object({
|
|
45
|
+
ce: z.number().optional(),
|
|
46
|
+
hae: z.number().optional(),
|
|
47
|
+
lat: z.number().optional(),
|
|
48
|
+
le: z.number().optional(),
|
|
49
|
+
lon: z.number().optional(),
|
|
50
|
+
});
|
|
51
|
+
function cursorOnTargetPointFromJSON(jsonString) {
|
|
52
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CursorOnTargetPoint$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CursorOnTargetPoint' from JSON`);
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=cursorontargetpoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursorontargetpoint.js","sourceRoot":"","sources":["../../src/models/components/cursorontargetpoint.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BH,kEAQC;AAlCD,0CAA4B;AAC5B,qDAAiD;AAYjD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type CursorOnTargetStatus = {
|
|
5
|
+
battery?: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
/** @internal */
|
|
8
|
+
export declare const CursorOnTargetStatus$inboundSchema: z.ZodType<CursorOnTargetStatus, z.ZodTypeDef, unknown>;
|
|
9
|
+
export declare function cursorOnTargetStatusFromJSON(jsonString: string): SafeParseResult<CursorOnTargetStatus, SDKValidationError>;
|
|
10
|
+
//# sourceMappingURL=cursorontargetstatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursorontargetstatus.d.ts","sourceRoot":"","sources":["../../src/models/components/cursorontargetstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.CursorOnTargetStatus$inboundSchema = void 0;
|
|
40
|
+
exports.cursorOnTargetStatusFromJSON = cursorOnTargetStatusFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.CursorOnTargetStatus$inboundSchema = z.object({
|
|
45
|
+
battery: z.string().optional(),
|
|
46
|
+
});
|
|
47
|
+
function cursorOnTargetStatusFromJSON(jsonString) {
|
|
48
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CursorOnTargetStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CursorOnTargetStatus' from JSON`);
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=cursorontargetstatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursorontargetstatus.js","sourceRoot":"","sources":["../../src/models/components/cursorontargetstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBH,oEAQC;AA1BD,0CAA4B;AAC5B,qDAAiD;AAQjD,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC;AAEH,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type CursorOnTargetTakv = {
|
|
5
|
+
device?: string | undefined;
|
|
6
|
+
os?: string | undefined;
|
|
7
|
+
platform?: string | undefined;
|
|
8
|
+
version?: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare const CursorOnTargetTakv$inboundSchema: z.ZodType<CursorOnTargetTakv, z.ZodTypeDef, unknown>;
|
|
12
|
+
export declare function cursorOnTargetTakvFromJSON(jsonString: string): SafeParseResult<CursorOnTargetTakv, SDKValidationError>;
|
|
13
|
+
//# sourceMappingURL=cursorontargettakv.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursorontargettakv.d.ts","sourceRoot":"","sources":["../../src/models/components/cursorontargettakv.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.CursorOnTargetTakv$inboundSchema = void 0;
|
|
40
|
+
exports.cursorOnTargetTakvFromJSON = cursorOnTargetTakvFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.CursorOnTargetTakv$inboundSchema = z.object({
|
|
45
|
+
device: z.string().optional(),
|
|
46
|
+
os: z.string().optional(),
|
|
47
|
+
platform: z.string().optional(),
|
|
48
|
+
version: z.string().optional(),
|
|
49
|
+
});
|
|
50
|
+
function cursorOnTargetTakvFromJSON(jsonString) {
|
|
51
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CursorOnTargetTakv$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CursorOnTargetTakv' from JSON`);
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=cursorontargettakv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursorontargettakv.js","sourceRoot":"","sources":["../../src/models/components/cursorontargettakv.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,gEAQC;AAhCD,0CAA4B;AAC5B,qDAAiD;AAWjD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type Frps = {
|
|
5
|
+
error?: string | undefined;
|
|
6
|
+
runId?: string | undefined;
|
|
7
|
+
version?: string | undefined;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const Frps$inboundSchema: z.ZodType<Frps, z.ZodTypeDef, unknown>;
|
|
11
|
+
export declare function frpsFromJSON(jsonString: string): SafeParseResult<Frps, SDKValidationError>;
|
|
12
|
+
//# sourceMappingURL=frps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frps.d.ts","sourceRoot":"","sources":["../../src/models/components/frps.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,IAAI,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CASlE,CAAC;AAEL,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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.Frps$inboundSchema = void 0;
|
|
40
|
+
exports.frpsFromJSON = frpsFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.Frps$inboundSchema = z
|
|
46
|
+
.object({
|
|
47
|
+
error: z.string().optional(),
|
|
48
|
+
run_id: z.string().optional(),
|
|
49
|
+
version: z.string().optional(),
|
|
50
|
+
}).transform((v) => {
|
|
51
|
+
return (0, primitives_js_1.remap)(v, {
|
|
52
|
+
"run_id": "runId",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
function frpsFromJSON(jsonString) {
|
|
56
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Frps$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Frps' from JSON`);
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=frps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frps.js","sourceRoot":"","sources":["../../src/models/components/frps.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,oCAQC;AAhCD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAUjD,gBAAgB;AACH,QAAA,kBAAkB,GAA2C,CAAC;KACxE,MAAM,CAAC;IACN,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,OAAO;KAClB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,YAAY,CAC1B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0BAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,kCAAkC,CACnC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { IcapOptionsResponse } from "./icapoptionsresponse.js";
|
|
5
|
+
export type Icap = {
|
|
6
|
+
optionsResponse?: IcapOptionsResponse | undefined;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const Icap$inboundSchema: z.ZodType<Icap, z.ZodTypeDef, unknown>;
|
|
10
|
+
export declare function icapFromJSON(jsonString: string): SafeParseResult<Icap, SDKValidationError>;
|
|
11
|
+
//# sourceMappingURL=icap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icap.d.ts","sourceRoot":"","sources":["../../src/models/components/icap.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,IAAI,GAAG;IACjB,eAAe,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAOlE,CAAC;AAEL,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.Icap$inboundSchema = void 0;
|
|
40
|
+
exports.icapFromJSON = icapFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const icapoptionsresponse_js_1 = require("./icapoptionsresponse.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.Icap$inboundSchema = z
|
|
47
|
+
.object({
|
|
48
|
+
options_response: icapoptionsresponse_js_1.IcapOptionsResponse$inboundSchema.optional(),
|
|
49
|
+
}).transform((v) => {
|
|
50
|
+
return (0, primitives_js_1.remap)(v, {
|
|
51
|
+
"options_response": "optionsResponse",
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
function icapFromJSON(jsonString) {
|
|
55
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Icap$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Icap' from JSON`);
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=icap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icap.js","sourceRoot":"","sources":["../../src/models/components/icap.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,oCAQC;AAhCD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,qEAGkC;AAMlC,gBAAgB;AACH,QAAA,kBAAkB,GAA2C,CAAC;KACxE,MAAM,CAAC;IACN,gBAAgB,EAAE,0DAAiC,CAAC,QAAQ,EAAE;CAC/D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,kBAAkB,EAAE,iBAAiB;KACtC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,YAAY,CAC1B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0BAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,kCAAkC,CACnC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type IcapOptionsResponse = {
|
|
5
|
+
allow204?: boolean | undefined;
|
|
6
|
+
icapVersion?: string | undefined;
|
|
7
|
+
istag?: string | undefined;
|
|
8
|
+
maxConnections?: number | undefined;
|
|
9
|
+
methods?: Array<string> | null | undefined;
|
|
10
|
+
optionsTtl?: number | undefined;
|
|
11
|
+
preview?: number | undefined;
|
|
12
|
+
serverHeader?: string | undefined;
|
|
13
|
+
service?: string | undefined;
|
|
14
|
+
serviceId?: string | undefined;
|
|
15
|
+
statusCode?: number | undefined;
|
|
16
|
+
statusText?: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const IcapOptionsResponse$inboundSchema: z.ZodType<IcapOptionsResponse, z.ZodTypeDef, unknown>;
|
|
20
|
+
export declare function icapOptionsResponseFromJSON(jsonString: string): SafeParseResult<IcapOptionsResponse, SDKValidationError>;
|
|
21
|
+
//# sourceMappingURL=icapoptionsresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icapoptionsresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/icapoptionsresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CAyBP,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.IcapOptionsResponse$inboundSchema = void 0;
|
|
40
|
+
exports.icapOptionsResponseFromJSON = icapOptionsResponseFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.IcapOptionsResponse$inboundSchema = z.object({
|
|
46
|
+
allow_204: z.boolean().optional(),
|
|
47
|
+
icap_version: z.string().optional(),
|
|
48
|
+
istag: z.string().optional(),
|
|
49
|
+
max_connections: z.number().int().optional(),
|
|
50
|
+
methods: z.nullable(z.array(z.string())).optional(),
|
|
51
|
+
options_ttl: z.number().int().optional(),
|
|
52
|
+
preview: z.number().int().optional(),
|
|
53
|
+
server_header: z.string().optional(),
|
|
54
|
+
service: z.string().optional(),
|
|
55
|
+
service_id: z.string().optional(),
|
|
56
|
+
status_code: z.number().int().optional(),
|
|
57
|
+
status_text: z.string().optional(),
|
|
58
|
+
}).transform((v) => {
|
|
59
|
+
return (0, primitives_js_1.remap)(v, {
|
|
60
|
+
"allow_204": "allow204",
|
|
61
|
+
"icap_version": "icapVersion",
|
|
62
|
+
"max_connections": "maxConnections",
|
|
63
|
+
"options_ttl": "optionsTtl",
|
|
64
|
+
"server_header": "serverHeader",
|
|
65
|
+
"service_id": "serviceId",
|
|
66
|
+
"status_code": "statusCode",
|
|
67
|
+
"status_text": "statusText",
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
function icapOptionsResponseFromJSON(jsonString) {
|
|
71
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.IcapOptionsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IcapOptionsResponse' from JSON`);
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=icapoptionsresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icapoptionsresponse.js","sourceRoot":"","sources":["../../src/models/components/icapoptionsresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDH,kEAQC;AA5DD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAmBjD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC5C,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IACnD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACxC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACpC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACxC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,UAAU;QACvB,cAAc,EAAE,aAAa;QAC7B,iBAAiB,EAAE,gBAAgB;QACnC,aAAa,EAAE,YAAY;QAC3B,eAAe,EAAE,cAAc;QAC/B,YAAY,EAAE,WAAW;QACzB,aAAa,EAAE,YAAY;QAC3B,aAAa,EAAE,YAAY;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -4,6 +4,7 @@ export * from "./amqp.js";
|
|
|
4
4
|
export * from "./amqpprotocol.js";
|
|
5
5
|
export * from "./amqpversion.js";
|
|
6
6
|
export * from "./analyticscapabilities.js";
|
|
7
|
+
export * from "./anermacfforth.js";
|
|
7
8
|
export * from "./anyconnect.js";
|
|
8
9
|
export * from "./assetcertificatelistinputbody.js";
|
|
9
10
|
export * from "./assethostlistinputbody.js";
|
|
@@ -64,6 +65,11 @@ export * from "./crudupdateinputbody.js";
|
|
|
64
65
|
export * from "./cryptsetup.js";
|
|
65
66
|
export * from "./ct.js";
|
|
66
67
|
export * from "./ctrecord.js";
|
|
68
|
+
export * from "./cursorontarget.js";
|
|
69
|
+
export * from "./cursorontargetevent.js";
|
|
70
|
+
export * from "./cursorontargetpoint.js";
|
|
71
|
+
export * from "./cursorontargetstatus.js";
|
|
72
|
+
export * from "./cursorontargettakv.js";
|
|
67
73
|
export * from "./cvss.js";
|
|
68
74
|
export * from "./cvsscomponents.js";
|
|
69
75
|
export * from "./cvssv4.js";
|
|
@@ -152,6 +158,7 @@ export * from "./floatvalue.js";
|
|
|
152
158
|
export * from "./fortigate.js";
|
|
153
159
|
export * from "./forwarddnsresolved.js";
|
|
154
160
|
export * from "./fox.js";
|
|
161
|
+
export * from "./frps.js";
|
|
155
162
|
export * from "./ftp.js";
|
|
156
163
|
export * from "./gearman.js";
|
|
157
164
|
export * from "./gemini.js";
|
|
@@ -181,6 +188,8 @@ export * from "./httpfavicon.js";
|
|
|
181
188
|
export * from "./httpredirectchainlink.js";
|
|
182
189
|
export * from "./httprepeatedheaders.js";
|
|
183
190
|
export * from "./ibmnje.js";
|
|
191
|
+
export * from "./icap.js";
|
|
192
|
+
export * from "./icapoptionsresponse.js";
|
|
184
193
|
export * from "./ike.js";
|
|
185
194
|
export * from "./ikev1.js";
|
|
186
195
|
export * from "./ikev2.js";
|
|
@@ -397,6 +406,7 @@ export * from "./responseenvelopeorganizationdetails.js";
|
|
|
397
406
|
export * from "./responseenvelopeorganizationmemberslist.js";
|
|
398
407
|
export * from "./responseenvelopesearchaggregateresponse.js";
|
|
399
408
|
export * from "./responseenvelopesearchqueryresponse.js";
|
|
409
|
+
export * from "./responseenvelopeservicesonhostresponse.js";
|
|
400
410
|
export * from "./responseenvelopethreatslistresponse.js";
|
|
401
411
|
export * from "./responseenvelopetrackedscan.js";
|
|
402
412
|
export * from "./responseenvelopeusercredits.js";
|
|
@@ -457,8 +467,10 @@ export * from "./serverconfig.js";
|
|
|
457
467
|
export * from "./serversync.js";
|
|
458
468
|
export * from "./service.js";
|
|
459
469
|
export * from "./serviceid.js";
|
|
470
|
+
export * from "./serviceonhostrange.js";
|
|
460
471
|
export * from "./servicescan.js";
|
|
461
472
|
export * from "./servicescanned.js";
|
|
473
|
+
export * from "./servicesonhostresponse.js";
|
|
462
474
|
export * from "./sevendaystodie.js";
|
|
463
475
|
export * from "./signature.js";
|
|
464
476
|
export * from "./signedcertificatetimestamp.js";
|
|
@@ -490,6 +502,13 @@ export * from "./sshkexinitmessage.js";
|
|
|
490
502
|
export * from "./sshserverhostkey.js";
|
|
491
503
|
export * from "./status.js";
|
|
492
504
|
export * from "./steam.js";
|
|
505
|
+
export * from "./stun.js";
|
|
506
|
+
export * from "./stunbindingerrorresponse.js";
|
|
507
|
+
export * from "./stunbindingsuccessresponse.js";
|
|
508
|
+
export * from "./stunmappedaddress.js";
|
|
509
|
+
export * from "./stunturn.js";
|
|
510
|
+
export * from "./stunturnallocateerrorresponse.js";
|
|
511
|
+
export * from "./stunturnallocatesuccessresponse.js";
|
|
493
512
|
export * from "./subjectkeyinfo.js";
|
|
494
513
|
export * from "./systemcapabilities.js";
|
|
495
514
|
export * from "./tacacsplus.js";
|