d336dc261bb30ca8f2e5ca5a9fac43037d7f3c88
[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 _0xe290=['CmHopperAdditionalPhone','cm_hopper_additional_phones','lodash','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./cmHopperAdditionalPhone.attributes','exports','define'];(function(_0x1ab619,_0x50e866){var _0x299995=function(_0x1a171){while(--_0x1a171){_0x1ab619['push'](_0x1ab619['shift']());}};_0x299995(++_0x50e866);}(_0xe290,0x1d6));var _0x0e29=function(_0x13b593,_0x85a736){_0x13b593=_0x13b593-0x0;var _0x1d2958=_0xe290[_0x13b593];return _0x1d2958;};'use strict';var _=require(_0x0e29('0x0'));var util=require(_0x0e29('0x1'));var logger=require(_0x0e29('0x2'))(_0x0e29('0x3'));var moment=require('moment');var BPromise=require(_0x0e29('0x4'));var rp=require(_0x0e29('0x5'));var fs=require('fs');var path=require(_0x0e29('0x6'));var rimraf=require('rimraf');var config=require(_0x0e29('0x7'));var attributes=require(_0x0e29('0x8'));module[_0x0e29('0x9')]=function(_0x169e72,_0x160649){return _0x169e72[_0x0e29('0xa')](_0x0e29('0xb'),attributes,{'tableName':_0x0e29('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};