/**
 * Cloudflare IPS API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service ips
 */
import * as Schema from "effect/Schema";
import * as API from "../client/api.js";
import * as T from "../traits.js";
import {} from "../errors.js";
export const ListIPsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/ips" }));
export const ListIPsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
    Schema.Struct({
        etag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        ipv4Cidrs: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
        ipv6Cidrs: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
    }).pipe(Schema.encodeKeys({
        etag: "etag",
        ipv4Cidrs: "ipv4_cidrs",
        ipv6Cidrs: "ipv6_cidrs",
    })),
    Schema.Struct({
        etag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        ipv4Cidrs: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
        ipv6Cidrs: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
        jdcloudCidrs: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
    }).pipe(Schema.encodeKeys({
        etag: "etag",
        ipv4Cidrs: "ipv4_cidrs",
        ipv6Cidrs: "ipv6_cidrs",
        jdcloudCidrs: "jdcloud_cidrs",
    })),
]).pipe(T.ResponsePath("result"));
export const listIPs = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: ListIPsRequest,
    output: ListIPsResponse,
    errors: [],
}));
//# sourceMappingURL=ips.js.map