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 _0xe537=['lodash','util','../../config/logger','moment','path','rimraf','../../config/environment','./cmCustomField.attributes','exports','define','cm_custom_fields'];(function(_0x278723,_0x1a2d12){var _0x32964c=function(_0x26c3ee){while(--_0x26c3ee){_0x278723['push'](_0x278723['shift']());}};_0x32964c(++_0x1a2d12);}(_0xe537,0x197));var _0x7e53=function(_0xbebf50,_0x44ec09){_0xbebf50=_0xbebf50-0x0;var _0xce1496=_0xe537[_0xbebf50];return _0xce1496;};'use strict';var _=require(_0x7e53('0x0'));var util=require(_0x7e53('0x1'));var logger=require(_0x7e53('0x2'))('api');var moment=require(_0x7e53('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x7e53('0x4'));var rimraf=require(_0x7e53('0x5'));var config=require(_0x7e53('0x6'));var attributes=require(_0x7e53('0x7'));module[_0x7e53('0x8')]=function(_0x5c9b14,_0x5d89ea){return _0x5c9b14[_0x7e53('0x9')]('CmCustomField',attributes,{'tableName':_0x7e53('0xa'),'paranoid':!![],'indexes':[],'timestamps':!![]});};