Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / api / whatsappAccount / whatsappAccount.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 _0x3ac6=['lodash','util','../../config/logger','api','request-promise','path','rimraf','../../config/environment','define','WhatsappAccount','whatsapp_accounts'];(function(_0x22a001,_0x501c96){var _0x5a7dd7=function(_0x4f4247){while(--_0x4f4247){_0x22a001['push'](_0x22a001['shift']());}};_0x5a7dd7(++_0x501c96);}(_0x3ac6,0x176));var _0x63ac=function(_0x43ff55,_0x145418){_0x43ff55=_0x43ff55-0x0;var _0x30598f=_0x3ac6[_0x43ff55];return _0x30598f;};'use strict';var _=require(_0x63ac('0x0'));var util=require(_0x63ac('0x1'));var logger=require(_0x63ac('0x2'))(_0x63ac('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x63ac('0x4'));var fs=require('fs');var path=require(_0x63ac('0x5'));var rimraf=require(_0x63ac('0x6'));var config=require(_0x63ac('0x7'));var attributes=require('./whatsappAccount.attributes');module['exports']=function(_0x2488e0,_0x22a1e9){return _0x2488e0[_0x63ac('0x8')](_0x63ac('0x9'),attributes,{'tableName':_0x63ac('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};