import { QueryBuilder, buildCustomDocument } from '../query-builder';
import { connectionFieldsMap } from '../input-types';
export function createMutationOperations(client) {
    return {
        platformSecretsDel: (args, options) => new QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'PlatformSecretsDel',
            fieldName: 'platformSecretsDel',
            ...buildCustomDocument('mutation', 'PlatformSecretsDel', 'platformSecretsDel', options.select, args, [
                {
                    name: 'input',
                    type: 'PlatformSecretsDelInput!',
                },
            ], connectionFieldsMap, 'PlatformSecretsDelPayload'),
        }),
        orgSecretsDel: (args, options) => new QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'OrgSecretsDel',
            fieldName: 'orgSecretsDel',
            ...buildCustomDocument('mutation', 'OrgSecretsDel', 'orgSecretsDel', options.select, args, [
                {
                    name: 'input',
                    type: 'OrgSecretsDelInput!',
                },
            ], connectionFieldsMap, 'OrgSecretsDelPayload'),
        }),
        platformSecretsRemoveArray: (args, options) => new QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'PlatformSecretsRemoveArray',
            fieldName: 'platformSecretsRemoveArray',
            ...buildCustomDocument('mutation', 'PlatformSecretsRemoveArray', 'platformSecretsRemoveArray', options.select, args, [
                {
                    name: 'input',
                    type: 'PlatformSecretsRemoveArrayInput!',
                },
            ], connectionFieldsMap, 'PlatformSecretsRemoveArrayPayload'),
        }),
        orgSecretsRemoveArray: (args, options) => new QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'OrgSecretsRemoveArray',
            fieldName: 'orgSecretsRemoveArray',
            ...buildCustomDocument('mutation', 'OrgSecretsRemoveArray', 'orgSecretsRemoveArray', options.select, args, [
                {
                    name: 'input',
                    type: 'OrgSecretsRemoveArrayInput!',
                },
            ], connectionFieldsMap, 'OrgSecretsRemoveArrayPayload'),
        }),
        platformSecretsRotate: (args, options) => new QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'PlatformSecretsRotate',
            fieldName: 'platformSecretsRotate',
            ...buildCustomDocument('mutation', 'PlatformSecretsRotate', 'platformSecretsRotate', options.select, args, [
                {
                    name: 'input',
                    type: 'PlatformSecretsRotateInput!',
                },
            ], connectionFieldsMap, 'PlatformSecretsRotatePayload'),
        }),
        platformSecretsSet: (args, options) => new QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'PlatformSecretsSet',
            fieldName: 'platformSecretsSet',
            ...buildCustomDocument('mutation', 'PlatformSecretsSet', 'platformSecretsSet', options.select, args, [
                {
                    name: 'input',
                    type: 'PlatformSecretsSetInput!',
                },
            ], connectionFieldsMap, 'PlatformSecretsSetPayload'),
        }),
        orgSecretsRotate: (args, options) => new QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'OrgSecretsRotate',
            fieldName: 'orgSecretsRotate',
            ...buildCustomDocument('mutation', 'OrgSecretsRotate', 'orgSecretsRotate', options.select, args, [
                {
                    name: 'input',
                    type: 'OrgSecretsRotateInput!',
                },
            ], connectionFieldsMap, 'OrgSecretsRotatePayload'),
        }),
        orgSecretsSet: (args, options) => new QueryBuilder({
            client,
            operation: 'mutation',
            operationName: 'OrgSecretsSet',
            fieldName: 'orgSecretsSet',
            ...buildCustomDocument('mutation', 'OrgSecretsSet', 'orgSecretsSet', options.select, args, [
                {
                    name: 'input',
                    type: 'OrgSecretsSetInput!',
                },
            ], connectionFieldsMap, 'OrgSecretsSetPayload'),
        }),
        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'),
        }),
    };
}
