Variable CreateViewResponseConst
CreateViewResponse: ZodObject<
{
data: ZodObject<
{
AssociatedContentTypeId: ZodNullable<ZodString>;
CalendarViewStyles: ZodNullable<ZodString>;
CustomFormatter: ZodNullable<ZodString>;
DefaultView: ZodBoolean;
DefaultViewForContentType: ZodBoolean;
EditorModified: ZodBoolean;
Formats: ZodNullable<ZodString>;
Hidden: ZodBoolean;
HtmlSchemaXml: ZodString;
Id: ZodString;
ImageUrl: ZodString;
IncludeRootFolder: ZodBoolean;
JSLink: ZodString;
ListViewXml: ZodString;
Method: ZodNullable<ZodString>;
MobileDefaultView: ZodBoolean;
MobileView: ZodBoolean;
ModerationType: ZodNullable<ZodString>;
NewDocumentTemplates: ZodString;
OrderedView: ZodBoolean;
Paged: ZodBoolean;
PersonalView: ZodBoolean;
ReadOnlyView: ZodBoolean;
RequiresClientIntegration: ZodBoolean;
RowLimit: ZodNumber;
Scope: ZodString;
ServerRelativePath: ZodObject<
{ DecodedUrl: ZodString },
"strip",
ZodTypeAny,
{ DecodedUrl?: string },
{ DecodedUrl?: string },
>;
ServerRelativeUrl: ZodString;
StyleId: ZodNullable<ZodString>;
TabularView: ZodBoolean;
Threaded: ZodBoolean;
Title: ZodString;
Toolbar: ZodString;
ToolbarTemplateName: ZodNullable<ZodString>;
ViewData: ZodNullable<ZodString>;
ViewJoins: ZodNullable<ZodString>;
ViewProjectedFields: ZodNullable<
ZodObject<
{ SchemaXml: ZodString },
"strip",
ZodTypeAny,
{ SchemaXml?: string },
{ SchemaXml?: string },
>,
>;
ViewQuery: ZodString;
ViewType: ZodString;
ViewType2: ZodNullable<
ZodEnum<["KANBAN", "TILES", "COMPACTLIST", "MODERNCALENDAR"]>,
>;
VisualizationInfo: ZodNullable<ZodUnknown>;
},
"strip",
ZodTypeAny,
{
AssociatedContentTypeId?: string;
CalendarViewStyles?: string;
CustomFormatter?: string;
DefaultView?: boolean;
DefaultViewForContentType?: boolean;
EditorModified?: boolean;
Formats?: string;
Hidden?: boolean;
HtmlSchemaXml?: string;
Id?: string;
ImageUrl?: string;
IncludeRootFolder?: boolean;
JSLink?: string;
ListViewXml?: string;
Method?: string;
MobileDefaultView?: boolean;
MobileView?: boolean;
ModerationType?: string;
NewDocumentTemplates?: string;
OrderedView?: boolean;
Paged?: boolean;
PersonalView?: boolean;
ReadOnlyView?: boolean;
RequiresClientIntegration?: boolean;
RowLimit?: number;
Scope?: string;
ServerRelativePath?: { DecodedUrl?: string };
ServerRelativeUrl?: string;
StyleId?: string;
TabularView?: boolean;
Threaded?: boolean;
Title?: string;
Toolbar?: string;
ToolbarTemplateName?: string;
ViewData?: string;
ViewJoins?: string;
ViewProjectedFields?: { SchemaXml?: string };
ViewQuery?: string;
ViewType?: string;
ViewType2?: "KANBAN" | "TILES" | "COMPACTLIST" | "MODERNCALENDAR";
VisualizationInfo?: unknown;
},
{
AssociatedContentTypeId?: string;
CalendarViewStyles?: string;
CustomFormatter?: string;
DefaultView?: boolean;
DefaultViewForContentType?: boolean;
EditorModified?: boolean;
Formats?: string;
Hidden?: boolean;
HtmlSchemaXml?: string;
Id?: string;
ImageUrl?: string;
IncludeRootFolder?: boolean;
JSLink?: string;
ListViewXml?: string;
Method?: string;
MobileDefaultView?: boolean;
MobileView?: boolean;
ModerationType?: string;
NewDocumentTemplates?: string;
OrderedView?: boolean;
Paged?: boolean;
PersonalView?: boolean;
ReadOnlyView?: boolean;
RequiresClientIntegration?: boolean;
RowLimit?: number;
Scope?: string;
ServerRelativePath?: { DecodedUrl?: string };
ServerRelativeUrl?: string;
StyleId?: string;
TabularView?: boolean;
Threaded?: boolean;
Title?: string;
Toolbar?: string;
ToolbarTemplateName?: string;
ViewData?: string;
ViewJoins?: string;
ViewProjectedFields?: { SchemaXml?: string };
ViewQuery?: string;
ViewType?: string;
ViewType2?: "KANBAN" | "TILES" | "COMPACTLIST" | "MODERNCALENDAR";
VisualizationInfo?: unknown;
},
>;
view: ZodAny;
},
"strip",
ZodTypeAny,
{
data?: {
AssociatedContentTypeId?: string;
CalendarViewStyles?: string;
CustomFormatter?: string;
DefaultView?: boolean;
DefaultViewForContentType?: boolean;
EditorModified?: boolean;
Formats?: string;
Hidden?: boolean;
HtmlSchemaXml?: string;
Id?: string;
ImageUrl?: string;
IncludeRootFolder?: boolean;
JSLink?: string;
ListViewXml?: string;
Method?: string;
MobileDefaultView?: boolean;
MobileView?: boolean;
ModerationType?: string;
NewDocumentTemplates?: string;
OrderedView?: boolean;
Paged?: boolean;
PersonalView?: boolean;
ReadOnlyView?: boolean;
RequiresClientIntegration?: boolean;
RowLimit?: number;
Scope?: string;
ServerRelativePath?: { DecodedUrl?: string };
ServerRelativeUrl?: string;
StyleId?: string;
TabularView?: boolean;
Threaded?: boolean;
Title?: string;
Toolbar?: string;
ToolbarTemplateName?: string;
ViewData?: string;
ViewJoins?: string;
ViewProjectedFields?: { SchemaXml?: string };
ViewQuery?: string;
ViewType?: string;
ViewType2?: "KANBAN" | "TILES" | "COMPACTLIST" | "MODERNCALENDAR";
VisualizationInfo?: unknown;
};
view?: any;
},
{
data?: {
AssociatedContentTypeId?: string;
CalendarViewStyles?: string;
CustomFormatter?: string;
DefaultView?: boolean;
DefaultViewForContentType?: boolean;
EditorModified?: boolean;
Formats?: string;
Hidden?: boolean;
HtmlSchemaXml?: string;
Id?: string;
ImageUrl?: string;
IncludeRootFolder?: boolean;
JSLink?: string;
ListViewXml?: string;
Method?: string;
MobileDefaultView?: boolean;
MobileView?: boolean;
ModerationType?: string;
NewDocumentTemplates?: string;
OrderedView?: boolean;
Paged?: boolean;
PersonalView?: boolean;
ReadOnlyView?: boolean;
RequiresClientIntegration?: boolean;
RowLimit?: number;
Scope?: string;
ServerRelativePath?: { DecodedUrl?: string };
ServerRelativeUrl?: string;
StyleId?: string;
TabularView?: boolean;
Threaded?: boolean;
Title?: string;
Toolbar?: string;
ToolbarTemplateName?: string;
ViewData?: string;
ViewJoins?: string;
ViewProjectedFields?: { SchemaXml?: string };
ViewQuery?: string;
ViewType?: string;
ViewType2?: "KANBAN" | "TILES" | "COMPACTLIST" | "MODERNCALENDAR";
VisualizationInfo?: unknown;
};
view?: any;
},
> = ...