"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 {
        submitAppInviteCode: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'SubmitAppInviteCode',
            fieldName: 'submitAppInviteCode',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'SubmitAppInviteCode', 'submitAppInviteCode', options.select, args, [
                {
                    name: 'input',
                    type: 'SubmitAppInviteCodeInput!',
                },
            ], input_types_1.connectionFieldsMap, 'SubmitAppInviteCodePayload'),
        }),
        submitOrgInviteCode: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'SubmitOrgInviteCode',
            fieldName: 'submitOrgInviteCode',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'SubmitOrgInviteCode', 'submitOrgInviteCode', options.select, args, [
                {
                    name: 'input',
                    type: 'SubmitOrgInviteCodeInput!',
                },
            ], input_types_1.connectionFieldsMap, 'SubmitOrgInviteCodePayload'),
        }),
        requestUploadUrl: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'RequestUploadUrl',
            fieldName: 'requestUploadUrl',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'RequestUploadUrl', 'requestUploadUrl', options.select, args, [
                {
                    name: 'input',
                    type: 'RequestUploadUrlInput!',
                },
            ], input_types_1.connectionFieldsMap, 'RequestUploadUrlPayload'),
        }),
        confirmUpload: (args, options) => new query_builder_1.QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'ConfirmUpload',
            fieldName: 'confirmUpload',
            ...(0, query_builder_1.buildCustomDocument)('mutation', 'ConfirmUpload', 'confirmUpload', options.select, args, [
                {
                    name: 'input',
                    type: 'ConfirmUploadInput!',
                },
            ], input_types_1.connectionFieldsMap, 'ConfirmUploadPayload'),
        }),
        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'),
        }),
    };
}
