Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / whatsappQueue / whatsappQueue.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 _0x300e=['../../config/environment','./whatsappQueue.attributes','exports','WhatsappQueue','whatsapp_queues','lodash','util','moment','bluebird','request-promise','path','rimraf'];(function(_0x200aa5,_0x197802){var _0x458200=function(_0x594959){while(--_0x594959){_0x200aa5['push'](_0x200aa5['shift']());}};_0x458200(++_0x197802);}(_0x300e,0x16d));var _0xe300=function(_0x710815,_0x520da8){_0x710815=_0x710815-0x0;var _0x5b3b89=_0x300e[_0x710815];return _0x5b3b89;};'use strict';var _=require(_0xe300('0x0'));var util=require(_0xe300('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xe300('0x2'));var BPromise=require(_0xe300('0x3'));var rp=require(_0xe300('0x4'));var fs=require('fs');var path=require(_0xe300('0x5'));var rimraf=require(_0xe300('0x6'));var config=require(_0xe300('0x7'));var attributes=require(_0xe300('0x8'));module[_0xe300('0x9')]=function(_0x1f231c,_0x2c6c86){return _0x1f231c['define'](_0xe300('0xa'),attributes,{'tableName':_0xe300('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};