1af32e7c3eb8a88a639b5b1f4111bbd21c87b686
[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 _0x1c8d=['api','moment','bluebird','request-promise','path','../../config/environment','exports','define','CmHopperAdditionalPhone','cm_hopper_additional_phones','util','../../config/logger'];(function(_0x68efcb,_0x2bc079){var _0x1ab270=function(_0x3b3a4a){while(--_0x3b3a4a){_0x68efcb['push'](_0x68efcb['shift']());}};_0x1ab270(++_0x2bc079);}(_0x1c8d,0x196));var _0xd1c8=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0x1c8d[_0x5ddb1c];return _0x354adc;};'use strict';var _=require('lodash');var util=require(_0xd1c8('0x0'));var logger=require(_0xd1c8('0x1'))(_0xd1c8('0x2'));var moment=require(_0xd1c8('0x3'));var BPromise=require(_0xd1c8('0x4'));var rp=require(_0xd1c8('0x5'));var fs=require('fs');var path=require(_0xd1c8('0x6'));var rimraf=require('rimraf');var config=require(_0xd1c8('0x7'));var attributes=require('./cmHopperAdditionalPhone.attributes');module[_0xd1c8('0x8')]=function(_0x51eccf,_0x20ddd2){return _0x51eccf[_0xd1c8('0x9')](_0xd1c8('0xa'),attributes,{'tableName':_0xd1c8('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};