fedf43e6bebf5aa274ff2336dbe4e8344767866e
[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 _0xf18d=['request-promise','path','rimraf','../../config/environment','exports','define','CmHopperAdditionalPhone','lodash','../../config/logger','api','moment','bluebird'];(function(_0x5f382f,_0x3f1432){var _0x3bb11b=function(_0x4daf9b){while(--_0x4daf9b){_0x5f382f['push'](_0x5f382f['shift']());}};_0x3bb11b(++_0x3f1432);}(_0xf18d,0x1e7));var _0xdf18=function(_0x25e0de,_0x4d3cfd){_0x25e0de=_0x25e0de-0x0;var _0x4ce049=_0xf18d[_0x25e0de];return _0x4ce049;};'use strict';var _=require(_0xdf18('0x0'));var util=require('util');var logger=require(_0xdf18('0x1'))(_0xdf18('0x2'));var moment=require(_0xdf18('0x3'));var BPromise=require(_0xdf18('0x4'));var rp=require(_0xdf18('0x5'));var fs=require('fs');var path=require(_0xdf18('0x6'));var rimraf=require(_0xdf18('0x7'));var config=require(_0xdf18('0x8'));var attributes=require('./cmHopperAdditionalPhone.attributes');module[_0xdf18('0x9')]=function(_0x2571cd,_0x22a917){return _0x2571cd[_0xdf18('0xa')](_0xdf18('0xb'),attributes,{'tableName':'cm_hopper_additional_phones','paranoid':![],'indexes':[],'timestamps':!![]});};