"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createMutationOperations = createMutationOperations;
const query_builder_1 = require("../query-builder");
const input_types_1 = require("../input-types");
function createMutationOperations(client) {
    return {
        addEdge: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'AddEdge',
            fieldName: 'addEdge',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'AddEdge', 'addEdge', options.select, args, [
                {
                    name: 'input',
                    type: 'AddEdgeInput!',
                },
            ], input_types_1.connectionFieldsMap, 'AddEdgePayload'),
        }),
        addEdgeAndSave: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'AddEdgeAndSave',
            fieldName: 'addEdgeAndSave',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'AddEdgeAndSave', 'addEdgeAndSave', options.select, args, [
                {
                    name: 'input',
                    type: 'AddEdgeAndSaveInput!',
                },
            ], input_types_1.connectionFieldsMap, 'AddEdgeAndSavePayload'),
        }),
        addNode: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'AddNode',
            fieldName: 'addNode',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'AddNode', 'addNode', options.select, args, [
                {
                    name: 'input',
                    type: 'AddNodeInput!',
                },
            ], input_types_1.connectionFieldsMap, 'AddNodePayload'),
        }),
        addNodeAndSave: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'AddNodeAndSave',
            fieldName: 'addNodeAndSave',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'AddNodeAndSave', 'addNodeAndSave', options.select, args, [
                {
                    name: 'input',
                    type: 'AddNodeAndSaveInput!',
                },
            ], input_types_1.connectionFieldsMap, 'AddNodeAndSavePayload'),
        }),
        copyGraph: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'CopyGraph',
            fieldName: 'copyGraph',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'CopyGraph', 'copyGraph', options.select, args, [
                {
                    name: 'input',
                    type: 'CopyGraphInput!',
                },
            ], input_types_1.connectionFieldsMap, 'CopyGraphPayload'),
        }),
        importDefinitions: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ImportDefinitions',
            fieldName: 'importDefinitions',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ImportDefinitions', 'importDefinitions', options.select, args, [
                {
                    name: 'input',
                    type: 'ImportDefinitionsInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ImportDefinitionsPayload'),
        }),
        importGraphJson: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ImportGraphJson',
            fieldName: 'importGraphJson',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ImportGraphJson', 'importGraphJson', options.select, args, [
                {
                    name: 'input',
                    type: 'ImportGraphJsonInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ImportGraphJsonPayload'),
        }),
        infraInitEmptyRepo: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'InfraInitEmptyRepo',
            fieldName: 'infraInitEmptyRepo',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'InfraInitEmptyRepo', 'infraInitEmptyRepo', options.select, args, [
                {
                    name: 'input',
                    type: 'InfraInitEmptyRepoInput!',
                },
            ], input_types_1.connectionFieldsMap, 'InfraInitEmptyRepoPayload'),
        }),
        infraInsertNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'InfraInsertNodeAtPath',
            fieldName: 'infraInsertNodeAtPath',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'InfraInsertNodeAtPath', 'infraInsertNodeAtPath', options.select, args, [
                {
                    name: 'input',
                    type: 'InfraInsertNodeAtPathInput!',
                },
            ], input_types_1.connectionFieldsMap, 'InfraInsertNodeAtPathPayload'),
        }),
        infraSetDataAtPath: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'InfraSetDataAtPath',
            fieldName: 'infraSetDataAtPath',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'InfraSetDataAtPath', 'infraSetDataAtPath', options.select, args, [
                {
                    name: 'input',
                    type: 'InfraSetDataAtPathInput!',
                },
            ], input_types_1.connectionFieldsMap, 'InfraSetDataAtPathPayload'),
        }),
        initEmptyRepo: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'InitEmptyRepo',
            fieldName: 'initEmptyRepo',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'InitEmptyRepo', 'initEmptyRepo', options.select, args, [
                {
                    name: 'input',
                    type: 'InitEmptyRepoInput!',
                },
            ], input_types_1.connectionFieldsMap, 'InitEmptyRepoPayload'),
        }),
        insertNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'InsertNodeAtPath',
            fieldName: 'insertNodeAtPath',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'InsertNodeAtPath', 'insertNodeAtPath', options.select, args, [
                {
                    name: 'input',
                    type: 'InsertNodeAtPathInput!',
                },
            ], input_types_1.connectionFieldsMap, 'InsertNodeAtPathPayload'),
        }),
        platformInfraInitEmptyRepo: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'PlatformInfraInitEmptyRepo',
            fieldName: 'platformInfraInitEmptyRepo',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformInfraInitEmptyRepo', 'platformInfraInitEmptyRepo', options.select, args, [
                {
                    name: 'input',
                    type: 'PlatformInfraInitEmptyRepoInput!',
                },
            ], input_types_1.connectionFieldsMap, 'PlatformInfraInitEmptyRepoPayload'),
        }),
        platformInfraInsertNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'PlatformInfraInsertNodeAtPath',
            fieldName: 'platformInfraInsertNodeAtPath',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformInfraInsertNodeAtPath', 'platformInfraInsertNodeAtPath', options.select, args, [
                {
                    name: 'input',
                    type: 'PlatformInfraInsertNodeAtPathInput!',
                },
            ], input_types_1.connectionFieldsMap, 'PlatformInfraInsertNodeAtPathPayload'),
        }),
        platformInfraSetDataAtPath: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'PlatformInfraSetDataAtPath',
            fieldName: 'platformInfraSetDataAtPath',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformInfraSetDataAtPath', 'platformInfraSetDataAtPath', options.select, args, [
                {
                    name: 'input',
                    type: 'PlatformInfraSetDataAtPathInput!',
                },
            ], input_types_1.connectionFieldsMap, 'PlatformInfraSetDataAtPathPayload'),
        }),
        platformResourceInstallationsInstall: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'PlatformResourceInstallationsInstall',
            fieldName: 'platformResourceInstallationsInstall',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformResourceInstallationsInstall', 'platformResourceInstallationsInstall', options.select, args, [
                {
                    name: 'input',
                    type: 'PlatformResourceInstallationsInstallInput!',
                },
            ], input_types_1.connectionFieldsMap, 'PlatformResourceInstallationsInstallPayload'),
        }),
        platformResourceInstallationsRollback: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'PlatformResourceInstallationsRollback',
            fieldName: 'platformResourceInstallationsRollback',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformResourceInstallationsRollback', 'platformResourceInstallationsRollback', options.select, args, [
                {
                    name: 'input',
                    type: 'PlatformResourceInstallationsRollbackInput!',
                },
            ], input_types_1.connectionFieldsMap, 'PlatformResourceInstallationsRollbackPayload'),
        }),
        platformResourceInstallationsUninstall: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'PlatformResourceInstallationsUninstall',
            fieldName: 'platformResourceInstallationsUninstall',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformResourceInstallationsUninstall', 'platformResourceInstallationsUninstall', options.select, args, [
                {
                    name: 'input',
                    type: 'PlatformResourceInstallationsUninstallInput!',
                },
            ], input_types_1.connectionFieldsMap, 'PlatformResourceInstallationsUninstallPayload'),
        }),
        platformResourceInstallationsUpgrade: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'PlatformResourceInstallationsUpgrade',
            fieldName: 'platformResourceInstallationsUpgrade',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformResourceInstallationsUpgrade', 'platformResourceInstallationsUpgrade', options.select, args, [
                {
                    name: 'input',
                    type: 'PlatformResourceInstallationsUpgradeInput!',
                },
            ], input_types_1.connectionFieldsMap, 'PlatformResourceInstallationsUpgradePayload'),
        }),
        provisionBucket: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ProvisionBucket',
            fieldName: 'provisionBucket',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionBucket', 'provisionBucket', options.select, args, [
                {
                    name: 'input',
                    type: 'ProvisionBucketInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ProvisionBucketPayload'),
        }),
        resourceInstallationsInstall: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ResourceInstallationsInstall',
            fieldName: 'resourceInstallationsInstall',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ResourceInstallationsInstall', 'resourceInstallationsInstall', options.select, args, [
                {
                    name: 'input',
                    type: 'ResourceInstallationsInstallInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ResourceInstallationsInstallPayload'),
        }),
        resourceInstallationsRollback: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ResourceInstallationsRollback',
            fieldName: 'resourceInstallationsRollback',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ResourceInstallationsRollback', 'resourceInstallationsRollback', options.select, args, [
                {
                    name: 'input',
                    type: 'ResourceInstallationsRollbackInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ResourceInstallationsRollbackPayload'),
        }),
        resourceInstallationsUninstall: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ResourceInstallationsUninstall',
            fieldName: 'resourceInstallationsUninstall',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ResourceInstallationsUninstall', 'resourceInstallationsUninstall', options.select, args, [
                {
                    name: 'input',
                    type: 'ResourceInstallationsUninstallInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ResourceInstallationsUninstallPayload'),
        }),
        resourceInstallationsUpgrade: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ResourceInstallationsUpgrade',
            fieldName: 'resourceInstallationsUpgrade',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ResourceInstallationsUpgrade', 'resourceInstallationsUpgrade', options.select, args, [
                {
                    name: 'input',
                    type: 'ResourceInstallationsUpgradeInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ResourceInstallationsUpgradePayload'),
        }),
        saveGraph: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'SaveGraph',
            fieldName: 'saveGraph',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'SaveGraph', 'saveGraph', options.select, args, [
                {
                    name: 'input',
                    type: 'SaveGraphInput!',
                },
            ], input_types_1.connectionFieldsMap, 'SaveGraphPayload'),
        }),
        setDataAtPath: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'SetDataAtPath',
            fieldName: 'setDataAtPath',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'SetDataAtPath', 'setDataAtPath', options.select, args, [
                {
                    name: 'input',
                    type: 'SetDataAtPathInput!',
                },
            ], input_types_1.connectionFieldsMap, 'SetDataAtPathPayload'),
        }),
        startExecution: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'StartExecution',
            fieldName: 'startExecution',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'StartExecution', 'startExecution', options.select, args, [
                {
                    name: 'input',
                    type: 'StartExecutionInput!',
                },
            ], input_types_1.connectionFieldsMap, 'StartExecutionPayload'),
        }),
        validateFunctionGraph: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ValidateFunctionGraph',
            fieldName: 'validateFunctionGraph',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ValidateFunctionGraph', 'validateFunctionGraph', options.select, args, [
                {
                    name: 'input',
                    type: 'ValidateFunctionGraphInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ValidateFunctionGraphPayload'),
        }),
    };
}
