Built motion from commit (unavailable).|2.5.4
[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 _0x3630=['UserWhatsappQueue','user_has_whatsapp_queues','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./userWhatsappQueue.attributes','exports'];(function(_0x334841,_0x2bbc4c){var _0x5beb4b=function(_0x4bea72){while(--_0x4bea72){_0x334841['push'](_0x334841['shift']());}};_0x5beb4b(++_0x2bbc4c);}(_0x3630,0xda));var _0x0363=function(_0x77238f,_0xbe4c59){_0x77238f=_0x77238f-0x0;var _0x3d809e=_0x3630[_0x77238f];return _0x3d809e;};'use strict';var _=require('lodash');var util=require(_0x0363('0x0'));var logger=require(_0x0363('0x1'))(_0x0363('0x2'));var moment=require(_0x0363('0x3'));var BPromise=require(_0x0363('0x4'));var rp=require(_0x0363('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0363('0x6'));var config=require(_0x0363('0x7'));var attributes=require(_0x0363('0x8'));module[_0x0363('0x9')]=function(_0x3a2b1f,_0x3ef87e){return _0x3a2b1f['define'](_0x0363('0xa'),attributes,{'tableName':_0x0363('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};