Built motion from commit b0a9a629.|2.6.33
[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 _0x54fd=['../../config/logger','api','moment','bluebird','request-promise','../../config/environment','exports','define','SmsQueue','sms_queues','lodash'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0x54fd,0x1e3));var _0xd54f=function(_0x425169,_0x995f89){_0x425169=_0x425169-0x0;var _0x3cf196=_0x54fd[_0x425169];return _0x3cf196;};'use strict';var _=require(_0xd54f('0x0'));var util=require('util');var logger=require(_0xd54f('0x1'))(_0xd54f('0x2'));var moment=require(_0xd54f('0x3'));var BPromise=require(_0xd54f('0x4'));var rp=require(_0xd54f('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xd54f('0x6'));var attributes=require('./smsQueue.attributes');module[_0xd54f('0x7')]=function(_0x198016,_0xd3466d){return _0x198016[_0xd54f('0x8')](_0xd54f('0x9'),attributes,{'tableName':_0xd54f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};