Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / userSmsQueue / userSmsQueue.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 _0x9b7d=['user_has_sms_queues','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./userSmsQueue.attributes','exports','define','UserSmsQueue'];(function(_0x36acf3,_0x53c155){var _0x420330=function(_0x300835){while(--_0x300835){_0x36acf3['push'](_0x36acf3['shift']());}};_0x420330(++_0x53c155);}(_0x9b7d,0xde));var _0xd9b7=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x9b7d[_0x14add3];return _0x4a174f;};'use strict';var _=require('lodash');var util=require(_0xd9b7('0x0'));var logger=require(_0xd9b7('0x1'))(_0xd9b7('0x2'));var moment=require('moment');var BPromise=require(_0xd9b7('0x3'));var rp=require(_0xd9b7('0x4'));var fs=require('fs');var path=require(_0xd9b7('0x5'));var rimraf=require(_0xd9b7('0x6'));var config=require(_0xd9b7('0x7'));var attributes=require(_0xd9b7('0x8'));module[_0xd9b7('0x9')]=function(_0x2bfcc9,_0x1d7607){return _0x2bfcc9[_0xd9b7('0xa')](_0xd9b7('0xb'),attributes,{'tableName':_0xd9b7('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};