Built motion from commit 85328c08.|2.5.50
[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 _0x7eb1=['../../config/environment','./smsQueue.attributes','exports','define','SmsQueue','sms_queues','lodash','util','moment','bluebird','path','rimraf'];(function(_0x5ce51d,_0x39f17c){var _0x835be7=function(_0x423d53){while(--_0x423d53){_0x5ce51d['push'](_0x5ce51d['shift']());}};_0x835be7(++_0x39f17c);}(_0x7eb1,0x162));var _0x17eb=function(_0x26dd9a,_0x28a8e1){_0x26dd9a=_0x26dd9a-0x0;var _0x32c5f8=_0x7eb1[_0x26dd9a];return _0x32c5f8;};'use strict';var _=require(_0x17eb('0x0'));var util=require(_0x17eb('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x17eb('0x2'));var BPromise=require(_0x17eb('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x17eb('0x4'));var rimraf=require(_0x17eb('0x5'));var config=require(_0x17eb('0x6'));var attributes=require(_0x17eb('0x7'));module[_0x17eb('0x8')]=function(_0x4f70e6,_0x52951a){return _0x4f70e6[_0x17eb('0x9')](_0x17eb('0xa'),attributes,{'tableName':_0x17eb('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};