attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
881 lines • 65 kB
TypeScript
import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
* Type of event the webhook is subscribed to.
*/
export declare const PostV2WebhooksEventTypeRequest: {
readonly CommentCreated: "comment.created";
readonly CommentResolved: "comment.resolved";
readonly CommentUnresolved: "comment.unresolved";
readonly CommentDeleted: "comment.deleted";
readonly ListCreated: "list.created";
readonly ListUpdated: "list.updated";
readonly ListDeleted: "list.deleted";
readonly ListAttributeCreated: "list-attribute.created";
readonly ListAttributeUpdated: "list-attribute.updated";
readonly ListEntryCreated: "list-entry.created";
readonly ListEntryUpdated: "list-entry.updated";
readonly ListEntryDeleted: "list-entry.deleted";
readonly ObjectAttributeCreated: "object-attribute.created";
readonly ObjectAttributeUpdated: "object-attribute.updated";
readonly NoteCreated: "note.created";
readonly NoteUpdated: "note.updated";
readonly NoteDeleted: "note.deleted";
readonly RecordCreated: "record.created";
readonly RecordMerged: "record.merged";
readonly RecordUpdated: "record.updated";
readonly RecordDeleted: "record.deleted";
readonly TaskCreated: "task.created";
readonly TaskUpdated: "task.updated";
readonly TaskDeleted: "task.deleted";
readonly WorkspaceMemberCreated: "workspace-member.created";
};
/**
* Type of event the webhook is subscribed to.
*/
export type PostV2WebhooksEventTypeRequest = ClosedEnum<typeof PostV2WebhooksEventTypeRequest>;
export declare const PostV2WebhooksDollarAndOperatorNotEqualsRequest: {
readonly NotEquals: "not_equals";
};
export type PostV2WebhooksDollarAndOperatorNotEqualsRequest = ClosedEnum<typeof PostV2WebhooksDollarAndOperatorNotEqualsRequest>;
export type PostV2WebhooksDollarAndNotEqualsRequest = {
field: string;
operator: PostV2WebhooksDollarAndOperatorNotEqualsRequest;
value: string;
};
export declare const PostV2WebhooksDollarAndOperatorEqualsRequest: {
readonly Equals: "equals";
};
export type PostV2WebhooksDollarAndOperatorEqualsRequest = ClosedEnum<typeof PostV2WebhooksDollarAndOperatorEqualsRequest>;
export type PostV2WebhooksDollarAndEqualsRequest = {
field: string;
operator: PostV2WebhooksDollarAndOperatorEqualsRequest;
value: string;
};
export type PostV2WebhooksDollarAndRequestUnion = PostV2WebhooksDollarAndEqualsRequest | PostV2WebhooksDollarAndNotEqualsRequest;
export type PostV2WebhooksFilterRequest2 = {
dollarAnd: Array<PostV2WebhooksDollarAndEqualsRequest | PostV2WebhooksDollarAndNotEqualsRequest>;
};
export declare const PostV2WebhooksDollarOrOperatorNotEqualsRequest: {
readonly NotEquals: "not_equals";
};
export type PostV2WebhooksDollarOrOperatorNotEqualsRequest = ClosedEnum<typeof PostV2WebhooksDollarOrOperatorNotEqualsRequest>;
export type PostV2WebhooksDollarOrNotEqualsRequest = {
field: string;
operator: PostV2WebhooksDollarOrOperatorNotEqualsRequest;
value: string;
};
export declare const PostV2WebhooksDollarOrOperatorEqualsRequest: {
readonly Equals: "equals";
};
export type PostV2WebhooksDollarOrOperatorEqualsRequest = ClosedEnum<typeof PostV2WebhooksDollarOrOperatorEqualsRequest>;
export type PostV2WebhooksDollarOrEqualsRequest = {
field: string;
operator: PostV2WebhooksDollarOrOperatorEqualsRequest;
value: string;
};
export type PostV2WebhooksDollarOrRequestUnion = PostV2WebhooksDollarOrEqualsRequest | PostV2WebhooksDollarOrNotEqualsRequest;
export type PostV2WebhooksFilterRequest1 = {
dollarOr: Array<PostV2WebhooksDollarOrEqualsRequest | PostV2WebhooksDollarOrNotEqualsRequest>;
};
/**
* Filters to determine whether the webhook event should be sent. If null, the filter always passes.
*/
export type PostV2WebhooksFilterRequestUnion = PostV2WebhooksFilterRequest1 | PostV2WebhooksFilterRequest2;
export type PostV2WebhooksSubscriptionRequest = {
/**
* Type of event the webhook is subscribed to.
*/
eventType: PostV2WebhooksEventTypeRequest;
/**
* Filters to determine whether the webhook event should be sent. If null, the filter always passes.
*/
filter: PostV2WebhooksFilterRequest1 | PostV2WebhooksFilterRequest2 | null;
};
export type PostV2WebhooksDataRequest = {
/**
* URL where the webhook events will be delivered to.
*/
targetUrl: string;
/**
* One or more events the webhook is subscribed to.
*/
subscriptions: Array<PostV2WebhooksSubscriptionRequest>;
};
export type PostV2WebhooksRequest = {
data: PostV2WebhooksDataRequest;
};
/**
* Type of event the webhook is subscribed to.
*/
export declare const PostV2WebhooksEventTypeResponse: {
readonly CommentCreated: "comment.created";
readonly CommentResolved: "comment.resolved";
readonly CommentUnresolved: "comment.unresolved";
readonly CommentDeleted: "comment.deleted";
readonly ListCreated: "list.created";
readonly ListUpdated: "list.updated";
readonly ListDeleted: "list.deleted";
readonly ListAttributeCreated: "list-attribute.created";
readonly ListAttributeUpdated: "list-attribute.updated";
readonly ListEntryCreated: "list-entry.created";
readonly ListEntryUpdated: "list-entry.updated";
readonly ListEntryDeleted: "list-entry.deleted";
readonly ObjectAttributeCreated: "object-attribute.created";
readonly ObjectAttributeUpdated: "object-attribute.updated";
readonly NoteCreated: "note.created";
readonly NoteUpdated: "note.updated";
readonly NoteDeleted: "note.deleted";
readonly RecordCreated: "record.created";
readonly RecordMerged: "record.merged";
readonly RecordUpdated: "record.updated";
readonly RecordDeleted: "record.deleted";
readonly TaskCreated: "task.created";
readonly TaskUpdated: "task.updated";
readonly TaskDeleted: "task.deleted";
readonly WorkspaceMemberCreated: "workspace-member.created";
};
/**
* Type of event the webhook is subscribed to.
*/
export type PostV2WebhooksEventTypeResponse = ClosedEnum<typeof PostV2WebhooksEventTypeResponse>;
export declare const PostV2WebhooksDollarAndOperatorNotEqualsResponse: {
readonly NotEquals: "not_equals";
};
export type PostV2WebhooksDollarAndOperatorNotEqualsResponse = ClosedEnum<typeof PostV2WebhooksDollarAndOperatorNotEqualsResponse>;
export type PostV2WebhooksDollarAndNotEqualsResponse = {
field: string;
operator: PostV2WebhooksDollarAndOperatorNotEqualsResponse;
value: string;
};
export declare const PostV2WebhooksDollarAndOperatorEqualsResponse: {
readonly Equals: "equals";
};
export type PostV2WebhooksDollarAndOperatorEqualsResponse = ClosedEnum<typeof PostV2WebhooksDollarAndOperatorEqualsResponse>;
export type PostV2WebhooksDollarAndEqualsResponse = {
field: string;
operator: PostV2WebhooksDollarAndOperatorEqualsResponse;
value: string;
};
export type PostV2WebhooksDollarAndResponseUnion = PostV2WebhooksDollarAndEqualsResponse | PostV2WebhooksDollarAndNotEqualsResponse;
export type PostV2WebhooksFilterResponse2 = {
dollarAnd: Array<PostV2WebhooksDollarAndEqualsResponse | PostV2WebhooksDollarAndNotEqualsResponse>;
};
export declare const PostV2WebhooksDollarOrOperatorNotEqualsResponse: {
readonly NotEquals: "not_equals";
};
export type PostV2WebhooksDollarOrOperatorNotEqualsResponse = ClosedEnum<typeof PostV2WebhooksDollarOrOperatorNotEqualsResponse>;
export type PostV2WebhooksDollarOrNotEqualsResponse = {
field: string;
operator: PostV2WebhooksDollarOrOperatorNotEqualsResponse;
value: string;
};
export declare const PostV2WebhooksDollarOrOperatorEqualsResponse: {
readonly Equals: "equals";
};
export type PostV2WebhooksDollarOrOperatorEqualsResponse = ClosedEnum<typeof PostV2WebhooksDollarOrOperatorEqualsResponse>;
export type PostV2WebhooksDollarOrEqualsResponse = {
field: string;
operator: PostV2WebhooksDollarOrOperatorEqualsResponse;
value: string;
};
export type PostV2WebhooksDollarOrResponseUnion = PostV2WebhooksDollarOrEqualsResponse | PostV2WebhooksDollarOrNotEqualsResponse;
export type PostV2WebhooksFilterResponse1 = {
dollarOr: Array<PostV2WebhooksDollarOrEqualsResponse | PostV2WebhooksDollarOrNotEqualsResponse>;
};
/**
* Filters to determine whether the webhook event should be sent. If null, the filter always passes.
*/
export type PostV2WebhooksFilterResponseUnion = PostV2WebhooksFilterResponse1 | PostV2WebhooksFilterResponse2;
export type PostV2WebhooksSubscriptionResponse = {
/**
* Type of event the webhook is subscribed to.
*/
eventType: PostV2WebhooksEventTypeResponse;
/**
* Filters to determine whether the webhook event should be sent. If null, the filter always passes.
*/
filter: PostV2WebhooksFilterResponse1 | PostV2WebhooksFilterResponse2 | null;
};
export type PostV2WebhooksId = {
/**
* The ID of the workspace the webhook belongs to.
*/
workspaceId: string;
/**
* The ID of the webhook.
*/
webhookId: string;
};
/**
* The state of the webhook. Webhooks marked as active and degraded will receive events, inactive ones will not. If a webhook remains in the degraded state for 7 days, it will be marked inactive.
*/
export declare const PostV2WebhooksStatus: {
readonly Active: "active";
readonly Degraded: "degraded";
readonly Inactive: "inactive";
};
/**
* The state of the webhook. Webhooks marked as active and degraded will receive events, inactive ones will not. If a webhook remains in the degraded state for 7 days, it will be marked inactive.
*/
export type PostV2WebhooksStatus = ClosedEnum<typeof PostV2WebhooksStatus>;
export type PostV2WebhooksDataResponse = {
/**
* URL where the webhook events will be delivered to.
*/
targetUrl: string;
/**
* One or more events the webhook is subscribed to.
*/
subscriptions: Array<PostV2WebhooksSubscriptionResponse>;
id: PostV2WebhooksId;
/**
* The state of the webhook. Webhooks marked as active and degraded will receive events, inactive ones will not. If a webhook remains in the degraded state for 7 days, it will be marked inactive.
*/
status: PostV2WebhooksStatus;
/**
* When the webhook was created.
*/
createdAt: string;
/**
* The key which is used to sign the webhook events. This is only shown when setting up the webhook initially.
*/
secret: string;
};
/**
* Success
*/
export type PostV2WebhooksResponse = {
data: PostV2WebhooksDataResponse;
};
/** @internal */
export declare const PostV2WebhooksEventTypeRequest$inboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksEventTypeRequest>;
/** @internal */
export declare const PostV2WebhooksEventTypeRequest$outboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksEventTypeRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksEventTypeRequest$ {
/** @deprecated use `PostV2WebhooksEventTypeRequest$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly CommentCreated: "comment.created";
readonly CommentResolved: "comment.resolved";
readonly CommentUnresolved: "comment.unresolved";
readonly CommentDeleted: "comment.deleted";
readonly ListCreated: "list.created";
readonly ListUpdated: "list.updated";
readonly ListDeleted: "list.deleted";
readonly ListAttributeCreated: "list-attribute.created";
readonly ListAttributeUpdated: "list-attribute.updated";
readonly ListEntryCreated: "list-entry.created";
readonly ListEntryUpdated: "list-entry.updated";
readonly ListEntryDeleted: "list-entry.deleted";
readonly ObjectAttributeCreated: "object-attribute.created";
readonly ObjectAttributeUpdated: "object-attribute.updated";
readonly NoteCreated: "note.created";
readonly NoteUpdated: "note.updated";
readonly NoteDeleted: "note.deleted";
readonly RecordCreated: "record.created";
readonly RecordMerged: "record.merged";
readonly RecordUpdated: "record.updated";
readonly RecordDeleted: "record.deleted";
readonly TaskCreated: "task.created";
readonly TaskUpdated: "task.updated";
readonly TaskDeleted: "task.deleted";
readonly WorkspaceMemberCreated: "workspace-member.created";
}>;
/** @deprecated use `PostV2WebhooksEventTypeRequest$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly CommentCreated: "comment.created";
readonly CommentResolved: "comment.resolved";
readonly CommentUnresolved: "comment.unresolved";
readonly CommentDeleted: "comment.deleted";
readonly ListCreated: "list.created";
readonly ListUpdated: "list.updated";
readonly ListDeleted: "list.deleted";
readonly ListAttributeCreated: "list-attribute.created";
readonly ListAttributeUpdated: "list-attribute.updated";
readonly ListEntryCreated: "list-entry.created";
readonly ListEntryUpdated: "list-entry.updated";
readonly ListEntryDeleted: "list-entry.deleted";
readonly ObjectAttributeCreated: "object-attribute.created";
readonly ObjectAttributeUpdated: "object-attribute.updated";
readonly NoteCreated: "note.created";
readonly NoteUpdated: "note.updated";
readonly NoteDeleted: "note.deleted";
readonly RecordCreated: "record.created";
readonly RecordMerged: "record.merged";
readonly RecordUpdated: "record.updated";
readonly RecordDeleted: "record.deleted";
readonly TaskCreated: "task.created";
readonly TaskUpdated: "task.updated";
readonly TaskDeleted: "task.deleted";
readonly WorkspaceMemberCreated: "workspace-member.created";
}>;
}
/** @internal */
export declare const PostV2WebhooksDollarAndOperatorNotEqualsRequest$inboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksDollarAndOperatorNotEqualsRequest>;
/** @internal */
export declare const PostV2WebhooksDollarAndOperatorNotEqualsRequest$outboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksDollarAndOperatorNotEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarAndOperatorNotEqualsRequest$ {
/** @deprecated use `PostV2WebhooksDollarAndOperatorNotEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly NotEquals: "not_equals";
}>;
/** @deprecated use `PostV2WebhooksDollarAndOperatorNotEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly NotEquals: "not_equals";
}>;
}
/** @internal */
export declare const PostV2WebhooksDollarAndNotEqualsRequest$inboundSchema: z.ZodType<PostV2WebhooksDollarAndNotEqualsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksDollarAndNotEqualsRequest$Outbound = {
field: string;
operator: string;
value: string;
};
/** @internal */
export declare const PostV2WebhooksDollarAndNotEqualsRequest$outboundSchema: z.ZodType<PostV2WebhooksDollarAndNotEqualsRequest$Outbound, z.ZodTypeDef, PostV2WebhooksDollarAndNotEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarAndNotEqualsRequest$ {
/** @deprecated use `PostV2WebhooksDollarAndNotEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksDollarAndNotEqualsRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksDollarAndNotEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksDollarAndNotEqualsRequest$Outbound, z.ZodTypeDef, PostV2WebhooksDollarAndNotEqualsRequest>;
/** @deprecated use `PostV2WebhooksDollarAndNotEqualsRequest$Outbound` instead. */
type Outbound = PostV2WebhooksDollarAndNotEqualsRequest$Outbound;
}
export declare function postV2WebhooksDollarAndNotEqualsRequestToJSON(postV2WebhooksDollarAndNotEqualsRequest: PostV2WebhooksDollarAndNotEqualsRequest): string;
export declare function postV2WebhooksDollarAndNotEqualsRequestFromJSON(jsonString: string): SafeParseResult<PostV2WebhooksDollarAndNotEqualsRequest, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksDollarAndOperatorEqualsRequest$inboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksDollarAndOperatorEqualsRequest>;
/** @internal */
export declare const PostV2WebhooksDollarAndOperatorEqualsRequest$outboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksDollarAndOperatorEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarAndOperatorEqualsRequest$ {
/** @deprecated use `PostV2WebhooksDollarAndOperatorEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Equals: "equals";
}>;
/** @deprecated use `PostV2WebhooksDollarAndOperatorEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Equals: "equals";
}>;
}
/** @internal */
export declare const PostV2WebhooksDollarAndEqualsRequest$inboundSchema: z.ZodType<PostV2WebhooksDollarAndEqualsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksDollarAndEqualsRequest$Outbound = {
field: string;
operator: string;
value: string;
};
/** @internal */
export declare const PostV2WebhooksDollarAndEqualsRequest$outboundSchema: z.ZodType<PostV2WebhooksDollarAndEqualsRequest$Outbound, z.ZodTypeDef, PostV2WebhooksDollarAndEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarAndEqualsRequest$ {
/** @deprecated use `PostV2WebhooksDollarAndEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksDollarAndEqualsRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksDollarAndEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksDollarAndEqualsRequest$Outbound, z.ZodTypeDef, PostV2WebhooksDollarAndEqualsRequest>;
/** @deprecated use `PostV2WebhooksDollarAndEqualsRequest$Outbound` instead. */
type Outbound = PostV2WebhooksDollarAndEqualsRequest$Outbound;
}
export declare function postV2WebhooksDollarAndEqualsRequestToJSON(postV2WebhooksDollarAndEqualsRequest: PostV2WebhooksDollarAndEqualsRequest): string;
export declare function postV2WebhooksDollarAndEqualsRequestFromJSON(jsonString: string): SafeParseResult<PostV2WebhooksDollarAndEqualsRequest, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksDollarAndRequestUnion$inboundSchema: z.ZodType<PostV2WebhooksDollarAndRequestUnion, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksDollarAndRequestUnion$Outbound = PostV2WebhooksDollarAndEqualsRequest$Outbound | PostV2WebhooksDollarAndNotEqualsRequest$Outbound;
/** @internal */
export declare const PostV2WebhooksDollarAndRequestUnion$outboundSchema: z.ZodType<PostV2WebhooksDollarAndRequestUnion$Outbound, z.ZodTypeDef, PostV2WebhooksDollarAndRequestUnion>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarAndRequestUnion$ {
/** @deprecated use `PostV2WebhooksDollarAndRequestUnion$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksDollarAndRequestUnion, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksDollarAndRequestUnion$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksDollarAndRequestUnion$Outbound, z.ZodTypeDef, PostV2WebhooksDollarAndRequestUnion>;
/** @deprecated use `PostV2WebhooksDollarAndRequestUnion$Outbound` instead. */
type Outbound = PostV2WebhooksDollarAndRequestUnion$Outbound;
}
export declare function postV2WebhooksDollarAndRequestUnionToJSON(postV2WebhooksDollarAndRequestUnion: PostV2WebhooksDollarAndRequestUnion): string;
export declare function postV2WebhooksDollarAndRequestUnionFromJSON(jsonString: string): SafeParseResult<PostV2WebhooksDollarAndRequestUnion, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksFilterRequest2$inboundSchema: z.ZodType<PostV2WebhooksFilterRequest2, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksFilterRequest2$Outbound = {
$and: Array<PostV2WebhooksDollarAndEqualsRequest$Outbound | PostV2WebhooksDollarAndNotEqualsRequest$Outbound>;
};
/** @internal */
export declare const PostV2WebhooksFilterRequest2$outboundSchema: z.ZodType<PostV2WebhooksFilterRequest2$Outbound, z.ZodTypeDef, PostV2WebhooksFilterRequest2>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksFilterRequest2$ {
/** @deprecated use `PostV2WebhooksFilterRequest2$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksFilterRequest2, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksFilterRequest2$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksFilterRequest2$Outbound, z.ZodTypeDef, PostV2WebhooksFilterRequest2>;
/** @deprecated use `PostV2WebhooksFilterRequest2$Outbound` instead. */
type Outbound = PostV2WebhooksFilterRequest2$Outbound;
}
export declare function postV2WebhooksFilterRequest2ToJSON(postV2WebhooksFilterRequest2: PostV2WebhooksFilterRequest2): string;
export declare function postV2WebhooksFilterRequest2FromJSON(jsonString: string): SafeParseResult<PostV2WebhooksFilterRequest2, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksDollarOrOperatorNotEqualsRequest$inboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksDollarOrOperatorNotEqualsRequest>;
/** @internal */
export declare const PostV2WebhooksDollarOrOperatorNotEqualsRequest$outboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksDollarOrOperatorNotEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarOrOperatorNotEqualsRequest$ {
/** @deprecated use `PostV2WebhooksDollarOrOperatorNotEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly NotEquals: "not_equals";
}>;
/** @deprecated use `PostV2WebhooksDollarOrOperatorNotEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly NotEquals: "not_equals";
}>;
}
/** @internal */
export declare const PostV2WebhooksDollarOrNotEqualsRequest$inboundSchema: z.ZodType<PostV2WebhooksDollarOrNotEqualsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksDollarOrNotEqualsRequest$Outbound = {
field: string;
operator: string;
value: string;
};
/** @internal */
export declare const PostV2WebhooksDollarOrNotEqualsRequest$outboundSchema: z.ZodType<PostV2WebhooksDollarOrNotEqualsRequest$Outbound, z.ZodTypeDef, PostV2WebhooksDollarOrNotEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarOrNotEqualsRequest$ {
/** @deprecated use `PostV2WebhooksDollarOrNotEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksDollarOrNotEqualsRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksDollarOrNotEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksDollarOrNotEqualsRequest$Outbound, z.ZodTypeDef, PostV2WebhooksDollarOrNotEqualsRequest>;
/** @deprecated use `PostV2WebhooksDollarOrNotEqualsRequest$Outbound` instead. */
type Outbound = PostV2WebhooksDollarOrNotEqualsRequest$Outbound;
}
export declare function postV2WebhooksDollarOrNotEqualsRequestToJSON(postV2WebhooksDollarOrNotEqualsRequest: PostV2WebhooksDollarOrNotEqualsRequest): string;
export declare function postV2WebhooksDollarOrNotEqualsRequestFromJSON(jsonString: string): SafeParseResult<PostV2WebhooksDollarOrNotEqualsRequest, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksDollarOrOperatorEqualsRequest$inboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksDollarOrOperatorEqualsRequest>;
/** @internal */
export declare const PostV2WebhooksDollarOrOperatorEqualsRequest$outboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksDollarOrOperatorEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarOrOperatorEqualsRequest$ {
/** @deprecated use `PostV2WebhooksDollarOrOperatorEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Equals: "equals";
}>;
/** @deprecated use `PostV2WebhooksDollarOrOperatorEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Equals: "equals";
}>;
}
/** @internal */
export declare const PostV2WebhooksDollarOrEqualsRequest$inboundSchema: z.ZodType<PostV2WebhooksDollarOrEqualsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksDollarOrEqualsRequest$Outbound = {
field: string;
operator: string;
value: string;
};
/** @internal */
export declare const PostV2WebhooksDollarOrEqualsRequest$outboundSchema: z.ZodType<PostV2WebhooksDollarOrEqualsRequest$Outbound, z.ZodTypeDef, PostV2WebhooksDollarOrEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarOrEqualsRequest$ {
/** @deprecated use `PostV2WebhooksDollarOrEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksDollarOrEqualsRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksDollarOrEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksDollarOrEqualsRequest$Outbound, z.ZodTypeDef, PostV2WebhooksDollarOrEqualsRequest>;
/** @deprecated use `PostV2WebhooksDollarOrEqualsRequest$Outbound` instead. */
type Outbound = PostV2WebhooksDollarOrEqualsRequest$Outbound;
}
export declare function postV2WebhooksDollarOrEqualsRequestToJSON(postV2WebhooksDollarOrEqualsRequest: PostV2WebhooksDollarOrEqualsRequest): string;
export declare function postV2WebhooksDollarOrEqualsRequestFromJSON(jsonString: string): SafeParseResult<PostV2WebhooksDollarOrEqualsRequest, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksDollarOrRequestUnion$inboundSchema: z.ZodType<PostV2WebhooksDollarOrRequestUnion, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksDollarOrRequestUnion$Outbound = PostV2WebhooksDollarOrEqualsRequest$Outbound | PostV2WebhooksDollarOrNotEqualsRequest$Outbound;
/** @internal */
export declare const PostV2WebhooksDollarOrRequestUnion$outboundSchema: z.ZodType<PostV2WebhooksDollarOrRequestUnion$Outbound, z.ZodTypeDef, PostV2WebhooksDollarOrRequestUnion>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarOrRequestUnion$ {
/** @deprecated use `PostV2WebhooksDollarOrRequestUnion$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksDollarOrRequestUnion, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksDollarOrRequestUnion$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksDollarOrRequestUnion$Outbound, z.ZodTypeDef, PostV2WebhooksDollarOrRequestUnion>;
/** @deprecated use `PostV2WebhooksDollarOrRequestUnion$Outbound` instead. */
type Outbound = PostV2WebhooksDollarOrRequestUnion$Outbound;
}
export declare function postV2WebhooksDollarOrRequestUnionToJSON(postV2WebhooksDollarOrRequestUnion: PostV2WebhooksDollarOrRequestUnion): string;
export declare function postV2WebhooksDollarOrRequestUnionFromJSON(jsonString: string): SafeParseResult<PostV2WebhooksDollarOrRequestUnion, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksFilterRequest1$inboundSchema: z.ZodType<PostV2WebhooksFilterRequest1, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksFilterRequest1$Outbound = {
$or: Array<PostV2WebhooksDollarOrEqualsRequest$Outbound | PostV2WebhooksDollarOrNotEqualsRequest$Outbound>;
};
/** @internal */
export declare const PostV2WebhooksFilterRequest1$outboundSchema: z.ZodType<PostV2WebhooksFilterRequest1$Outbound, z.ZodTypeDef, PostV2WebhooksFilterRequest1>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksFilterRequest1$ {
/** @deprecated use `PostV2WebhooksFilterRequest1$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksFilterRequest1, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksFilterRequest1$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksFilterRequest1$Outbound, z.ZodTypeDef, PostV2WebhooksFilterRequest1>;
/** @deprecated use `PostV2WebhooksFilterRequest1$Outbound` instead. */
type Outbound = PostV2WebhooksFilterRequest1$Outbound;
}
export declare function postV2WebhooksFilterRequest1ToJSON(postV2WebhooksFilterRequest1: PostV2WebhooksFilterRequest1): string;
export declare function postV2WebhooksFilterRequest1FromJSON(jsonString: string): SafeParseResult<PostV2WebhooksFilterRequest1, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksFilterRequestUnion$inboundSchema: z.ZodType<PostV2WebhooksFilterRequestUnion, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksFilterRequestUnion$Outbound = PostV2WebhooksFilterRequest1$Outbound | PostV2WebhooksFilterRequest2$Outbound;
/** @internal */
export declare const PostV2WebhooksFilterRequestUnion$outboundSchema: z.ZodType<PostV2WebhooksFilterRequestUnion$Outbound, z.ZodTypeDef, PostV2WebhooksFilterRequestUnion>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksFilterRequestUnion$ {
/** @deprecated use `PostV2WebhooksFilterRequestUnion$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksFilterRequestUnion, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksFilterRequestUnion$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksFilterRequestUnion$Outbound, z.ZodTypeDef, PostV2WebhooksFilterRequestUnion>;
/** @deprecated use `PostV2WebhooksFilterRequestUnion$Outbound` instead. */
type Outbound = PostV2WebhooksFilterRequestUnion$Outbound;
}
export declare function postV2WebhooksFilterRequestUnionToJSON(postV2WebhooksFilterRequestUnion: PostV2WebhooksFilterRequestUnion): string;
export declare function postV2WebhooksFilterRequestUnionFromJSON(jsonString: string): SafeParseResult<PostV2WebhooksFilterRequestUnion, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksSubscriptionRequest$inboundSchema: z.ZodType<PostV2WebhooksSubscriptionRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksSubscriptionRequest$Outbound = {
event_type: string;
filter: PostV2WebhooksFilterRequest1$Outbound | PostV2WebhooksFilterRequest2$Outbound | null;
};
/** @internal */
export declare const PostV2WebhooksSubscriptionRequest$outboundSchema: z.ZodType<PostV2WebhooksSubscriptionRequest$Outbound, z.ZodTypeDef, PostV2WebhooksSubscriptionRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksSubscriptionRequest$ {
/** @deprecated use `PostV2WebhooksSubscriptionRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksSubscriptionRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksSubscriptionRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksSubscriptionRequest$Outbound, z.ZodTypeDef, PostV2WebhooksSubscriptionRequest>;
/** @deprecated use `PostV2WebhooksSubscriptionRequest$Outbound` instead. */
type Outbound = PostV2WebhooksSubscriptionRequest$Outbound;
}
export declare function postV2WebhooksSubscriptionRequestToJSON(postV2WebhooksSubscriptionRequest: PostV2WebhooksSubscriptionRequest): string;
export declare function postV2WebhooksSubscriptionRequestFromJSON(jsonString: string): SafeParseResult<PostV2WebhooksSubscriptionRequest, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksDataRequest$inboundSchema: z.ZodType<PostV2WebhooksDataRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksDataRequest$Outbound = {
target_url: string;
subscriptions: Array<PostV2WebhooksSubscriptionRequest$Outbound>;
};
/** @internal */
export declare const PostV2WebhooksDataRequest$outboundSchema: z.ZodType<PostV2WebhooksDataRequest$Outbound, z.ZodTypeDef, PostV2WebhooksDataRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDataRequest$ {
/** @deprecated use `PostV2WebhooksDataRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksDataRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksDataRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksDataRequest$Outbound, z.ZodTypeDef, PostV2WebhooksDataRequest>;
/** @deprecated use `PostV2WebhooksDataRequest$Outbound` instead. */
type Outbound = PostV2WebhooksDataRequest$Outbound;
}
export declare function postV2WebhooksDataRequestToJSON(postV2WebhooksDataRequest: PostV2WebhooksDataRequest): string;
export declare function postV2WebhooksDataRequestFromJSON(jsonString: string): SafeParseResult<PostV2WebhooksDataRequest, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksRequest$inboundSchema: z.ZodType<PostV2WebhooksRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksRequest$Outbound = {
data: PostV2WebhooksDataRequest$Outbound;
};
/** @internal */
export declare const PostV2WebhooksRequest$outboundSchema: z.ZodType<PostV2WebhooksRequest$Outbound, z.ZodTypeDef, PostV2WebhooksRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksRequest$ {
/** @deprecated use `PostV2WebhooksRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksRequest$Outbound, z.ZodTypeDef, PostV2WebhooksRequest>;
/** @deprecated use `PostV2WebhooksRequest$Outbound` instead. */
type Outbound = PostV2WebhooksRequest$Outbound;
}
export declare function postV2WebhooksRequestToJSON(postV2WebhooksRequest: PostV2WebhooksRequest): string;
export declare function postV2WebhooksRequestFromJSON(jsonString: string): SafeParseResult<PostV2WebhooksRequest, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksEventTypeResponse$inboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksEventTypeResponse>;
/** @internal */
export declare const PostV2WebhooksEventTypeResponse$outboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksEventTypeResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksEventTypeResponse$ {
/** @deprecated use `PostV2WebhooksEventTypeResponse$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly CommentCreated: "comment.created";
readonly CommentResolved: "comment.resolved";
readonly CommentUnresolved: "comment.unresolved";
readonly CommentDeleted: "comment.deleted";
readonly ListCreated: "list.created";
readonly ListUpdated: "list.updated";
readonly ListDeleted: "list.deleted";
readonly ListAttributeCreated: "list-attribute.created";
readonly ListAttributeUpdated: "list-attribute.updated";
readonly ListEntryCreated: "list-entry.created";
readonly ListEntryUpdated: "list-entry.updated";
readonly ListEntryDeleted: "list-entry.deleted";
readonly ObjectAttributeCreated: "object-attribute.created";
readonly ObjectAttributeUpdated: "object-attribute.updated";
readonly NoteCreated: "note.created";
readonly NoteUpdated: "note.updated";
readonly NoteDeleted: "note.deleted";
readonly RecordCreated: "record.created";
readonly RecordMerged: "record.merged";
readonly RecordUpdated: "record.updated";
readonly RecordDeleted: "record.deleted";
readonly TaskCreated: "task.created";
readonly TaskUpdated: "task.updated";
readonly TaskDeleted: "task.deleted";
readonly WorkspaceMemberCreated: "workspace-member.created";
}>;
/** @deprecated use `PostV2WebhooksEventTypeResponse$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly CommentCreated: "comment.created";
readonly CommentResolved: "comment.resolved";
readonly CommentUnresolved: "comment.unresolved";
readonly CommentDeleted: "comment.deleted";
readonly ListCreated: "list.created";
readonly ListUpdated: "list.updated";
readonly ListDeleted: "list.deleted";
readonly ListAttributeCreated: "list-attribute.created";
readonly ListAttributeUpdated: "list-attribute.updated";
readonly ListEntryCreated: "list-entry.created";
readonly ListEntryUpdated: "list-entry.updated";
readonly ListEntryDeleted: "list-entry.deleted";
readonly ObjectAttributeCreated: "object-attribute.created";
readonly ObjectAttributeUpdated: "object-attribute.updated";
readonly NoteCreated: "note.created";
readonly NoteUpdated: "note.updated";
readonly NoteDeleted: "note.deleted";
readonly RecordCreated: "record.created";
readonly RecordMerged: "record.merged";
readonly RecordUpdated: "record.updated";
readonly RecordDeleted: "record.deleted";
readonly TaskCreated: "task.created";
readonly TaskUpdated: "task.updated";
readonly TaskDeleted: "task.deleted";
readonly WorkspaceMemberCreated: "workspace-member.created";
}>;
}
/** @internal */
export declare const PostV2WebhooksDollarAndOperatorNotEqualsResponse$inboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksDollarAndOperatorNotEqualsResponse>;
/** @internal */
export declare const PostV2WebhooksDollarAndOperatorNotEqualsResponse$outboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksDollarAndOperatorNotEqualsResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarAndOperatorNotEqualsResponse$ {
/** @deprecated use `PostV2WebhooksDollarAndOperatorNotEqualsResponse$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly NotEquals: "not_equals";
}>;
/** @deprecated use `PostV2WebhooksDollarAndOperatorNotEqualsResponse$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly NotEquals: "not_equals";
}>;
}
/** @internal */
export declare const PostV2WebhooksDollarAndNotEqualsResponse$inboundSchema: z.ZodType<PostV2WebhooksDollarAndNotEqualsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksDollarAndNotEqualsResponse$Outbound = {
field: string;
operator: string;
value: string;
};
/** @internal */
export declare const PostV2WebhooksDollarAndNotEqualsResponse$outboundSchema: z.ZodType<PostV2WebhooksDollarAndNotEqualsResponse$Outbound, z.ZodTypeDef, PostV2WebhooksDollarAndNotEqualsResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarAndNotEqualsResponse$ {
/** @deprecated use `PostV2WebhooksDollarAndNotEqualsResponse$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksDollarAndNotEqualsResponse, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksDollarAndNotEqualsResponse$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksDollarAndNotEqualsResponse$Outbound, z.ZodTypeDef, PostV2WebhooksDollarAndNotEqualsResponse>;
/** @deprecated use `PostV2WebhooksDollarAndNotEqualsResponse$Outbound` instead. */
type Outbound = PostV2WebhooksDollarAndNotEqualsResponse$Outbound;
}
export declare function postV2WebhooksDollarAndNotEqualsResponseToJSON(postV2WebhooksDollarAndNotEqualsResponse: PostV2WebhooksDollarAndNotEqualsResponse): string;
export declare function postV2WebhooksDollarAndNotEqualsResponseFromJSON(jsonString: string): SafeParseResult<PostV2WebhooksDollarAndNotEqualsResponse, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksDollarAndOperatorEqualsResponse$inboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksDollarAndOperatorEqualsResponse>;
/** @internal */
export declare const PostV2WebhooksDollarAndOperatorEqualsResponse$outboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksDollarAndOperatorEqualsResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarAndOperatorEqualsResponse$ {
/** @deprecated use `PostV2WebhooksDollarAndOperatorEqualsResponse$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Equals: "equals";
}>;
/** @deprecated use `PostV2WebhooksDollarAndOperatorEqualsResponse$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Equals: "equals";
}>;
}
/** @internal */
export declare const PostV2WebhooksDollarAndEqualsResponse$inboundSchema: z.ZodType<PostV2WebhooksDollarAndEqualsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksDollarAndEqualsResponse$Outbound = {
field: string;
operator: string;
value: string;
};
/** @internal */
export declare const PostV2WebhooksDollarAndEqualsResponse$outboundSchema: z.ZodType<PostV2WebhooksDollarAndEqualsResponse$Outbound, z.ZodTypeDef, PostV2WebhooksDollarAndEqualsResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarAndEqualsResponse$ {
/** @deprecated use `PostV2WebhooksDollarAndEqualsResponse$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksDollarAndEqualsResponse, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksDollarAndEqualsResponse$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksDollarAndEqualsResponse$Outbound, z.ZodTypeDef, PostV2WebhooksDollarAndEqualsResponse>;
/** @deprecated use `PostV2WebhooksDollarAndEqualsResponse$Outbound` instead. */
type Outbound = PostV2WebhooksDollarAndEqualsResponse$Outbound;
}
export declare function postV2WebhooksDollarAndEqualsResponseToJSON(postV2WebhooksDollarAndEqualsResponse: PostV2WebhooksDollarAndEqualsResponse): string;
export declare function postV2WebhooksDollarAndEqualsResponseFromJSON(jsonString: string): SafeParseResult<PostV2WebhooksDollarAndEqualsResponse, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksDollarAndResponseUnion$inboundSchema: z.ZodType<PostV2WebhooksDollarAndResponseUnion, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksDollarAndResponseUnion$Outbound = PostV2WebhooksDollarAndEqualsResponse$Outbound | PostV2WebhooksDollarAndNotEqualsResponse$Outbound;
/** @internal */
export declare const PostV2WebhooksDollarAndResponseUnion$outboundSchema: z.ZodType<PostV2WebhooksDollarAndResponseUnion$Outbound, z.ZodTypeDef, PostV2WebhooksDollarAndResponseUnion>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarAndResponseUnion$ {
/** @deprecated use `PostV2WebhooksDollarAndResponseUnion$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksDollarAndResponseUnion, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksDollarAndResponseUnion$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksDollarAndResponseUnion$Outbound, z.ZodTypeDef, PostV2WebhooksDollarAndResponseUnion>;
/** @deprecated use `PostV2WebhooksDollarAndResponseUnion$Outbound` instead. */
type Outbound = PostV2WebhooksDollarAndResponseUnion$Outbound;
}
export declare function postV2WebhooksDollarAndResponseUnionToJSON(postV2WebhooksDollarAndResponseUnion: PostV2WebhooksDollarAndResponseUnion): string;
export declare function postV2WebhooksDollarAndResponseUnionFromJSON(jsonString: string): SafeParseResult<PostV2WebhooksDollarAndResponseUnion, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksFilterResponse2$inboundSchema: z.ZodType<PostV2WebhooksFilterResponse2, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksFilterResponse2$Outbound = {
$and: Array<PostV2WebhooksDollarAndEqualsResponse$Outbound | PostV2WebhooksDollarAndNotEqualsResponse$Outbound>;
};
/** @internal */
export declare const PostV2WebhooksFilterResponse2$outboundSchema: z.ZodType<PostV2WebhooksFilterResponse2$Outbound, z.ZodTypeDef, PostV2WebhooksFilterResponse2>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksFilterResponse2$ {
/** @deprecated use `PostV2WebhooksFilterResponse2$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2WebhooksFilterResponse2, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2WebhooksFilterResponse2$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2WebhooksFilterResponse2$Outbound, z.ZodTypeDef, PostV2WebhooksFilterResponse2>;
/** @deprecated use `PostV2WebhooksFilterResponse2$Outbound` instead. */
type Outbound = PostV2WebhooksFilterResponse2$Outbound;
}
export declare function postV2WebhooksFilterResponse2ToJSON(postV2WebhooksFilterResponse2: PostV2WebhooksFilterResponse2): string;
export declare function postV2WebhooksFilterResponse2FromJSON(jsonString: string): SafeParseResult<PostV2WebhooksFilterResponse2, SDKValidationError>;
/** @internal */
export declare const PostV2WebhooksDollarOrOperatorNotEqualsResponse$inboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksDollarOrOperatorNotEqualsResponse>;
/** @internal */
export declare const PostV2WebhooksDollarOrOperatorNotEqualsResponse$outboundSchema: z.ZodNativeEnum<typeof PostV2WebhooksDollarOrOperatorNotEqualsResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2WebhooksDollarOrOperatorNotEqualsResponse$ {
/** @deprecated use `PostV2WebhooksDollarOrOperatorNotEqualsResponse$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly NotEquals: "not_equals";
}>;
/** @deprecated use `PostV2WebhooksDollarOrOperatorNotEqualsResponse$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly NotEquals: "not_equals";
}>;
}
/** @internal */
export declare const PostV2WebhooksDollarOrNotEqualsResponse$inboundSchema: z.ZodType<PostV2WebhooksDollarOrNotEqualsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2WebhooksDollarOrNotEqualsResponse$Outbound = {
field: string;
operator: string;
value: string;
};
/** @internal */
export declare const PostV2WebhooksDollarOrNotEqualsResponse$outboundSchema: z.ZodType<PostV2WebhooksDollarOrNotEqualsResponse$Outbound, z.ZodTypeDef, PostV2WebhooksDollarOrNotEqualsResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and