Built motion from commit 1fa89557.|2.6.10
[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 _0x86d7=['bluebird','request-promise','path','rimraf','../../config/environment','exports','define','CmHopperAdditionalPhone','util','../../config/logger','moment'];(function(_0x4eec9b,_0x4aea09){var _0x2e3849=function(_0x24c06d){while(--_0x24c06d){_0x4eec9b['push'](_0x4eec9b['shift']());}};_0x2e3849(++_0x4aea09);}(_0x86d7,0x152));var _0x786d=function(_0x12dfeb,_0x3fe94f){_0x12dfeb=_0x12dfeb-0x0;var _0x3f2fb8=_0x86d7[_0x12dfeb];return _0x3f2fb8;};'use strict';var _=require('lodash');var util=require(_0x786d('0x0'));var logger=require(_0x786d('0x1'))('api');var moment=require(_0x786d('0x2'));var BPromise=require(_0x786d('0x3'));var rp=require(_0x786d('0x4'));var fs=require('fs');var path=require(_0x786d('0x5'));var rimraf=require(_0x786d('0x6'));var config=require(_0x786d('0x7'));var attributes=require('./cmHopperAdditionalPhone.attributes');module[_0x786d('0x8')]=function(_0x2846ca,_0x50b726){return _0x2846ca[_0x786d('0x9')](_0x786d('0xa'),attributes,{'tableName':'cm_hopper_additional_phones','paranoid':![],'indexes':[],'timestamps':!![]});};