vanta-auditor-api-sdk 0.6.0 → 0.6.2
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 +19 -1
- package/docs/sdks/audits/README.md +760 -1
- package/funcs/auditsList.js +10 -0
- package/funcs/auditsList.js.map +1 -1
- package/funcs/auditsListAccountAccessServices.d.ts +33 -0
- package/funcs/auditsListAccountAccessServices.d.ts.map +1 -0
- package/funcs/auditsListAccountAccessServices.js +141 -0
- package/funcs/auditsListAccountAccessServices.js.map +1 -0
- package/funcs/auditsListAuditIssues.d.ts +3 -1
- package/funcs/auditsListAuditIssues.d.ts.map +1 -1
- package/funcs/auditsListAuditIssues.js +5 -1
- package/funcs/auditsListAuditIssues.js.map +1 -1
- package/funcs/auditsListAuditRisks.d.ts +37 -0
- package/funcs/auditsListAuditRisks.d.ts.map +1 -0
- package/funcs/auditsListAuditRisks.js +152 -0
- package/funcs/auditsListAuditRisks.js.map +1 -0
- package/funcs/auditsListCodeChanges.d.ts +34 -0
- package/funcs/auditsListCodeChanges.d.ts.map +1 -0
- package/funcs/auditsListCodeChanges.js +146 -0
- package/funcs/auditsListCodeChanges.js.map +1 -0
- package/funcs/auditsListPersonnelAccountAccess.d.ts +58 -0
- package/funcs/auditsListPersonnelAccountAccess.d.ts.map +1 -0
- package/funcs/auditsListPersonnelAccountAccess.js +172 -0
- package/funcs/auditsListPersonnelAccountAccess.js.map +1 -0
- package/funcs/auditsListPersonnelGroups.d.ts +39 -0
- package/funcs/auditsListPersonnelGroups.d.ts.map +1 -0
- package/funcs/auditsListPersonnelGroups.js +151 -0
- package/funcs/auditsListPersonnelGroups.js.map +1 -0
- package/funcs/auditsListPersonnelPeople.d.ts +36 -0
- package/funcs/auditsListPersonnelPeople.d.ts.map +1 -0
- package/funcs/auditsListPersonnelPeople.js +149 -0
- package/funcs/auditsListPersonnelPeople.js.map +1 -0
- package/funcs/auditsListRiskSnapshots.d.ts +32 -0
- package/funcs/auditsListRiskSnapshots.d.ts.map +1 -0
- package/funcs/auditsListRiskSnapshots.js +140 -0
- package/funcs/auditsListRiskSnapshots.js.map +1 -0
- package/funcs/auditsListVendors.d.ts +35 -0
- package/funcs/auditsListVendors.d.ts.map +1 -0
- package/funcs/auditsListVendors.js +148 -0
- package/funcs/auditsListVendors.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/accountaccess.d.ts +64 -0
- package/models/components/accountaccess.d.ts.map +1 -0
- package/models/components/accountaccess.js +58 -0
- package/models/components/accountaccess.js.map +1 -0
- package/models/components/accountaccessservice.d.ts +36 -0
- package/models/components/accountaccessservice.d.ts.map +1 -0
- package/models/components/accountaccessservice.js +53 -0
- package/models/components/accountaccessservice.js.map +1 -0
- package/models/components/accountaccessstatus.d.ts +25 -0
- package/models/components/accountaccessstatus.d.ts.map +1 -0
- package/models/components/accountaccessstatus.js +56 -0
- package/models/components/accountaccessstatus.js.map +1 -0
- package/models/components/apicodechangesource.d.ts +18 -0
- package/models/components/apicodechangesource.d.ts.map +1 -0
- package/models/components/apicodechangesource.js +52 -0
- package/models/components/apicodechangesource.js.map +1 -0
- package/models/components/auditrisk.d.ts +153 -0
- package/models/components/auditrisk.d.ts.map +1 -0
- package/models/components/auditrisk.js +108 -0
- package/models/components/auditrisk.js.map +1 -0
- package/models/components/auditriskcia.d.ts +17 -0
- package/models/components/auditriskcia.d.ts.map +1 -0
- package/models/components/auditriskcia.js +51 -0
- package/models/components/auditriskcia.js.map +1 -0
- package/models/components/auditvendor.d.ts +96 -0
- package/models/components/auditvendor.d.ts.map +1 -0
- package/models/components/auditvendor.js +86 -0
- package/models/components/auditvendor.js.map +1 -0
- package/models/components/auditvendorrisklevel.d.ts +15 -0
- package/models/components/auditvendorrisklevel.d.ts.map +1 -0
- package/models/components/auditvendorrisklevel.js +52 -0
- package/models/components/auditvendorrisklevel.js.map +1 -0
- package/models/components/auditvendorstatus.d.ts +13 -0
- package/models/components/auditvendorstatus.d.ts.map +1 -0
- package/models/components/auditvendorstatus.js +50 -0
- package/models/components/auditvendorstatus.js.map +1 -0
- package/models/components/codechange.d.ts +50 -0
- package/models/components/codechange.d.ts.map +1 -0
- package/models/components/codechange.js +58 -0
- package/models/components/codechange.js.map +1 -0
- package/models/components/grouporderby.d.ts +13 -0
- package/models/components/grouporderby.d.ts.map +1 -0
- package/models/components/grouporderby.js +50 -0
- package/models/components/grouporderby.js.map +1 -0
- package/models/components/index.d.ts +31 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +31 -0
- package/models/components/index.js.map +1 -1
- package/models/components/issuesnapshotitemorderby.d.ts +16 -0
- package/models/components/issuesnapshotitemorderby.d.ts.map +1 -0
- package/models/components/issuesnapshotitemorderby.js +50 -0
- package/models/components/issuesnapshotitemorderby.js.map +1 -0
- package/models/components/orderdirection.d.ts +16 -0
- package/models/components/orderdirection.d.ts.map +1 -0
- package/models/components/orderdirection.js +50 -0
- package/models/components/orderdirection.js.map +1 -0
- package/models/components/paginatedresponseaccountaccess.d.ts +22 -0
- package/models/components/paginatedresponseaccountaccess.d.ts.map +1 -0
- package/models/components/paginatedresponseaccountaccess.js +61 -0
- package/models/components/paginatedresponseaccountaccess.js.map +1 -0
- package/models/components/paginatedresponseaccountaccessservice.d.ts +22 -0
- package/models/components/paginatedresponseaccountaccessservice.d.ts.map +1 -0
- package/models/components/paginatedresponseaccountaccessservice.js +61 -0
- package/models/components/paginatedresponseaccountaccessservice.js.map +1 -0
- package/models/components/paginatedresponseauditrisk.d.ts +22 -0
- package/models/components/paginatedresponseauditrisk.d.ts.map +1 -0
- package/models/components/paginatedresponseauditrisk.js +61 -0
- package/models/components/paginatedresponseauditrisk.js.map +1 -0
- package/models/components/paginatedresponseauditvendor.d.ts +22 -0
- package/models/components/paginatedresponseauditvendor.d.ts.map +1 -0
- package/models/components/paginatedresponseauditvendor.js +61 -0
- package/models/components/paginatedresponseauditvendor.js.map +1 -0
- package/models/components/paginatedresponsecodechange.d.ts +22 -0
- package/models/components/paginatedresponsecodechange.d.ts.map +1 -0
- package/models/components/paginatedresponsecodechange.js +61 -0
- package/models/components/paginatedresponsecodechange.js.map +1 -0
- package/models/components/paginatedresponsepersonnelgroup.d.ts +22 -0
- package/models/components/paginatedresponsepersonnelgroup.d.ts.map +1 -0
- package/models/components/paginatedresponsepersonnelgroup.js +61 -0
- package/models/components/paginatedresponsepersonnelgroup.js.map +1 -0
- package/models/components/paginatedresponsepersonnelperson.d.ts +22 -0
- package/models/components/paginatedresponsepersonnelperson.d.ts.map +1 -0
- package/models/components/paginatedresponsepersonnelperson.js +61 -0
- package/models/components/paginatedresponsepersonnelperson.js.map +1 -0
- package/models/components/paginatedresponserisksnapshot.d.ts +22 -0
- package/models/components/paginatedresponserisksnapshot.d.ts.map +1 -0
- package/models/components/paginatedresponserisksnapshot.js +61 -0
- package/models/components/paginatedresponserisksnapshot.js.map +1 -0
- package/models/components/peopleemploymentstatus.d.ts +20 -0
- package/models/components/peopleemploymentstatus.d.ts.map +1 -0
- package/models/components/peopleemploymentstatus.js +54 -0
- package/models/components/peopleemploymentstatus.js.map +1 -0
- package/models/components/peopleorderby.d.ts +10 -0
- package/models/components/peopleorderby.d.ts.map +1 -0
- package/models/components/peopleorderby.js +47 -0
- package/models/components/peopleorderby.js.map +1 -0
- package/models/components/peoplesecuritytaskstatus.d.ts +18 -0
- package/models/components/peoplesecuritytaskstatus.d.ts.map +1 -0
- package/models/components/peoplesecuritytaskstatus.js +52 -0
- package/models/components/peoplesecuritytaskstatus.js.map +1 -0
- package/models/components/peopletaskstatus.d.ts +22 -0
- package/models/components/peopletaskstatus.d.ts.map +1 -0
- package/models/components/peopletaskstatus.js +56 -0
- package/models/components/peopletaskstatus.js.map +1 -0
- package/models/components/personnelgroup.d.ts +54 -0
- package/models/components/personnelgroup.d.ts.map +1 -0
- package/models/components/personnelgroup.js +57 -0
- package/models/components/personnelgroup.js.map +1 -0
- package/models/components/personnelgrouptask.d.ts +16 -0
- package/models/components/personnelgrouptask.d.ts.map +1 -0
- package/models/components/personnelgrouptask.js +50 -0
- package/models/components/personnelgrouptask.js.map +1 -0
- package/models/components/personnelperson.d.ts +338 -0
- package/models/components/personnelperson.d.ts.map +1 -0
- package/models/components/personnelperson.js +177 -0
- package/models/components/personnelperson.js.map +1 -0
- package/models/components/riskorderby.d.ts +18 -0
- package/models/components/riskorderby.d.ts.map +1 -0
- package/models/components/riskorderby.js +56 -0
- package/models/components/riskorderby.js.map +1 -0
- package/models/components/risksnapshot.d.ts +26 -0
- package/models/components/risksnapshot.d.ts.map +1 -0
- package/models/components/risksnapshot.js +51 -0
- package/models/components/risksnapshot.js.map +1 -0
- package/models/components/vantatestrunstatus.d.ts +1 -1
- package/models/components/vantatestrunstatus.js +1 -1
- package/models/components/vantatestsnapshotevidence.d.ts +1 -1
- package/models/components/vantatestsnapshotevidence.js +1 -1
- package/models/components/vendororderby.d.ts +10 -0
- package/models/components/vendororderby.d.ts.map +1 -0
- package/models/components/vendororderby.js +47 -0
- package/models/components/vendororderby.js.map +1 -0
- package/models/operations/index.d.ts +8 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +8 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listaccountaccessservices.d.ts +25 -0
- package/models/operations/listaccountaccessservices.d.ts.map +1 -0
- package/models/operations/listaccountaccessservices.js +51 -0
- package/models/operations/listaccountaccessservices.js.map +1 -0
- package/models/operations/listauditissues.d.ts +11 -0
- package/models/operations/listauditissues.d.ts.map +1 -1
- package/models/operations/listauditissues.js +3 -0
- package/models/operations/listauditissues.js.map +1 -1
- package/models/operations/listauditrisks.d.ts +46 -0
- package/models/operations/listauditrisks.d.ts.map +1 -0
- package/models/operations/listauditrisks.js +56 -0
- package/models/operations/listauditrisks.js.map +1 -0
- package/models/operations/listcodechanges.d.ts +46 -0
- package/models/operations/listcodechanges.d.ts.map +1 -0
- package/models/operations/listcodechanges.js +57 -0
- package/models/operations/listcodechanges.js.map +1 -0
- package/models/operations/listpersonnelaccountaccess.d.ts +41 -0
- package/models/operations/listpersonnelaccountaccess.d.ts.map +1 -0
- package/models/operations/listpersonnelaccountaccess.js +55 -0
- package/models/operations/listpersonnelaccountaccess.js.map +1 -0
- package/models/operations/listpersonnelgroups.d.ts +46 -0
- package/models/operations/listpersonnelgroups.d.ts.map +1 -0
- package/models/operations/listpersonnelgroups.js +56 -0
- package/models/operations/listpersonnelgroups.js.map +1 -0
- package/models/operations/listpersonnelpeople.d.ts +51 -0
- package/models/operations/listpersonnelpeople.d.ts.map +1 -0
- package/models/operations/listpersonnelpeople.js +57 -0
- package/models/operations/listpersonnelpeople.js.map +1 -0
- package/models/operations/listrisksnapshots.d.ts +25 -0
- package/models/operations/listrisksnapshots.d.ts.map +1 -0
- package/models/operations/listrisksnapshots.js +51 -0
- package/models/operations/listrisksnapshots.js.map +1 -0
- package/models/operations/listvendors.d.ts +51 -0
- package/models/operations/listvendors.d.ts.map +1 -0
- package/models/operations/listvendors.js +58 -0
- package/models/operations/listvendors.js.map +1 -0
- package/package.json +1 -1
- package/sdk/audits.d.ts +219 -1
- package/sdk/audits.d.ts.map +1 -1
- package/sdk/audits.js +243 -1
- package/sdk/audits.js.map +1 -1
- package/src/funcs/auditsList.ts +10 -0
- package/src/funcs/auditsListAccountAccessServices.ts +192 -0
- package/src/funcs/auditsListAuditIssues.ts +5 -1
- package/src/funcs/auditsListAuditRisks.ts +200 -0
- package/src/funcs/auditsListCodeChanges.ts +194 -0
- package/src/funcs/auditsListPersonnelAccountAccess.ts +223 -0
- package/src/funcs/auditsListPersonnelGroups.ts +200 -0
- package/src/funcs/auditsListPersonnelPeople.ts +198 -0
- package/src/funcs/auditsListRiskSnapshots.ts +188 -0
- package/src/funcs/auditsListVendors.ts +196 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/accountaccess.ts +99 -0
- package/src/models/components/accountaccessservice.ts +60 -0
- package/src/models/components/accountaccessstatus.ts +34 -0
- package/src/models/components/apicodechangesource.ts +25 -0
- package/src/models/components/auditrisk.ts +216 -0
- package/src/models/components/auditriskcia.ts +23 -0
- package/src/models/components/auditvendor.ts +158 -0
- package/src/models/components/auditvendorrisklevel.ts +24 -0
- package/src/models/components/auditvendorstatus.ts +22 -0
- package/src/models/components/codechange.ts +79 -0
- package/src/models/components/grouporderby.ts +19 -0
- package/src/models/components/index.ts +31 -0
- package/src/models/components/issuesnapshotitemorderby.ts +25 -0
- package/src/models/components/orderdirection.ts +23 -0
- package/src/models/components/paginatedresponseaccountaccess.ts +62 -0
- package/src/models/components/paginatedresponseaccountaccessservice.ts +74 -0
- package/src/models/components/paginatedresponseauditrisk.ts +61 -0
- package/src/models/components/paginatedresponseauditvendor.ts +62 -0
- package/src/models/components/paginatedresponsecodechange.ts +62 -0
- package/src/models/components/paginatedresponsepersonnelgroup.ts +65 -0
- package/src/models/components/paginatedresponsepersonnelperson.ts +70 -0
- package/src/models/components/paginatedresponserisksnapshot.ts +62 -0
- package/src/models/components/peopleemploymentstatus.ts +27 -0
- package/src/models/components/peopleorderby.ts +17 -0
- package/src/models/components/peoplesecuritytaskstatus.ts +27 -0
- package/src/models/components/peopletaskstatus.ts +29 -0
- package/src/models/components/personnelgroup.ts +84 -0
- package/src/models/components/personnelgrouptask.ts +37 -0
- package/src/models/components/personnelperson.ts +554 -0
- package/src/models/components/riskorderby.ts +24 -0
- package/src/models/components/risksnapshot.ts +48 -0
- package/src/models/components/vantatestrunstatus.ts +1 -1
- package/src/models/components/vantatestsnapshotevidence.ts +1 -1
- package/src/models/components/vendororderby.ts +17 -0
- package/src/models/operations/index.ts +8 -0
- package/src/models/operations/listaccountaccessservices.ts +48 -0
- package/src/models/operations/listauditissues.ts +13 -0
- package/src/models/operations/listauditrisks.ts +71 -0
- package/src/models/operations/listcodechanges.ts +72 -0
- package/src/models/operations/listpersonnelaccountaccess.ts +67 -0
- package/src/models/operations/listpersonnelgroups.ts +71 -0
- package/src/models/operations/listpersonnelpeople.ts +77 -0
- package/src/models/operations/listrisksnapshots.ts +46 -0
- package/src/models/operations/listvendors.ts +80 -0
- package/src/sdk/audits.ts +307 -1
- package/src/types/async.ts +8 -7
- package/types/async.d.ts.map +1 -1
- package/types/async.js +8 -7
- package/types/async.js.map +1 -1
|
@@ -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.AccountAccess$inboundSchema = void 0;
|
|
40
|
+
exports.accountAccessFromJSON = accountAccessFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
const accountaccessstatus_js_1 = require("./accountaccessstatus.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.AccountAccess$inboundSchema = z.object({
|
|
46
|
+
id: z.string(),
|
|
47
|
+
accountName: z.string(),
|
|
48
|
+
owner: z.nullable(z.string()).optional(),
|
|
49
|
+
role: z.array(z.string()).optional(),
|
|
50
|
+
status: accountaccessstatus_js_1.AccountAccessStatus$inboundSchema.optional(),
|
|
51
|
+
mfa: z.nullable(z.boolean()).optional(),
|
|
52
|
+
createdDate: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
53
|
+
deactivatedDate: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
54
|
+
});
|
|
55
|
+
function accountAccessFromJSON(jsonString) {
|
|
56
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountAccess$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountAccess' from JSON`);
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=accountaccess.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountaccess.js","sourceRoot":"","sources":["../../src/models/components/accountaccess.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwFH,sDAQC;AA9FD,0CAA4B;AAC5B,qDAAiD;AAGjD,qEAGkC;AA2DlC,gBAA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/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
/**
|
|
5
|
+
* An account access service (identity provider, access credential, or external application)
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* connected to the organization.
|
|
9
|
+
*
|
|
10
|
+
* These represent credentials for integrations like Okta, Azure AD,
|
|
11
|
+
* Google Workspace, etc. that provide identity and access management
|
|
12
|
+
* data for personnel, as well as external applications that provide
|
|
13
|
+
* received user accounts.
|
|
14
|
+
*/
|
|
15
|
+
export type AccountAccessService = {
|
|
16
|
+
/**
|
|
17
|
+
* Unique identifier for the service.
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
/**
|
|
21
|
+
* Display name of the service shown to users.
|
|
22
|
+
*/
|
|
23
|
+
credentialDisplayName: string;
|
|
24
|
+
/**
|
|
25
|
+
* The service name or integration ID.
|
|
26
|
+
*/
|
|
27
|
+
service: string;
|
|
28
|
+
/**
|
|
29
|
+
* Sub-account identifier for multi-account integrations, or null if not applicable.
|
|
30
|
+
*/
|
|
31
|
+
subAccountId: string | null;
|
|
32
|
+
};
|
|
33
|
+
/** @internal */
|
|
34
|
+
export declare const AccountAccessService$inboundSchema: z.ZodType<AccountAccessService, z.ZodTypeDef, unknown>;
|
|
35
|
+
export declare function accountAccessServiceFromJSON(jsonString: string): SafeParseResult<AccountAccessService, SDKValidationError>;
|
|
36
|
+
//# sourceMappingURL=accountaccessservice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountaccessservice.d.ts","sourceRoot":"","sources":["../../src/models/components/accountaccessservice.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;;;;;;;;;;GAUG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -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.AccountAccessService$inboundSchema = void 0;
|
|
40
|
+
exports.accountAccessServiceFromJSON = accountAccessServiceFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.AccountAccessService$inboundSchema = z.object({
|
|
45
|
+
id: z.string(),
|
|
46
|
+
credentialDisplayName: z.string(),
|
|
47
|
+
service: z.string(),
|
|
48
|
+
subAccountId: z.nullable(z.string()),
|
|
49
|
+
});
|
|
50
|
+
function accountAccessServiceFromJSON(jsonString) {
|
|
51
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountAccessService$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountAccessService' from JSON`);
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=accountaccessservice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountaccessservice.js","sourceRoot":"","sources":["../../src/models/components/accountaccessservice.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDH,oEAQC;AAvDD,0CAA4B;AAC5B,qDAAiD;AAkCjD,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACrC,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,25 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* Account status values for account access records.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* Unified status enum that covers all service types.
|
|
8
|
+
*/
|
|
9
|
+
export declare const AccountAccessStatus: {
|
|
10
|
+
readonly Active: "ACTIVE";
|
|
11
|
+
readonly Deactivated: "DEACTIVATED";
|
|
12
|
+
readonly Unknown: "UNKNOWN";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Account status values for account access records.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Unified status enum that covers all service types.
|
|
19
|
+
*/
|
|
20
|
+
export type AccountAccessStatus = ClosedEnum<typeof AccountAccessStatus>;
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const AccountAccessStatus$inboundSchema: z.ZodNativeEnum<typeof AccountAccessStatus>;
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const AccountAccessStatus$outboundSchema: z.ZodNativeEnum<typeof AccountAccessStatus>;
|
|
25
|
+
//# sourceMappingURL=accountaccessstatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountaccessstatus.d.ts","sourceRoot":"","sources":["../../src/models/components/accountaccessstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC;AACX;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEzE,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,aAAa,CAC7D,OAAO,mBAAmB,CACS,CAAC;AACtC,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,aAAa,CAC9D,OAAO,mBAAmB,CACS,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.AccountAccessStatus$outboundSchema = exports.AccountAccessStatus$inboundSchema = exports.AccountAccessStatus = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
/**
|
|
42
|
+
* Account status values for account access records.
|
|
43
|
+
*
|
|
44
|
+
* @remarks
|
|
45
|
+
* Unified status enum that covers all service types.
|
|
46
|
+
*/
|
|
47
|
+
exports.AccountAccessStatus = {
|
|
48
|
+
Active: "ACTIVE",
|
|
49
|
+
Deactivated: "DEACTIVATED",
|
|
50
|
+
Unknown: "UNKNOWN",
|
|
51
|
+
};
|
|
52
|
+
/** @internal */
|
|
53
|
+
exports.AccountAccessStatus$inboundSchema = z.nativeEnum(exports.AccountAccessStatus);
|
|
54
|
+
/** @internal */
|
|
55
|
+
exports.AccountAccessStatus$outboundSchema = exports.AccountAccessStatus$inboundSchema;
|
|
56
|
+
//# sourceMappingURL=accountaccessstatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountaccessstatus.js","sourceRoot":"","sources":["../../src/models/components/accountaccessstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAG5B;;;;;GAKG;AACU,QAAA,mBAAmB,GAAG;IACjC,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;CACV,CAAC;AASX,gBAAgB;AACH,QAAA,iCAAiC,GAE1C,CAAC,CAAC,UAAU,CAAC,2BAAmB,CAAC,CAAC;AACtC,gBAAgB;AACH,QAAA,kCAAkC,GAE3C,yCAAiC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* Version control source service name for code changes.
|
|
5
|
+
*/
|
|
6
|
+
export declare const ApiCodeChangeSource: {
|
|
7
|
+
readonly Github: "github";
|
|
8
|
+
readonly Gitlab: "gitlab";
|
|
9
|
+
readonly Bitbucket: "bitbucket";
|
|
10
|
+
readonly Azuredevops: "azuredevops";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Version control source service name for code changes.
|
|
14
|
+
*/
|
|
15
|
+
export type ApiCodeChangeSource = ClosedEnum<typeof ApiCodeChangeSource>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const ApiCodeChangeSource$outboundSchema: z.ZodNativeEnum<typeof ApiCodeChangeSource>;
|
|
18
|
+
//# sourceMappingURL=apicodechangesource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apicodechangesource.d.ts","sourceRoot":"","sources":["../../src/models/components/apicodechangesource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;CAKtB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEzE,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,aAAa,CAC9D,OAAO,mBAAmB,CACS,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.ApiCodeChangeSource$outboundSchema = exports.ApiCodeChangeSource = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
/**
|
|
42
|
+
* Version control source service name for code changes.
|
|
43
|
+
*/
|
|
44
|
+
exports.ApiCodeChangeSource = {
|
|
45
|
+
Github: "github",
|
|
46
|
+
Gitlab: "gitlab",
|
|
47
|
+
Bitbucket: "bitbucket",
|
|
48
|
+
Azuredevops: "azuredevops",
|
|
49
|
+
};
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.ApiCodeChangeSource$outboundSchema = z.nativeEnum(exports.ApiCodeChangeSource);
|
|
52
|
+
//# sourceMappingURL=apicodechangesource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apicodechangesource.js","sourceRoot":"","sources":["../../src/models/components/apicodechangesource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAG5B;;GAEG;AACU,QAAA,mBAAmB,GAAG;IACjC,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;CAClB,CAAC;AAMX,gBAAgB;AACH,QAAA,kCAAkC,GAE3C,CAAC,CAAC,UAAU,CAAC,2BAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
import { AuditRiskCia } from "./auditriskcia.js";
|
|
6
|
+
/**
|
|
7
|
+
* Risk treatment strategy, or null if not set.
|
|
8
|
+
*/
|
|
9
|
+
export declare const Treatment: {
|
|
10
|
+
readonly Accept: "ACCEPT";
|
|
11
|
+
readonly Avoid: "AVOID";
|
|
12
|
+
readonly Mitigate: "MITIGATE";
|
|
13
|
+
readonly Transfer: "TRANSFER";
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Risk treatment strategy, or null if not set.
|
|
17
|
+
*/
|
|
18
|
+
export type Treatment = ClosedEnum<typeof Treatment>;
|
|
19
|
+
/**
|
|
20
|
+
* Treatment implementation status, or null if not set.
|
|
21
|
+
*/
|
|
22
|
+
export declare const TreatmentStatus: {
|
|
23
|
+
readonly InProgress: "IN_PROGRESS";
|
|
24
|
+
readonly Done: "DONE";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Treatment implementation status, or null if not set.
|
|
28
|
+
*/
|
|
29
|
+
export type TreatmentStatus = ClosedEnum<typeof TreatmentStatus>;
|
|
30
|
+
/**
|
|
31
|
+
* Review status of the risk scenario, or null if not set.
|
|
32
|
+
*/
|
|
33
|
+
export declare const ReviewStatus: {
|
|
34
|
+
readonly Approved: "APPROVED";
|
|
35
|
+
readonly Draft: "DRAFT";
|
|
36
|
+
readonly NotReviewed: "NOT_REVIEWED";
|
|
37
|
+
readonly AwaitingSubmission: "AWAITING_SUBMISSION";
|
|
38
|
+
readonly PendingApproval: "PENDING_APPROVAL";
|
|
39
|
+
readonly RequestedChanges: "REQUESTED_CHANGES";
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Review status of the risk scenario, or null if not set.
|
|
43
|
+
*/
|
|
44
|
+
export type ReviewStatus = ClosedEnum<typeof ReviewStatus>;
|
|
45
|
+
/**
|
|
46
|
+
* Risk owner information, or null if no owner assigned.
|
|
47
|
+
*/
|
|
48
|
+
export type AuditRiskOwner = {
|
|
49
|
+
/**
|
|
50
|
+
* Display name of the risk owner.
|
|
51
|
+
*/
|
|
52
|
+
displayName: string;
|
|
53
|
+
/**
|
|
54
|
+
* URL of the owner's profile image, or null if not available.
|
|
55
|
+
*/
|
|
56
|
+
imageUrl: string | null;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* A risk record from the risk population.
|
|
60
|
+
*
|
|
61
|
+
* @remarks
|
|
62
|
+
*
|
|
63
|
+
* `id` and `riskId` are required. All other fields are optional to support customizable field visibility.
|
|
64
|
+
*
|
|
65
|
+
* Omitted keys mean the column is not in the response; `null` means the column is present but empty.
|
|
66
|
+
*/
|
|
67
|
+
export type AuditRisk = {
|
|
68
|
+
/**
|
|
69
|
+
* Unique identifier for the risk scenario version.
|
|
70
|
+
*/
|
|
71
|
+
id: string;
|
|
72
|
+
/**
|
|
73
|
+
* Custom risk ID (e.g., "RISK-001"), or null if not available.
|
|
74
|
+
*/
|
|
75
|
+
riskId: string | null;
|
|
76
|
+
/**
|
|
77
|
+
* Description of the risk scenario, or null if not available.
|
|
78
|
+
*/
|
|
79
|
+
riskScenario?: string | null | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* Likelihood score of the risk, or null if not scored.
|
|
82
|
+
*
|
|
83
|
+
* @remarks
|
|
84
|
+
* Full Audit View only - omitted in Controlled Audit View.
|
|
85
|
+
*/
|
|
86
|
+
likelihood?: number | null | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* Impact score of the risk, or null if not scored.
|
|
89
|
+
*
|
|
90
|
+
* @remarks
|
|
91
|
+
* Full Audit View only - omitted in Controlled Audit View.
|
|
92
|
+
*/
|
|
93
|
+
impact?: number | null | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* Inherent risk score (likelihood * impact), or null if not calculable.
|
|
96
|
+
*/
|
|
97
|
+
inherentRisk?: number | null | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* Risk treatment strategy, or null if not set.
|
|
100
|
+
*/
|
|
101
|
+
treatment?: Treatment | null | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* Treatment implementation status, or null if not set.
|
|
104
|
+
*/
|
|
105
|
+
treatmentStatus?: TreatmentStatus | null | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* Residual risk score after treatment, or null if not calculable.
|
|
108
|
+
*/
|
|
109
|
+
residualRisk?: number | null | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Review status of the risk scenario, or null if not set.
|
|
112
|
+
*/
|
|
113
|
+
reviewStatus?: ReviewStatus | null | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* Risk owner information, or null if no owner assigned.
|
|
116
|
+
*/
|
|
117
|
+
owner?: AuditRiskOwner | null | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Risk category names, or empty array if not categorized.
|
|
120
|
+
*/
|
|
121
|
+
categories?: Array<string> | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* CIA triad categories, or empty array if not categorized.
|
|
124
|
+
*/
|
|
125
|
+
ciaCategories?: Array<AuditRiskCia> | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* IDs of controls linked to this risk scenario, or empty array if none.
|
|
128
|
+
*
|
|
129
|
+
* @remarks
|
|
130
|
+
* Full Audit View only - omitted in Controlled Audit View.
|
|
131
|
+
*/
|
|
132
|
+
linkedControlIds?: Array<string> | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* When the risk was identified, or null if not recorded.
|
|
135
|
+
*
|
|
136
|
+
* @remarks
|
|
137
|
+
* ISO 8601 format.
|
|
138
|
+
*/
|
|
139
|
+
identified?: string | null | undefined;
|
|
140
|
+
};
|
|
141
|
+
/** @internal */
|
|
142
|
+
export declare const Treatment$inboundSchema: z.ZodNativeEnum<typeof Treatment>;
|
|
143
|
+
/** @internal */
|
|
144
|
+
export declare const TreatmentStatus$inboundSchema: z.ZodNativeEnum<typeof TreatmentStatus>;
|
|
145
|
+
/** @internal */
|
|
146
|
+
export declare const ReviewStatus$inboundSchema: z.ZodNativeEnum<typeof ReviewStatus>;
|
|
147
|
+
/** @internal */
|
|
148
|
+
export declare const AuditRiskOwner$inboundSchema: z.ZodType<AuditRiskOwner, z.ZodTypeDef, unknown>;
|
|
149
|
+
export declare function auditRiskOwnerFromJSON(jsonString: string): SafeParseResult<AuditRiskOwner, SDKValidationError>;
|
|
150
|
+
/** @internal */
|
|
151
|
+
export declare const AuditRisk$inboundSchema: z.ZodType<AuditRisk, z.ZodTypeDef, unknown>;
|
|
152
|
+
export declare function auditRiskFromJSON(jsonString: string): SafeParseResult<AuditRisk, SDKValidationError>;
|
|
153
|
+
//# sourceMappingURL=auditrisk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auditrisk.d.ts","sourceRoot":"","sources":["../../src/models/components/auditrisk.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,YAAY,EAA8B,MAAM,mBAAmB,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;CAKZ,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,eAAe;;;CAGlB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;CAOf,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MA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CAAC,OAAO,SAAS,CAC9C,CAAC;AAEzB,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,aAAa,CACzD,OAAO,eAAe,CACS,CAAC;AAElC,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,YAAY,CAChD,CAAC;AAE7B,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD;AAED,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAC7C,SAAS,EACT,CAAC,CAAC,UAAU,EACZ,OAAO,CAiBP,CAAC;AAEH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAMhD"}
|
|
@@ -0,0 +1,108 @@
|
|
|
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.AuditRisk$inboundSchema = exports.AuditRiskOwner$inboundSchema = exports.ReviewStatus$inboundSchema = exports.TreatmentStatus$inboundSchema = exports.Treatment$inboundSchema = exports.ReviewStatus = exports.TreatmentStatus = exports.Treatment = void 0;
|
|
40
|
+
exports.auditRiskOwnerFromJSON = auditRiskOwnerFromJSON;
|
|
41
|
+
exports.auditRiskFromJSON = auditRiskFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const auditriskcia_js_1 = require("./auditriskcia.js");
|
|
45
|
+
/**
|
|
46
|
+
* Risk treatment strategy, or null if not set.
|
|
47
|
+
*/
|
|
48
|
+
exports.Treatment = {
|
|
49
|
+
Accept: "ACCEPT",
|
|
50
|
+
Avoid: "AVOID",
|
|
51
|
+
Mitigate: "MITIGATE",
|
|
52
|
+
Transfer: "TRANSFER",
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Treatment implementation status, or null if not set.
|
|
56
|
+
*/
|
|
57
|
+
exports.TreatmentStatus = {
|
|
58
|
+
InProgress: "IN_PROGRESS",
|
|
59
|
+
Done: "DONE",
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Review status of the risk scenario, or null if not set.
|
|
63
|
+
*/
|
|
64
|
+
exports.ReviewStatus = {
|
|
65
|
+
Approved: "APPROVED",
|
|
66
|
+
Draft: "DRAFT",
|
|
67
|
+
NotReviewed: "NOT_REVIEWED",
|
|
68
|
+
AwaitingSubmission: "AWAITING_SUBMISSION",
|
|
69
|
+
PendingApproval: "PENDING_APPROVAL",
|
|
70
|
+
RequestedChanges: "REQUESTED_CHANGES",
|
|
71
|
+
};
|
|
72
|
+
/** @internal */
|
|
73
|
+
exports.Treatment$inboundSchema = z
|
|
74
|
+
.nativeEnum(exports.Treatment);
|
|
75
|
+
/** @internal */
|
|
76
|
+
exports.TreatmentStatus$inboundSchema = z.nativeEnum(exports.TreatmentStatus);
|
|
77
|
+
/** @internal */
|
|
78
|
+
exports.ReviewStatus$inboundSchema = z.nativeEnum(exports.ReviewStatus);
|
|
79
|
+
/** @internal */
|
|
80
|
+
exports.AuditRiskOwner$inboundSchema = z.object({
|
|
81
|
+
displayName: z.string(),
|
|
82
|
+
imageUrl: z.nullable(z.string()),
|
|
83
|
+
});
|
|
84
|
+
function auditRiskOwnerFromJSON(jsonString) {
|
|
85
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AuditRiskOwner$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AuditRiskOwner' from JSON`);
|
|
86
|
+
}
|
|
87
|
+
/** @internal */
|
|
88
|
+
exports.AuditRisk$inboundSchema = z.object({
|
|
89
|
+
id: z.string(),
|
|
90
|
+
riskId: z.nullable(z.string()),
|
|
91
|
+
riskScenario: z.nullable(z.string()).optional(),
|
|
92
|
+
likelihood: z.nullable(z.number()).optional(),
|
|
93
|
+
impact: z.nullable(z.number()).optional(),
|
|
94
|
+
inherentRisk: z.nullable(z.number()).optional(),
|
|
95
|
+
treatment: z.nullable(exports.Treatment$inboundSchema).optional(),
|
|
96
|
+
treatmentStatus: z.nullable(exports.TreatmentStatus$inboundSchema).optional(),
|
|
97
|
+
residualRisk: z.nullable(z.number()).optional(),
|
|
98
|
+
reviewStatus: z.nullable(exports.ReviewStatus$inboundSchema).optional(),
|
|
99
|
+
owner: z.nullable(z.lazy(() => exports.AuditRiskOwner$inboundSchema)).optional(),
|
|
100
|
+
categories: z.array(z.string()).optional(),
|
|
101
|
+
ciaCategories: z.array(auditriskcia_js_1.AuditRiskCia$inboundSchema).optional(),
|
|
102
|
+
linkedControlIds: z.array(z.string()).optional(),
|
|
103
|
+
identified: z.nullable(z.string()).optional(),
|
|
104
|
+
});
|
|
105
|
+
function auditRiskFromJSON(jsonString) {
|
|
106
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AuditRisk$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AuditRisk' from JSON`);
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=auditrisk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auditrisk.js","sourceRoot":"","sources":["../../src/models/components/auditrisk.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4KH,wDAQC;AAyBD,8CAQC;AAnND,0CAA4B;AAC5B,qDAAiD;AAIjD,uDAA6E;AAE7E;;GAEG;AACU,QAAA,SAAS,GAAG;IACvB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAMX;;GAEG;AACU,QAAA,eAAe,GAAG;IAC7B,UAAU,EAAE,aAAa;IACzB,IAAI,EAAE,MAAM;CACJ,CAAC;AAMX;;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|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* CIA triad category returned by the auditor API.
|
|
5
|
+
*/
|
|
6
|
+
export declare const AuditRiskCia: {
|
|
7
|
+
readonly Availability: "AVAILABILITY";
|
|
8
|
+
readonly Confidentiality: "CONFIDENTIALITY";
|
|
9
|
+
readonly Integrity: "INTEGRITY";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* CIA triad category returned by the auditor API.
|
|
13
|
+
*/
|
|
14
|
+
export type AuditRiskCia = ClosedEnum<typeof AuditRiskCia>;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const AuditRiskCia$inboundSchema: z.ZodNativeEnum<typeof AuditRiskCia>;
|
|
17
|
+
//# sourceMappingURL=auditriskcia.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auditriskcia.d.ts","sourceRoot":"","sources":["../../src/models/components/auditriskcia.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3D,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,YAAY,CAChD,CAAC"}
|