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 _0x4f4e=['path','rimraf','CmCustomField','cm_custom_fields','lodash','../../config/logger'];(function(_0x12d77d,_0xcb1915){var _0xfd587f=function(_0x511ca9){while(--_0x511ca9){_0x12d77d['push'](_0x12d77d['shift']());}};_0xfd587f(++_0xcb1915);}(_0x4f4e,0x142));var _0xe4f4=function(_0x35c5a8,_0x8ecb48){_0x35c5a8=_0x35c5a8-0x0;var _0x34782c=_0x4f4e[_0x35c5a8];return _0x34782c;};'use strict';var _=require(_0xe4f4('0x0'));var util=require('util');var logger=require(_0xe4f4('0x1'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xe4f4('0x2'));var rimraf=require(_0xe4f4('0x3'));var config=require('../../config/environment');var attributes=require('./cmCustomField.attributes');module['exports']=function(_0x37f15b,_0x5e0991){return _0x37f15b['define'](_0xe4f4('0x4'),attributes,{'tableName':_0xe4f4('0x5'),'paranoid':!![],'indexes':[],'timestamps':!![]});};