Built motion from commit b0a9a629.|2.6.33
[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 _0x249f=['./smsAccount.attributes','define','sms_accounts','lodash','util','bluebird','request-promise','path','rimraf'];(function(_0x27ef56,_0x44e56b){var _0x9031a0=function(_0x4a1c66){while(--_0x4a1c66){_0x27ef56['push'](_0x27ef56['shift']());}};_0x9031a0(++_0x44e56b);}(_0x249f,0x8a));var _0xf249=function(_0xed4369,_0x235778){_0xed4369=_0xed4369-0x0;var _0xe0e0fa=_0x249f[_0xed4369];return _0xe0e0fa;};'use strict';var _=require(_0xf249('0x0'));var util=require(_0xf249('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xf249('0x2'));var rp=require(_0xf249('0x3'));var fs=require('fs');var path=require(_0xf249('0x4'));var rimraf=require(_0xf249('0x5'));var config=require('../../config/environment');var attributes=require(_0xf249('0x6'));module['exports']=function(_0x5bcd24,_0x487efa){return _0x5bcd24[_0xf249('0x7')]('SmsAccount',attributes,{'tableName':_0xf249('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};