Built motion from commit e6806ed6.|2.6.0
[motion2.git] / server / api / smsQueue / smsQueue.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 _0x679f=['path','rimraf','../../config/environment','./smsQueue.attributes','define','SmsQueue','sms_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x347f71,_0x354078){var _0x2efa8e=function(_0xa2b516){while(--_0xa2b516){_0x347f71['push'](_0x347f71['shift']());}};_0x2efa8e(++_0x354078);}(_0x679f,0xd9));var _0xf679=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0x679f[_0x40a045];return _0x1a687c;};'use strict';var _=require(_0xf679('0x0'));var util=require(_0xf679('0x1'));var logger=require(_0xf679('0x2'))(_0xf679('0x3'));var moment=require(_0xf679('0x4'));var BPromise=require(_0xf679('0x5'));var rp=require(_0xf679('0x6'));var fs=require('fs');var path=require(_0xf679('0x7'));var rimraf=require(_0xf679('0x8'));var config=require(_0xf679('0x9'));var attributes=require(_0xf679('0xa'));module['exports']=function(_0x2f2d43,_0x33dd33){return _0x2f2d43[_0xf679('0xb')](_0xf679('0xc'),attributes,{'tableName':_0xf679('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};