# Variable jAseiTicketViewSchema`Const`

jAseiTicketViewSchema: ZodObject<
{
_attachedFiles: ZodArray<
ZodObject<
{
_url: ZodString;
dateCreation: ZodOptionalType<
ZodType<string | undefined, ZodTypeDef, string | undefined>,
>;
dateModified: ZodOptionalType<
ZodType<
string
| null
| undefined,
ZodTypeDef,
string | null | undefined,
>,
>;
id: ZodType<number, ZodTypeDef, number>;
title: ZodString;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
mainType: ZodEnum<
["fileArticle", "fileComment", "fileObject", "file", "fileDrive"],
>;
mimetype: ZodString;
path: ZodOptional<ZodString>;
size: ZodNumber;
},
"strip",
ZodTypeAny,
jFileLittle,
jFileLittle,
>,
"many",
>;
_audience: ZodArray<
ZodUnion<
[
ZodObject<
{
_url: ZodString;
id: ZodType<number, ZodTypeDef, number>;
mainType: ZodType<string, ZodTypeDef, string>;
title: ZodString;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
dateCreation: ZodString;
dateModified: ZodString;
level: ZodNativeEnum<
{ ADMIN: ...; EXTERNAL: ...; GUEST: ...; USER: ... },
>;
variant: ZodOptional<ZodNativeEnum<(...)>>;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>,
ZodObject<
{
_url: ZodString;
id: ZodType<number, ZodTypeDef, number>;
mainType: ZodType<string, ZodTypeDef, string>;
title: ZodString;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
category: ZodNumber;
dateCreation: ZodString;
dateModified: ZodString;
privacy: ZodNativeEnum<typeof GroupPrivacy>;
},
"strip",
ZodTypeAny,
jGroupLittle,
jGroupLittle,
>,
ZodObject<
{
_url: ZodString;
dateCreation: ZodOptionalType<ZodType<(...), (...), (...)>>;
dateModified: ZodOptionalType<ZodType<(...), (...), (...)>>;
id: ZodType<number, ZodTypeDef, number>;
mainType: ZodType<string, ZodTypeDef, string>;
title: ZodString;
uri: ZodType<string, ZodTypeDef, string>;
} & {
folderColor: ZodOptional<ZodString>;
type: ZodEnum<[(...), (...)]>;
},
"strip",
ZodTypeAny,
jFolderLittle,
jFolderLittle,
>,
ZodObject<
{
dateCreation: ZodOptionalType<ZodType<(...), (...), (...)>>;
id: ZodType<number, ZodTypeDef, number>;
title: ZodString;
uri: ZodType<string, ZodTypeDef, string>;
} & {
dateModified: ZodNullable<ZodString>;
mainType: ZodLiteral<"network">;
type: ZodEnum<[(...)]>;
},
"strip",
ZodTypeAny,
jNetworkLittle,
jNetworkLittle,
>,
],
>,
"many",
>;
_right: ZodObject<ZodShape<Rights>, "strip", ZodTypeAny, Rights, Rights>;
_transientCtx: ZodOptional<ZodNull>;
_url: ZodString;
_user: ZodObject<
{
_url: ZodString;
id: ZodType<number, ZodTypeDef, number>;
mainType: ZodType<string, ZodTypeDef, string>;
title: ZodString;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
dateCreation: ZodString;
dateModified: ZodString;
level: ZodNativeEnum<{ ADMIN: 9; EXTERNAL: 3; GUEST: 0; USER: 5 }>;
variant: ZodOptional<ZodNativeEnum<{ EXTRABOT: "extraBot" }>>;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>;
articleWidgets: ZodOptional<
ZodArray<
ZodObject<
ZodShape<WidgetWrapperGeneric<CombinedWidgetType>>,
"strip",
ZodTypeAny,
WidgetWrapperGeneric<CombinedWidgetType>,
WidgetWrapperGeneric<CombinedWidgetType>,
>,
"many",
>,
>;
dateCreation: ZodString;
dateModified: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
edito: ZodOptional<ZodString>;
id: ZodType<number, ZodTypeDef, number>;
image: ZodOptional<
ZodObject<
ZodShape<ImageSize>,
"strip",
ZodTypeAny,
ImageSize,
ImageSize,
>,
>;
mainType: ZodLiteral<"article">;
metas: ZodOptional<
ZodUnion<
[
ZodObject<
ZodShape<MetasJamespot>,
"strip",
ZodTypeAny,
MetasJamespot,
MetasJamespot,
>,
ZodObject<
ZodShape<MetasYoutube>,
"strip",
ZodTypeAny,
MetasYoutube,
MetasYoutube,
>,
ZodObject<
ZodShape<MetasExternal>,
"strip",
ZodTypeAny,
MetasExternal,
MetasExternal,
>,
],
>,
>;
processContext: ZodOptional<ZodNull>;
tags: ZodOptional<
ZodArray<
ZodObject<
{
class: ZodType<string, ZodTypeDef, string>;
cssClass: ZodType<string, ZodTypeDef, string>;
cssColor: ZodType<string, ZodTypeDef, string>;
id: ZodType<string, ZodTypeDef, string>;
label: ZodType<string, ZodTypeDef, string>;
mainType: ZodType<string, ZodTypeDef, string>;
name: ZodType<string, ZodTypeDef, string>;
shortUri: ZodType<string, ZodTypeDef, string>;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & { title: ZodString },
"strip",
ZodTypeAny,
jObjectAutocomplete,
jObjectAutocomplete,
>,
"many",
>,
>;
title: ZodString;
uiObjectLink: ZodOptional<
ZodArray<
ZodObject<
ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
"strip",
ZodTypeAny,
jObjectLittle,
jObjectLittle,
>,
"many",
>,
>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
aseiClearanceTicketAccommodationCosts: ZodString;
aseiClearanceTicketAccounting: ZodString;
aseiClearanceTicketAccountingBudget: ZodString;
aseiClearanceTicketApplicationManagers: ZodOptional<
ZodArray<
ZodObject<
ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
"strip",
ZodTypeAny,
jObjectLittle,
jObjectLittle,
>,
"many",
>,
>;
aseiClearanceTicketBdes: ZodString;
aseiClearanceTicketBilling: ZodString;
aseiClearanceTicketBlueKanGo: ZodNullable<ZodString>;
aseiClearanceTicketBudgetLetters: ZodString;
aseiClearanceTicketCommercialManagement: ZodString;
aseiClearanceTicketComputerisedFile: ZodNullable<ZodString>;
aseiClearanceTicketFirstName: ZodString;
aseiClearanceTicketFreeText: ZodOptional<ZodString>;
aseiClearanceTicketHandler: ZodOptional<
ZodArray<
ZodObject<
ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
"strip",
ZodTypeAny,
jObjectLittle,
jObjectLittle,
>,
"many",
>,
>;
aseiClearanceTicketIndicatorsPlatform: ZodNullable<ZodString>;
aseiClearanceTicketInstitution: ZodArray<
ZodObject<
ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
"strip",
ZodTypeAny,
jObjectLittle,
jObjectLittle,
>,
"many",
>;
aseiClearanceTicketInternetAccess: ZodString;
aseiClearanceTicketInternetAccessSpecify: ZodOptional<ZodString>;
aseiClearanceTicketInventoryManagement: ZodString;
aseiClearanceTicketLastName: ZodString;
aseiClearanceTicketMandateEnd: ZodOptional<ZodNullable<ZodString>>;
aseiClearanceTicketMandateStart: ZodOptional<ZodNullable<ZodString>>;
aseiClearanceTicketMicrosoftTeams: ZodNullable<ZodString>;
aseiClearanceTicketNatureOfDemand: ZodString;
aseiClearanceTicketOfficeAccess: ZodNullable<ZodString>;
aseiClearanceTicketPayroll: ZodString;
aseiClearanceTicketPayrollBudget: ZodString;
aseiClearanceTicketPosition: ZodString;
aseiClearanceTicketRecruiterAccess: ZodNullable<ZodString>;
aseiClearanceTicketSharedDirectoriesSpecify: ZodOptional<ZodString>;
aseiClearanceTicketStatus: ZodUnion<
[
ZodLiteral<"created">,
ZodLiteral<"validated">,
ZodLiteral<"handled">,
],
>;
aseiClearanceTicketTimeManagement: ZodString;
aseiClearanceTicketTransfers: ZodNullable<ZodString>;
aseiClearanceTicketTypeOfWorkContract: ZodString;
aseiClearanceTicketTypeOfWorkContractFrom: ZodOptional<ZodNull>;
aseiClearanceTicketTypeOfWorkContractSpecify: ZodOptional<ZodString>;
aseiClearanceTicketTypeOfWorkContractTo: ZodOptional<ZodNull>;
aseiClearanceTicketUser: ZodOptional<
ZodArray<
ZodObject<
{
_url: ZodString;
id: ZodType<number, ZodTypeDef, number>;
mainType: ZodType<string, ZodTypeDef, string>;
title: ZodString;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
dateCreation: ZodString;
dateModified: ZodString;
level: ZodNativeEnum<{ ADMIN: 9; EXTERNAL: 3; GUEST: 0; USER: 5 }>;
variant: ZodOptional<ZodNativeEnum<{ EXTRABOT: ... }>>;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>,
"many",
>,
>;
aseiClearanceTicketValidator: ZodArray<
ZodObject<
{
_url: ZodString;
id: ZodType<number, ZodTypeDef, number>;
mainType: ZodType<string, ZodTypeDef, string>;
title: ZodString;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
dateCreation: ZodString;
dateModified: ZodString;
level: ZodNativeEnum<{ ADMIN: 9; EXTERNAL: 3; GUEST: 0; USER: 5 }>;
variant: ZodOptional<ZodNativeEnum<{ EXTRABOT: "extraBot" }>>;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>,
"many",
>;
aseiClearanceTicketVariousNetworks: ZodNullable<ZodString>;
type: ZodLiteral<"aseiClearanceTicket">;
},
"strip",
ZodTypeAny,
AseiTicket,
AseiTicket,
> = ...

- Defined in jamespot-user-api/src/types/asei.ts:98