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 _0x8899=['lodash','util','moment','path','rimraf','../../config/environment','./cmCustomField.attributes','exports','define','cm_custom_fields'];(function(_0x71a6e0,_0x19ff83){var _0x264938=function(_0x598f5a){while(--_0x598f5a){_0x71a6e0['push'](_0x71a6e0['shift']());}};_0x264938(++_0x19ff83);}(_0x8899,0x17c));var _0x9889=function(_0x5393c2,_0xa6bd55){_0x5393c2=_0x5393c2-0x0;var _0x7ca3aa=_0x8899[_0x5393c2];return _0x7ca3aa;};'use strict';var _=require(_0x9889('0x0'));var util=require(_0x9889('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x9889('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x9889('0x3'));var rimraf=require(_0x9889('0x4'));var config=require(_0x9889('0x5'));var attributes=require(_0x9889('0x6'));module[_0x9889('0x7')]=function(_0x4dd7e4,_0x35c843){return _0x4dd7e4[_0x9889('0x8')]('CmCustomField',attributes,{'tableName':_0x9889('0x9'),'paranoid':!![],'indexes':[],'timestamps':!![]});};