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