Built motion from commit (unavailable).|2.4.7
[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 _0xe4b0=['../../config/environment','exports','define','sms_queues','lodash','util','../../config/logger','api','moment','path','rimraf'];(function(_0x3d596c,_0x30f106){var _0x9cba27=function(_0x33a7d9){while(--_0x33a7d9){_0x3d596c['push'](_0x3d596c['shift']());}};_0x9cba27(++_0x30f106);}(_0xe4b0,0x9e));var _0x0e4b=function(_0x27a848,_0x2dfc9a){_0x27a848=_0x27a848-0x0;var _0x57dbb0=_0xe4b0[_0x27a848];return _0x57dbb0;};'use strict';var _=require(_0x0e4b('0x0'));var util=require(_0x0e4b('0x1'));var logger=require(_0x0e4b('0x2'))(_0x0e4b('0x3'));var moment=require(_0x0e4b('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x0e4b('0x5'));var rimraf=require(_0x0e4b('0x6'));var config=require(_0x0e4b('0x7'));var attributes=require('./smsQueue.attributes');module[_0x0e4b('0x8')]=function(_0x2db4f8,_0x35b829){return _0x2db4f8[_0x0e4b('0x9')]('SmsQueue',attributes,{'tableName':_0x0e4b('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};