Built motion from commit d5e4af8c.|2.6.23
[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 _0x22c4=['../../config/logger','api','moment','bluebird','request-promise','path','./cmHopperAdditionalPhone.attributes','exports','CmHopperAdditionalPhone','lodash'];(function(_0xdd82b4,_0x5cd8b8){var _0x549bb2=function(_0x426fd9){while(--_0x426fd9){_0xdd82b4['push'](_0xdd82b4['shift']());}};_0x549bb2(++_0x5cd8b8);}(_0x22c4,0x81));var _0x422c=function(_0x5d6e30,_0xc21d51){_0x5d6e30=_0x5d6e30-0x0;var _0x3d3f3b=_0x22c4[_0x5d6e30];return _0x3d3f3b;};'use strict';var _=require(_0x422c('0x0'));var util=require('util');var logger=require(_0x422c('0x1'))(_0x422c('0x2'));var moment=require(_0x422c('0x3'));var BPromise=require(_0x422c('0x4'));var rp=require(_0x422c('0x5'));var fs=require('fs');var path=require(_0x422c('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x422c('0x7'));module[_0x422c('0x8')]=function(_0x1db2da,_0x382314){return _0x1db2da['define'](_0x422c('0x9'),attributes,{'tableName':'cm_hopper_additional_phones','paranoid':![],'indexes':[],'timestamps':!![]});};