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 _0xeeed=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./cmCustomField.attributes','exports','define','CmCustomField','lodash','util'];(function(_0x4017b0,_0x4347db){var _0x5ed4f7=function(_0x706c26){while(--_0x706c26){_0x4017b0['push'](_0x4017b0['shift']());}};_0x5ed4f7(++_0x4347db);}(_0xeeed,0x143));var _0xdeee=function(_0x2d65c7,_0x1cf341){_0x2d65c7=_0x2d65c7-0x0;var _0xce7ca7=_0xeeed[_0x2d65c7];return _0xce7ca7;};'use strict';var _=require(_0xdeee('0x0'));var util=require(_0xdeee('0x1'));var logger=require('../../config/logger')(_0xdeee('0x2'));var moment=require(_0xdeee('0x3'));var BPromise=require(_0xdeee('0x4'));var rp=require(_0xdeee('0x5'));var fs=require('fs');var path=require(_0xdeee('0x6'));var rimraf=require(_0xdeee('0x7'));var config=require(_0xdeee('0x8'));var attributes=require(_0xdeee('0x9'));module[_0xdeee('0xa')]=function(_0x482371,_0x5a17fb){return _0x482371[_0xdeee('0xb')](_0xdeee('0xc'),attributes,{'tableName':'cm_custom_fields','paranoid':!![],'indexes':[],'timestamps':!![]});};