Built motion from commit (unavailable).|2.5.31
[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 _0x3b71=['util','api','moment','rimraf','../../config/environment','./smsQueue.attributes','exports','SmsQueue','sms_queues','lodash'];(function(_0xc8e820,_0x2d2d59){var _0x1ac28f=function(_0x3b9f67){while(--_0x3b9f67){_0xc8e820['push'](_0xc8e820['shift']());}};_0x1ac28f(++_0x2d2d59);}(_0x3b71,0x18f));var _0x13b7=function(_0x5dee25,_0x1b817e){_0x5dee25=_0x5dee25-0x0;var _0x120c23=_0x3b71[_0x5dee25];return _0x120c23;};'use strict';var _=require(_0x13b7('0x0'));var util=require(_0x13b7('0x1'));var logger=require('../../config/logger')(_0x13b7('0x2'));var moment=require(_0x13b7('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x13b7('0x4'));var config=require(_0x13b7('0x5'));var attributes=require(_0x13b7('0x6'));module[_0x13b7('0x7')]=function(_0xc76b33,_0x3c2615){return _0xc76b33['define'](_0x13b7('0x8'),attributes,{'tableName':_0x13b7('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};