Built motion from commit (unavailable).|2.5.20
[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 _0x58ed=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./smsQueue.attributes','exports','define','SmsQueue','sms_queues'];(function(_0x148897,_0x2f4510){var _0x29cd2b=function(_0xb78b05){while(--_0xb78b05){_0x148897['push'](_0x148897['shift']());}};_0x29cd2b(++_0x2f4510);}(_0x58ed,0xc4));var _0xd58e=function(_0x39e88e,_0x2b2d67){_0x39e88e=_0x39e88e-0x0;var _0x256c40=_0x58ed[_0x39e88e];return _0x256c40;};'use strict';var _=require(_0xd58e('0x0'));var util=require(_0xd58e('0x1'));var logger=require(_0xd58e('0x2'))('api');var moment=require(_0xd58e('0x3'));var BPromise=require(_0xd58e('0x4'));var rp=require(_0xd58e('0x5'));var fs=require('fs');var path=require(_0xd58e('0x6'));var rimraf=require(_0xd58e('0x7'));var config=require(_0xd58e('0x8'));var attributes=require(_0xd58e('0x9'));module[_0xd58e('0xa')]=function(_0x582ec1,_0x5d5713){return _0x582ec1[_0xd58e('0xb')](_0xd58e('0xc'),attributes,{'tableName':_0xd58e('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};