/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const DeleteTriggerGlobals$inboundSchema = z.object({
    cloud_name: z.string().optional(),
}).transform((v) => {
    return remap$(v, {
        "cloud_name": "cloudName",
    });
});
/** @internal */
export const DeleteTriggerGlobals$outboundSchema = z.object({
    cloudName: z.string().optional(),
}).transform((v) => {
    return remap$(v, {
        cloudName: "cloud_name",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var DeleteTriggerGlobals$;
(function (DeleteTriggerGlobals$) {
    /** @deprecated use `DeleteTriggerGlobals$inboundSchema` instead. */
    DeleteTriggerGlobals$.inboundSchema = DeleteTriggerGlobals$inboundSchema;
    /** @deprecated use `DeleteTriggerGlobals$outboundSchema` instead. */
    DeleteTriggerGlobals$.outboundSchema = DeleteTriggerGlobals$outboundSchema;
})(DeleteTriggerGlobals$ || (DeleteTriggerGlobals$ = {}));
export function deleteTriggerGlobalsToJSON(deleteTriggerGlobals) {
    return JSON.stringify(DeleteTriggerGlobals$outboundSchema.parse(deleteTriggerGlobals));
}
export function deleteTriggerGlobalsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteTriggerGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteTriggerGlobals' from JSON`);
}
/** @internal */
export const DeleteTriggerRequest$inboundSchema = z.object({
    id: z.string(),
});
/** @internal */
export const DeleteTriggerRequest$outboundSchema = z.object({
    id: z.string(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var DeleteTriggerRequest$;
(function (DeleteTriggerRequest$) {
    /** @deprecated use `DeleteTriggerRequest$inboundSchema` instead. */
    DeleteTriggerRequest$.inboundSchema = DeleteTriggerRequest$inboundSchema;
    /** @deprecated use `DeleteTriggerRequest$outboundSchema` instead. */
    DeleteTriggerRequest$.outboundSchema = DeleteTriggerRequest$outboundSchema;
})(DeleteTriggerRequest$ || (DeleteTriggerRequest$ = {}));
export function deleteTriggerRequestToJSON(deleteTriggerRequest) {
    return JSON.stringify(DeleteTriggerRequest$outboundSchema.parse(deleteTriggerRequest));
}
export function deleteTriggerRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteTriggerRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteTriggerRequest' from JSON`);
}
/** @internal */
export const DeleteTriggerResponse$inboundSchema = z.object({
    message: z.string(),
});
/** @internal */
export const DeleteTriggerResponse$outboundSchema = z.object({
    message: z.string(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var DeleteTriggerResponse$;
(function (DeleteTriggerResponse$) {
    /** @deprecated use `DeleteTriggerResponse$inboundSchema` instead. */
    DeleteTriggerResponse$.inboundSchema = DeleteTriggerResponse$inboundSchema;
    /** @deprecated use `DeleteTriggerResponse$outboundSchema` instead. */
    DeleteTriggerResponse$.outboundSchema = DeleteTriggerResponse$outboundSchema;
})(DeleteTriggerResponse$ || (DeleteTriggerResponse$ = {}));
export function deleteTriggerResponseToJSON(deleteTriggerResponse) {
    return JSON.stringify(DeleteTriggerResponse$outboundSchema.parse(deleteTriggerResponse));
}
export function deleteTriggerResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteTriggerResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteTriggerResponse' from JSON`);
}
//# sourceMappingURL=deletetrigger.js.map