addf64b93c42d0c8bad3e5afbc69d99c93e28d6d
[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 _0xc385=['bluebird','request-promise','path','rimraf','exports','SmsQueue','lodash','util','../../config/logger','api','moment'];(function(_0xcbd63c,_0x126e23){var _0x3477e3=function(_0x396123){while(--_0x396123){_0xcbd63c['push'](_0xcbd63c['shift']());}};_0x3477e3(++_0x126e23);}(_0xc385,0x8a));var _0x5c38=function(_0x403c20,_0x4a7b99){_0x403c20=_0x403c20-0x0;var _0x2b271a=_0xc385[_0x403c20];return _0x2b271a;};'use strict';var _=require(_0x5c38('0x0'));var util=require(_0x5c38('0x1'));var logger=require(_0x5c38('0x2'))(_0x5c38('0x3'));var moment=require(_0x5c38('0x4'));var BPromise=require(_0x5c38('0x5'));var rp=require(_0x5c38('0x6'));var fs=require('fs');var path=require(_0x5c38('0x7'));var rimraf=require(_0x5c38('0x8'));var config=require('../../config/environment');var attributes=require('./smsQueue.attributes');module[_0x5c38('0x9')]=function(_0x31bccc,_0x2fef69){return _0x31bccc['define'](_0x5c38('0xa'),attributes,{'tableName':'sms_queues','paranoid':![],'indexes':[],'timestamps':!![]});};