Built motion from commit 9d1906d1.|2.5.40
[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 _0x8054=['moment','request-promise','path','../../config/environment','./smsQueue.attributes','exports','define','sms_queues','lodash','util','../../config/logger','api'];(function(_0x38e64e,_0x242dd9){var _0x122b4b=function(_0x4b7913){while(--_0x4b7913){_0x38e64e['push'](_0x38e64e['shift']());}};_0x122b4b(++_0x242dd9);}(_0x8054,0xc8));var _0x4805=function(_0x1a050e,_0x1940ea){_0x1a050e=_0x1a050e-0x0;var _0xa73577=_0x8054[_0x1a050e];return _0xa73577;};'use strict';var _=require(_0x4805('0x0'));var util=require(_0x4805('0x1'));var logger=require(_0x4805('0x2'))(_0x4805('0x3'));var moment=require(_0x4805('0x4'));var BPromise=require('bluebird');var rp=require(_0x4805('0x5'));var fs=require('fs');var path=require(_0x4805('0x6'));var rimraf=require('rimraf');var config=require(_0x4805('0x7'));var attributes=require(_0x4805('0x8'));module[_0x4805('0x9')]=function(_0x50d4b2,_0x1148dc){return _0x50d4b2[_0x4805('0xa')]('SmsQueue',attributes,{'tableName':_0x4805('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};