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 IssueTrackingCollectionUsersOneGlobals = {
/**
* 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 IssueTrackingCollectionUsersOneRequest = {
/**
* The collection ID
*/
collectionId: string;
/**
* ID of the record you are acting upon.
*/
id: string;
/**
* 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;
/**
* Include raw response. Mostly used for debugging purposes
*/
raw?: boolean | undefined;
/**
* The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.
*/
fields?: string | null | undefined;
};
export type IssueTrackingCollectionUsersOneResponse = {
httpMeta: components.HTTPMetadata;
/**
* User
*/
getCollectionUserResponse?: components.GetCollectionUserResponse | undefined;
/**
* Unexpected error
*/
unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
};
/** @internal */
export declare const IssueTrackingCollectionUsersOneGlobals$inboundSchema: z.ZodType;
/** @internal */
export type IssueTrackingCollectionUsersOneGlobals$Outbound = {
consumerId?: string | undefined;
appId?: string | undefined;
};
/** @internal */
export declare const IssueTrackingCollectionUsersOneGlobals$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 IssueTrackingCollectionUsersOneGlobals$ {
/** @deprecated use `IssueTrackingCollectionUsersOneGlobals$inboundSchema` instead. */
const inboundSchema: z.ZodType;
/** @deprecated use `IssueTrackingCollectionUsersOneGlobals$outboundSchema` instead. */
const outboundSchema: z.ZodType;
/** @deprecated use `IssueTrackingCollectionUsersOneGlobals$Outbound` instead. */
type Outbound = IssueTrackingCollectionUsersOneGlobals$Outbound;
}
export declare function issueTrackingCollectionUsersOneGlobalsToJSON(issueTrackingCollectionUsersOneGlobals: IssueTrackingCollectionUsersOneGlobals): string;
export declare function issueTrackingCollectionUsersOneGlobalsFromJSON(jsonString: string): SafeParseResult;
/** @internal */
export declare const IssueTrackingCollectionUsersOneRequest$inboundSchema: z.ZodType;
/** @internal */
export type IssueTrackingCollectionUsersOneRequest$Outbound = {
collection_id: string;
id: string;
serviceId?: string | undefined;
raw: boolean;
fields?: string | null | undefined;
};
/** @internal */
export declare const IssueTrackingCollectionUsersOneRequest$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 IssueTrackingCollectionUsersOneRequest$ {
/** @deprecated use `IssueTrackingCollectionUsersOneRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType;
/** @deprecated use `IssueTrackingCollectionUsersOneRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType;
/** @deprecated use `IssueTrackingCollectionUsersOneRequest$Outbound` instead. */
type Outbound = IssueTrackingCollectionUsersOneRequest$Outbound;
}
export declare function issueTrackingCollectionUsersOneRequestToJSON(issueTrackingCollectionUsersOneRequest: IssueTrackingCollectionUsersOneRequest): string;
export declare function issueTrackingCollectionUsersOneRequestFromJSON(jsonString: string): SafeParseResult;
/** @internal */
export declare const IssueTrackingCollectionUsersOneResponse$inboundSchema: z.ZodType;
/** @internal */
export type IssueTrackingCollectionUsersOneResponse$Outbound = {
HttpMeta: components.HTTPMetadata$Outbound;
GetCollectionUserResponse?: components.GetCollectionUserResponse$Outbound | undefined;
UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined;
};
/** @internal */
export declare const IssueTrackingCollectionUsersOneResponse$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 IssueTrackingCollectionUsersOneResponse$ {
/** @deprecated use `IssueTrackingCollectionUsersOneResponse$inboundSchema` instead. */
const inboundSchema: z.ZodType;
/** @deprecated use `IssueTrackingCollectionUsersOneResponse$outboundSchema` instead. */
const outboundSchema: z.ZodType;
/** @deprecated use `IssueTrackingCollectionUsersOneResponse$Outbound` instead. */
type Outbound = IssueTrackingCollectionUsersOneResponse$Outbound;
}
export declare function issueTrackingCollectionUsersOneResponseToJSON(issueTrackingCollectionUsersOneResponse: IssueTrackingCollectionUsersOneResponse): string;
export declare function issueTrackingCollectionUsersOneResponseFromJSON(jsonString: string): SafeParseResult;
//# sourceMappingURL=issuetrackingcollectionusersone.d.ts.map