Built motion from commit (unavailable).|2.5.29
[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 _0x652c=['define','UserSmsQueue','lodash','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','exports'];(function(_0x37a789,_0x585fca){var _0xfbc9ac=function(_0x5e96b3){while(--_0x5e96b3){_0x37a789['push'](_0x37a789['shift']());}};_0xfbc9ac(++_0x585fca);}(_0x652c,0x157));var _0xc652=function(_0x460cd3,_0x1ea925){_0x460cd3=_0x460cd3-0x0;var _0x2d2bb5=_0x652c[_0x460cd3];return _0x2d2bb5;};'use strict';var _=require(_0xc652('0x0'));var util=require(_0xc652('0x1'));var logger=require(_0xc652('0x2'))('api');var moment=require('moment');var BPromise=require(_0xc652('0x3'));var rp=require(_0xc652('0x4'));var fs=require('fs');var path=require(_0xc652('0x5'));var rimraf=require(_0xc652('0x6'));var config=require(_0xc652('0x7'));var attributes=require('./userSmsQueue.attributes');module[_0xc652('0x8')]=function(_0x4c699f,_0x5e8e48){return _0x4c699f[_0xc652('0x9')](_0xc652('0xa'),attributes,{'tableName':'user_has_sms_queues','paranoid':![],'indexes':[],'timestamps':!![]});};