import * as z from "zod";
import { OpenEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { TicketingContent, TicketingContent$Outbound } from "./ticketingcontent.js";
export type TicketingTicketUpdateRequestDto4 = {};
/**
 * The source value of the ticket priority.
 */
export type TicketingTicketUpdateRequestDtoSourceValue = TicketingTicketUpdateRequestDto4 | string | number | boolean | Array<any>;
/**
 * The priority of the ticket.
 */
export declare enum TicketingTicketUpdateRequestDtoValue {
    Lowest = "lowest",
    Low = "low",
    Medium = "medium",
    High = "high",
    Highest = "highest",
    UnmappedValue = "unmapped_value"
}
/**
 * The priority of the ticket.
 */
export type TicketingTicketUpdateRequestDtoValueOpen = OpenEnum<typeof TicketingTicketUpdateRequestDtoValue>;
/**
 * Priority of the ticket
 */
export type TicketingTicketUpdateRequestDtoPriority = {
    /**
     * The id of the ticket priority.
     */
    id?: string | null | undefined;
    /**
     * The source value of the ticket priority.
     */
    sourceValue?: TicketingTicketUpdateRequestDto4 | string | number | boolean | Array<any> | null | undefined;
    /**
     * The priority of the ticket.
     */
    value?: TicketingTicketUpdateRequestDtoValueOpen | null | undefined;
};
export type TicketingTicketUpdateRequestDtoSchemas4 = {};
/**
 * The source value of this status type
 */
export type TicketingTicketUpdateRequestDtoSchemasSourceValue = TicketingTicketUpdateRequestDtoSchemas4 | string | number | boolean | Array<any>;
/**
 * The type of this status
 */
export declare enum TicketingTicketUpdateRequestDtoSchemasValue {
    ToDo = "to-do",
    InProgress = "in-progress",
    Closed = "closed",
    UnmappedValue = "unmapped_value"
}
/**
 * The type of this status
 */
export type TicketingTicketUpdateRequestDtoSchemasValueOpen = OpenEnum<typeof TicketingTicketUpdateRequestDtoSchemasValue>;
/**
 * The type of this status
 */
export type TicketingTicketUpdateRequestDtoType = {
    /**
     * The source value of this status type
     */
    sourceValue?: TicketingTicketUpdateRequestDtoSchemas4 | string | number | boolean | Array<any> | null | undefined;
    /**
     * The type of this status
     */
    value?: TicketingTicketUpdateRequestDtoSchemasValueOpen | null | undefined;
};
/**
 * Current status of the ticket
 */
export type TicketingTicketUpdateRequestDtoStatus = {
    /**
     * The id of the ticket status.
     */
    id?: string | null | undefined;
    /**
     * The name of the ticket status.
     */
    name?: string | null | undefined;
    /**
     * The type of this status
     */
    type?: TicketingTicketUpdateRequestDtoType | null | undefined;
};
export type TicketingTicketUpdateRequestDto = {
    /**
     * Agents assigned to the ticket
     */
    assignees?: Array<string> | null | undefined;
    /**
     * Collections the ticket belongs to
     */
    collections?: Array<string> | null | undefined;
    /**
     * Array of content associated with the ticket
     */
    content?: Array<TicketingContent> | null | undefined;
    /**
     * ID of the parent ticket if this is a sub-ticket
     */
    parentId?: string | null | undefined;
    /**
     * Priority of the ticket
     */
    priority?: TicketingTicketUpdateRequestDtoPriority | null | undefined;
    /**
     * Users who reported the ticket
     */
    reporters?: Array<string> | null | undefined;
    /**
     * Current status of the ticket
     */
    status?: TicketingTicketUpdateRequestDtoStatus | null | undefined;
    /**
     * The tags of the ticket
     */
    tags?: Array<string> | null | undefined;
    /**
     * The title or subject of the ticket
     */
    title?: string | null | undefined;
    /**
     * Custom Unified Fields configured in your StackOne project
     */
    unifiedCustomFields?: {
        [k: string]: any;
    } | null | undefined;
};
/** @internal */
export declare const TicketingTicketUpdateRequestDto4$inboundSchema: z.ZodType<TicketingTicketUpdateRequestDto4, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingTicketUpdateRequestDto4$Outbound = {};
/** @internal */
export declare const TicketingTicketUpdateRequestDto4$outboundSchema: z.ZodType<TicketingTicketUpdateRequestDto4$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDto4>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingTicketUpdateRequestDto4$ {
    /** @deprecated use `TicketingTicketUpdateRequestDto4$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingTicketUpdateRequestDto4, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingTicketUpdateRequestDto4$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingTicketUpdateRequestDto4$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDto4>;
    /** @deprecated use `TicketingTicketUpdateRequestDto4$Outbound` instead. */
    type Outbound = TicketingTicketUpdateRequestDto4$Outbound;
}
export declare function ticketingTicketUpdateRequestDto4ToJSON(ticketingTicketUpdateRequestDto4: TicketingTicketUpdateRequestDto4): string;
export declare function ticketingTicketUpdateRequestDto4FromJSON(jsonString: string): SafeParseResult<TicketingTicketUpdateRequestDto4, SDKValidationError>;
/** @internal */
export declare const TicketingTicketUpdateRequestDtoSourceValue$inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSourceValue, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingTicketUpdateRequestDtoSourceValue$Outbound = TicketingTicketUpdateRequestDto4$Outbound | string | number | boolean | Array<any>;
/** @internal */
export declare const TicketingTicketUpdateRequestDtoSourceValue$outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSourceValue$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDtoSourceValue>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingTicketUpdateRequestDtoSourceValue$ {
    /** @deprecated use `TicketingTicketUpdateRequestDtoSourceValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSourceValue, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingTicketUpdateRequestDtoSourceValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSourceValue$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDtoSourceValue>;
    /** @deprecated use `TicketingTicketUpdateRequestDtoSourceValue$Outbound` instead. */
    type Outbound = TicketingTicketUpdateRequestDtoSourceValue$Outbound;
}
export declare function ticketingTicketUpdateRequestDtoSourceValueToJSON(ticketingTicketUpdateRequestDtoSourceValue: TicketingTicketUpdateRequestDtoSourceValue): string;
export declare function ticketingTicketUpdateRequestDtoSourceValueFromJSON(jsonString: string): SafeParseResult<TicketingTicketUpdateRequestDtoSourceValue, SDKValidationError>;
/** @internal */
export declare const TicketingTicketUpdateRequestDtoValue$inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoValueOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const TicketingTicketUpdateRequestDtoValue$outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoValueOpen, z.ZodTypeDef, TicketingTicketUpdateRequestDtoValueOpen>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingTicketUpdateRequestDtoValue$ {
    /** @deprecated use `TicketingTicketUpdateRequestDtoValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoValueOpen, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingTicketUpdateRequestDtoValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoValueOpen, z.ZodTypeDef, TicketingTicketUpdateRequestDtoValueOpen>;
}
/** @internal */
export declare const TicketingTicketUpdateRequestDtoPriority$inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoPriority, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingTicketUpdateRequestDtoPriority$Outbound = {
    id?: string | null | undefined;
    source_value?: TicketingTicketUpdateRequestDto4$Outbound | string | number | boolean | Array<any> | null | undefined;
    value?: string | null | undefined;
};
/** @internal */
export declare const TicketingTicketUpdateRequestDtoPriority$outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoPriority$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDtoPriority>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingTicketUpdateRequestDtoPriority$ {
    /** @deprecated use `TicketingTicketUpdateRequestDtoPriority$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoPriority, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingTicketUpdateRequestDtoPriority$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoPriority$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDtoPriority>;
    /** @deprecated use `TicketingTicketUpdateRequestDtoPriority$Outbound` instead. */
    type Outbound = TicketingTicketUpdateRequestDtoPriority$Outbound;
}
export declare function ticketingTicketUpdateRequestDtoPriorityToJSON(ticketingTicketUpdateRequestDtoPriority: TicketingTicketUpdateRequestDtoPriority): string;
export declare function ticketingTicketUpdateRequestDtoPriorityFromJSON(jsonString: string): SafeParseResult<TicketingTicketUpdateRequestDtoPriority, SDKValidationError>;
/** @internal */
export declare const TicketingTicketUpdateRequestDtoSchemas4$inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSchemas4, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingTicketUpdateRequestDtoSchemas4$Outbound = {};
/** @internal */
export declare const TicketingTicketUpdateRequestDtoSchemas4$outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSchemas4$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDtoSchemas4>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingTicketUpdateRequestDtoSchemas4$ {
    /** @deprecated use `TicketingTicketUpdateRequestDtoSchemas4$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSchemas4, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingTicketUpdateRequestDtoSchemas4$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSchemas4$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDtoSchemas4>;
    /** @deprecated use `TicketingTicketUpdateRequestDtoSchemas4$Outbound` instead. */
    type Outbound = TicketingTicketUpdateRequestDtoSchemas4$Outbound;
}
export declare function ticketingTicketUpdateRequestDtoSchemas4ToJSON(ticketingTicketUpdateRequestDtoSchemas4: TicketingTicketUpdateRequestDtoSchemas4): string;
export declare function ticketingTicketUpdateRequestDtoSchemas4FromJSON(jsonString: string): SafeParseResult<TicketingTicketUpdateRequestDtoSchemas4, SDKValidationError>;
/** @internal */
export declare const TicketingTicketUpdateRequestDtoSchemasSourceValue$inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSchemasSourceValue, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingTicketUpdateRequestDtoSchemasSourceValue$Outbound = TicketingTicketUpdateRequestDtoSchemas4$Outbound | string | number | boolean | Array<any>;
/** @internal */
export declare const TicketingTicketUpdateRequestDtoSchemasSourceValue$outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSchemasSourceValue$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDtoSchemasSourceValue>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingTicketUpdateRequestDtoSchemasSourceValue$ {
    /** @deprecated use `TicketingTicketUpdateRequestDtoSchemasSourceValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSchemasSourceValue, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingTicketUpdateRequestDtoSchemasSourceValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSchemasSourceValue$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDtoSchemasSourceValue>;
    /** @deprecated use `TicketingTicketUpdateRequestDtoSchemasSourceValue$Outbound` instead. */
    type Outbound = TicketingTicketUpdateRequestDtoSchemasSourceValue$Outbound;
}
export declare function ticketingTicketUpdateRequestDtoSchemasSourceValueToJSON(ticketingTicketUpdateRequestDtoSchemasSourceValue: TicketingTicketUpdateRequestDtoSchemasSourceValue): string;
export declare function ticketingTicketUpdateRequestDtoSchemasSourceValueFromJSON(jsonString: string): SafeParseResult<TicketingTicketUpdateRequestDtoSchemasSourceValue, SDKValidationError>;
/** @internal */
export declare const TicketingTicketUpdateRequestDtoSchemasValue$inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSchemasValueOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const TicketingTicketUpdateRequestDtoSchemasValue$outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSchemasValueOpen, z.ZodTypeDef, TicketingTicketUpdateRequestDtoSchemasValueOpen>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingTicketUpdateRequestDtoSchemasValue$ {
    /** @deprecated use `TicketingTicketUpdateRequestDtoSchemasValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSchemasValueOpen, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingTicketUpdateRequestDtoSchemasValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoSchemasValueOpen, z.ZodTypeDef, TicketingTicketUpdateRequestDtoSchemasValueOpen>;
}
/** @internal */
export declare const TicketingTicketUpdateRequestDtoType$inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoType, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingTicketUpdateRequestDtoType$Outbound = {
    source_value?: TicketingTicketUpdateRequestDtoSchemas4$Outbound | string | number | boolean | Array<any> | null | undefined;
    value?: string | null | undefined;
};
/** @internal */
export declare const TicketingTicketUpdateRequestDtoType$outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoType$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDtoType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingTicketUpdateRequestDtoType$ {
    /** @deprecated use `TicketingTicketUpdateRequestDtoType$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoType, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingTicketUpdateRequestDtoType$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoType$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDtoType>;
    /** @deprecated use `TicketingTicketUpdateRequestDtoType$Outbound` instead. */
    type Outbound = TicketingTicketUpdateRequestDtoType$Outbound;
}
export declare function ticketingTicketUpdateRequestDtoTypeToJSON(ticketingTicketUpdateRequestDtoType: TicketingTicketUpdateRequestDtoType): string;
export declare function ticketingTicketUpdateRequestDtoTypeFromJSON(jsonString: string): SafeParseResult<TicketingTicketUpdateRequestDtoType, SDKValidationError>;
/** @internal */
export declare const TicketingTicketUpdateRequestDtoStatus$inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoStatus, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingTicketUpdateRequestDtoStatus$Outbound = {
    id?: string | null | undefined;
    name?: string | null | undefined;
    type?: TicketingTicketUpdateRequestDtoType$Outbound | null | undefined;
};
/** @internal */
export declare const TicketingTicketUpdateRequestDtoStatus$outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoStatus$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDtoStatus>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingTicketUpdateRequestDtoStatus$ {
    /** @deprecated use `TicketingTicketUpdateRequestDtoStatus$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoStatus, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingTicketUpdateRequestDtoStatus$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingTicketUpdateRequestDtoStatus$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDtoStatus>;
    /** @deprecated use `TicketingTicketUpdateRequestDtoStatus$Outbound` instead. */
    type Outbound = TicketingTicketUpdateRequestDtoStatus$Outbound;
}
export declare function ticketingTicketUpdateRequestDtoStatusToJSON(ticketingTicketUpdateRequestDtoStatus: TicketingTicketUpdateRequestDtoStatus): string;
export declare function ticketingTicketUpdateRequestDtoStatusFromJSON(jsonString: string): SafeParseResult<TicketingTicketUpdateRequestDtoStatus, SDKValidationError>;
/** @internal */
export declare const TicketingTicketUpdateRequestDto$inboundSchema: z.ZodType<TicketingTicketUpdateRequestDto, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingTicketUpdateRequestDto$Outbound = {
    assignees?: Array<string> | null | undefined;
    collections?: Array<string> | null | undefined;
    content?: Array<TicketingContent$Outbound> | null | undefined;
    parent_id?: string | null | undefined;
    priority?: TicketingTicketUpdateRequestDtoPriority$Outbound | null | undefined;
    reporters?: Array<string> | null | undefined;
    status?: TicketingTicketUpdateRequestDtoStatus$Outbound | null | undefined;
    tags?: Array<string> | null | undefined;
    title?: string | null | undefined;
    unified_custom_fields?: {
        [k: string]: any;
    } | null | undefined;
};
/** @internal */
export declare const TicketingTicketUpdateRequestDto$outboundSchema: z.ZodType<TicketingTicketUpdateRequestDto$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDto>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingTicketUpdateRequestDto$ {
    /** @deprecated use `TicketingTicketUpdateRequestDto$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingTicketUpdateRequestDto, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingTicketUpdateRequestDto$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingTicketUpdateRequestDto$Outbound, z.ZodTypeDef, TicketingTicketUpdateRequestDto>;
    /** @deprecated use `TicketingTicketUpdateRequestDto$Outbound` instead. */
    type Outbound = TicketingTicketUpdateRequestDto$Outbound;
}
export declare function ticketingTicketUpdateRequestDtoToJSON(ticketingTicketUpdateRequestDto: TicketingTicketUpdateRequestDto): string;
export declare function ticketingTicketUpdateRequestDtoFromJSON(jsonString: string): SafeParseResult<TicketingTicketUpdateRequestDto, SDKValidationError>;
//# sourceMappingURL=ticketingticketupdaterequestdto.d.ts.map