Built motion from commit (unavailable).|2.3.2
[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 _0x0c22=['../../config/logger','api','moment','bluebird','request-promise','exports','define','UserSmsQueue','user_has_sms_queues','util'];(function(_0x26b240,_0x4d8775){var _0x75734a=function(_0x49700a){while(--_0x49700a){_0x26b240['push'](_0x26b240['shift']());}};_0x75734a(++_0x4d8775);}(_0x0c22,0x1c1));var _0x20c2=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0x0c22[_0x4b369d];return _0x571a98;};'use strict';var _=require('lodash');var util=require(_0x20c2('0x0'));var logger=require(_0x20c2('0x1'))(_0x20c2('0x2'));var moment=require(_0x20c2('0x3'));var BPromise=require(_0x20c2('0x4'));var rp=require(_0x20c2('0x5'));var attributes=require('./userSmsQueue.attributes');module[_0x20c2('0x6')]=function(_0x1d4437,_0xb8fe2f){return _0x1d4437[_0x20c2('0x7')](_0x20c2('0x8'),attributes,{'tableName':_0x20c2('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};