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 _0xa4e5=['rimraf','../../config/environment','./cmCustomField.attributes','exports','define','CmCustomField','lodash','util','../../config/logger','moment','path'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0xa4e5,0x10e));var _0x5a4e=function(_0x4995f7,_0x37f1c8){_0x4995f7=_0x4995f7-0x0;var _0x100c7e=_0xa4e5[_0x4995f7];return _0x100c7e;};'use strict';var _=require(_0x5a4e('0x0'));var util=require(_0x5a4e('0x1'));var logger=require(_0x5a4e('0x2'))('api');var moment=require(_0x5a4e('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x5a4e('0x4'));var rimraf=require(_0x5a4e('0x5'));var config=require(_0x5a4e('0x6'));var attributes=require(_0x5a4e('0x7'));module[_0x5a4e('0x8')]=function(_0x5be385,_0x159e63){return _0x5be385[_0x5a4e('0x9')](_0x5a4e('0xa'),attributes,{'tableName':'cm_custom_fields','paranoid':!![],'indexes':[],'timestamps':!![]});};