import * as Schema from "effect/Schema";
import { API } from "../../client.js";
import * as T from "../../traits.js";
import { Forbidden } from "../../errors.js";
// Input Schema
export const CodeInvitesCheckAccessRetrieveInput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/api/code/invites/check-access/" }));
// Output Schema
export const CodeInvitesCheckAccessRetrieveOutput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
// The operation
/**
 * Check access
 *
 * Check whether the authenticated user has access to PostHog Code.
 */
export const codeInvitesCheckAccessRetrieve = 
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    inputSchema: CodeInvitesCheckAccessRetrieveInput,
    outputSchema: CodeInvitesCheckAccessRetrieveOutput,
    errors: [Forbidden],
}));
//# sourceMappingURL=codeInvitesCheckAccessRetrieve.js.map