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 _0xed5d=['exports','define','sms_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./smsAccount.attributes'];(function(_0x3a2a8f,_0x2997ff){var _0x9effdb=function(_0x19d033){while(--_0x19d033){_0x3a2a8f['push'](_0x3a2a8f['shift']());}};_0x9effdb(++_0x2997ff);}(_0xed5d,0x13b));var _0xded5=function(_0x3f1d0c,_0x26d60c){_0x3f1d0c=_0x3f1d0c-0x0;var _0x299d34=_0xed5d[_0x3f1d0c];return _0x299d34;};'use strict';var _=require(_0xded5('0x0'));var util=require(_0xded5('0x1'));var logger=require(_0xded5('0x2'))(_0xded5('0x3'));var moment=require(_0xded5('0x4'));var BPromise=require(_0xded5('0x5'));var rp=require(_0xded5('0x6'));var fs=require('fs');var path=require(_0xded5('0x7'));var rimraf=require(_0xded5('0x8'));var config=require('../../config/environment');var attributes=require(_0xded5('0x9'));module[_0xded5('0xa')]=function(_0x3a31b8,_0x489c19){return _0x3a31b8[_0xded5('0xb')]('SmsAccount',attributes,{'tableName':_0xded5('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};