Built motion from commit (unavailable).|2.5.16
[motion2.git] / server / api / userSmsQueue / userSmsQueue.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 _0xdf16=['user_has_sms_queues','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./userSmsQueue.attributes','exports','UserSmsQueue'];(function(_0xdc37a1,_0x53ebb9){var _0x99b4fe=function(_0x2811e3){while(--_0x2811e3){_0xdc37a1['push'](_0xdc37a1['shift']());}};_0x99b4fe(++_0x53ebb9);}(_0xdf16,0x15d));var _0x6df1=function(_0x5e8991,_0x16659a){_0x5e8991=_0x5e8991-0x0;var _0x4d565d=_0xdf16[_0x5e8991];return _0x4d565d;};'use strict';var _=require('lodash');var util=require(_0x6df1('0x0'));var logger=require(_0x6df1('0x1'))(_0x6df1('0x2'));var moment=require(_0x6df1('0x3'));var BPromise=require(_0x6df1('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6df1('0x5'));var rimraf=require(_0x6df1('0x6'));var config=require(_0x6df1('0x7'));var attributes=require(_0x6df1('0x8'));module[_0x6df1('0x9')]=function(_0x4e68ac,_0x139baa){return _0x4e68ac['define'](_0x6df1('0xa'),attributes,{'tableName':_0x6df1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};