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 _0xa998=['bluebird','request-promise','path','../../config/environment','./cmCustomField.attributes','exports','define','CmCustomField','util','../../config/logger','api'];(function(_0x3e8b1e,_0x19cc76){var _0x227a7c=function(_0x4a9820){while(--_0x4a9820){_0x3e8b1e['push'](_0x3e8b1e['shift']());}};_0x227a7c(++_0x19cc76);}(_0xa998,0x1c0));var _0x8a99=function(_0x4fa8a8,_0xe8d21a){_0x4fa8a8=_0x4fa8a8-0x0;var _0xa39439=_0xa998[_0x4fa8a8];return _0xa39439;};'use strict';var _=require('lodash');var util=require(_0x8a99('0x0'));var logger=require(_0x8a99('0x1'))(_0x8a99('0x2'));var moment=require('moment');var BPromise=require(_0x8a99('0x3'));var rp=require(_0x8a99('0x4'));var fs=require('fs');var path=require(_0x8a99('0x5'));var rimraf=require('rimraf');var config=require(_0x8a99('0x6'));var attributes=require(_0x8a99('0x7'));module[_0x8a99('0x8')]=function(_0x176f53,_0x306295){return _0x176f53[_0x8a99('0x9')](_0x8a99('0xa'),attributes,{'tableName':'cm_custom_fields','paranoid':!![],'indexes':[],'timestamps':!![]});};