import { QueryBuilder, buildCustomDocument } from '../query-builder';
import { connectionFieldsMap } from '../input-types';
export function createMutationOperations(client) {
    return {
        platformInfraInitEmptyRepo: (args, options) => new QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'PlatformInfraInitEmptyRepo',
            fieldName: 'platformInfraInitEmptyRepo',
            ...buildCustomDocument('mutation', 'PlatformInfraInitEmptyRepo', 'platformInfraInitEmptyRepo', options.select, args, [
                {
                    name: 'input',
                    type: 'PlatformInfraInitEmptyRepoInput!',
                },
            ], connectionFieldsMap, 'PlatformInfraInitEmptyRepoPayload'),
        }),
        platformInfraInsertNodeAtPath: (args, options) => new QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'PlatformInfraInsertNodeAtPath',
            fieldName: 'platformInfraInsertNodeAtPath',
            ...buildCustomDocument('mutation', 'PlatformInfraInsertNodeAtPath', 'platformInfraInsertNodeAtPath', options.select, args, [
                {
                    name: 'input',
                    type: 'PlatformInfraInsertNodeAtPathInput!',
                },
            ], connectionFieldsMap, 'PlatformInfraInsertNodeAtPathPayload'),
        }),
        platformInfraSetDataAtPath: (args, options) => new QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'PlatformInfraSetDataAtPath',
            fieldName: 'platformInfraSetDataAtPath',
            ...buildCustomDocument('mutation', 'PlatformInfraSetDataAtPath', 'platformInfraSetDataAtPath', options.select, args, [
                {
                    name: 'input',
                    type: 'PlatformInfraSetDataAtPathInput!',
                },
            ], connectionFieldsMap, 'PlatformInfraSetDataAtPathPayload'),
        }),
        provisionBucket: (args, options) => new QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ProvisionBucket',
            fieldName: 'provisionBucket',
            ...buildCustomDocument('mutation', 'ProvisionBucket', 'provisionBucket', options.select, args, [
                {
                    name: 'input',
                    type: 'ProvisionBucketInput!',
                },
            ], connectionFieldsMap, 'ProvisionBucketPayload'),
        }),
    };
}
