75887c46988422f937a3a119892ea3ab0c7feedf
[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 _0xfbd4=['UserSmsQueue','user_has_sms_queues','lodash','util','../../config/logger','api','request-promise','path','rimraf','./userSmsQueue.attributes'];(function(_0xcb688a,_0x58db5d){var _0x4d0aa8=function(_0x27f7dc){while(--_0x27f7dc){_0xcb688a['push'](_0xcb688a['shift']());}};_0x4d0aa8(++_0x58db5d);}(_0xfbd4,0x17e));var _0x4fbd=function(_0x560966,_0x424deb){_0x560966=_0x560966-0x0;var _0x380887=_0xfbd4[_0x560966];return _0x380887;};'use strict';var _=require(_0x4fbd('0x0'));var util=require(_0x4fbd('0x1'));var logger=require(_0x4fbd('0x2'))(_0x4fbd('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x4fbd('0x4'));var fs=require('fs');var path=require(_0x4fbd('0x5'));var rimraf=require(_0x4fbd('0x6'));var config=require('../../config/environment');var attributes=require(_0x4fbd('0x7'));module['exports']=function(_0x3f8f5d,_0x37c88e){return _0x3f8f5d['define'](_0x4fbd('0x8'),attributes,{'tableName':_0x4fbd('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};