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 _0x0048=['../../config/logger','moment','request-promise','path','../../config/environment','./cmCustomField.attributes','exports','define','cm_custom_fields','lodash','util'];(function(_0x3f87a9,_0x5248fb){var _0x2cd417=function(_0x47d09c){while(--_0x47d09c){_0x3f87a9['push'](_0x3f87a9['shift']());}};_0x2cd417(++_0x5248fb);}(_0x0048,0x82));var _0x8004=function(_0x129e27,_0x4f87d3){_0x129e27=_0x129e27-0x0;var _0x802f6b=_0x0048[_0x129e27];return _0x802f6b;};'use strict';var _=require(_0x8004('0x0'));var util=require(_0x8004('0x1'));var logger=require(_0x8004('0x2'))('api');var moment=require(_0x8004('0x3'));var BPromise=require('bluebird');var rp=require(_0x8004('0x4'));var fs=require('fs');var path=require(_0x8004('0x5'));var rimraf=require('rimraf');var config=require(_0x8004('0x6'));var attributes=require(_0x8004('0x7'));module[_0x8004('0x8')]=function(_0x333e19,_0x37ee12){return _0x333e19[_0x8004('0x9')]('CmCustomField',attributes,{'tableName':_0x8004('0xa'),'paranoid':!![],'indexes':[],'timestamps':!![]});};