Variable MJIntegrationObjectSchemaConst
MJIntegrationObjectSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
APIPath: ZodString;
Category: ZodNullable<ZodString>;
Configuration: ZodNullable<ZodString>;
ContentHashApplicable: ZodBoolean;
CreateAPIPath: ZodNullable<ZodString>;
CreateBodyKey: ZodNullable<ZodString>;
CreateBodyShape: ZodNullable<
ZodUnion<
[ZodLiteral<"flat">, ZodLiteral<"literal">, ZodLiteral<"wrapped">],
>,
>;
CreateIDLocation: ZodNullable<
ZodUnion<
[
ZodLiteral<"body">,
ZodLiteral<"header">,
ZodLiteral<"n/a">,
ZodLiteral<"path">,
],
>,
>;
CreateMethod: ZodNullable<ZodString>;
DefaultPageSize: ZodNumber;
DefaultQueryParams: ZodNullable<ZodString>;
DeleteAPIPath: ZodNullable<ZodString>;
DeleteIDLocation: ZodNullable<
ZodUnion<
[
ZodLiteral<"body">,
ZodLiteral<"header">,
ZodLiteral<"n/a">,
ZodLiteral<"path">,
],
>,
>;
DeleteMethod: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
DisplayName: ZodNullable<ZodString>;
ID: ZodString;
IncrementalWatermarkField: ZodNullable<ZodString>;
Integration: ZodString;
IntegrationID: ZodString;
IsCustom: ZodBoolean;
MetadataSource: ZodUnion<
[
ZodLiteral<"Custom">,
ZodLiteral<"Declared">,
ZodLiteral<"Discovered">,
],
>;
Name: ZodString;
PaginationType: ZodUnion<
[
ZodLiteral<"Cursor">,
ZodLiteral<"None">,
ZodLiteral<"Offset">,
ZodLiteral<"PageNumber">,
],
>;
ResponseDataKey: ZodNullable<ZodString>;
Sequence: ZodNumber;
StableOrderingKey: ZodNullable<ZodString>;
Status: ZodUnion<
[
ZodLiteral<"Active">,
ZodLiteral<"Deprecated">,
ZodLiteral<"Disabled">,
],
>;
SupportsCreate: ZodBoolean;
SupportsDelete: ZodBoolean;
SupportsIncrementalSync: ZodBoolean;
SupportsPagination: ZodBoolean;
SupportsUpdate: ZodBoolean;
SupportsWrite: ZodBoolean;
SyncStrategy: ZodNullable<ZodString>;
UpdateAPIPath: ZodNullable<ZodString>;
UpdateBodyKey: ZodNullable<ZodString>;
UpdateBodyShape: ZodNullable<
ZodUnion<
[ZodLiteral<"flat">, ZodLiteral<"literal">, ZodLiteral<"wrapped">],
>,
>;
UpdateIDLocation: ZodNullable<
ZodUnion<
[
ZodLiteral<"body">,
ZodLiteral<"header">,
ZodLiteral<"n/a">,
ZodLiteral<"path">,
],
>,
>;
UpdateMethod: ZodNullable<ZodString>;
WriteAPIPath: ZodNullable<ZodString>;
WriteMethod: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
APIPath?: string;
Category?: string;
Configuration?: string;
ContentHashApplicable?: boolean;
CreateAPIPath?: string;
CreateBodyKey?: string;
CreateBodyShape?: "flat"
| "literal"
| "wrapped";
CreateIDLocation?: "path" | "body" | "header" | "n/a";
CreateMethod?: string;
DefaultPageSize?: number;
DefaultQueryParams?: string;
DeleteAPIPath?: string;
DeleteIDLocation?: "path" | "body" | "header" | "n/a";
DeleteMethod?: string;
Description?: string;
DisplayName?: string;
ID?: string;
IncrementalWatermarkField?: string;
Integration?: string;
IntegrationID?: string;
IsCustom?: boolean;
MetadataSource?: "Custom" | "Declared" | "Discovered";
Name?: string;
PaginationType?: "None" | "Cursor" | "Offset" | "PageNumber";
ResponseDataKey?: string;
Sequence?: number;
StableOrderingKey?: string;
Status?: "Active" | "Disabled" | "Deprecated";
SupportsCreate?: boolean;
SupportsDelete?: boolean;
SupportsIncrementalSync?: boolean;
SupportsPagination?: boolean;
SupportsUpdate?: boolean;
SupportsWrite?: boolean;
SyncStrategy?: string;
UpdateAPIPath?: string;
UpdateBodyKey?: string;
UpdateBodyShape?: "flat" | "literal" | "wrapped";
UpdateIDLocation?: "path" | "body" | "header" | "n/a";
UpdateMethod?: string;
WriteAPIPath?: string;
WriteMethod?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
APIPath?: string;
Category?: string;
Configuration?: string;
ContentHashApplicable?: boolean;
CreateAPIPath?: string;
CreateBodyKey?: string;
CreateBodyShape?: "flat"
| "literal"
| "wrapped";
CreateIDLocation?: "path" | "body" | "header" | "n/a";
CreateMethod?: string;
DefaultPageSize?: number;
DefaultQueryParams?: string;
DeleteAPIPath?: string;
DeleteIDLocation?: "path" | "body" | "header" | "n/a";
DeleteMethod?: string;
Description?: string;
DisplayName?: string;
ID?: string;
IncrementalWatermarkField?: string;
Integration?: string;
IntegrationID?: string;
IsCustom?: boolean;
MetadataSource?: "Custom" | "Declared" | "Discovered";
Name?: string;
PaginationType?: "None" | "Cursor" | "Offset" | "PageNumber";
ResponseDataKey?: string;
Sequence?: number;
StableOrderingKey?: string;
Status?: "Active" | "Disabled" | "Deprecated";
SupportsCreate?: boolean;
SupportsDelete?: boolean;
SupportsIncrementalSync?: boolean;
SupportsPagination?: boolean;
SupportsUpdate?: boolean;
SupportsWrite?: boolean;
SyncStrategy?: string;
UpdateAPIPath?: string;
UpdateBodyKey?: string;
UpdateBodyShape?: "flat" | "literal" | "wrapped";
UpdateIDLocation?: "path" | "body" | "header" | "n/a";
UpdateMethod?: string;
WriteAPIPath?: string;
WriteMethod?: string;
},
> = ...
zod schema definition for the entity MJ: Integration Objects