Built motion from commit (unavailable).|2.5.3
[motion2.git] / server / api / trunk / trunk.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x8f11=['path','rimraf','./trunk.attributes','exports','define','lodash','util','../../config/logger','api','request-promise'];(function(_0x5d4364,_0x4a6c71){var _0x460809=function(_0x420c17){while(--_0x420c17){_0x5d4364['push'](_0x5d4364['shift']());}};_0x460809(++_0x4a6c71);}(_0x8f11,0x69));var _0x18f1=function(_0x71773f,_0x1cdeb9){_0x71773f=_0x71773f-0x0;var _0x5cfb5e=_0x8f11[_0x71773f];return _0x5cfb5e;};'use strict';var _=require(_0x18f1('0x0'));var util=require(_0x18f1('0x1'));var logger=require(_0x18f1('0x2'))(_0x18f1('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x18f1('0x4'));var fs=require('fs');var path=require(_0x18f1('0x5'));var rimraf=require(_0x18f1('0x6'));var config=require('../../config/environment');var attributes=require(_0x18f1('0x7'));module[_0x18f1('0x8')]=function(_0x3bcc0f,_0x655ba){return _0x3bcc0f[_0x18f1('0x9')]('Trunk',attributes,{'tableName':'tools_trunks','paranoid':![],'indexes':[],'timestamps':!![]});};