af15623be9c57d3f7077d73fa99ba8a99e4be42b
[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 _0x539d=['api','moment','bluebird','path','rimraf','../../config/environment','./smsQueue.attributes','SmsQueue','sms_queues','lodash','util','../../config/logger'];(function(_0x1cf130,_0x2135ed){var _0x1e8bd2=function(_0x11764e){while(--_0x11764e){_0x1cf130['push'](_0x1cf130['shift']());}};_0x1e8bd2(++_0x2135ed);}(_0x539d,0xc9));var _0xd539=function(_0x50d84b,_0x1d7ea7){_0x50d84b=_0x50d84b-0x0;var _0x6d4270=_0x539d[_0x50d84b];return _0x6d4270;};'use strict';var _=require(_0xd539('0x0'));var util=require(_0xd539('0x1'));var logger=require(_0xd539('0x2'))(_0xd539('0x3'));var moment=require(_0xd539('0x4'));var BPromise=require(_0xd539('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd539('0x6'));var rimraf=require(_0xd539('0x7'));var config=require(_0xd539('0x8'));var attributes=require(_0xd539('0x9'));module['exports']=function(_0x374fa6,_0x3b6c8b){return _0x374fa6['define'](_0xd539('0xa'),attributes,{'tableName':_0xd539('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};