import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type IssueTrackingCollectionTicketsAddGlobals = { /** * ID of the consumer which you want to get or push data from */ consumerId?: string | undefined; /** * The ID of your Unify application */ appId?: string | undefined; }; export type IssueTrackingCollectionTicketsAddRequest = { /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; /** * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. */ serviceId?: string | undefined; /** * The collection ID */ collectionId: string; ticket: components.TicketInput; }; export type IssueTrackingCollectionTicketsAddResponse = { httpMeta: components.HTTPMetadata; /** * Create a Ticket */ createTicketResponse?: components.CreateTicketResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const IssueTrackingCollectionTicketsAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type IssueTrackingCollectionTicketsAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const IssueTrackingCollectionTicketsAddGlobals$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace IssueTrackingCollectionTicketsAddGlobals$ { /** @deprecated use `IssueTrackingCollectionTicketsAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IssueTrackingCollectionTicketsAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IssueTrackingCollectionTicketsAddGlobals$Outbound` instead. */ type Outbound = IssueTrackingCollectionTicketsAddGlobals$Outbound; } export declare function issueTrackingCollectionTicketsAddGlobalsToJSON(issueTrackingCollectionTicketsAddGlobals: IssueTrackingCollectionTicketsAddGlobals): string; export declare function issueTrackingCollectionTicketsAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const IssueTrackingCollectionTicketsAddRequest$inboundSchema: z.ZodType; /** @internal */ export type IssueTrackingCollectionTicketsAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; collection_id: string; Ticket: components.TicketInput$Outbound; }; /** @internal */ export declare const IssueTrackingCollectionTicketsAddRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace IssueTrackingCollectionTicketsAddRequest$ { /** @deprecated use `IssueTrackingCollectionTicketsAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IssueTrackingCollectionTicketsAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IssueTrackingCollectionTicketsAddRequest$Outbound` instead. */ type Outbound = IssueTrackingCollectionTicketsAddRequest$Outbound; } export declare function issueTrackingCollectionTicketsAddRequestToJSON(issueTrackingCollectionTicketsAddRequest: IssueTrackingCollectionTicketsAddRequest): string; export declare function issueTrackingCollectionTicketsAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const IssueTrackingCollectionTicketsAddResponse$inboundSchema: z.ZodType; /** @internal */ export type IssueTrackingCollectionTicketsAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateTicketResponse?: components.CreateTicketResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const IssueTrackingCollectionTicketsAddResponse$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace IssueTrackingCollectionTicketsAddResponse$ { /** @deprecated use `IssueTrackingCollectionTicketsAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IssueTrackingCollectionTicketsAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IssueTrackingCollectionTicketsAddResponse$Outbound` instead. */ type Outbound = IssueTrackingCollectionTicketsAddResponse$Outbound; } export declare function issueTrackingCollectionTicketsAddResponseToJSON(issueTrackingCollectionTicketsAddResponse: IssueTrackingCollectionTicketsAddResponse): string; export declare function issueTrackingCollectionTicketsAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=issuetrackingcollectionticketsadd.d.ts.map