Built motion from commit (unavailable).|2.5.11
[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 _0x60eb=['define','SmsQueue','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./smsQueue.attributes','exports'];(function(_0x46e0d2,_0x16abb8){var _0x314fae=function(_0x2884ad){while(--_0x2884ad){_0x46e0d2['push'](_0x46e0d2['shift']());}};_0x314fae(++_0x16abb8);}(_0x60eb,0x19a));var _0xb60e=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x60eb[_0x321bb2];return _0x9c12ed;};'use strict';var _=require('lodash');var util=require(_0xb60e('0x0'));var logger=require(_0xb60e('0x1'))(_0xb60e('0x2'));var moment=require(_0xb60e('0x3'));var BPromise=require('bluebird');var rp=require(_0xb60e('0x4'));var fs=require('fs');var path=require(_0xb60e('0x5'));var rimraf=require(_0xb60e('0x6'));var config=require(_0xb60e('0x7'));var attributes=require(_0xb60e('0x8'));module[_0xb60e('0x9')]=function(_0x2916a2,_0x3e45b5){return _0x2916a2[_0xb60e('0xa')](_0xb60e('0xb'),attributes,{'tableName':'sms_queues','paranoid':![],'indexes':[],'timestamps':!![]});};