Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / smsAccount / smsAccount.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 _0x3dfe=['exports','SmsAccount','sms_accounts','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./smsAccount.attributes'];(function(_0x33bb09,_0x35efd8){var _0x38988a=function(_0xf40b78){while(--_0xf40b78){_0x33bb09['push'](_0x33bb09['shift']());}};_0x38988a(++_0x35efd8);}(_0x3dfe,0x148));var _0xe3df=function(_0x19d897,_0x340e2f){_0x19d897=_0x19d897-0x0;var _0x3f1083=_0x3dfe[_0x19d897];return _0x3f1083;};'use strict';var _=require(_0xe3df('0x0'));var util=require(_0xe3df('0x1'));var logger=require(_0xe3df('0x2'))(_0xe3df('0x3'));var moment=require('moment');var BPromise=require(_0xe3df('0x4'));var rp=require(_0xe3df('0x5'));var fs=require('fs');var path=require(_0xe3df('0x6'));var rimraf=require(_0xe3df('0x7'));var config=require(_0xe3df('0x8'));var attributes=require(_0xe3df('0x9'));module[_0xe3df('0xa')]=function(_0x152087,_0x181ba0){return _0x152087['define'](_0xe3df('0xb'),attributes,{'tableName':_0xe3df('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};