Built motion from commit (unavailable).|2.5.23
[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 _0xa77d=['path','rimraf','../../config/environment','exports','define','util','../../config/logger','api','request-promise'];(function(_0x1e4f2f,_0x35edfa){var _0xccea89=function(_0x164386){while(--_0x164386){_0x1e4f2f['push'](_0x1e4f2f['shift']());}};_0xccea89(++_0x35edfa);}(_0xa77d,0x191));var _0xda77=function(_0x10049a,_0x32997f){_0x10049a=_0x10049a-0x0;var _0x31fa19=_0xa77d[_0x10049a];return _0x31fa19;};'use strict';var _=require('lodash');var util=require(_0xda77('0x0'));var logger=require(_0xda77('0x1'))(_0xda77('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xda77('0x3'));var fs=require('fs');var path=require(_0xda77('0x4'));var rimraf=require(_0xda77('0x5'));var config=require(_0xda77('0x6'));var attributes=require('./userSmsQueue.attributes');module[_0xda77('0x7')]=function(_0x326a01,_0x1877fd){return _0x326a01[_0xda77('0x8')]('UserSmsQueue',attributes,{'tableName':'user_has_sms_queues','paranoid':![],'indexes':[],'timestamps':!![]});};