import { QueryBuilder, buildCustomDocument } from '../query-builder';
import { connectionFieldsMap } from '../input-types';
export function createMutationOperations(client) {
    return {
        submitAppInviteCode: (args, options) => new QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'SubmitAppInviteCode',
            fieldName: 'submitAppInviteCode',
            ...buildCustomDocument('mutation', 'SubmitAppInviteCode', 'submitAppInviteCode', options.select, args, [
                {
                    name: 'input',
                    type: 'SubmitAppInviteCodeInput!',
                },
            ], connectionFieldsMap, 'SubmitAppInviteCodePayload'),
        }),
        submitOrgInviteCode: (args, options) => new QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'SubmitOrgInviteCode',
            fieldName: 'submitOrgInviteCode',
            ...buildCustomDocument('mutation', 'SubmitOrgInviteCode', 'submitOrgInviteCode', options.select, args, [
                {
                    name: 'input',
                    type: 'SubmitOrgInviteCodeInput!',
                },
            ], connectionFieldsMap, 'SubmitOrgInviteCodePayload'),
        }),
        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'),
        }),
    };
}
