Built motion from commit 449495f6.|2.6.27
[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 _0xe709=['request-promise','path','../../config/environment','exports','define','lodash','../../config/logger','api','moment','bluebird'];(function(_0x425b80,_0x4cf0bd){var _0x25750c=function(_0x4bad7e){while(--_0x4bad7e){_0x425b80['push'](_0x425b80['shift']());}};_0x25750c(++_0x4cf0bd);}(_0xe709,0x1c7));var _0x9e70=function(_0x1a8961,_0x227cd9){_0x1a8961=_0x1a8961-0x0;var _0x3f56f8=_0xe709[_0x1a8961];return _0x3f56f8;};'use strict';var _=require(_0x9e70('0x0'));var util=require('util');var logger=require(_0x9e70('0x1'))(_0x9e70('0x2'));var moment=require(_0x9e70('0x3'));var BPromise=require(_0x9e70('0x4'));var rp=require(_0x9e70('0x5'));var fs=require('fs');var path=require(_0x9e70('0x6'));var rimraf=require('rimraf');var config=require(_0x9e70('0x7'));var attributes=require('./smsQueue.attributes');module[_0x9e70('0x8')]=function(_0x4434fc,_0x297c3c){return _0x4434fc[_0x9e70('0x9')]('SmsQueue',attributes,{'tableName':'sms_queues','paranoid':![],'indexes':[],'timestamps':!![]});};