057b1bb355d36bee37028d5cffd7a54f56e8f330
[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 _0x73fe=['path','../../config/environment','./whatsappQueue.attributes','exports','define','WhatsappQueue','whatsapp_queues','lodash','util','api','moment','bluebird','request-promise'];(function(_0x4697fa,_0x21c841){var _0x390950=function(_0x3deb8a){while(--_0x3deb8a){_0x4697fa['push'](_0x4697fa['shift']());}};_0x390950(++_0x21c841);}(_0x73fe,0xfe));var _0xe73f=function(_0x745ba4,_0x42516d){_0x745ba4=_0x745ba4-0x0;var _0x27d00a=_0x73fe[_0x745ba4];return _0x27d00a;};'use strict';var _=require(_0xe73f('0x0'));var util=require(_0xe73f('0x1'));var logger=require('../../config/logger')(_0xe73f('0x2'));var moment=require(_0xe73f('0x3'));var BPromise=require(_0xe73f('0x4'));var rp=require(_0xe73f('0x5'));var fs=require('fs');var path=require(_0xe73f('0x6'));var rimraf=require('rimraf');var config=require(_0xe73f('0x7'));var attributes=require(_0xe73f('0x8'));module[_0xe73f('0x9')]=function(_0x535a5b,_0x46d73b){return _0x535a5b[_0xe73f('0xa')](_0xe73f('0xb'),attributes,{'tableName':_0xe73f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};