Built motion from commit 0900f080.|2.5.45
[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 _0x4c75=['sms_queues','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./smsQueue.attributes','exports','SmsQueue'];(function(_0x187c53,_0xbac841){var _0x2dd5f1=function(_0x23ffe3){while(--_0x23ffe3){_0x187c53['push'](_0x187c53['shift']());}};_0x2dd5f1(++_0xbac841);}(_0x4c75,0x181));var _0x54c7=function(_0x50667a,_0x86eb28){_0x50667a=_0x50667a-0x0;var _0x4987e5=_0x4c75[_0x50667a];return _0x4987e5;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x54c7('0x0'))(_0x54c7('0x1'));var moment=require(_0x54c7('0x2'));var BPromise=require(_0x54c7('0x3'));var rp=require(_0x54c7('0x4'));var fs=require('fs');var path=require(_0x54c7('0x5'));var rimraf=require(_0x54c7('0x6'));var config=require(_0x54c7('0x7'));var attributes=require(_0x54c7('0x8'));module[_0x54c7('0x9')]=function(_0x38df98,_0x3abf16){return _0x38df98['define'](_0x54c7('0xa'),attributes,{'tableName':_0x54c7('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};