import * as Schema from "effect/Schema";
import { API } from "../client.js";
import * as T from "../traits.js";
const __document = "query appleDeviceRegistrationRequestPublicDataById($id: ID!) {\n  appleDeviceRegistrationRequestPublicData {\n    byId(id: $id) {\n      id\n    }\n  }\n}";
// Input Schema (GraphQL variables)
export const AppleDeviceRegistrationRequestPublicDataByIdInput = Schema.Struct({
    id: Schema.String,
}).pipe(T.Http({ method: "POST", path: "/graphql" }), T.GraphQLOp({
    query: __document,
    operationName: "appleDeviceRegistrationRequestPublicDataById",
    type: "query",
}));
// Output Schema (GraphQL selection set)
export const AppleDeviceRegistrationRequestPublicDataByIdOutput = Schema.NullOr(Schema.Struct({
    id: Schema.String,
})).pipe(T.ResponsePath("appleDeviceRegistrationRequestPublicData.byId"));
export const appleDeviceRegistrationRequestPublicDataById = API.make(() => ({
    inputSchema: AppleDeviceRegistrationRequestPublicDataByIdInput,
    outputSchema: AppleDeviceRegistrationRequestPublicDataByIdOutput,
}));
//# sourceMappingURL=appleDeviceRegistrationRequestPublicDataById.js.map