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 _0xa4f3=['moment','path','rimraf','./cmCustomField.attributes','exports','CmCustomField','cm_custom_fields','lodash','util'];(function(_0x4c3025,_0x556f28){var _0x31fb41=function(_0x585620){while(--_0x585620){_0x4c3025['push'](_0x4c3025['shift']());}};_0x31fb41(++_0x556f28);}(_0xa4f3,0xc4));var _0x3a4f=function(_0x55e08b,_0x421620){_0x55e08b=_0x55e08b-0x0;var _0xd1a7ff=_0xa4f3[_0x55e08b];return _0xd1a7ff;};'use strict';var _=require(_0x3a4f('0x0'));var util=require(_0x3a4f('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x3a4f('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x3a4f('0x3'));var rimraf=require(_0x3a4f('0x4'));var config=require('../../config/environment');var attributes=require(_0x3a4f('0x5'));module[_0x3a4f('0x6')]=function(_0x44f53a,_0x51c57c){return _0x44f53a['define'](_0x3a4f('0x7'),attributes,{'tableName':_0x3a4f('0x8'),'paranoid':!![],'indexes':[],'timestamps':!![]});};