7f1c1c4412d7821a24a588cd6c1ad25ee4f19146
[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 _0xe893=['./userSmsQueue.attributes','exports','define','UserSmsQueue','util','../../config/logger','moment','bluebird','rimraf'];(function(_0x37c07d,_0xdbdb5f){var _0x10dadc=function(_0x2bafb7){while(--_0x2bafb7){_0x37c07d['push'](_0x37c07d['shift']());}};_0x10dadc(++_0xdbdb5f);}(_0xe893,0xaf));var _0x3e89=function(_0x533381,_0x8a69fa){_0x533381=_0x533381-0x0;var _0x2877ed=_0xe893[_0x533381];return _0x2877ed;};'use strict';var _=require('lodash');var util=require(_0x3e89('0x0'));var logger=require(_0x3e89('0x1'))('api');var moment=require(_0x3e89('0x2'));var BPromise=require(_0x3e89('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x3e89('0x4'));var config=require('../../config/environment');var attributes=require(_0x3e89('0x5'));module[_0x3e89('0x6')]=function(_0x4bab6a,_0x2b2cc1){return _0x4bab6a[_0x3e89('0x7')](_0x3e89('0x8'),attributes,{'tableName':'user_has_sms_queues','paranoid':![],'indexes':[],'timestamps':!![]});};