Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / smsQueue / smsQueue.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 _0x729e=['./smsQueue.attributes','sms_queues','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x414143,_0x2669e9){var _0x541ca5=function(_0x21264a){while(--_0x21264a){_0x414143['push'](_0x414143['shift']());}};_0x541ca5(++_0x2669e9);}(_0x729e,0x188));var _0xe729=function(_0x5aaf21,_0x176623){_0x5aaf21=_0x5aaf21-0x0;var _0x3a5c93=_0x729e[_0x5aaf21];return _0x3a5c93;};'use strict';var _=require(_0xe729('0x0'));var util=require(_0xe729('0x1'));var logger=require(_0xe729('0x2'))(_0xe729('0x3'));var moment=require(_0xe729('0x4'));var BPromise=require(_0xe729('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe729('0x6'));var rimraf=require(_0xe729('0x7'));var config=require('../../config/environment');var attributes=require(_0xe729('0x8'));module['exports']=function(_0x496e13,_0x21e37b){return _0x496e13['define']('SmsQueue',attributes,{'tableName':_0xe729('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};