Built motion from commit 5293bb2a.|2.6.30
[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 _0xe1a8=['lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./smsQueue.attributes','exports','define','SmsQueue'];(function(_0x5a563f,_0xf738a9){var _0x1bda27=function(_0x3fbd53){while(--_0x3fbd53){_0x5a563f['push'](_0x5a563f['shift']());}};_0x1bda27(++_0xf738a9);}(_0xe1a8,0x104));var _0x8e1a=function(_0x10b09b,_0x221f46){_0x10b09b=_0x10b09b-0x0;var _0x5774c0=_0xe1a8[_0x10b09b];return _0x5774c0;};'use strict';var _=require(_0x8e1a('0x0'));var util=require(_0x8e1a('0x1'));var logger=require(_0x8e1a('0x2'))(_0x8e1a('0x3'));var moment=require('moment');var BPromise=require(_0x8e1a('0x4'));var rp=require(_0x8e1a('0x5'));var fs=require('fs');var path=require(_0x8e1a('0x6'));var rimraf=require(_0x8e1a('0x7'));var config=require(_0x8e1a('0x8'));var attributes=require(_0x8e1a('0x9'));module[_0x8e1a('0xa')]=function(_0x53ac9e,_0x28a89b){return _0x53ac9e[_0x8e1a('0xb')](_0x8e1a('0xc'),attributes,{'tableName':'sms_queues','paranoid':![],'indexes':[],'timestamps':!![]});};