import * as Schema from "effect/Schema";
import { API } from "../client.js";
import * as T from "../traits.js";
const __document = "mutation logRocketOrganizationGenerateLogRocketOrganizationLinkingURL($input: GenerateLogRocketOrganizationLinkingURLInput!) {\n  logRocketOrganization {\n    generateLogRocketOrganizationLinkingURL(input: $input) {\n      url\n    }\n  }\n}";
// Input Schema (GraphQL variables)
export const LogRocketOrganizationGenerateLogRocketOrganizationLinkingURLInput = Schema.Struct({
    input: Schema.Struct({
        accountId: Schema.String,
        callbackUrl: Schema.String,
    }),
}).pipe(T.Http({ method: "POST", path: "/graphql" }), T.GraphQLOp({
    query: __document,
    operationName: "logRocketOrganizationGenerateLogRocketOrganizationLinkingURL",
    type: "mutation",
}));
// Output Schema (GraphQL selection set)
export const LogRocketOrganizationGenerateLogRocketOrganizationLinkingURLOutput = Schema.Struct({
    url: Schema.String,
}).pipe(T.ResponsePath("logRocketOrganization.generateLogRocketOrganizationLinkingURL"));
export const logRocketOrganizationGenerateLogRocketOrganizationLinkingURL = API.make(() => ({
    inputSchema: LogRocketOrganizationGenerateLogRocketOrganizationLinkingURLInput,
    outputSchema: LogRocketOrganizationGenerateLogRocketOrganizationLinkingURLOutput,
}));
//# sourceMappingURL=logRocketOrganizationGenerateLogRocketOrganizationLinkingURL.js.map