Built motion from commit e6806ed6.|2.6.0
[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 _0xfbf5=['moment','bluebird','request-promise','rimraf','../../config/environment','exports','define','SmsAccount','lodash','util','../../config/logger','api'];(function(_0x4dd1f8,_0x27a00e){var _0x2f15f6=function(_0x4eee11){while(--_0x4eee11){_0x4dd1f8['push'](_0x4dd1f8['shift']());}};_0x2f15f6(++_0x27a00e);}(_0xfbf5,0x164));var _0x5fbf=function(_0x3f9ad6,_0x1b6aef){_0x3f9ad6=_0x3f9ad6-0x0;var _0x58cdb1=_0xfbf5[_0x3f9ad6];return _0x58cdb1;};'use strict';var _=require(_0x5fbf('0x0'));var util=require(_0x5fbf('0x1'));var logger=require(_0x5fbf('0x2'))(_0x5fbf('0x3'));var moment=require(_0x5fbf('0x4'));var BPromise=require(_0x5fbf('0x5'));var rp=require(_0x5fbf('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x5fbf('0x7'));var config=require(_0x5fbf('0x8'));var attributes=require('./smsAccount.attributes');module[_0x5fbf('0x9')]=function(_0x4e3432,_0x504829){return _0x4e3432[_0x5fbf('0xa')](_0x5fbf('0xb'),attributes,{'tableName':'sms_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};