f9e617bf5e1d75ae9cba450d15bc91c4ba75b87e
[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 _0x806b=['sms_queues','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./smsQueue.attributes','exports','SmsQueue'];(function(_0x5b0fbe,_0x51bb42){var _0x13f83c=function(_0x502bfb){while(--_0x502bfb){_0x5b0fbe['push'](_0x5b0fbe['shift']());}};_0x13f83c(++_0x51bb42);}(_0x806b,0x90));var _0xb806=function(_0x270ec3,_0x1a6ae2){_0x270ec3=_0x270ec3-0x0;var _0x1cfe2c=_0x806b[_0x270ec3];return _0x1cfe2c;};'use strict';var _=require('lodash');var util=require(_0xb806('0x0'));var logger=require(_0xb806('0x1'))(_0xb806('0x2'));var moment=require(_0xb806('0x3'));var BPromise=require(_0xb806('0x4'));var rp=require(_0xb806('0x5'));var fs=require('fs');var path=require(_0xb806('0x6'));var rimraf=require(_0xb806('0x7'));var config=require(_0xb806('0x8'));var attributes=require(_0xb806('0x9'));module[_0xb806('0xa')]=function(_0x5a07e1,_0x117c96){return _0x5a07e1['define'](_0xb806('0xb'),attributes,{'tableName':_0xb806('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};