Built motion from commit 3c2ce842.|2.6.31
[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 _0x20fe=['exports','define','SmsQueue','sms_queues','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./smsQueue.attributes'];(function(_0xaf16d,_0x3f8c83){var _0xbe1748=function(_0x5d840a){while(--_0x5d840a){_0xaf16d['push'](_0xaf16d['shift']());}};_0xbe1748(++_0x3f8c83);}(_0x20fe,0x100));var _0xe20f=function(_0x34f2b4,_0xf8a399){_0x34f2b4=_0x34f2b4-0x0;var _0x145c5c=_0x20fe[_0x34f2b4];return _0x145c5c;};'use strict';var _=require(_0xe20f('0x0'));var util=require(_0xe20f('0x1'));var logger=require(_0xe20f('0x2'))('api');var moment=require(_0xe20f('0x3'));var BPromise=require(_0xe20f('0x4'));var rp=require(_0xe20f('0x5'));var fs=require('fs');var path=require(_0xe20f('0x6'));var rimraf=require(_0xe20f('0x7'));var config=require(_0xe20f('0x8'));var attributes=require(_0xe20f('0x9'));module[_0xe20f('0xa')]=function(_0x1db667,_0xe10ae4){return _0x1db667[_0xe20f('0xb')](_0xe20f('0xc'),attributes,{'tableName':_0xe20f('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};