7ba509e611469bc79623e0d103255822b53db751
[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 _0x299f=['./smsAccount.attributes','exports','SmsAccount','sms_accounts','lodash','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x16b6ae,_0x3c82bc){var _0x2faa73=function(_0x108426){while(--_0x108426){_0x16b6ae['push'](_0x16b6ae['shift']());}};_0x2faa73(++_0x3c82bc);}(_0x299f,0xd5));var _0xf299=function(_0x330ae3,_0xc38a70){_0x330ae3=_0x330ae3-0x0;var _0x3dc586=_0x299f[_0x330ae3];return _0x3dc586;};'use strict';var _=require(_0xf299('0x0'));var util=require('util');var logger=require(_0xf299('0x1'))(_0xf299('0x2'));var moment=require(_0xf299('0x3'));var BPromise=require(_0xf299('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf299('0x5'));var rimraf=require(_0xf299('0x6'));var config=require('../../config/environment');var attributes=require(_0xf299('0x7'));module[_0xf299('0x8')]=function(_0x1ca7ea,_0x962b52){return _0x1ca7ea['define'](_0xf299('0x9'),attributes,{'tableName':_0xf299('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};