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 _0x4746=['exports','define','Trunk','tools_trunks','lodash','../../config/logger','moment','bluebird','request-promise'];(function(_0x333b2f,_0x55aa90){var _0x104646=function(_0x3e1138){while(--_0x3e1138){_0x333b2f['push'](_0x333b2f['shift']());}};_0x104646(++_0x55aa90);}(_0x4746,0x136));var _0x6474=function(_0x5d6267,_0x4b123c){_0x5d6267=_0x5d6267-0x0;var _0x1753c8=_0x4746[_0x5d6267];return _0x1753c8;};'use strict';var _=require(_0x6474('0x0'));var util=require('util');var logger=require(_0x6474('0x1'))('api');var moment=require(_0x6474('0x2'));var BPromise=require(_0x6474('0x3'));var rp=require(_0x6474('0x4'));var attributes=require('./trunk.attributes');module[_0x6474('0x5')]=function(_0x310b15,_0x2d85ef){return _0x310b15[_0x6474('0x6')](_0x6474('0x7'),attributes,{'tableName':_0x6474('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};