e912c2ccc46dc2be597a4c4da081ee4c14b5f691
[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 _0x7ceb=['api','moment','bluebird','../../config/environment','./whatsappQueue.attributes','exports','define','WhatsappQueue','whatsapp_queues','lodash','util','../../config/logger'];(function(_0x3ea913,_0x255df2){var _0x2b4f28=function(_0x48bb25){while(--_0x48bb25){_0x3ea913['push'](_0x3ea913['shift']());}};_0x2b4f28(++_0x255df2);}(_0x7ceb,0xe1));var _0xb7ce=function(_0x214d99,_0x4264e7){_0x214d99=_0x214d99-0x0;var _0x9d6537=_0x7ceb[_0x214d99];return _0x9d6537;};'use strict';var _=require(_0xb7ce('0x0'));var util=require(_0xb7ce('0x1'));var logger=require(_0xb7ce('0x2'))(_0xb7ce('0x3'));var moment=require(_0xb7ce('0x4'));var BPromise=require(_0xb7ce('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xb7ce('0x6'));var attributes=require(_0xb7ce('0x7'));module[_0xb7ce('0x8')]=function(_0x5cf065,_0x5e6859){return _0x5cf065[_0xb7ce('0x9')](_0xb7ce('0xa'),attributes,{'tableName':_0xb7ce('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};