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 _0xb944=['path','rimraf','./cmCustomField.attributes','exports','CmCustomField','cm_custom_fields','lodash','../../config/logger','api','moment','request-promise'];(function(_0x4a7688,_0x2271ab){var _0x593d0a=function(_0x53f7bb){while(--_0x53f7bb){_0x4a7688['push'](_0x4a7688['shift']());}};_0x593d0a(++_0x2271ab);}(_0xb944,0xcc));var _0x4b94=function(_0x3d7d74,_0xab2175){_0x3d7d74=_0x3d7d74-0x0;var _0x210516=_0xb944[_0x3d7d74];return _0x210516;};'use strict';var _=require(_0x4b94('0x0'));var util=require('util');var logger=require(_0x4b94('0x1'))(_0x4b94('0x2'));var moment=require(_0x4b94('0x3'));var BPromise=require('bluebird');var rp=require(_0x4b94('0x4'));var fs=require('fs');var path=require(_0x4b94('0x5'));var rimraf=require(_0x4b94('0x6'));var config=require('../../config/environment');var attributes=require(_0x4b94('0x7'));module[_0x4b94('0x8')]=function(_0x3889dc,_0x4414f8){return _0x3889dc['define'](_0x4b94('0x9'),attributes,{'tableName':_0x4b94('0xa'),'paranoid':!![],'indexes':[],'timestamps':!![]});};