Built motion from commit 1fa89557.|2.6.10
[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 _0xae7f=['../../config/environment','exports','define','SmsQueue','sms_queues','lodash','util','../../config/logger','moment','bluebird','rimraf'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0xae7f,0x10d));var _0xfae7=function(_0x4814a9,_0x1c62ee){_0x4814a9=_0x4814a9-0x0;var _0x16150d=_0xae7f[_0x4814a9];return _0x16150d;};'use strict';var _=require(_0xfae7('0x0'));var util=require(_0xfae7('0x1'));var logger=require(_0xfae7('0x2'))('api');var moment=require(_0xfae7('0x3'));var BPromise=require(_0xfae7('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xfae7('0x5'));var config=require(_0xfae7('0x6'));var attributes=require('./smsQueue.attributes');module[_0xfae7('0x7')]=function(_0x440871,_0x433d96){return _0x440871[_0xfae7('0x8')](_0xfae7('0x9'),attributes,{'tableName':_0xfae7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};