871fe676a7f9378474f8e7bceec32cc8d4c8e9fa
[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 _0x215a=['path','rimraf','../../config/environment','./smsQueue.attributes','sms_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x28f32c,_0x4cc342){var _0x355402=function(_0xdb5032){while(--_0xdb5032){_0x28f32c['push'](_0x28f32c['shift']());}};_0x355402(++_0x4cc342);}(_0x215a,0xe9));var _0xa215=function(_0x199572,_0x33e667){_0x199572=_0x199572-0x0;var _0x13cfa3=_0x215a[_0x199572];return _0x13cfa3;};'use strict';var _=require(_0xa215('0x0'));var util=require(_0xa215('0x1'));var logger=require(_0xa215('0x2'))(_0xa215('0x3'));var moment=require(_0xa215('0x4'));var BPromise=require(_0xa215('0x5'));var rp=require(_0xa215('0x6'));var fs=require('fs');var path=require(_0xa215('0x7'));var rimraf=require(_0xa215('0x8'));var config=require(_0xa215('0x9'));var attributes=require(_0xa215('0xa'));module['exports']=function(_0x2cf380,_0x4ed650){return _0x2cf380['define']('SmsQueue',attributes,{'tableName':_0xa215('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};