'use strict';

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

  objectName: 'Organization',
  documentName: 'organizations',

  quickAddData: function quickAddData(values) {
    return {
      document: {
        'ns2:organizations_common': {
          '@xmlns:ns2': 'http://collectionspace.org/services/organization',
          orgTermGroupList: {
            orgTermGroup: {
              termDisplayName: values.displayName
            }
          }
        }
      }
    };
  }
};