cff5f0a8d7c0fa761e950944b6a9d6ca943c0a28
[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 _0x0c18=['util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./smsQueue.attributes','exports','define','SmsQueue','sms_queues'];(function(_0x3ec333,_0x26bcbe){var _0x15ccb8=function(_0x2c4d0c){while(--_0x2c4d0c){_0x3ec333['push'](_0x3ec333['shift']());}};_0x15ccb8(++_0x26bcbe);}(_0x0c18,0x174));var _0x80c1=function(_0x4bb145,_0x3e7d33){_0x4bb145=_0x4bb145-0x0;var _0x4db596=_0x0c18[_0x4bb145];return _0x4db596;};'use strict';var _=require('lodash');var util=require(_0x80c1('0x0'));var logger=require(_0x80c1('0x1'))('api');var moment=require('moment');var BPromise=require(_0x80c1('0x2'));var rp=require(_0x80c1('0x3'));var fs=require('fs');var path=require(_0x80c1('0x4'));var rimraf=require(_0x80c1('0x5'));var config=require(_0x80c1('0x6'));var attributes=require(_0x80c1('0x7'));module[_0x80c1('0x8')]=function(_0x2f14cd,_0x8d6989){return _0x2f14cd[_0x80c1('0x9')](_0x80c1('0xa'),attributes,{'tableName':_0x80c1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};