'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = {
  serviceName: 'Persons',
  servicePath: 'personauthorities',
  serviceType: 'authority',

  objectName: 'Person',
  documentName: 'persons',

  quickAddData: function quickAddData(values) {
    return {
      document: {
        'ns2:persons_common': {
          '@xmlns:ns2': 'http://collectionspace.org/services/person',
          personTermGroupList: {
            personTermGroup: {
              termDisplayName: values.displayName
            }
          }
        }
      }
    };
  }
};