Built motion from commit (unavailable).|2.5.8
[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 _0x06e2=['define','SmsQueue','sms_queues','lodash','util','api','moment','request-promise','path','rimraf','../../config/environment','./smsQueue.attributes','exports'];(function(_0x159069,_0x292e2f){var _0x16dc93=function(_0x4ecd8c){while(--_0x4ecd8c){_0x159069['push'](_0x159069['shift']());}};_0x16dc93(++_0x292e2f);}(_0x06e2,0x114));var _0x206e=function(_0x5cd159,_0x35f32e){_0x5cd159=_0x5cd159-0x0;var _0x1d772d=_0x06e2[_0x5cd159];return _0x1d772d;};'use strict';var _=require(_0x206e('0x0'));var util=require(_0x206e('0x1'));var logger=require('../../config/logger')(_0x206e('0x2'));var moment=require(_0x206e('0x3'));var BPromise=require('bluebird');var rp=require(_0x206e('0x4'));var fs=require('fs');var path=require(_0x206e('0x5'));var rimraf=require(_0x206e('0x6'));var config=require(_0x206e('0x7'));var attributes=require(_0x206e('0x8'));module[_0x206e('0x9')]=function(_0x43a3fa,_0xe1f315){return _0x43a3fa[_0x206e('0xa')](_0x206e('0xb'),attributes,{'tableName':_0x206e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};