@trycompai/mcp-server 0.2.5 → 0.2.7
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 +10 -2
- package/bin/mcp-server.js +3010 -1748
- package/bin/mcp-server.js.map +39 -17
- package/esm/funcs/ismsISMSControllerRiskTreatmentV1.d.ts +18 -0
- package/esm/funcs/ismsISMSControllerRiskTreatmentV1.d.ts.map +1 -0
- package/esm/funcs/ismsISMSControllerRiskTreatmentV1.js +89 -0
- package/esm/funcs/ismsISMSControllerRiskTreatmentV1.js.map +1 -0
- package/esm/funcs/questionnaireQuestionnaireControllerAnswerSingleQuestionV1.d.ts +1 -1
- package/esm/funcs/questionnaireQuestionnaireControllerAnswerSingleQuestionV1.d.ts.map +1 -1
- package/esm/funcs/questionnaireQuestionnaireControllerAnswerSingleQuestionV1.js +13 -3
- package/esm/funcs/questionnaireQuestionnaireControllerAnswerSingleQuestionV1.js.map +1 -1
- package/esm/funcs/risksRiskAcceptancesControllerListRiskAcceptancesV1.d.ts +18 -0
- package/esm/funcs/risksRiskAcceptancesControllerListRiskAcceptancesV1.d.ts.map +1 -0
- package/esm/funcs/risksRiskAcceptancesControllerListRiskAcceptancesV1.js +89 -0
- package/esm/funcs/risksRiskAcceptancesControllerListRiskAcceptancesV1.js.map +1 -0
- package/esm/funcs/risksRiskAcceptancesControllerRecordRiskAcceptanceV1.d.ts +18 -0
- package/esm/funcs/risksRiskAcceptancesControllerRecordRiskAcceptanceV1.d.ts.map +1 -0
- package/esm/funcs/risksRiskAcceptancesControllerRecordRiskAcceptanceV1.js +90 -0
- package/esm/funcs/risksRiskAcceptancesControllerRecordRiskAcceptanceV1.js.map +1 -0
- package/esm/funcs/securityPenetrationTestsSecurityPenetrationTestsControllerUpdateFindingStatusV1.d.ts +18 -0
- package/esm/funcs/securityPenetrationTestsSecurityPenetrationTestsControllerUpdateFindingStatusV1.d.ts.map +1 -0
- package/esm/funcs/securityPenetrationTestsSecurityPenetrationTestsControllerUpdateFindingStatusV1.js +96 -0
- package/esm/funcs/securityPenetrationTestsSecurityPenetrationTestsControllerUpdateFindingStatusV1.js.map +1 -0
- package/esm/funcs/trainingTrainingControllerSendHipaaTrainingCompletionEmailV1.d.ts +18 -0
- package/esm/funcs/trainingTrainingControllerSendHipaaTrainingCompletionEmailV1.d.ts.map +1 -0
- package/esm/funcs/trainingTrainingControllerSendHipaaTrainingCompletionEmailV1.js +84 -0
- package/esm/funcs/trainingTrainingControllerSendHipaaTrainingCompletionEmailV1.js.map +1 -0
- package/esm/funcs/vendorsVendorAcceptancesControllerListVendorAcceptancesV1.d.ts +18 -0
- package/esm/funcs/vendorsVendorAcceptancesControllerListVendorAcceptancesV1.d.ts.map +1 -0
- package/esm/funcs/vendorsVendorAcceptancesControllerListVendorAcceptancesV1.js +89 -0
- package/esm/funcs/vendorsVendorAcceptancesControllerListVendorAcceptancesV1.js.map +1 -0
- package/esm/funcs/vendorsVendorAcceptancesControllerRecordVendorAcceptanceV1.d.ts +18 -0
- package/esm/funcs/vendorsVendorAcceptancesControllerRecordVendorAcceptanceV1.d.ts.map +1 -0
- package/esm/funcs/vendorsVendorAcceptancesControllerRecordVendorAcceptanceV1.js +91 -0
- package/esm/funcs/vendorsVendorAcceptancesControllerRecordVendorAcceptanceV1.js.map +1 -0
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +15 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/ismsISMSControllerRiskTreatmentV1.d.ts +7 -0
- package/esm/mcp-server/tools/ismsISMSControllerRiskTreatmentV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/ismsISMSControllerRiskTreatmentV1.js +34 -0
- package/esm/mcp-server/tools/ismsISMSControllerRiskTreatmentV1.js.map +1 -0
- package/esm/mcp-server/tools/risksRiskAcceptancesControllerListRiskAcceptancesV1.d.ts +7 -0
- package/esm/mcp-server/tools/risksRiskAcceptancesControllerListRiskAcceptancesV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/risksRiskAcceptancesControllerListRiskAcceptancesV1.js +34 -0
- package/esm/mcp-server/tools/risksRiskAcceptancesControllerListRiskAcceptancesV1.js.map +1 -0
- package/esm/mcp-server/tools/risksRiskAcceptancesControllerRecordRiskAcceptanceV1.d.ts +7 -0
- package/esm/mcp-server/tools/risksRiskAcceptancesControllerRecordRiskAcceptanceV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/risksRiskAcceptancesControllerRecordRiskAcceptanceV1.js +34 -0
- package/esm/mcp-server/tools/risksRiskAcceptancesControllerRecordRiskAcceptanceV1.js.map +1 -0
- package/esm/mcp-server/tools/securityPenetrationTestsSecurityPenetrationTestsControllerUpdateFindingStatusV1.d.ts +7 -0
- package/esm/mcp-server/tools/securityPenetrationTestsSecurityPenetrationTestsControllerUpdateFindingStatusV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/securityPenetrationTestsSecurityPenetrationTestsControllerUpdateFindingStatusV1.js +34 -0
- package/esm/mcp-server/tools/securityPenetrationTestsSecurityPenetrationTestsControllerUpdateFindingStatusV1.js.map +1 -0
- package/esm/mcp-server/tools/trainingTrainingControllerSendHipaaTrainingCompletionEmailV1.d.ts +7 -0
- package/esm/mcp-server/tools/trainingTrainingControllerSendHipaaTrainingCompletionEmailV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/trainingTrainingControllerSendHipaaTrainingCompletionEmailV1.js +34 -0
- package/esm/mcp-server/tools/trainingTrainingControllerSendHipaaTrainingCompletionEmailV1.js.map +1 -0
- package/esm/mcp-server/tools/vendorsVendorAcceptancesControllerListVendorAcceptancesV1.d.ts +7 -0
- package/esm/mcp-server/tools/vendorsVendorAcceptancesControllerListVendorAcceptancesV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/vendorsVendorAcceptancesControllerListVendorAcceptancesV1.js +34 -0
- package/esm/mcp-server/tools/vendorsVendorAcceptancesControllerListVendorAcceptancesV1.js.map +1 -0
- package/esm/mcp-server/tools/vendorsVendorAcceptancesControllerRecordVendorAcceptanceV1.d.ts +7 -0
- package/esm/mcp-server/tools/vendorsVendorAcceptancesControllerRecordVendorAcceptanceV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/vendorsVendorAcceptancesControllerRecordVendorAcceptanceV1.js +34 -0
- package/esm/mcp-server/tools/vendorsVendorAcceptancesControllerRecordVendorAcceptanceV1.js.map +1 -0
- package/esm/models/answersinglequestiondto.d.ts +7 -1
- package/esm/models/answersinglequestiondto.d.ts.map +1 -1
- package/esm/models/answersinglequestiondto.js +7 -1
- package/esm/models/answersinglequestiondto.js.map +1 -1
- package/esm/models/createcommentdto.d.ts.map +1 -1
- package/esm/models/createcommentdto.js +1 -1
- package/esm/models/createcommentdto.js.map +1 -1
- package/esm/models/createriskacceptancedto.d.ts +7 -0
- package/esm/models/createriskacceptancedto.d.ts.map +1 -0
- package/esm/models/createriskacceptancedto.js +9 -0
- package/esm/models/createriskacceptancedto.js.map +1 -0
- package/esm/models/createroledto.d.ts +3 -1
- package/esm/models/createroledto.d.ts.map +1 -1
- package/esm/models/createroledto.js +3 -1
- package/esm/models/createroledto.js.map +1 -1
- package/esm/models/ensureismssetupdto.d.ts +1 -0
- package/esm/models/ensureismssetupdto.d.ts.map +1 -1
- package/esm/models/ensureismssetupdto.js +1 -0
- package/esm/models/ensureismssetupdto.js.map +1 -1
- package/esm/models/ismscontrollerrisktreatmentv1op.d.ts +6 -0
- package/esm/models/ismscontrollerrisktreatmentv1op.d.ts.map +1 -0
- package/esm/models/ismscontrollerrisktreatmentv1op.js +8 -0
- package/esm/models/ismscontrollerrisktreatmentv1op.js.map +1 -0
- package/esm/models/ismsregisterscontrollercreaterowv1op.d.ts +23 -0
- package/esm/models/ismsregisterscontrollercreaterowv1op.d.ts.map +1 -1
- package/esm/models/ismsregisterscontrollercreaterowv1op.js +22 -0
- package/esm/models/ismsregisterscontrollercreaterowv1op.js.map +1 -1
- package/esm/models/ismsregisterscontrollerupdaterowv1op.d.ts +23 -0
- package/esm/models/ismsregisterscontrollerupdaterowv1op.d.ts.map +1 -1
- package/esm/models/ismsregisterscontrollerupdaterowv1op.js +22 -0
- package/esm/models/ismsregisterscontrollerupdaterowv1op.js.map +1 -1
- package/esm/models/riskacceptancescontrollerlistriskacceptancesv1op.d.ts +147 -0
- package/esm/models/riskacceptancescontrollerlistriskacceptancesv1op.d.ts.map +1 -0
- package/esm/models/riskacceptancescontrollerlistriskacceptancesv1op.js +119 -0
- package/esm/models/riskacceptancescontrollerlistriskacceptancesv1op.js.map +1 -0
- package/esm/models/riskacceptancescontrollerrecordriskacceptancev1op.d.ts +152 -0
- package/esm/models/riskacceptancescontrollerrecordriskacceptancev1op.d.ts.map +1 -0
- package/esm/models/riskacceptancescontrollerrecordriskacceptancev1op.js +121 -0
- package/esm/models/riskacceptancescontrollerrecordriskacceptancev1op.js.map +1 -0
- package/esm/models/securitypenetrationtestscontrollerupdatefindingstatusv1op.d.ts +10 -0
- package/esm/models/securitypenetrationtestscontrollerupdatefindingstatusv1op.d.ts.map +1 -0
- package/esm/models/securitypenetrationtestscontrollerupdatefindingstatusv1op.js +13 -0
- package/esm/models/securitypenetrationtestscontrollerupdatefindingstatusv1op.js.map +1 -0
- package/esm/models/updatecommentdto.d.ts.map +1 -1
- package/esm/models/updatecommentdto.js +1 -1
- package/esm/models/updatecommentdto.js.map +1 -1
- package/esm/models/updatefindingstatusdto.d.ts +29 -0
- package/esm/models/updatefindingstatusdto.d.ts.map +1 -0
- package/esm/models/updatefindingstatusdto.js +26 -0
- package/esm/models/updatefindingstatusdto.js.map +1 -0
- package/esm/models/updateroledto.d.ts +3 -1
- package/esm/models/updateroledto.d.ts.map +1 -1
- package/esm/models/updateroledto.js +3 -1
- package/esm/models/updateroledto.js.map +1 -1
- package/esm/models/vendoracceptancescontrollerlistvendoracceptancesv1op.d.ts +147 -0
- package/esm/models/vendoracceptancescontrollerlistvendoracceptancesv1op.d.ts.map +1 -0
- package/esm/models/vendoracceptancescontrollerlistvendoracceptancesv1op.js +119 -0
- package/esm/models/vendoracceptancescontrollerlistvendoracceptancesv1op.js.map +1 -0
- package/esm/models/vendoracceptancescontrollerrecordvendoracceptancev1op.d.ts +152 -0
- package/esm/models/vendoracceptancescontrollerrecordvendoracceptancev1op.d.ts.map +1 -0
- package/esm/models/vendoracceptancescontrollerrecordvendoracceptancev1op.js +122 -0
- package/esm/models/vendoracceptancescontrollerrecordvendoracceptancev1op.js.map +1 -0
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +28 -0
- package/esm/tool-names.js.map +1 -1
- package/package.json +2 -2
- package/src/funcs/ismsISMSControllerRiskTreatmentV1.ts +154 -0
- package/src/funcs/questionnaireQuestionnaireControllerAnswerSingleQuestionV1.ts +20 -4
- package/src/funcs/risksRiskAcceptancesControllerListRiskAcceptancesV1.ts +157 -0
- package/src/funcs/risksRiskAcceptancesControllerRecordRiskAcceptanceV1.ts +158 -0
- package/src/funcs/securityPenetrationTestsSecurityPenetrationTestsControllerUpdateFindingStatusV1.ts +168 -0
- package/src/funcs/trainingTrainingControllerSendHipaaTrainingCompletionEmailV1.ts +146 -0
- package/src/funcs/vendorsVendorAcceptancesControllerListVendorAcceptancesV1.ts +157 -0
- package/src/funcs/vendorsVendorAcceptancesControllerRecordVendorAcceptanceV1.ts +157 -0
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +19 -1
- package/src/mcp-server/tools/ismsISMSControllerRiskTreatmentV1.ts +44 -0
- package/src/mcp-server/tools/risksRiskAcceptancesControllerListRiskAcceptancesV1.ts +44 -0
- package/src/mcp-server/tools/risksRiskAcceptancesControllerRecordRiskAcceptanceV1.ts +44 -0
- package/src/mcp-server/tools/securityPenetrationTestsSecurityPenetrationTestsControllerUpdateFindingStatusV1.ts +45 -0
- package/src/mcp-server/tools/trainingTrainingControllerSendHipaaTrainingCompletionEmailV1.ts +44 -0
- package/src/mcp-server/tools/vendorsVendorAcceptancesControllerListVendorAcceptancesV1.ts +44 -0
- package/src/mcp-server/tools/vendorsVendorAcceptancesControllerRecordVendorAcceptanceV1.ts +44 -0
- package/src/models/answersinglequestiondto.ts +22 -2
- package/src/models/createcommentdto.ts +3 -1
- package/src/models/createriskacceptancedto.ts +21 -0
- package/src/models/createroledto.ts +6 -2
- package/src/models/ensureismssetupdto.ts +7 -1
- package/src/models/ismscontrollerrisktreatmentv1op.ts +13 -0
- package/src/models/ismsregisterscontrollercreaterowv1op.ts +46 -0
- package/src/models/ismsregisterscontrollerupdaterowv1op.ts +46 -0
- package/src/models/riskacceptancescontrollerlistriskacceptancesv1op.ts +281 -0
- package/src/models/riskacceptancescontrollerrecordriskacceptancev1op.ts +295 -0
- package/src/models/securitypenetrationtestscontrollerupdatefindingstatusv1op.ts +27 -0
- package/src/models/updatecommentdto.ts +3 -1
- package/src/models/updatefindingstatusdto.ts +49 -0
- package/src/models/updateroledto.ts +6 -2
- package/src/models/vendoracceptancescontrollerlistvendoracceptancesv1op.ts +288 -0
- package/src/models/vendoracceptancescontrollerrecordvendoracceptancev1op.ts +300 -0
- package/src/tool-names.ts +28 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* New status for the finding. `false_positive` and `wont_fix` dispute the finding and require a justification note.
|
|
5
|
+
*/
|
|
6
|
+
export declare const UpdateFindingStatusDtoStatus: {
|
|
7
|
+
readonly Open: "open";
|
|
8
|
+
readonly Acknowledged: "acknowledged";
|
|
9
|
+
readonly Resolved: "resolved";
|
|
10
|
+
readonly FalsePositive: "false_positive";
|
|
11
|
+
readonly WontFix: "wont_fix";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* New status for the finding. `false_positive` and `wont_fix` dispute the finding and require a justification note.
|
|
15
|
+
*/
|
|
16
|
+
export type UpdateFindingStatusDtoStatus = ClosedEnum<typeof UpdateFindingStatusDtoStatus>;
|
|
17
|
+
export declare const UpdateFindingStatusDtoStatus$zodSchema: z.ZodEnum<{
|
|
18
|
+
open: "open";
|
|
19
|
+
acknowledged: "acknowledged";
|
|
20
|
+
resolved: "resolved";
|
|
21
|
+
false_positive: "false_positive";
|
|
22
|
+
wont_fix: "wont_fix";
|
|
23
|
+
}>;
|
|
24
|
+
export type UpdateFindingStatusDto = {
|
|
25
|
+
status: UpdateFindingStatusDtoStatus;
|
|
26
|
+
note?: string | undefined;
|
|
27
|
+
};
|
|
28
|
+
export declare const UpdateFindingStatusDto$zodSchema: z.ZodType<UpdateFindingStatusDto>;
|
|
29
|
+
//# sourceMappingURL=updatefindingstatusdto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatefindingstatusdto.d.ts","sourceRoot":"","sources":["../../src/models/updatefindingstatusdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;;;CAM/B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,sCAAsC;;;;;;EAQlD,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,4BAA4B,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,sBAAsB,CAQtB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* New status for the finding. `false_positive` and `wont_fix` dispute the finding and require a justification note.
|
|
7
|
+
*/
|
|
8
|
+
export const UpdateFindingStatusDtoStatus = {
|
|
9
|
+
Open: "open",
|
|
10
|
+
Acknowledged: "acknowledged",
|
|
11
|
+
Resolved: "resolved",
|
|
12
|
+
FalsePositive: "false_positive",
|
|
13
|
+
WontFix: "wont_fix",
|
|
14
|
+
};
|
|
15
|
+
export const UpdateFindingStatusDtoStatus$zodSchema = z.enum([
|
|
16
|
+
"open",
|
|
17
|
+
"acknowledged",
|
|
18
|
+
"resolved",
|
|
19
|
+
"false_positive",
|
|
20
|
+
"wont_fix",
|
|
21
|
+
]).describe("New status for the finding. `false_positive` and `wont_fix` dispute the finding and require a justification note.");
|
|
22
|
+
export const UpdateFindingStatusDto$zodSchema = z.object({
|
|
23
|
+
note: z.string().optional().describe("Justification for the status change. REQUIRED, and at least 20 characters after trimming, when status is `false_positive` or `wont_fix`. Optional and unconstrained for the other statuses. Recorded in the finding's status history, written to the Comp audit log, and shared with the testing agent on future scans of the same target."),
|
|
24
|
+
status: UpdateFindingStatusDtoStatus$zodSchema.describe("New status for the finding. `false_positive` and `wont_fix` dispute the finding and require a justification note."),
|
|
25
|
+
});
|
|
26
|
+
//# sourceMappingURL=updatefindingstatusdto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatefindingstatusdto.js","sourceRoot":"","sources":["../../src/models/updatefindingstatusdto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,cAAc;IAC5B,QAAQ,EAAE,UAAU;IACpB,aAAa,EAAE,gBAAgB;IAC/B,OAAO,EAAE,UAAU;CACX,CAAC;AAQX,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3D,MAAM;IACN,cAAc;IACd,UAAU;IACV,gBAAgB;IAChB,UAAU;CACX,CAAC,CAAC,QAAQ,CACT,mHAAmH,CACpH,CAAC;AAOF,MAAM,CAAC,MAAM,gCAAgC,GAEzC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAClC,4UAA4U,CAC7U;IACD,MAAM,EAAE,sCAAsC,CAAC,QAAQ,CACrD,mHAAmH,CACpH;CACF,CAAC,CAAC"}
|
|
@@ -7,7 +7,9 @@ export declare const UpdateRoleDtoPermissions$zodSchema: z.ZodType<UpdateRoleDto
|
|
|
7
7
|
/**
|
|
8
8
|
* Updated obligations for the role.
|
|
9
9
|
*/
|
|
10
|
-
export type UpdateRoleDtoObligations = {
|
|
10
|
+
export type UpdateRoleDtoObligations = {
|
|
11
|
+
compliance?: boolean | undefined;
|
|
12
|
+
};
|
|
11
13
|
export declare const UpdateRoleDtoObligations$zodSchema: z.ZodType<UpdateRoleDtoObligations>;
|
|
12
14
|
export type UpdateRoleDto = {
|
|
13
15
|
name?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateroledto.d.ts","sourceRoot":"","sources":["../../src/models/updateroledto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC;AAE1C,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,wBAAwB,CAGzB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"updateroledto.d.ts","sourceRoot":"","sources":["../../src/models/updateroledto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC;AAE1C,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,wBAAwB,CAGzB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IAAE,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAE,CAAC;AAE5E,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,wBAAwB,CAKsB,CAAC;AAEjD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACnD,WAAW,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAQ3D,CAAC"}
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
export const UpdateRoleDtoPermissions$zodSchema = z.object({}).describe("Updated permissions for the role. Keys are resource names, values are arrays of allowed actions.");
|
|
6
|
-
export const UpdateRoleDtoObligations$zodSchema = z.object({
|
|
6
|
+
export const UpdateRoleDtoObligations$zodSchema = z.object({
|
|
7
|
+
compliance: z.boolean().optional().describe("Whether the role must complete compliance tasks."),
|
|
8
|
+
}).describe("Updated obligations for the role.");
|
|
7
9
|
export const UpdateRoleDto$zodSchema = z.object({
|
|
8
10
|
name: z.string().optional().describe("New name for the custom role"),
|
|
9
11
|
obligations: z.lazy(() => UpdateRoleDtoObligations$zodSchema).optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateroledto.js","sourceRoot":"","sources":["../../src/models/updateroledto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAOzB,MAAM,CAAC,MAAM,kCAAkC,GAE3C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CACvB,kGAAkG,CACnG,CAAC;AAOF,MAAM,CAAC,MAAM,kCAAkC,GAE3C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,mCAAmC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"updateroledto.js","sourceRoot":"","sources":["../../src/models/updateroledto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAOzB,MAAM,CAAC,MAAM,kCAAkC,GAE3C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CACvB,kGAAkG,CACnG,CAAC;AAOF,MAAM,CAAC,MAAM,kCAAkC,GAE3C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACzC,kDAAkD,CACnD;CACF,CAAC,CAAC,QAAQ,CAAC,mCAAmC,CAAC,CAAC;AAQjD,MAAM,CAAC,MAAM,uBAAuB,GAA6B,CAAC,CAAC,MAAM,CAAC;IACxE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACpE,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,kCAAkC,CAAC,CAAC,QAAQ,EAAE;SACrE,QAAQ,CAAC,mCAAmC,CAAC;IAChD,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,kCAAkC,CAAC,CAAC,QAAQ,EAAE;SACrE,QAAQ,CACP,kGAAkG,CACnG;CACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* Residual likelihood frozen at acceptance
|
|
5
|
+
*/
|
|
6
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1ResidualLikelihood: {
|
|
7
|
+
readonly VeryUnlikely: "very_unlikely";
|
|
8
|
+
readonly Unlikely: "unlikely";
|
|
9
|
+
readonly Possible: "possible";
|
|
10
|
+
readonly Likely: "likely";
|
|
11
|
+
readonly VeryLikely: "very_likely";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Residual likelihood frozen at acceptance
|
|
15
|
+
*/
|
|
16
|
+
export type VendorAcceptancesControllerListVendorAcceptancesV1ResidualLikelihood = ClosedEnum<typeof VendorAcceptancesControllerListVendorAcceptancesV1ResidualLikelihood>;
|
|
17
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1ResidualLikelihood$zodSchema: z.ZodEnum<{
|
|
18
|
+
very_unlikely: "very_unlikely";
|
|
19
|
+
unlikely: "unlikely";
|
|
20
|
+
possible: "possible";
|
|
21
|
+
likely: "likely";
|
|
22
|
+
very_likely: "very_likely";
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
* Residual impact frozen at acceptance
|
|
26
|
+
*/
|
|
27
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1ResidualImpact: {
|
|
28
|
+
readonly Insignificant: "insignificant";
|
|
29
|
+
readonly Minor: "minor";
|
|
30
|
+
readonly Moderate: "moderate";
|
|
31
|
+
readonly Major: "major";
|
|
32
|
+
readonly Severe: "severe";
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Residual impact frozen at acceptance
|
|
36
|
+
*/
|
|
37
|
+
export type VendorAcceptancesControllerListVendorAcceptancesV1ResidualImpact = ClosedEnum<typeof VendorAcceptancesControllerListVendorAcceptancesV1ResidualImpact>;
|
|
38
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1ResidualImpact$zodSchema: z.ZodEnum<{
|
|
39
|
+
insignificant: "insignificant";
|
|
40
|
+
minor: "minor";
|
|
41
|
+
moderate: "moderate";
|
|
42
|
+
major: "major";
|
|
43
|
+
severe: "severe";
|
|
44
|
+
}>;
|
|
45
|
+
/**
|
|
46
|
+
* Risk level of the accepted residual rating
|
|
47
|
+
*/
|
|
48
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1Level: {
|
|
49
|
+
readonly VeryLow: "very-low";
|
|
50
|
+
readonly Low: "low";
|
|
51
|
+
readonly Medium: "medium";
|
|
52
|
+
readonly High: "high";
|
|
53
|
+
readonly VeryHigh: "very-high";
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Risk level of the accepted residual rating
|
|
57
|
+
*/
|
|
58
|
+
export type VendorAcceptancesControllerListVendorAcceptancesV1Level = ClosedEnum<typeof VendorAcceptancesControllerListVendorAcceptancesV1Level>;
|
|
59
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1Level$zodSchema: z.ZodEnum<{
|
|
60
|
+
high: "high";
|
|
61
|
+
low: "low";
|
|
62
|
+
medium: "medium";
|
|
63
|
+
"very-low": "very-low";
|
|
64
|
+
"very-high": "very-high";
|
|
65
|
+
}>;
|
|
66
|
+
/**
|
|
67
|
+
* How the request was authenticated
|
|
68
|
+
*/
|
|
69
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1AuthType: {
|
|
70
|
+
readonly ApiKey: "api-key";
|
|
71
|
+
readonly Session: "session";
|
|
72
|
+
readonly Service: "service";
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* How the request was authenticated
|
|
76
|
+
*/
|
|
77
|
+
export type VendorAcceptancesControllerListVendorAcceptancesV1AuthType = ClosedEnum<typeof VendorAcceptancesControllerListVendorAcceptancesV1AuthType>;
|
|
78
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1AuthType$zodSchema: z.ZodEnum<{
|
|
79
|
+
"api-key": "api-key";
|
|
80
|
+
session: "session";
|
|
81
|
+
service: "service";
|
|
82
|
+
}>;
|
|
83
|
+
export type VendorAcceptancesControllerListVendorAcceptancesV1Request = {
|
|
84
|
+
id: string;
|
|
85
|
+
};
|
|
86
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1Request$zodSchema: z.ZodType<VendorAcceptancesControllerListVendorAcceptancesV1Request>;
|
|
87
|
+
/**
|
|
88
|
+
* Internal server error
|
|
89
|
+
*/
|
|
90
|
+
export type VendorAcceptancesControllerListVendorAcceptancesV1InternalServerErrorResponseBody = {
|
|
91
|
+
message?: string | undefined;
|
|
92
|
+
};
|
|
93
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1InternalServerErrorResponseBody$zodSchema: z.ZodType<VendorAcceptancesControllerListVendorAcceptancesV1InternalServerErrorResponseBody>;
|
|
94
|
+
/**
|
|
95
|
+
* Vendor not found
|
|
96
|
+
*/
|
|
97
|
+
export type VendorAcceptancesControllerListVendorAcceptancesV1NotFoundResponseBody = {
|
|
98
|
+
message?: string | undefined;
|
|
99
|
+
};
|
|
100
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1NotFoundResponseBody$zodSchema: z.ZodType<VendorAcceptancesControllerListVendorAcceptancesV1NotFoundResponseBody>;
|
|
101
|
+
/**
|
|
102
|
+
* Forbidden - User does not have permission to access vendor risks
|
|
103
|
+
*/
|
|
104
|
+
export type VendorAcceptancesControllerListVendorAcceptancesV1ForbiddenResponseBody = {
|
|
105
|
+
message?: string | undefined;
|
|
106
|
+
};
|
|
107
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1ForbiddenResponseBody$zodSchema: z.ZodType<VendorAcceptancesControllerListVendorAcceptancesV1ForbiddenResponseBody>;
|
|
108
|
+
/**
|
|
109
|
+
* Unauthorized - Invalid authentication
|
|
110
|
+
*/
|
|
111
|
+
export type VendorAcceptancesControllerListVendorAcceptancesV1UnauthorizedResponseBody = {
|
|
112
|
+
message?: string | undefined;
|
|
113
|
+
};
|
|
114
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1UnauthorizedResponseBody$zodSchema: z.ZodType<VendorAcceptancesControllerListVendorAcceptancesV1UnauthorizedResponseBody>;
|
|
115
|
+
export type VendorAcceptancesControllerListVendorAcceptancesV1Data = {
|
|
116
|
+
id?: string | undefined;
|
|
117
|
+
acceptedById?: string | null | undefined;
|
|
118
|
+
acceptedByName?: string | undefined;
|
|
119
|
+
notes?: string | null | undefined;
|
|
120
|
+
residualLikelihood?: VendorAcceptancesControllerListVendorAcceptancesV1ResidualLikelihood | undefined;
|
|
121
|
+
residualImpact?: VendorAcceptancesControllerListVendorAcceptancesV1ResidualImpact | undefined;
|
|
122
|
+
level?: VendorAcceptancesControllerListVendorAcceptancesV1Level | undefined;
|
|
123
|
+
levelLabel?: string | undefined;
|
|
124
|
+
stale?: boolean | undefined;
|
|
125
|
+
createdAt?: string | undefined;
|
|
126
|
+
};
|
|
127
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1Data$zodSchema: z.ZodType<VendorAcceptancesControllerListVendorAcceptancesV1Data>;
|
|
128
|
+
/**
|
|
129
|
+
* User information (only for session auth)
|
|
130
|
+
*/
|
|
131
|
+
export type VendorAcceptancesControllerListVendorAcceptancesV1AuthenticatedUser = {
|
|
132
|
+
id?: string | undefined;
|
|
133
|
+
email?: string | undefined;
|
|
134
|
+
};
|
|
135
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1AuthenticatedUser$zodSchema: z.ZodType<VendorAcceptancesControllerListVendorAcceptancesV1AuthenticatedUser>;
|
|
136
|
+
/**
|
|
137
|
+
* Acceptance history retrieved successfully (newest first)
|
|
138
|
+
*/
|
|
139
|
+
export type VendorAcceptancesControllerListVendorAcceptancesV1ResponseBody = {
|
|
140
|
+
data?: Array<VendorAcceptancesControllerListVendorAcceptancesV1Data> | undefined;
|
|
141
|
+
authType?: VendorAcceptancesControllerListVendorAcceptancesV1AuthType | undefined;
|
|
142
|
+
authenticatedUser?: VendorAcceptancesControllerListVendorAcceptancesV1AuthenticatedUser | undefined;
|
|
143
|
+
};
|
|
144
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1ResponseBody$zodSchema: z.ZodType<VendorAcceptancesControllerListVendorAcceptancesV1ResponseBody>;
|
|
145
|
+
export type VendorAcceptancesControllerListVendorAcceptancesV1Response = VendorAcceptancesControllerListVendorAcceptancesV1ResponseBody | VendorAcceptancesControllerListVendorAcceptancesV1UnauthorizedResponseBody | VendorAcceptancesControllerListVendorAcceptancesV1ForbiddenResponseBody | VendorAcceptancesControllerListVendorAcceptancesV1NotFoundResponseBody | VendorAcceptancesControllerListVendorAcceptancesV1InternalServerErrorResponseBody;
|
|
146
|
+
export declare const VendorAcceptancesControllerListVendorAcceptancesV1Response$zodSchema: z.ZodType<VendorAcceptancesControllerListVendorAcceptancesV1Response>;
|
|
147
|
+
//# sourceMappingURL=vendoracceptancescontrollerlistvendoracceptancesv1op.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vendoracceptancescontrollerlistvendoracceptancesv1op.d.ts","sourceRoot":"","sources":["../../src/models/vendoracceptancescontrollerlistvendoracceptancesv1op.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,oEAAoE;;;;;;CAOrE,CAAC;AACb;;GAEG;AACH,MAAM,MAAM,oEAAoE,GAC9E,UAAU,CACR,OAAO,oEAAoE,CAC5E,CAAC;AAEJ,eAAO,MAAM,8EAA8E;;;;;;EAOlC,CAAC;AAE1D;;GAEG;AACH,eAAO,MAAM,gEAAgE;;;;;;CAOjE,CAAC;AACb;;GAEG;AACH,MAAM,MAAM,gEAAgE,GAC1E,UAAU,CACR,OAAO,gEAAgE,CACxE,CAAC;AAEJ,eAAO,MAAM,0EAA0E;;;;;;EAOlC,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,uDAAuD;;;;;;CAM1D,CAAC;AACX;;GAEG;AAC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F,CAAC;AAEtF,eAAO,MAAM,oEAAoE,EAC/E,CAAC,CAAC,OAAO,CAAC,0DAA0D,CAiBhE,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* Residual likelihood frozen at acceptance
|
|
7
|
+
*/
|
|
8
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1ResidualLikelihood = {
|
|
9
|
+
VeryUnlikely: "very_unlikely",
|
|
10
|
+
Unlikely: "unlikely",
|
|
11
|
+
Possible: "possible",
|
|
12
|
+
Likely: "likely",
|
|
13
|
+
VeryLikely: "very_likely",
|
|
14
|
+
};
|
|
15
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1ResidualLikelihood$zodSchema = z.enum([
|
|
16
|
+
"very_unlikely",
|
|
17
|
+
"unlikely",
|
|
18
|
+
"possible",
|
|
19
|
+
"likely",
|
|
20
|
+
"very_likely",
|
|
21
|
+
]).describe("Residual likelihood frozen at acceptance");
|
|
22
|
+
/**
|
|
23
|
+
* Residual impact frozen at acceptance
|
|
24
|
+
*/
|
|
25
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1ResidualImpact = {
|
|
26
|
+
Insignificant: "insignificant",
|
|
27
|
+
Minor: "minor",
|
|
28
|
+
Moderate: "moderate",
|
|
29
|
+
Major: "major",
|
|
30
|
+
Severe: "severe",
|
|
31
|
+
};
|
|
32
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1ResidualImpact$zodSchema = z.enum([
|
|
33
|
+
"insignificant",
|
|
34
|
+
"minor",
|
|
35
|
+
"moderate",
|
|
36
|
+
"major",
|
|
37
|
+
"severe",
|
|
38
|
+
]).describe("Residual impact frozen at acceptance");
|
|
39
|
+
/**
|
|
40
|
+
* Risk level of the accepted residual rating
|
|
41
|
+
*/
|
|
42
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1Level = {
|
|
43
|
+
VeryLow: "very-low",
|
|
44
|
+
Low: "low",
|
|
45
|
+
Medium: "medium",
|
|
46
|
+
High: "high",
|
|
47
|
+
VeryHigh: "very-high",
|
|
48
|
+
};
|
|
49
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1Level$zodSchema = z.enum([
|
|
50
|
+
"very-low",
|
|
51
|
+
"low",
|
|
52
|
+
"medium",
|
|
53
|
+
"high",
|
|
54
|
+
"very-high",
|
|
55
|
+
]).describe("Risk level of the accepted residual rating");
|
|
56
|
+
/**
|
|
57
|
+
* How the request was authenticated
|
|
58
|
+
*/
|
|
59
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1AuthType = {
|
|
60
|
+
ApiKey: "api-key",
|
|
61
|
+
Session: "session",
|
|
62
|
+
Service: "service",
|
|
63
|
+
};
|
|
64
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1AuthType$zodSchema = z.enum([
|
|
65
|
+
"api-key",
|
|
66
|
+
"session",
|
|
67
|
+
"service",
|
|
68
|
+
]).describe("How the request was authenticated");
|
|
69
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1Request$zodSchema = z
|
|
70
|
+
.object({
|
|
71
|
+
id: z.string().describe("Vendor ID"),
|
|
72
|
+
});
|
|
73
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1InternalServerErrorResponseBody$zodSchema = z.object({
|
|
74
|
+
message: z.string().optional(),
|
|
75
|
+
}).describe("Internal server error");
|
|
76
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1NotFoundResponseBody$zodSchema = z.object({
|
|
77
|
+
message: z.string().optional(),
|
|
78
|
+
}).describe("Vendor not found");
|
|
79
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1ForbiddenResponseBody$zodSchema = z.object({
|
|
80
|
+
message: z.string().optional(),
|
|
81
|
+
}).describe("Forbidden - User does not have permission to access vendor risks");
|
|
82
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1UnauthorizedResponseBody$zodSchema = z.object({
|
|
83
|
+
message: z.string().optional(),
|
|
84
|
+
}).describe("Unauthorized - Invalid authentication");
|
|
85
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1Data$zodSchema = z.object({
|
|
86
|
+
acceptedById: z.string().nullable().optional().describe("Member ID of the acceptor (null if since removed)"),
|
|
87
|
+
acceptedByName: z.string().optional().describe("Acceptor display name, frozen at acceptance"),
|
|
88
|
+
createdAt: z.iso.datetime({ offset: true }).optional().describe("When the acceptance was recorded (server-set, immutable)"),
|
|
89
|
+
id: z.string().optional().describe("Acceptance event ID"),
|
|
90
|
+
level: VendorAcceptancesControllerListVendorAcceptancesV1Level$zodSchema
|
|
91
|
+
.optional().describe("Risk level of the accepted residual rating"),
|
|
92
|
+
levelLabel: z.string().optional().describe("Human-readable level label"),
|
|
93
|
+
notes: z.string().nullable().optional(),
|
|
94
|
+
residualImpact: VendorAcceptancesControllerListVendorAcceptancesV1ResidualImpact$zodSchema
|
|
95
|
+
.optional().describe("Residual impact frozen at acceptance"),
|
|
96
|
+
residualLikelihood: VendorAcceptancesControllerListVendorAcceptancesV1ResidualLikelihood$zodSchema
|
|
97
|
+
.optional().describe("Residual likelihood frozen at acceptance"),
|
|
98
|
+
stale: z.boolean().optional().describe("True when the residual rating changed after this acceptance was recorded — re-acceptance is required"),
|
|
99
|
+
});
|
|
100
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1AuthenticatedUser$zodSchema = z.object({
|
|
101
|
+
email: z.string().optional(),
|
|
102
|
+
id: z.string().optional(),
|
|
103
|
+
}).describe("User information (only for session auth)");
|
|
104
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1ResponseBody$zodSchema = z
|
|
105
|
+
.object({
|
|
106
|
+
authType: VendorAcceptancesControllerListVendorAcceptancesV1AuthType$zodSchema
|
|
107
|
+
.optional().describe("How the request was authenticated"),
|
|
108
|
+
authenticatedUser: z.lazy(() => VendorAcceptancesControllerListVendorAcceptancesV1AuthenticatedUser$zodSchema).optional().describe("User information (only for session auth)"),
|
|
109
|
+
data: z.array(z.lazy(() => VendorAcceptancesControllerListVendorAcceptancesV1Data$zodSchema)).optional(),
|
|
110
|
+
}).describe("Acceptance history retrieved successfully (newest first)");
|
|
111
|
+
export const VendorAcceptancesControllerListVendorAcceptancesV1Response$zodSchema = z
|
|
112
|
+
.union([
|
|
113
|
+
z.lazy(() => VendorAcceptancesControllerListVendorAcceptancesV1ResponseBody$zodSchema),
|
|
114
|
+
z.lazy(() => VendorAcceptancesControllerListVendorAcceptancesV1UnauthorizedResponseBody$zodSchema),
|
|
115
|
+
z.lazy(() => VendorAcceptancesControllerListVendorAcceptancesV1ForbiddenResponseBody$zodSchema),
|
|
116
|
+
z.lazy(() => VendorAcceptancesControllerListVendorAcceptancesV1NotFoundResponseBody$zodSchema),
|
|
117
|
+
z.lazy(() => VendorAcceptancesControllerListVendorAcceptancesV1InternalServerErrorResponseBody$zodSchema),
|
|
118
|
+
]);
|
|
119
|
+
//# sourceMappingURL=vendoracceptancescontrollerlistvendoracceptancesv1op.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vendoracceptancescontrollerlistvendoracceptancesv1op.js","sourceRoot":"","sources":["../../src/models/vendoracceptancescontrollerlistvendoracceptancesv1op.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB;;GAEG;AACH,MAAM,CAAC,MAAM,oEAAoE,GAC/E;IACE,YAAY,EAAE,eAAe;IAC7B,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,aAAa;CACjB,CAAC;AASb,MAAM,CAAC,MAAM,8EAA8E,GACzF,CAAC,CAAC,IAAI,CAAC;IACL,eAAe;IACf,UAAU;IACV,UAAU;IACV,QAAQ;IACR,aAAa;CACd,CAAC,CAAC,QAAQ,CAAC,0CAA0C,CAAC,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wEAAwE,CACzE;IACD,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACV,oFAAoF,CACrF;IACD,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACV,iFAAiF,CAClF;IACD,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACV,gFAAgF,CACjF;IACD,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACV,2FAA2F,CAC5F;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
import { CreateRiskAcceptanceDto } from "./createriskacceptancedto.js";
|
|
4
|
+
/**
|
|
5
|
+
* Residual likelihood frozen at acceptance
|
|
6
|
+
*/
|
|
7
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1ResidualLikelihood: {
|
|
8
|
+
readonly VeryUnlikely: "very_unlikely";
|
|
9
|
+
readonly Unlikely: "unlikely";
|
|
10
|
+
readonly Possible: "possible";
|
|
11
|
+
readonly Likely: "likely";
|
|
12
|
+
readonly VeryLikely: "very_likely";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Residual likelihood frozen at acceptance
|
|
16
|
+
*/
|
|
17
|
+
export type VendorAcceptancesControllerRecordVendorAcceptanceV1ResidualLikelihood = ClosedEnum<typeof VendorAcceptancesControllerRecordVendorAcceptanceV1ResidualLikelihood>;
|
|
18
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1ResidualLikelihood$zodSchema: z.ZodEnum<{
|
|
19
|
+
very_unlikely: "very_unlikely";
|
|
20
|
+
unlikely: "unlikely";
|
|
21
|
+
possible: "possible";
|
|
22
|
+
likely: "likely";
|
|
23
|
+
very_likely: "very_likely";
|
|
24
|
+
}>;
|
|
25
|
+
/**
|
|
26
|
+
* Residual impact frozen at acceptance
|
|
27
|
+
*/
|
|
28
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1ResidualImpact: {
|
|
29
|
+
readonly Insignificant: "insignificant";
|
|
30
|
+
readonly Minor: "minor";
|
|
31
|
+
readonly Moderate: "moderate";
|
|
32
|
+
readonly Major: "major";
|
|
33
|
+
readonly Severe: "severe";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Residual impact frozen at acceptance
|
|
37
|
+
*/
|
|
38
|
+
export type VendorAcceptancesControllerRecordVendorAcceptanceV1ResidualImpact = ClosedEnum<typeof VendorAcceptancesControllerRecordVendorAcceptanceV1ResidualImpact>;
|
|
39
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1ResidualImpact$zodSchema: z.ZodEnum<{
|
|
40
|
+
insignificant: "insignificant";
|
|
41
|
+
minor: "minor";
|
|
42
|
+
moderate: "moderate";
|
|
43
|
+
major: "major";
|
|
44
|
+
severe: "severe";
|
|
45
|
+
}>;
|
|
46
|
+
/**
|
|
47
|
+
* Risk level of the accepted residual rating
|
|
48
|
+
*/
|
|
49
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1Level: {
|
|
50
|
+
readonly VeryLow: "very-low";
|
|
51
|
+
readonly Low: "low";
|
|
52
|
+
readonly Medium: "medium";
|
|
53
|
+
readonly High: "high";
|
|
54
|
+
readonly VeryHigh: "very-high";
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Risk level of the accepted residual rating
|
|
58
|
+
*/
|
|
59
|
+
export type VendorAcceptancesControllerRecordVendorAcceptanceV1Level = ClosedEnum<typeof VendorAcceptancesControllerRecordVendorAcceptanceV1Level>;
|
|
60
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1Level$zodSchema: z.ZodEnum<{
|
|
61
|
+
high: "high";
|
|
62
|
+
low: "low";
|
|
63
|
+
medium: "medium";
|
|
64
|
+
"very-low": "very-low";
|
|
65
|
+
"very-high": "very-high";
|
|
66
|
+
}>;
|
|
67
|
+
/**
|
|
68
|
+
* How the request was authenticated
|
|
69
|
+
*/
|
|
70
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1AuthType: {
|
|
71
|
+
readonly ApiKey: "api-key";
|
|
72
|
+
readonly Session: "session";
|
|
73
|
+
readonly Service: "service";
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* How the request was authenticated
|
|
77
|
+
*/
|
|
78
|
+
export type VendorAcceptancesControllerRecordVendorAcceptanceV1AuthType = ClosedEnum<typeof VendorAcceptancesControllerRecordVendorAcceptanceV1AuthType>;
|
|
79
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1AuthType$zodSchema: z.ZodEnum<{
|
|
80
|
+
"api-key": "api-key";
|
|
81
|
+
session: "session";
|
|
82
|
+
service: "service";
|
|
83
|
+
}>;
|
|
84
|
+
export type VendorAcceptancesControllerRecordVendorAcceptanceV1Request = {
|
|
85
|
+
id: string;
|
|
86
|
+
body: CreateRiskAcceptanceDto;
|
|
87
|
+
};
|
|
88
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1Request$zodSchema: z.ZodType<VendorAcceptancesControllerRecordVendorAcceptanceV1Request>;
|
|
89
|
+
/**
|
|
90
|
+
* Internal server error
|
|
91
|
+
*/
|
|
92
|
+
export type VendorAcceptancesControllerRecordVendorAcceptanceV1InternalServerErrorResponseBody = {
|
|
93
|
+
message?: string | undefined;
|
|
94
|
+
};
|
|
95
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1InternalServerErrorResponseBody$zodSchema: z.ZodType<VendorAcceptancesControllerRecordVendorAcceptanceV1InternalServerErrorResponseBody>;
|
|
96
|
+
/**
|
|
97
|
+
* Vendor not found
|
|
98
|
+
*/
|
|
99
|
+
export type VendorAcceptancesControllerRecordVendorAcceptanceV1NotFoundResponseBody = {
|
|
100
|
+
message?: string | undefined;
|
|
101
|
+
};
|
|
102
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1NotFoundResponseBody$zodSchema: z.ZodType<VendorAcceptancesControllerRecordVendorAcceptanceV1NotFoundResponseBody>;
|
|
103
|
+
/**
|
|
104
|
+
* Forbidden - User does not have permission to access vendor risks
|
|
105
|
+
*/
|
|
106
|
+
export type VendorAcceptancesControllerRecordVendorAcceptanceV1ForbiddenResponseBody = {
|
|
107
|
+
message?: string | undefined;
|
|
108
|
+
};
|
|
109
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1ForbiddenResponseBody$zodSchema: z.ZodType<VendorAcceptancesControllerRecordVendorAcceptanceV1ForbiddenResponseBody>;
|
|
110
|
+
/**
|
|
111
|
+
* Unauthorized - Invalid authentication
|
|
112
|
+
*/
|
|
113
|
+
export type VendorAcceptancesControllerRecordVendorAcceptanceV1UnauthorizedResponseBody = {
|
|
114
|
+
message?: string | undefined;
|
|
115
|
+
};
|
|
116
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1UnauthorizedResponseBody$zodSchema: z.ZodType<VendorAcceptancesControllerRecordVendorAcceptanceV1UnauthorizedResponseBody>;
|
|
117
|
+
/**
|
|
118
|
+
* No owner assigned, or the acceptor is not a valid member
|
|
119
|
+
*/
|
|
120
|
+
export type VendorAcceptancesControllerRecordVendorAcceptanceV1BadRequestResponseBody = {
|
|
121
|
+
message?: string | undefined;
|
|
122
|
+
};
|
|
123
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1BadRequestResponseBody$zodSchema: z.ZodType<VendorAcceptancesControllerRecordVendorAcceptanceV1BadRequestResponseBody>;
|
|
124
|
+
/**
|
|
125
|
+
* User information (only for session auth)
|
|
126
|
+
*/
|
|
127
|
+
export type VendorAcceptancesControllerRecordVendorAcceptanceV1AuthenticatedUser = {
|
|
128
|
+
id?: string | undefined;
|
|
129
|
+
email?: string | undefined;
|
|
130
|
+
};
|
|
131
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1AuthenticatedUser$zodSchema: z.ZodType<VendorAcceptancesControllerRecordVendorAcceptanceV1AuthenticatedUser>;
|
|
132
|
+
/**
|
|
133
|
+
* Acceptance recorded successfully
|
|
134
|
+
*/
|
|
135
|
+
export type VendorAcceptancesControllerRecordVendorAcceptanceV1ResponseBody = {
|
|
136
|
+
id?: string | undefined;
|
|
137
|
+
acceptedById?: string | null | undefined;
|
|
138
|
+
acceptedByName?: string | undefined;
|
|
139
|
+
notes?: string | null | undefined;
|
|
140
|
+
residualLikelihood?: VendorAcceptancesControllerRecordVendorAcceptanceV1ResidualLikelihood | undefined;
|
|
141
|
+
residualImpact?: VendorAcceptancesControllerRecordVendorAcceptanceV1ResidualImpact | undefined;
|
|
142
|
+
level?: VendorAcceptancesControllerRecordVendorAcceptanceV1Level | undefined;
|
|
143
|
+
levelLabel?: string | undefined;
|
|
144
|
+
stale?: boolean | undefined;
|
|
145
|
+
createdAt?: string | undefined;
|
|
146
|
+
authType?: VendorAcceptancesControllerRecordVendorAcceptanceV1AuthType | undefined;
|
|
147
|
+
authenticatedUser?: VendorAcceptancesControllerRecordVendorAcceptanceV1AuthenticatedUser | undefined;
|
|
148
|
+
};
|
|
149
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1ResponseBody$zodSchema: z.ZodType<VendorAcceptancesControllerRecordVendorAcceptanceV1ResponseBody>;
|
|
150
|
+
export type VendorAcceptancesControllerRecordVendorAcceptanceV1Response = VendorAcceptancesControllerRecordVendorAcceptanceV1ResponseBody | VendorAcceptancesControllerRecordVendorAcceptanceV1BadRequestResponseBody | VendorAcceptancesControllerRecordVendorAcceptanceV1UnauthorizedResponseBody | VendorAcceptancesControllerRecordVendorAcceptanceV1ForbiddenResponseBody | VendorAcceptancesControllerRecordVendorAcceptanceV1NotFoundResponseBody | VendorAcceptancesControllerRecordVendorAcceptanceV1InternalServerErrorResponseBody;
|
|
151
|
+
export declare const VendorAcceptancesControllerRecordVendorAcceptanceV1Response$zodSchema: z.ZodType<VendorAcceptancesControllerRecordVendorAcceptanceV1Response>;
|
|
152
|
+
//# sourceMappingURL=vendoracceptancescontrollerrecordvendoracceptancev1op.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vendoracceptancescontrollerrecordvendoracceptancev1op.d.ts","sourceRoot":"","sources":["../../src/models/vendoracceptancescontrollerrecordvendoracceptancev1op.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,uBAAuB,EAExB,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,qEAAqE;;;;;;CAOtE,CAAC;AACb;;GAEG;AACH,MAAM,MAAM,qEAAqE,GAC/E,UAAU,CACR,OAAO,qEAAqE,CAC7E,CAAC;AAEJ,eAAO,MAAM,+EAA+E;;;;;;EAOnC,CAAC;AAE1D;;GAEG;AACH,eAAO,MAAM,iEAAiE;;;;;;CAOlE,CAAC;AACb;;GAEG;AACH,MAAM,MAAM,iEAAiE,GAC3E,UAAU,CACR,OAAO,iEAAiE,CACzE,CAAC;AAEJ,eAAO,MAAM,2EAA2E;;;;;;EAOnC,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,wDAAwD;;;;;;CAM3D,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,wDAAwD,GAClE,UAAU,CAAC,OAAO,wDAAwD,CAAC,CAAC;AAE9E,eAAO,MAAM,kEAAkE;;;;;;EAOpB,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,2DAA2D;;;;CAI9D,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,2DAA2D,GACrE,UAAU,CACR,OAAO,2DAA2D,CACnE,CAAC;AAEJ,eAAO,MAAM,qEAAqE;;;;EAKhC,CAAC;AAEnD,MAAM,MAAM,0DAA0D,GAAG;IACvE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,uBAAuB,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,oEAAoE,EAC/E,CAAC,CAAC,OAAO,CAAC,0DAA0D,CAMhE,CAAC;AAEP;;GAEG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