Built motion from commit 2b9af5da.|2.6.26
[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 _0xef4d=['../../config/environment','./userWhatsappQueue.attributes','exports','define','UserWhatsappQueue','user_has_whatsapp_queues','lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x2d6a9a,_0x4fa857){var _0x2f247f=function(_0x45db16){while(--_0x45db16){_0x2d6a9a['push'](_0x2d6a9a['shift']());}};_0x2f247f(++_0x4fa857);}(_0xef4d,0x10a));var _0xdef4=function(_0xc4001c,_0x1bf8f0){_0xc4001c=_0xc4001c-0x0;var _0x49f7bc=_0xef4d[_0xc4001c];return _0x49f7bc;};'use strict';var _=require(_0xdef4('0x0'));var util=require('util');var logger=require(_0xdef4('0x1'))(_0xdef4('0x2'));var moment=require(_0xdef4('0x3'));var BPromise=require(_0xdef4('0x4'));var rp=require(_0xdef4('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xdef4('0x6'));var config=require(_0xdef4('0x7'));var attributes=require(_0xdef4('0x8'));module[_0xdef4('0x9')]=function(_0x4961bc,_0x34a3db){return _0x4961bc[_0xdef4('0xa')](_0xdef4('0xb'),attributes,{'tableName':_0xdef4('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};