fb5696baa6bd362841a95cbb6c8097715c8fc611
[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 _0x501d=['./smsQueue.attributes','define','SmsQueue','sms_queues','lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x5bb8d8,_0x21a57f){var _0x34adbb=function(_0x358b70){while(--_0x358b70){_0x5bb8d8['push'](_0x5bb8d8['shift']());}};_0x34adbb(++_0x21a57f);}(_0x501d,0x94));var _0xd501=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0x501d[_0x1facfa];return _0x9ec701;};'use strict';var _=require(_0xd501('0x0'));var util=require(_0xd501('0x1'));var logger=require(_0xd501('0x2'))('api');var moment=require(_0xd501('0x3'));var BPromise=require(_0xd501('0x4'));var rp=require(_0xd501('0x5'));var fs=require('fs');var path=require(_0xd501('0x6'));var rimraf=require('rimraf');var config=require(_0xd501('0x7'));var attributes=require(_0xd501('0x8'));module['exports']=function(_0x55df5c,_0x9643a6){return _0x55df5c[_0xd501('0x9')](_0xd501('0xa'),attributes,{'tableName':_0xd501('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};