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 _0x26ed=['request-promise','path','rimraf','../../config/environment','./cmCustomField.attributes','exports','CmCustomField','cm_custom_fields','lodash','../../config/logger','api','moment','bluebird'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x26ed,0xa4));var _0xd26e=function(_0x1f4e09,_0x1fc591){_0x1f4e09=_0x1f4e09-0x0;var _0x10deec=_0x26ed[_0x1f4e09];return _0x10deec;};'use strict';var _=require(_0xd26e('0x0'));var util=require('util');var logger=require(_0xd26e('0x1'))(_0xd26e('0x2'));var moment=require(_0xd26e('0x3'));var BPromise=require(_0xd26e('0x4'));var rp=require(_0xd26e('0x5'));var fs=require('fs');var path=require(_0xd26e('0x6'));var rimraf=require(_0xd26e('0x7'));var config=require(_0xd26e('0x8'));var attributes=require(_0xd26e('0x9'));module[_0xd26e('0xa')]=function(_0x24849a,_0x178872){return _0x24849a['define'](_0xd26e('0xb'),attributes,{'tableName':_0xd26e('0xc'),'paranoid':!![],'indexes':[],'timestamps':!![]});};