Built motion from commit (unavailable).|2.5.7
[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 _0x521e=['define','UserSmsQueue','user_has_sms_queues','lodash','util','../../config/logger','api','moment','request-promise','./userSmsQueue.attributes','exports'];(function(_0x3797c3,_0x35043a){var _0x324c05=function(_0x513bcb){while(--_0x513bcb){_0x3797c3['push'](_0x3797c3['shift']());}};_0x324c05(++_0x35043a);}(_0x521e,0x16e));var _0xe521=function(_0xbfc4bd,_0x22377a){_0xbfc4bd=_0xbfc4bd-0x0;var _0x519f12=_0x521e[_0xbfc4bd];return _0x519f12;};'use strict';var _=require(_0xe521('0x0'));var util=require(_0xe521('0x1'));var logger=require(_0xe521('0x2'))(_0xe521('0x3'));var moment=require(_0xe521('0x4'));var BPromise=require('bluebird');var rp=require(_0xe521('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xe521('0x6'));module[_0xe521('0x7')]=function(_0x4b2e23,_0x27f266){return _0x4b2e23[_0xe521('0x8')](_0xe521('0x9'),attributes,{'tableName':_0xe521('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};