5fba84270b725e8aed1f97d698c9b6f8d3547576
[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 _0x97e5=['bluebird','rimraf','../../config/environment','./smsAccount.attributes','exports','SmsAccount','sms_accounts','lodash','util','../../config/logger','api','moment'];(function(_0x26aef6,_0x11f3e7){var _0x6a185d=function(_0x252178){while(--_0x252178){_0x26aef6['push'](_0x26aef6['shift']());}};_0x6a185d(++_0x11f3e7);}(_0x97e5,0x73));var _0x597e=function(_0x15858e,_0x237df4){_0x15858e=_0x15858e-0x0;var _0x441b72=_0x97e5[_0x15858e];return _0x441b72;};'use strict';var _=require(_0x597e('0x0'));var util=require(_0x597e('0x1'));var logger=require(_0x597e('0x2'))(_0x597e('0x3'));var moment=require(_0x597e('0x4'));var BPromise=require(_0x597e('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x597e('0x6'));var config=require(_0x597e('0x7'));var attributes=require(_0x597e('0x8'));module[_0x597e('0x9')]=function(_0x4daee6,_0x1e3ffa){return _0x4daee6['define'](_0x597e('0xa'),attributes,{'tableName':_0x597e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};