Built motion from commit 47436d59.|2.6.7
[motion2.git] / server / api / userWhatsappQueue / userWhatsappQueue.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 _0x3d7e=['request-promise','rimraf','../../config/environment','./userWhatsappQueue.attributes','exports','define','UserWhatsappQueue','user_has_whatsapp_queues','lodash','../../config/logger','moment','bluebird'];(function(_0x195822,_0x232913){var _0x2f89e6=function(_0x1c650f){while(--_0x1c650f){_0x195822['push'](_0x195822['shift']());}};_0x2f89e6(++_0x232913);}(_0x3d7e,0xb0));var _0xe3d7=function(_0x37a79c,_0x2b19f0){_0x37a79c=_0x37a79c-0x0;var _0x561d89=_0x3d7e[_0x37a79c];return _0x561d89;};'use strict';var _=require(_0xe3d7('0x0'));var util=require('util');var logger=require(_0xe3d7('0x1'))('api');var moment=require(_0xe3d7('0x2'));var BPromise=require(_0xe3d7('0x3'));var rp=require(_0xe3d7('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe3d7('0x5'));var config=require(_0xe3d7('0x6'));var attributes=require(_0xe3d7('0x7'));module[_0xe3d7('0x8')]=function(_0x551df1,_0x507d8d){return _0x551df1[_0xe3d7('0x9')](_0xe3d7('0xa'),attributes,{'tableName':_0xe3d7('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};