1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xac21=['rimraf','../../config/environment','./cmCustomField.attributes','exports','CmCustomField','lodash','util','api','moment','request-promise'];(function(_0x50748b,_0x599d6d){var _0x5688d7=function(_0xfb5d55){while(--_0xfb5d55){_0x50748b['push'](_0x50748b['shift']());}};_0x5688d7(++_0x599d6d);}(_0xac21,0xaf));var _0x1ac2=function(_0x212fdb,_0x253c54){_0x212fdb=_0x212fdb-0x0;var _0x47f38a=_0xac21[_0x212fdb];return _0x47f38a;};'use strict';var _=require(_0x1ac2('0x0'));var util=require(_0x1ac2('0x1'));var logger=require('../../config/logger')(_0x1ac2('0x2'));var moment=require(_0x1ac2('0x3'));var BPromise=require('bluebird');var rp=require(_0x1ac2('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1ac2('0x5'));var config=require(_0x1ac2('0x6'));var attributes=require(_0x1ac2('0x7'));module[_0x1ac2('0x8')]=function(_0x32cba9,_0x28166d){return _0x32cba9['define'](_0x1ac2('0x9'),attributes,{'tableName':'cm_custom_fields','paranoid':!![],'indexes':[],'timestamps':!![]});};