"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 {
        constructBlueprint: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ConstructBlueprint',
            fieldName: 'constructBlueprint',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ConstructBlueprint', 'constructBlueprint', options.select, args, [
                {
                    name: 'input',
                    type: 'ConstructBlueprintInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ConstructBlueprintPayload'),
        }),
        copyTemplateToBlueprint: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'CopyTemplateToBlueprint',
            fieldName: 'copyTemplateToBlueprint',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'CopyTemplateToBlueprint', 'copyTemplateToBlueprint', options.select, args, [
                {
                    name: 'input',
                    type: 'CopyTemplateToBlueprintInput!',
                },
            ], input_types_1.connectionFieldsMap, 'CopyTemplateToBlueprintPayload'),
        }),
        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'),
        }),
        provisionCheckConstraint: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ProvisionCheckConstraint',
            fieldName: 'provisionCheckConstraint',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionCheckConstraint', 'provisionCheckConstraint', options.select, args, [
                {
                    name: 'input',
                    type: 'ProvisionCheckConstraintInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ProvisionCheckConstraintPayload'),
        }),
        provisionFullTextSearch: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ProvisionFullTextSearch',
            fieldName: 'provisionFullTextSearch',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionFullTextSearch', 'provisionFullTextSearch', options.select, args, [
                {
                    name: 'input',
                    type: 'ProvisionFullTextSearchInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ProvisionFullTextSearchPayload'),
        }),
        provisionIndex: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ProvisionIndex',
            fieldName: 'provisionIndex',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionIndex', 'provisionIndex', options.select, args, [
                {
                    name: 'input',
                    type: 'ProvisionIndexInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ProvisionIndexPayload'),
        }),
        provisionRelation: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ProvisionRelation',
            fieldName: 'provisionRelation',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionRelation', 'provisionRelation', options.select, args, [
                {
                    name: 'input',
                    type: 'ProvisionRelationInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ProvisionRelationPayload'),
        }),
        provisionSpatialRelation: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ProvisionSpatialRelation',
            fieldName: 'provisionSpatialRelation',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionSpatialRelation', 'provisionSpatialRelation', options.select, args, [
                {
                    name: 'input',
                    type: 'ProvisionSpatialRelationInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ProvisionSpatialRelationPayload'),
        }),
        provisionTable: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ProvisionTable',
            fieldName: 'provisionTable',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionTable', 'provisionTable', options.select, args, [
                {
                    name: 'input',
                    type: 'ProvisionTableInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ProvisionTablePayload'),
        }),
        provisionUniqueConstraint: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ProvisionUniqueConstraint',
            fieldName: 'provisionUniqueConstraint',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionUniqueConstraint', 'provisionUniqueConstraint', options.select, args, [
                {
                    name: 'input',
                    type: 'ProvisionUniqueConstraintInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ProvisionUniqueConstraintPayload'),
        }),
    };
}
