Built motion from commit 19a84241.|2.5.34
[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 _0x3af2=['sms_queues','lodash','util','api','moment','request-promise','path','rimraf','../../config/environment','exports','define','SmsQueue'];(function(_0x20fa6c,_0xb76f45){var _0x38464d=function(_0x4cd733){while(--_0x4cd733){_0x20fa6c['push'](_0x20fa6c['shift']());}};_0x38464d(++_0xb76f45);}(_0x3af2,0x1ed));var _0x23af=function(_0x5c38cd,_0x5a6b4e){_0x5c38cd=_0x5c38cd-0x0;var _0xc985ef=_0x3af2[_0x5c38cd];return _0xc985ef;};'use strict';var _=require(_0x23af('0x0'));var util=require(_0x23af('0x1'));var logger=require('../../config/logger')(_0x23af('0x2'));var moment=require(_0x23af('0x3'));var BPromise=require('bluebird');var rp=require(_0x23af('0x4'));var fs=require('fs');var path=require(_0x23af('0x5'));var rimraf=require(_0x23af('0x6'));var config=require(_0x23af('0x7'));var attributes=require('./smsQueue.attributes');module[_0x23af('0x8')]=function(_0x4b300e,_0xc1ac24){return _0x4b300e[_0x23af('0x9')](_0x23af('0xa'),attributes,{'tableName':_0x23af('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};