"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 {
        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'),
        }),
        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'),
        }),
        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'),
        }),
        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'),
        }),
    };
}
