vanta-auditor-api-sdk 0.6.1 → 0.6.3
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 +21 -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/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/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,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { AccountAccess, AccountAccess$inboundSchema } from "./accountaccess.js";
|
|
10
|
+
import { PageInfo, PageInfo$inboundSchema } from "./pageinfo.js";
|
|
11
|
+
|
|
12
|
+
export type PaginatedResponseAccountAccessResults = {
|
|
13
|
+
data: Array<AccountAccess>;
|
|
14
|
+
/**
|
|
15
|
+
* Provides information about the pagination of a dataset.
|
|
16
|
+
*/
|
|
17
|
+
pageInfo: PageInfo;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type PaginatedResponseAccountAccess = {
|
|
21
|
+
results: PaginatedResponseAccountAccessResults;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const PaginatedResponseAccountAccessResults$inboundSchema: z.ZodType<
|
|
26
|
+
PaginatedResponseAccountAccessResults,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
data: z.array(AccountAccess$inboundSchema),
|
|
31
|
+
pageInfo: PageInfo$inboundSchema,
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function paginatedResponseAccountAccessResultsFromJSON(
|
|
35
|
+
jsonString: string,
|
|
36
|
+
): SafeParseResult<PaginatedResponseAccountAccessResults, SDKValidationError> {
|
|
37
|
+
return safeParse(
|
|
38
|
+
jsonString,
|
|
39
|
+
(x) =>
|
|
40
|
+
PaginatedResponseAccountAccessResults$inboundSchema.parse(JSON.parse(x)),
|
|
41
|
+
`Failed to parse 'PaginatedResponseAccountAccessResults' from JSON`,
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const PaginatedResponseAccountAccess$inboundSchema: z.ZodType<
|
|
47
|
+
PaginatedResponseAccountAccess,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
unknown
|
|
50
|
+
> = z.object({
|
|
51
|
+
results: z.lazy(() => PaginatedResponseAccountAccessResults$inboundSchema),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export function paginatedResponseAccountAccessFromJSON(
|
|
55
|
+
jsonString: string,
|
|
56
|
+
): SafeParseResult<PaginatedResponseAccountAccess, SDKValidationError> {
|
|
57
|
+
return safeParse(
|
|
58
|
+
jsonString,
|
|
59
|
+
(x) => PaginatedResponseAccountAccess$inboundSchema.parse(JSON.parse(x)),
|
|
60
|
+
`Failed to parse 'PaginatedResponseAccountAccess' from JSON`,
|
|
61
|
+
);
|
|
62
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
AccountAccessService,
|
|
11
|
+
AccountAccessService$inboundSchema,
|
|
12
|
+
} from "./accountaccessservice.js";
|
|
13
|
+
import { PageInfo, PageInfo$inboundSchema } from "./pageinfo.js";
|
|
14
|
+
|
|
15
|
+
export type PaginatedResponseAccountAccessServiceResults = {
|
|
16
|
+
data: Array<AccountAccessService>;
|
|
17
|
+
/**
|
|
18
|
+
* Provides information about the pagination of a dataset.
|
|
19
|
+
*/
|
|
20
|
+
pageInfo: PageInfo;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type PaginatedResponseAccountAccessService = {
|
|
24
|
+
results: PaginatedResponseAccountAccessServiceResults;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const PaginatedResponseAccountAccessServiceResults$inboundSchema:
|
|
29
|
+
z.ZodType<
|
|
30
|
+
PaginatedResponseAccountAccessServiceResults,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
data: z.array(AccountAccessService$inboundSchema),
|
|
35
|
+
pageInfo: PageInfo$inboundSchema,
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export function paginatedResponseAccountAccessServiceResultsFromJSON(
|
|
39
|
+
jsonString: string,
|
|
40
|
+
): SafeParseResult<
|
|
41
|
+
PaginatedResponseAccountAccessServiceResults,
|
|
42
|
+
SDKValidationError
|
|
43
|
+
> {
|
|
44
|
+
return safeParse(
|
|
45
|
+
jsonString,
|
|
46
|
+
(x) =>
|
|
47
|
+
PaginatedResponseAccountAccessServiceResults$inboundSchema.parse(
|
|
48
|
+
JSON.parse(x),
|
|
49
|
+
),
|
|
50
|
+
`Failed to parse 'PaginatedResponseAccountAccessServiceResults' from JSON`,
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const PaginatedResponseAccountAccessService$inboundSchema: z.ZodType<
|
|
56
|
+
PaginatedResponseAccountAccessService,
|
|
57
|
+
z.ZodTypeDef,
|
|
58
|
+
unknown
|
|
59
|
+
> = z.object({
|
|
60
|
+
results: z.lazy(() =>
|
|
61
|
+
PaginatedResponseAccountAccessServiceResults$inboundSchema
|
|
62
|
+
),
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
export function paginatedResponseAccountAccessServiceFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<PaginatedResponseAccountAccessService, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) =>
|
|
71
|
+
PaginatedResponseAccountAccessService$inboundSchema.parse(JSON.parse(x)),
|
|
72
|
+
`Failed to parse 'PaginatedResponseAccountAccessService' from JSON`,
|
|
73
|
+
);
|
|
74
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { AuditRisk, AuditRisk$inboundSchema } from "./auditrisk.js";
|
|
10
|
+
import { PageInfo, PageInfo$inboundSchema } from "./pageinfo.js";
|
|
11
|
+
|
|
12
|
+
export type PaginatedResponseAuditRiskResults = {
|
|
13
|
+
data: Array<AuditRisk>;
|
|
14
|
+
/**
|
|
15
|
+
* Provides information about the pagination of a dataset.
|
|
16
|
+
*/
|
|
17
|
+
pageInfo: PageInfo;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type PaginatedResponseAuditRisk = {
|
|
21
|
+
results: PaginatedResponseAuditRiskResults;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const PaginatedResponseAuditRiskResults$inboundSchema: z.ZodType<
|
|
26
|
+
PaginatedResponseAuditRiskResults,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
data: z.array(AuditRisk$inboundSchema),
|
|
31
|
+
pageInfo: PageInfo$inboundSchema,
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function paginatedResponseAuditRiskResultsFromJSON(
|
|
35
|
+
jsonString: string,
|
|
36
|
+
): SafeParseResult<PaginatedResponseAuditRiskResults, SDKValidationError> {
|
|
37
|
+
return safeParse(
|
|
38
|
+
jsonString,
|
|
39
|
+
(x) => PaginatedResponseAuditRiskResults$inboundSchema.parse(JSON.parse(x)),
|
|
40
|
+
`Failed to parse 'PaginatedResponseAuditRiskResults' from JSON`,
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const PaginatedResponseAuditRisk$inboundSchema: z.ZodType<
|
|
46
|
+
PaginatedResponseAuditRisk,
|
|
47
|
+
z.ZodTypeDef,
|
|
48
|
+
unknown
|
|
49
|
+
> = z.object({
|
|
50
|
+
results: z.lazy(() => PaginatedResponseAuditRiskResults$inboundSchema),
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
export function paginatedResponseAuditRiskFromJSON(
|
|
54
|
+
jsonString: string,
|
|
55
|
+
): SafeParseResult<PaginatedResponseAuditRisk, SDKValidationError> {
|
|
56
|
+
return safeParse(
|
|
57
|
+
jsonString,
|
|
58
|
+
(x) => PaginatedResponseAuditRisk$inboundSchema.parse(JSON.parse(x)),
|
|
59
|
+
`Failed to parse 'PaginatedResponseAuditRisk' from JSON`,
|
|
60
|
+
);
|
|
61
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { AuditVendor, AuditVendor$inboundSchema } from "./auditvendor.js";
|
|
10
|
+
import { PageInfo, PageInfo$inboundSchema } from "./pageinfo.js";
|
|
11
|
+
|
|
12
|
+
export type PaginatedResponseAuditVendorResults = {
|
|
13
|
+
data: Array<AuditVendor>;
|
|
14
|
+
/**
|
|
15
|
+
* Provides information about the pagination of a dataset.
|
|
16
|
+
*/
|
|
17
|
+
pageInfo: PageInfo;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type PaginatedResponseAuditVendor = {
|
|
21
|
+
results: PaginatedResponseAuditVendorResults;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const PaginatedResponseAuditVendorResults$inboundSchema: z.ZodType<
|
|
26
|
+
PaginatedResponseAuditVendorResults,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
data: z.array(AuditVendor$inboundSchema),
|
|
31
|
+
pageInfo: PageInfo$inboundSchema,
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function paginatedResponseAuditVendorResultsFromJSON(
|
|
35
|
+
jsonString: string,
|
|
36
|
+
): SafeParseResult<PaginatedResponseAuditVendorResults, SDKValidationError> {
|
|
37
|
+
return safeParse(
|
|
38
|
+
jsonString,
|
|
39
|
+
(x) =>
|
|
40
|
+
PaginatedResponseAuditVendorResults$inboundSchema.parse(JSON.parse(x)),
|
|
41
|
+
`Failed to parse 'PaginatedResponseAuditVendorResults' from JSON`,
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const PaginatedResponseAuditVendor$inboundSchema: z.ZodType<
|
|
47
|
+
PaginatedResponseAuditVendor,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
unknown
|
|
50
|
+
> = z.object({
|
|
51
|
+
results: z.lazy(() => PaginatedResponseAuditVendorResults$inboundSchema),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export function paginatedResponseAuditVendorFromJSON(
|
|
55
|
+
jsonString: string,
|
|
56
|
+
): SafeParseResult<PaginatedResponseAuditVendor, SDKValidationError> {
|
|
57
|
+
return safeParse(
|
|
58
|
+
jsonString,
|
|
59
|
+
(x) => PaginatedResponseAuditVendor$inboundSchema.parse(JSON.parse(x)),
|
|
60
|
+
`Failed to parse 'PaginatedResponseAuditVendor' from JSON`,
|
|
61
|
+
);
|
|
62
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { CodeChange, CodeChange$inboundSchema } from "./codechange.js";
|
|
10
|
+
import { PageInfo, PageInfo$inboundSchema } from "./pageinfo.js";
|
|
11
|
+
|
|
12
|
+
export type PaginatedResponseCodeChangeResults = {
|
|
13
|
+
data: Array<CodeChange>;
|
|
14
|
+
/**
|
|
15
|
+
* Provides information about the pagination of a dataset.
|
|
16
|
+
*/
|
|
17
|
+
pageInfo: PageInfo;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type PaginatedResponseCodeChange = {
|
|
21
|
+
results: PaginatedResponseCodeChangeResults;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const PaginatedResponseCodeChangeResults$inboundSchema: z.ZodType<
|
|
26
|
+
PaginatedResponseCodeChangeResults,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
data: z.array(CodeChange$inboundSchema),
|
|
31
|
+
pageInfo: PageInfo$inboundSchema,
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function paginatedResponseCodeChangeResultsFromJSON(
|
|
35
|
+
jsonString: string,
|
|
36
|
+
): SafeParseResult<PaginatedResponseCodeChangeResults, SDKValidationError> {
|
|
37
|
+
return safeParse(
|
|
38
|
+
jsonString,
|
|
39
|
+
(x) =>
|
|
40
|
+
PaginatedResponseCodeChangeResults$inboundSchema.parse(JSON.parse(x)),
|
|
41
|
+
`Failed to parse 'PaginatedResponseCodeChangeResults' from JSON`,
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const PaginatedResponseCodeChange$inboundSchema: z.ZodType<
|
|
47
|
+
PaginatedResponseCodeChange,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
unknown
|
|
50
|
+
> = z.object({
|
|
51
|
+
results: z.lazy(() => PaginatedResponseCodeChangeResults$inboundSchema),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export function paginatedResponseCodeChangeFromJSON(
|
|
55
|
+
jsonString: string,
|
|
56
|
+
): SafeParseResult<PaginatedResponseCodeChange, SDKValidationError> {
|
|
57
|
+
return safeParse(
|
|
58
|
+
jsonString,
|
|
59
|
+
(x) => PaginatedResponseCodeChange$inboundSchema.parse(JSON.parse(x)),
|
|
60
|
+
`Failed to parse 'PaginatedResponseCodeChange' from JSON`,
|
|
61
|
+
);
|
|
62
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { PageInfo, PageInfo$inboundSchema } from "./pageinfo.js";
|
|
10
|
+
import {
|
|
11
|
+
PersonnelGroup,
|
|
12
|
+
PersonnelGroup$inboundSchema,
|
|
13
|
+
} from "./personnelgroup.js";
|
|
14
|
+
|
|
15
|
+
export type PaginatedResponsePersonnelGroupResults = {
|
|
16
|
+
data: Array<PersonnelGroup>;
|
|
17
|
+
/**
|
|
18
|
+
* Provides information about the pagination of a dataset.
|
|
19
|
+
*/
|
|
20
|
+
pageInfo: PageInfo;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type PaginatedResponsePersonnelGroup = {
|
|
24
|
+
results: PaginatedResponsePersonnelGroupResults;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const PaginatedResponsePersonnelGroupResults$inboundSchema: z.ZodType<
|
|
29
|
+
PaginatedResponsePersonnelGroupResults,
|
|
30
|
+
z.ZodTypeDef,
|
|
31
|
+
unknown
|
|
32
|
+
> = z.object({
|
|
33
|
+
data: z.array(PersonnelGroup$inboundSchema),
|
|
34
|
+
pageInfo: PageInfo$inboundSchema,
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export function paginatedResponsePersonnelGroupResultsFromJSON(
|
|
38
|
+
jsonString: string,
|
|
39
|
+
): SafeParseResult<PaginatedResponsePersonnelGroupResults, SDKValidationError> {
|
|
40
|
+
return safeParse(
|
|
41
|
+
jsonString,
|
|
42
|
+
(x) =>
|
|
43
|
+
PaginatedResponsePersonnelGroupResults$inboundSchema.parse(JSON.parse(x)),
|
|
44
|
+
`Failed to parse 'PaginatedResponsePersonnelGroupResults' from JSON`,
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const PaginatedResponsePersonnelGroup$inboundSchema: z.ZodType<
|
|
50
|
+
PaginatedResponsePersonnelGroup,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
unknown
|
|
53
|
+
> = z.object({
|
|
54
|
+
results: z.lazy(() => PaginatedResponsePersonnelGroupResults$inboundSchema),
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
export function paginatedResponsePersonnelGroupFromJSON(
|
|
58
|
+
jsonString: string,
|
|
59
|
+
): SafeParseResult<PaginatedResponsePersonnelGroup, SDKValidationError> {
|
|
60
|
+
return safeParse(
|
|
61
|
+
jsonString,
|
|
62
|
+
(x) => PaginatedResponsePersonnelGroup$inboundSchema.parse(JSON.parse(x)),
|
|
63
|
+
`Failed to parse 'PaginatedResponsePersonnelGroup' from JSON`,
|
|
64
|
+
);
|
|
65
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { PageInfo, PageInfo$inboundSchema } from "./pageinfo.js";
|
|
10
|
+
import {
|
|
11
|
+
PersonnelPerson,
|
|
12
|
+
PersonnelPerson$inboundSchema,
|
|
13
|
+
} from "./personnelperson.js";
|
|
14
|
+
|
|
15
|
+
export type PaginatedResponsePersonnelPersonResults = {
|
|
16
|
+
data: Array<PersonnelPerson>;
|
|
17
|
+
/**
|
|
18
|
+
* Provides information about the pagination of a dataset.
|
|
19
|
+
*/
|
|
20
|
+
pageInfo: PageInfo;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type PaginatedResponsePersonnelPerson = {
|
|
24
|
+
results: PaginatedResponsePersonnelPersonResults;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const PaginatedResponsePersonnelPersonResults$inboundSchema: z.ZodType<
|
|
29
|
+
PaginatedResponsePersonnelPersonResults,
|
|
30
|
+
z.ZodTypeDef,
|
|
31
|
+
unknown
|
|
32
|
+
> = z.object({
|
|
33
|
+
data: z.array(PersonnelPerson$inboundSchema),
|
|
34
|
+
pageInfo: PageInfo$inboundSchema,
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export function paginatedResponsePersonnelPersonResultsFromJSON(
|
|
38
|
+
jsonString: string,
|
|
39
|
+
): SafeParseResult<
|
|
40
|
+
PaginatedResponsePersonnelPersonResults,
|
|
41
|
+
SDKValidationError
|
|
42
|
+
> {
|
|
43
|
+
return safeParse(
|
|
44
|
+
jsonString,
|
|
45
|
+
(x) =>
|
|
46
|
+
PaginatedResponsePersonnelPersonResults$inboundSchema.parse(
|
|
47
|
+
JSON.parse(x),
|
|
48
|
+
),
|
|
49
|
+
`Failed to parse 'PaginatedResponsePersonnelPersonResults' from JSON`,
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const PaginatedResponsePersonnelPerson$inboundSchema: z.ZodType<
|
|
55
|
+
PaginatedResponsePersonnelPerson,
|
|
56
|
+
z.ZodTypeDef,
|
|
57
|
+
unknown
|
|
58
|
+
> = z.object({
|
|
59
|
+
results: z.lazy(() => PaginatedResponsePersonnelPersonResults$inboundSchema),
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export function paginatedResponsePersonnelPersonFromJSON(
|
|
63
|
+
jsonString: string,
|
|
64
|
+
): SafeParseResult<PaginatedResponsePersonnelPerson, SDKValidationError> {
|
|
65
|
+
return safeParse(
|
|
66
|
+
jsonString,
|
|
67
|
+
(x) => PaginatedResponsePersonnelPerson$inboundSchema.parse(JSON.parse(x)),
|
|
68
|
+
`Failed to parse 'PaginatedResponsePersonnelPerson' from JSON`,
|
|
69
|
+
);
|
|
70
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { PageInfo, PageInfo$inboundSchema } from "./pageinfo.js";
|
|
10
|
+
import { RiskSnapshot, RiskSnapshot$inboundSchema } from "./risksnapshot.js";
|
|
11
|
+
|
|
12
|
+
export type PaginatedResponseRiskSnapshotResults = {
|
|
13
|
+
data: Array<RiskSnapshot>;
|
|
14
|
+
/**
|
|
15
|
+
* Provides information about the pagination of a dataset.
|
|
16
|
+
*/
|
|
17
|
+
pageInfo: PageInfo;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type PaginatedResponseRiskSnapshot = {
|
|
21
|
+
results: PaginatedResponseRiskSnapshotResults;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const PaginatedResponseRiskSnapshotResults$inboundSchema: z.ZodType<
|
|
26
|
+
PaginatedResponseRiskSnapshotResults,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
data: z.array(RiskSnapshot$inboundSchema),
|
|
31
|
+
pageInfo: PageInfo$inboundSchema,
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function paginatedResponseRiskSnapshotResultsFromJSON(
|
|
35
|
+
jsonString: string,
|
|
36
|
+
): SafeParseResult<PaginatedResponseRiskSnapshotResults, SDKValidationError> {
|
|
37
|
+
return safeParse(
|
|
38
|
+
jsonString,
|
|
39
|
+
(x) =>
|
|
40
|
+
PaginatedResponseRiskSnapshotResults$inboundSchema.parse(JSON.parse(x)),
|
|
41
|
+
`Failed to parse 'PaginatedResponseRiskSnapshotResults' from JSON`,
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const PaginatedResponseRiskSnapshot$inboundSchema: z.ZodType<
|
|
47
|
+
PaginatedResponseRiskSnapshot,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
unknown
|
|
50
|
+
> = z.object({
|
|
51
|
+
results: z.lazy(() => PaginatedResponseRiskSnapshotResults$inboundSchema),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export function paginatedResponseRiskSnapshotFromJSON(
|
|
55
|
+
jsonString: string,
|
|
56
|
+
): SafeParseResult<PaginatedResponseRiskSnapshot, SDKValidationError> {
|
|
57
|
+
return safeParse(
|
|
58
|
+
jsonString,
|
|
59
|
+
(x) => PaginatedResponseRiskSnapshot$inboundSchema.parse(JSON.parse(x)),
|
|
60
|
+
`Failed to parse 'PaginatedResponseRiskSnapshot' from JSON`,
|
|
61
|
+
);
|
|
62
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Employment status filter for people queries.
|
|
10
|
+
*/
|
|
11
|
+
export const PeopleEmploymentStatus = {
|
|
12
|
+
CurrentlyEmployed: "CURRENTLY_EMPLOYED",
|
|
13
|
+
InactiveEmployee: "INACTIVE_EMPLOYEE",
|
|
14
|
+
NotPeople: "NOT_PEOPLE",
|
|
15
|
+
OnLeave: "ON_LEAVE",
|
|
16
|
+
PreviouslyEmployed: "PREVIOUSLY_EMPLOYED",
|
|
17
|
+
UpcomingEmployee: "UPCOMING_EMPLOYEE",
|
|
18
|
+
} as const;
|
|
19
|
+
/**
|
|
20
|
+
* Employment status filter for people queries.
|
|
21
|
+
*/
|
|
22
|
+
export type PeopleEmploymentStatus = ClosedEnum<typeof PeopleEmploymentStatus>;
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const PeopleEmploymentStatus$outboundSchema: z.ZodNativeEnum<
|
|
26
|
+
typeof PeopleEmploymentStatus
|
|
27
|
+
> = z.nativeEnum(PeopleEmploymentStatus);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const PeopleOrderBy = {
|
|
9
|
+
Name: "name",
|
|
10
|
+
EmploymentStatus: "employmentStatus",
|
|
11
|
+
} as const;
|
|
12
|
+
export type PeopleOrderBy = ClosedEnum<typeof PeopleOrderBy>;
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const PeopleOrderBy$outboundSchema: z.ZodNativeEnum<
|
|
16
|
+
typeof PeopleOrderBy
|
|
17
|
+
> = z.nativeEnum(PeopleOrderBy);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Security task status for individual task categories.
|
|
10
|
+
*/
|
|
11
|
+
export const PeopleSecurityTaskStatus = {
|
|
12
|
+
NoSecurityTasks: "NO_SECURITY_TASKS",
|
|
13
|
+
SecurityTasksComplete: "SECURITY_TASKS_COMPLETE",
|
|
14
|
+
SecurityTasksDueSoon: "SECURITY_TASKS_DUE_SOON",
|
|
15
|
+
SecurityTasksOverdue: "SECURITY_TASKS_OVERDUE",
|
|
16
|
+
} as const;
|
|
17
|
+
/**
|
|
18
|
+
* Security task status for individual task categories.
|
|
19
|
+
*/
|
|
20
|
+
export type PeopleSecurityTaskStatus = ClosedEnum<
|
|
21
|
+
typeof PeopleSecurityTaskStatus
|
|
22
|
+
>;
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const PeopleSecurityTaskStatus$inboundSchema: z.ZodNativeEnum<
|
|
26
|
+
typeof PeopleSecurityTaskStatus
|
|
27
|
+
> = z.nativeEnum(PeopleSecurityTaskStatus);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Overall user task status.
|
|
10
|
+
*/
|
|
11
|
+
export const PeopleTaskStatus = {
|
|
12
|
+
NoSecurityTasks: "NO_SECURITY_TASKS",
|
|
13
|
+
OffboardingComplete: "OFFBOARDING_COMPLETE",
|
|
14
|
+
OffboardingDueSoon: "OFFBOARDING_DUE_SOON",
|
|
15
|
+
OffboardingOverdue: "OFFBOARDING_OVERDUE",
|
|
16
|
+
Paused: "PAUSED",
|
|
17
|
+
SecurityTasksComplete: "SECURITY_TASKS_COMPLETE",
|
|
18
|
+
SecurityTasksDueSoon: "SECURITY_TASKS_DUE_SOON",
|
|
19
|
+
SecurityTasksOverdue: "SECURITY_TASKS_OVERDUE",
|
|
20
|
+
} as const;
|
|
21
|
+
/**
|
|
22
|
+
* Overall user task status.
|
|
23
|
+
*/
|
|
24
|
+
export type PeopleTaskStatus = ClosedEnum<typeof PeopleTaskStatus>;
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const PeopleTaskStatus$inboundSchema: z.ZodNativeEnum<
|
|
28
|
+
typeof PeopleTaskStatus
|
|
29
|
+
> = z.nativeEnum(PeopleTaskStatus);
|