Built motion from commit ff426b3f.|2.6.29
[motion2.git] / server / api / cmHopperAdditionalPhone / cmHopperAdditionalPhone.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 _0xa6fb=['api','moment','bluebird','request-promise','./cmHopperAdditionalPhone.attributes','CmHopperAdditionalPhone','cm_hopper_additional_phones','lodash','util','../../config/logger'];(function(_0x2df507,_0x553862){var _0x1f7167=function(_0x11319e){while(--_0x11319e){_0x2df507['push'](_0x2df507['shift']());}};_0x1f7167(++_0x553862);}(_0xa6fb,0x13d));var _0xba6f=function(_0x4b982f,_0x235dfb){_0x4b982f=_0x4b982f-0x0;var _0x5afa0f=_0xa6fb[_0x4b982f];return _0x5afa0f;};'use strict';var _=require(_0xba6f('0x0'));var util=require(_0xba6f('0x1'));var logger=require(_0xba6f('0x2'))(_0xba6f('0x3'));var moment=require(_0xba6f('0x4'));var BPromise=require(_0xba6f('0x5'));var rp=require(_0xba6f('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xba6f('0x7'));module['exports']=function(_0x3b6e89,_0x3cb9d4){return _0x3b6e89['define'](_0xba6f('0x8'),attributes,{'tableName':_0xba6f('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};