Built motion from commit (unavailable).|2.4.17
[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 _0x6a15=['./smsQueue.attributes','exports','SmsQueue','sms_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x41dc9f,_0x419961){var _0x4281eb=function(_0x47161a){while(--_0x47161a){_0x41dc9f['push'](_0x41dc9f['shift']());}};_0x4281eb(++_0x419961);}(_0x6a15,0x159));var _0x56a1=function(_0x5541ae,_0x4a902d){_0x5541ae=_0x5541ae-0x0;var _0x42adf6=_0x6a15[_0x5541ae];return _0x42adf6;};'use strict';var _=require(_0x56a1('0x0'));var util=require(_0x56a1('0x1'));var logger=require(_0x56a1('0x2'))(_0x56a1('0x3'));var moment=require(_0x56a1('0x4'));var BPromise=require(_0x56a1('0x5'));var rp=require(_0x56a1('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x56a1('0x7'));module[_0x56a1('0x8')]=function(_0x280b31,_0x3e887f){return _0x280b31['define'](_0x56a1('0x9'),attributes,{'tableName':_0x56a1('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};