Built motion from commit 85328c08.|2.5.50
[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 _0xe3d4=['../../config/environment','./smsQueue.attributes','exports','define','SmsQueue','sms_queues','lodash','../../config/logger','api','moment','path'];(function(_0x46d0c9,_0x526bfa){var _0x174506=function(_0x654bc6){while(--_0x654bc6){_0x46d0c9['push'](_0x46d0c9['shift']());}};_0x174506(++_0x526bfa);}(_0xe3d4,0x1c9));var _0x4e3d=function(_0x1b6ae1,_0x7265ae){_0x1b6ae1=_0x1b6ae1-0x0;var _0x5843a2=_0xe3d4[_0x1b6ae1];return _0x5843a2;};'use strict';var _=require(_0x4e3d('0x0'));var util=require('util');var logger=require(_0x4e3d('0x1'))(_0x4e3d('0x2'));var moment=require(_0x4e3d('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x4e3d('0x4'));var rimraf=require('rimraf');var config=require(_0x4e3d('0x5'));var attributes=require(_0x4e3d('0x6'));module[_0x4e3d('0x7')]=function(_0x52e3e4,_0x4ea5ee){return _0x52e3e4[_0x4e3d('0x8')](_0x4e3d('0x9'),attributes,{'tableName':_0x4e3d('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};