import * as Schema from "effect/Schema";
import { API } from "../client.js";
import * as T from "../traits.js";
const __document = "mutation logRocketOrganizationGenerateLogRocketReplayToken($accountId: ID!) {\n  logRocketOrganization {\n    generateLogRocketReplayToken(accountId: $accountId) {\n      orgSlug\n      replayToken\n    }\n  }\n}";
// Input Schema (GraphQL variables)
export const LogRocketOrganizationGenerateLogRocketReplayTokenInput = Schema.Struct({
    accountId: Schema.String,
}).pipe(T.Http({ method: "POST", path: "/graphql" }), T.GraphQLOp({
    query: __document,
    operationName: "logRocketOrganizationGenerateLogRocketReplayToken",
    type: "mutation",
}));
// Output Schema (GraphQL selection set)
export const LogRocketOrganizationGenerateLogRocketReplayTokenOutput = Schema.Struct({
    orgSlug: Schema.String,
    replayToken: Schema.String,
}).pipe(T.ResponsePath("logRocketOrganization.generateLogRocketReplayToken"));
export const logRocketOrganizationGenerateLogRocketReplayToken = API.make(() => ({
    inputSchema: LogRocketOrganizationGenerateLogRocketReplayTokenInput,
    outputSchema: LogRocketOrganizationGenerateLogRocketReplayTokenOutput,
}));
//# sourceMappingURL=logRocketOrganizationGenerateLogRocketReplayToken.js.map