f194d96e5eae39dc0ec2981737a1efa8850b8a36
[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 _0xfd76=['./cmHopperAdditionalPhone.attributes','define','CmHopperAdditionalPhone','cm_hopper_additional_phones','lodash','util','../../config/logger','api','moment','request-promise','rimraf'];(function(_0x259044,_0x293804){var _0x2080f4=function(_0x5d5e0e){while(--_0x5d5e0e){_0x259044['push'](_0x259044['shift']());}};_0x2080f4(++_0x293804);}(_0xfd76,0x101));var _0x6fd7=function(_0x587411,_0x31e0b7){_0x587411=_0x587411-0x0;var _0xc05af9=_0xfd76[_0x587411];return _0xc05af9;};'use strict';var _=require(_0x6fd7('0x0'));var util=require(_0x6fd7('0x1'));var logger=require(_0x6fd7('0x2'))(_0x6fd7('0x3'));var moment=require(_0x6fd7('0x4'));var BPromise=require('bluebird');var rp=require(_0x6fd7('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6fd7('0x6'));var config=require('../../config/environment');var attributes=require(_0x6fd7('0x7'));module['exports']=function(_0x5dc439,_0x2861f){return _0x5dc439[_0x6fd7('0x8')](_0x6fd7('0x9'),attributes,{'tableName':_0x6fd7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};