attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
820 lines • 73.4 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 PatchV2WebhooksWebhookIdEventTypeRequest: {
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 PatchV2WebhooksWebhookIdEventTypeRequest = ClosedEnum<typeof PatchV2WebhooksWebhookIdEventTypeRequest>;
export declare const PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsRequest: {
readonly NotEquals: "not_equals";
};
export type PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsRequest = ClosedEnum<typeof PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsRequest>;
export type PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest = {
field: string;
operator: PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsRequest;
value: string;
};
export declare const PatchV2WebhooksWebhookIdDollarAndOperatorEqualsRequest: {
readonly Equals: "equals";
};
export type PatchV2WebhooksWebhookIdDollarAndOperatorEqualsRequest = ClosedEnum<typeof PatchV2WebhooksWebhookIdDollarAndOperatorEqualsRequest>;
export type PatchV2WebhooksWebhookIdDollarAndEqualsRequest = {
field: string;
operator: PatchV2WebhooksWebhookIdDollarAndOperatorEqualsRequest;
value: string;
};
export type PatchV2WebhooksWebhookIdDollarAndRequestUnion = PatchV2WebhooksWebhookIdDollarAndEqualsRequest | PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest;
export type PatchV2WebhooksWebhookIdFilterRequest2 = {
dollarAnd: Array<PatchV2WebhooksWebhookIdDollarAndEqualsRequest | PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest>;
};
export declare const PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsRequest: {
readonly NotEquals: "not_equals";
};
export type PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsRequest = ClosedEnum<typeof PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsRequest>;
export type PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest = {
field: string;
operator: PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsRequest;
value: string;
};
export declare const PatchV2WebhooksWebhookIdDollarOrOperatorEqualsRequest: {
readonly Equals: "equals";
};
export type PatchV2WebhooksWebhookIdDollarOrOperatorEqualsRequest = ClosedEnum<typeof PatchV2WebhooksWebhookIdDollarOrOperatorEqualsRequest>;
export type PatchV2WebhooksWebhookIdDollarOrEqualsRequest = {
field: string;
operator: PatchV2WebhooksWebhookIdDollarOrOperatorEqualsRequest;
value: string;
};
export type PatchV2WebhooksWebhookIdDollarOrRequestUnion = PatchV2WebhooksWebhookIdDollarOrEqualsRequest | PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest;
export type PatchV2WebhooksWebhookIdFilterRequest1 = {
dollarOr: Array<PatchV2WebhooksWebhookIdDollarOrEqualsRequest | PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest>;
};
/**
* Filters to determine whether the webhook event should be sent. If null, the filter always passes.
*/
export type PatchV2WebhooksWebhookIdFilterRequestUnion = PatchV2WebhooksWebhookIdFilterRequest1 | PatchV2WebhooksWebhookIdFilterRequest2;
export type PatchV2WebhooksWebhookIdSubscriptionRequest = {
/**
* Type of event the webhook is subscribed to.
*/
eventType: PatchV2WebhooksWebhookIdEventTypeRequest;
/**
* Filters to determine whether the webhook event should be sent. If null, the filter always passes.
*/
filter: PatchV2WebhooksWebhookIdFilterRequest1 | PatchV2WebhooksWebhookIdFilterRequest2 | null;
};
export type PatchV2WebhooksWebhookIdDataRequest = {
/**
* URL where the webhook events will be delivered to.
*/
targetUrl?: string | undefined;
/**
* One or more events the webhook is subscribed to.
*/
subscriptions?: Array<PatchV2WebhooksWebhookIdSubscriptionRequest> | undefined;
};
export type PatchV2WebhooksWebhookIdRequestBody = {
data: PatchV2WebhooksWebhookIdDataRequest;
};
export type PatchV2WebhooksWebhookIdRequest = {
webhookId: string;
requestBody: PatchV2WebhooksWebhookIdRequestBody;
};
/**
* Type of event the webhook is subscribed to.
*/
export declare const PatchV2WebhooksWebhookIdEventTypeResponse: {
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 PatchV2WebhooksWebhookIdEventTypeResponse = ClosedEnum<typeof PatchV2WebhooksWebhookIdEventTypeResponse>;
export declare const PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsResponse: {
readonly NotEquals: "not_equals";
};
export type PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsResponse = ClosedEnum<typeof PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsResponse>;
export type PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse = {
field: string;
operator: PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsResponse;
value: string;
};
export declare const PatchV2WebhooksWebhookIdDollarAndOperatorEqualsResponse: {
readonly Equals: "equals";
};
export type PatchV2WebhooksWebhookIdDollarAndOperatorEqualsResponse = ClosedEnum<typeof PatchV2WebhooksWebhookIdDollarAndOperatorEqualsResponse>;
export type PatchV2WebhooksWebhookIdDollarAndEqualsResponse = {
field: string;
operator: PatchV2WebhooksWebhookIdDollarAndOperatorEqualsResponse;
value: string;
};
export type PatchV2WebhooksWebhookIdDollarAndResponseUnion = PatchV2WebhooksWebhookIdDollarAndEqualsResponse | PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse;
export type PatchV2WebhooksWebhookIdFilterResponse2 = {
dollarAnd: Array<PatchV2WebhooksWebhookIdDollarAndEqualsResponse | PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse>;
};
export declare const PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsResponse: {
readonly NotEquals: "not_equals";
};
export type PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsResponse = ClosedEnum<typeof PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsResponse>;
export type PatchV2WebhooksWebhookIdDollarOrNotEqualsResponse = {
field: string;
operator: PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsResponse;
value: string;
};
export declare const PatchV2WebhooksWebhookIdDollarOrOperatorEqualsResponse: {
readonly Equals: "equals";
};
export type PatchV2WebhooksWebhookIdDollarOrOperatorEqualsResponse = ClosedEnum<typeof PatchV2WebhooksWebhookIdDollarOrOperatorEqualsResponse>;
export type PatchV2WebhooksWebhookIdDollarOrEqualsResponse = {
field: string;
operator: PatchV2WebhooksWebhookIdDollarOrOperatorEqualsResponse;
value: string;
};
export type PatchV2WebhooksWebhookIdDollarOrResponseUnion = PatchV2WebhooksWebhookIdDollarOrEqualsResponse | PatchV2WebhooksWebhookIdDollarOrNotEqualsResponse;
export type PatchV2WebhooksWebhookIdFilterResponse1 = {
dollarOr: Array<PatchV2WebhooksWebhookIdDollarOrEqualsResponse | PatchV2WebhooksWebhookIdDollarOrNotEqualsResponse>;
};
/**
* Filters to determine whether the webhook event should be sent. If null, the filter always passes.
*/
export type PatchV2WebhooksWebhookIdFilterResponseUnion = PatchV2WebhooksWebhookIdFilterResponse1 | PatchV2WebhooksWebhookIdFilterResponse2;
export type PatchV2WebhooksWebhookIdSubscriptionResponse = {
/**
* Type of event the webhook is subscribed to.
*/
eventType: PatchV2WebhooksWebhookIdEventTypeResponse;
/**
* Filters to determine whether the webhook event should be sent. If null, the filter always passes.
*/
filter: PatchV2WebhooksWebhookIdFilterResponse1 | PatchV2WebhooksWebhookIdFilterResponse2 | null;
};
export type PatchV2WebhooksWebhookIdId = {
/**
* 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 PatchV2WebhooksWebhookIdStatus: {
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 PatchV2WebhooksWebhookIdStatus = ClosedEnum<typeof PatchV2WebhooksWebhookIdStatus>;
export type PatchV2WebhooksWebhookIdDataResponse = {
/**
* URL where the webhook events will be delivered to.
*/
targetUrl: string;
/**
* One or more events the webhook is subscribed to.
*/
subscriptions: Array<PatchV2WebhooksWebhookIdSubscriptionResponse>;
id: PatchV2WebhooksWebhookIdId;
/**
* 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: PatchV2WebhooksWebhookIdStatus;
/**
* When the webhook was created.
*/
createdAt: string;
};
/**
* Success
*/
export type PatchV2WebhooksWebhookIdResponse = {
data: PatchV2WebhooksWebhookIdDataResponse;
};
/** @internal */
export declare const PatchV2WebhooksWebhookIdEventTypeRequest$inboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdEventTypeRequest>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdEventTypeRequest$outboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdEventTypeRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdEventTypeRequest$ {
/** @deprecated use `PatchV2WebhooksWebhookIdEventTypeRequest$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 `PatchV2WebhooksWebhookIdEventTypeRequest$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 PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsRequest$inboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsRequest>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsRequest$outboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsRequest$ {
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly NotEquals: "not_equals";
}>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly NotEquals: "not_equals";
}>;
}
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest$Outbound = {
field: string;
operator: string;
value: string;
};
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest$ {
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest$Outbound` instead. */
type Outbound = PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest$Outbound;
}
export declare function patchV2WebhooksWebhookIdDollarAndNotEqualsRequestToJSON(patchV2WebhooksWebhookIdDollarAndNotEqualsRequest: PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest): string;
export declare function patchV2WebhooksWebhookIdDollarAndNotEqualsRequestFromJSON(jsonString: string): SafeParseResult<PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest, SDKValidationError>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndOperatorEqualsRequest$inboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdDollarAndOperatorEqualsRequest>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndOperatorEqualsRequest$outboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdDollarAndOperatorEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdDollarAndOperatorEqualsRequest$ {
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndOperatorEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Equals: "equals";
}>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndOperatorEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Equals: "equals";
}>;
}
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndEqualsRequest$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndEqualsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdDollarAndEqualsRequest$Outbound = {
field: string;
operator: string;
value: string;
};
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndEqualsRequest$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndEqualsRequest$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarAndEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdDollarAndEqualsRequest$ {
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndEqualsRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndEqualsRequest$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarAndEqualsRequest>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndEqualsRequest$Outbound` instead. */
type Outbound = PatchV2WebhooksWebhookIdDollarAndEqualsRequest$Outbound;
}
export declare function patchV2WebhooksWebhookIdDollarAndEqualsRequestToJSON(patchV2WebhooksWebhookIdDollarAndEqualsRequest: PatchV2WebhooksWebhookIdDollarAndEqualsRequest): string;
export declare function patchV2WebhooksWebhookIdDollarAndEqualsRequestFromJSON(jsonString: string): SafeParseResult<PatchV2WebhooksWebhookIdDollarAndEqualsRequest, SDKValidationError>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndRequestUnion$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndRequestUnion, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdDollarAndRequestUnion$Outbound = PatchV2WebhooksWebhookIdDollarAndEqualsRequest$Outbound | PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest$Outbound;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndRequestUnion$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndRequestUnion$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarAndRequestUnion>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdDollarAndRequestUnion$ {
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndRequestUnion$inboundSchema` instead. */
const inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndRequestUnion, z.ZodTypeDef, unknown>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndRequestUnion$outboundSchema` instead. */
const outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndRequestUnion$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarAndRequestUnion>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndRequestUnion$Outbound` instead. */
type Outbound = PatchV2WebhooksWebhookIdDollarAndRequestUnion$Outbound;
}
export declare function patchV2WebhooksWebhookIdDollarAndRequestUnionToJSON(patchV2WebhooksWebhookIdDollarAndRequestUnion: PatchV2WebhooksWebhookIdDollarAndRequestUnion): string;
export declare function patchV2WebhooksWebhookIdDollarAndRequestUnionFromJSON(jsonString: string): SafeParseResult<PatchV2WebhooksWebhookIdDollarAndRequestUnion, SDKValidationError>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdFilterRequest2$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdFilterRequest2, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdFilterRequest2$Outbound = {
$and: Array<PatchV2WebhooksWebhookIdDollarAndEqualsRequest$Outbound | PatchV2WebhooksWebhookIdDollarAndNotEqualsRequest$Outbound>;
};
/** @internal */
export declare const PatchV2WebhooksWebhookIdFilterRequest2$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdFilterRequest2$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdFilterRequest2>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdFilterRequest2$ {
/** @deprecated use `PatchV2WebhooksWebhookIdFilterRequest2$inboundSchema` instead. */
const inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdFilterRequest2, z.ZodTypeDef, unknown>;
/** @deprecated use `PatchV2WebhooksWebhookIdFilterRequest2$outboundSchema` instead. */
const outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdFilterRequest2$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdFilterRequest2>;
/** @deprecated use `PatchV2WebhooksWebhookIdFilterRequest2$Outbound` instead. */
type Outbound = PatchV2WebhooksWebhookIdFilterRequest2$Outbound;
}
export declare function patchV2WebhooksWebhookIdFilterRequest2ToJSON(patchV2WebhooksWebhookIdFilterRequest2: PatchV2WebhooksWebhookIdFilterRequest2): string;
export declare function patchV2WebhooksWebhookIdFilterRequest2FromJSON(jsonString: string): SafeParseResult<PatchV2WebhooksWebhookIdFilterRequest2, SDKValidationError>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsRequest$inboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsRequest>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsRequest$outboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsRequest$ {
/** @deprecated use `PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly NotEquals: "not_equals";
}>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarOrOperatorNotEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly NotEquals: "not_equals";
}>;
}
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest$Outbound = {
field: string;
operator: string;
value: string;
};
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest$ {
/** @deprecated use `PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest$Outbound` instead. */
type Outbound = PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest$Outbound;
}
export declare function patchV2WebhooksWebhookIdDollarOrNotEqualsRequestToJSON(patchV2WebhooksWebhookIdDollarOrNotEqualsRequest: PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest): string;
export declare function patchV2WebhooksWebhookIdDollarOrNotEqualsRequestFromJSON(jsonString: string): SafeParseResult<PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest, SDKValidationError>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarOrOperatorEqualsRequest$inboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdDollarOrOperatorEqualsRequest>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarOrOperatorEqualsRequest$outboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdDollarOrOperatorEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdDollarOrOperatorEqualsRequest$ {
/** @deprecated use `PatchV2WebhooksWebhookIdDollarOrOperatorEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Equals: "equals";
}>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarOrOperatorEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Equals: "equals";
}>;
}
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarOrEqualsRequest$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarOrEqualsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdDollarOrEqualsRequest$Outbound = {
field: string;
operator: string;
value: string;
};
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarOrEqualsRequest$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarOrEqualsRequest$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarOrEqualsRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdDollarOrEqualsRequest$ {
/** @deprecated use `PatchV2WebhooksWebhookIdDollarOrEqualsRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarOrEqualsRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarOrEqualsRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarOrEqualsRequest$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarOrEqualsRequest>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarOrEqualsRequest$Outbound` instead. */
type Outbound = PatchV2WebhooksWebhookIdDollarOrEqualsRequest$Outbound;
}
export declare function patchV2WebhooksWebhookIdDollarOrEqualsRequestToJSON(patchV2WebhooksWebhookIdDollarOrEqualsRequest: PatchV2WebhooksWebhookIdDollarOrEqualsRequest): string;
export declare function patchV2WebhooksWebhookIdDollarOrEqualsRequestFromJSON(jsonString: string): SafeParseResult<PatchV2WebhooksWebhookIdDollarOrEqualsRequest, SDKValidationError>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarOrRequestUnion$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarOrRequestUnion, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdDollarOrRequestUnion$Outbound = PatchV2WebhooksWebhookIdDollarOrEqualsRequest$Outbound | PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest$Outbound;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarOrRequestUnion$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarOrRequestUnion$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarOrRequestUnion>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdDollarOrRequestUnion$ {
/** @deprecated use `PatchV2WebhooksWebhookIdDollarOrRequestUnion$inboundSchema` instead. */
const inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarOrRequestUnion, z.ZodTypeDef, unknown>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarOrRequestUnion$outboundSchema` instead. */
const outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarOrRequestUnion$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarOrRequestUnion>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarOrRequestUnion$Outbound` instead. */
type Outbound = PatchV2WebhooksWebhookIdDollarOrRequestUnion$Outbound;
}
export declare function patchV2WebhooksWebhookIdDollarOrRequestUnionToJSON(patchV2WebhooksWebhookIdDollarOrRequestUnion: PatchV2WebhooksWebhookIdDollarOrRequestUnion): string;
export declare function patchV2WebhooksWebhookIdDollarOrRequestUnionFromJSON(jsonString: string): SafeParseResult<PatchV2WebhooksWebhookIdDollarOrRequestUnion, SDKValidationError>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdFilterRequest1$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdFilterRequest1, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdFilterRequest1$Outbound = {
$or: Array<PatchV2WebhooksWebhookIdDollarOrEqualsRequest$Outbound | PatchV2WebhooksWebhookIdDollarOrNotEqualsRequest$Outbound>;
};
/** @internal */
export declare const PatchV2WebhooksWebhookIdFilterRequest1$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdFilterRequest1$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdFilterRequest1>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdFilterRequest1$ {
/** @deprecated use `PatchV2WebhooksWebhookIdFilterRequest1$inboundSchema` instead. */
const inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdFilterRequest1, z.ZodTypeDef, unknown>;
/** @deprecated use `PatchV2WebhooksWebhookIdFilterRequest1$outboundSchema` instead. */
const outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdFilterRequest1$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdFilterRequest1>;
/** @deprecated use `PatchV2WebhooksWebhookIdFilterRequest1$Outbound` instead. */
type Outbound = PatchV2WebhooksWebhookIdFilterRequest1$Outbound;
}
export declare function patchV2WebhooksWebhookIdFilterRequest1ToJSON(patchV2WebhooksWebhookIdFilterRequest1: PatchV2WebhooksWebhookIdFilterRequest1): string;
export declare function patchV2WebhooksWebhookIdFilterRequest1FromJSON(jsonString: string): SafeParseResult<PatchV2WebhooksWebhookIdFilterRequest1, SDKValidationError>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdFilterRequestUnion$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdFilterRequestUnion, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdFilterRequestUnion$Outbound = PatchV2WebhooksWebhookIdFilterRequest1$Outbound | PatchV2WebhooksWebhookIdFilterRequest2$Outbound;
/** @internal */
export declare const PatchV2WebhooksWebhookIdFilterRequestUnion$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdFilterRequestUnion$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdFilterRequestUnion>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdFilterRequestUnion$ {
/** @deprecated use `PatchV2WebhooksWebhookIdFilterRequestUnion$inboundSchema` instead. */
const inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdFilterRequestUnion, z.ZodTypeDef, unknown>;
/** @deprecated use `PatchV2WebhooksWebhookIdFilterRequestUnion$outboundSchema` instead. */
const outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdFilterRequestUnion$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdFilterRequestUnion>;
/** @deprecated use `PatchV2WebhooksWebhookIdFilterRequestUnion$Outbound` instead. */
type Outbound = PatchV2WebhooksWebhookIdFilterRequestUnion$Outbound;
}
export declare function patchV2WebhooksWebhookIdFilterRequestUnionToJSON(patchV2WebhooksWebhookIdFilterRequestUnion: PatchV2WebhooksWebhookIdFilterRequestUnion): string;
export declare function patchV2WebhooksWebhookIdFilterRequestUnionFromJSON(jsonString: string): SafeParseResult<PatchV2WebhooksWebhookIdFilterRequestUnion, SDKValidationError>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdSubscriptionRequest$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdSubscriptionRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdSubscriptionRequest$Outbound = {
event_type: string;
filter: PatchV2WebhooksWebhookIdFilterRequest1$Outbound | PatchV2WebhooksWebhookIdFilterRequest2$Outbound | null;
};
/** @internal */
export declare const PatchV2WebhooksWebhookIdSubscriptionRequest$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdSubscriptionRequest$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdSubscriptionRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdSubscriptionRequest$ {
/** @deprecated use `PatchV2WebhooksWebhookIdSubscriptionRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdSubscriptionRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PatchV2WebhooksWebhookIdSubscriptionRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdSubscriptionRequest$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdSubscriptionRequest>;
/** @deprecated use `PatchV2WebhooksWebhookIdSubscriptionRequest$Outbound` instead. */
type Outbound = PatchV2WebhooksWebhookIdSubscriptionRequest$Outbound;
}
export declare function patchV2WebhooksWebhookIdSubscriptionRequestToJSON(patchV2WebhooksWebhookIdSubscriptionRequest: PatchV2WebhooksWebhookIdSubscriptionRequest): string;
export declare function patchV2WebhooksWebhookIdSubscriptionRequestFromJSON(jsonString: string): SafeParseResult<PatchV2WebhooksWebhookIdSubscriptionRequest, SDKValidationError>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDataRequest$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDataRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdDataRequest$Outbound = {
target_url?: string | undefined;
subscriptions?: Array<PatchV2WebhooksWebhookIdSubscriptionRequest$Outbound> | undefined;
};
/** @internal */
export declare const PatchV2WebhooksWebhookIdDataRequest$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDataRequest$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDataRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdDataRequest$ {
/** @deprecated use `PatchV2WebhooksWebhookIdDataRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDataRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PatchV2WebhooksWebhookIdDataRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDataRequest$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDataRequest>;
/** @deprecated use `PatchV2WebhooksWebhookIdDataRequest$Outbound` instead. */
type Outbound = PatchV2WebhooksWebhookIdDataRequest$Outbound;
}
export declare function patchV2WebhooksWebhookIdDataRequestToJSON(patchV2WebhooksWebhookIdDataRequest: PatchV2WebhooksWebhookIdDataRequest): string;
export declare function patchV2WebhooksWebhookIdDataRequestFromJSON(jsonString: string): SafeParseResult<PatchV2WebhooksWebhookIdDataRequest, SDKValidationError>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdRequestBody$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdRequestBody$Outbound = {
data: PatchV2WebhooksWebhookIdDataRequest$Outbound;
};
/** @internal */
export declare const PatchV2WebhooksWebhookIdRequestBody$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdRequestBody$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdRequestBody>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdRequestBody$ {
/** @deprecated use `PatchV2WebhooksWebhookIdRequestBody$inboundSchema` instead. */
const inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdRequestBody, z.ZodTypeDef, unknown>;
/** @deprecated use `PatchV2WebhooksWebhookIdRequestBody$outboundSchema` instead. */
const outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdRequestBody$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdRequestBody>;
/** @deprecated use `PatchV2WebhooksWebhookIdRequestBody$Outbound` instead. */
type Outbound = PatchV2WebhooksWebhookIdRequestBody$Outbound;
}
export declare function patchV2WebhooksWebhookIdRequestBodyToJSON(patchV2WebhooksWebhookIdRequestBody: PatchV2WebhooksWebhookIdRequestBody): string;
export declare function patchV2WebhooksWebhookIdRequestBodyFromJSON(jsonString: string): SafeParseResult<PatchV2WebhooksWebhookIdRequestBody, SDKValidationError>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdRequest$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdRequest$Outbound = {
webhook_id: string;
RequestBody: PatchV2WebhooksWebhookIdRequestBody$Outbound;
};
/** @internal */
export declare const PatchV2WebhooksWebhookIdRequest$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdRequest$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdRequest$ {
/** @deprecated use `PatchV2WebhooksWebhookIdRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PatchV2WebhooksWebhookIdRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdRequest$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdRequest>;
/** @deprecated use `PatchV2WebhooksWebhookIdRequest$Outbound` instead. */
type Outbound = PatchV2WebhooksWebhookIdRequest$Outbound;
}
export declare function patchV2WebhooksWebhookIdRequestToJSON(patchV2WebhooksWebhookIdRequest: PatchV2WebhooksWebhookIdRequest): string;
export declare function patchV2WebhooksWebhookIdRequestFromJSON(jsonString: string): SafeParseResult<PatchV2WebhooksWebhookIdRequest, SDKValidationError>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdEventTypeResponse$inboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdEventTypeResponse>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdEventTypeResponse$outboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdEventTypeResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdEventTypeResponse$ {
/** @deprecated use `PatchV2WebhooksWebhookIdEventTypeResponse$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 `PatchV2WebhooksWebhookIdEventTypeResponse$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 PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsResponse$inboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsResponse>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsResponse$outboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsResponse$ {
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsResponse$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly NotEquals: "not_equals";
}>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndOperatorNotEqualsResponse$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly NotEquals: "not_equals";
}>;
}
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse$Outbound = {
field: string;
operator: string;
value: string;
};
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse$ {
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse$inboundSchema` instead. */
const inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse, z.ZodTypeDef, unknown>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse$outboundSchema` instead. */
const outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse$Outbound` instead. */
type Outbound = PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse$Outbound;
}
export declare function patchV2WebhooksWebhookIdDollarAndNotEqualsResponseToJSON(patchV2WebhooksWebhookIdDollarAndNotEqualsResponse: PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse): string;
export declare function patchV2WebhooksWebhookIdDollarAndNotEqualsResponseFromJSON(jsonString: string): SafeParseResult<PatchV2WebhooksWebhookIdDollarAndNotEqualsResponse, SDKValidationError>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndOperatorEqualsResponse$inboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdDollarAndOperatorEqualsResponse>;
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndOperatorEqualsResponse$outboundSchema: z.ZodNativeEnum<typeof PatchV2WebhooksWebhookIdDollarAndOperatorEqualsResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PatchV2WebhooksWebhookIdDollarAndOperatorEqualsResponse$ {
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndOperatorEqualsResponse$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Equals: "equals";
}>;
/** @deprecated use `PatchV2WebhooksWebhookIdDollarAndOperatorEqualsResponse$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Equals: "equals";
}>;
}
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndEqualsResponse$inboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndEqualsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchV2WebhooksWebhookIdDollarAndEqualsResponse$Outbound = {
field: string;
operator: string;
value: string;
};
/** @internal */
export declare const PatchV2WebhooksWebhookIdDollarAndEqualsResponse$outboundSchema: z.ZodType<PatchV2WebhooksWebhookIdDollarAndEqualsResponse$Outbound, z.ZodTypeDef, PatchV2WebhooksWebhookIdDollarAndEqualsResponse>;
/**
* @internal
*