bd2cb59961ddca14cc0415ca56ad8384ac16dda2
[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 _0x3954=['../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./whatsappAccount.attributes','define','WhatsappAccount','whatsapp_accounts','lodash','util'];(function(_0x5e7c90,_0x3d72b3){var _0x4e4b8d=function(_0x3a5b62){while(--_0x3a5b62){_0x5e7c90['push'](_0x5e7c90['shift']());}};_0x4e4b8d(++_0x3d72b3);}(_0x3954,0xa6));var _0x4395=function(_0x290a72,_0x54d021){_0x290a72=_0x290a72-0x0;var _0x38a627=_0x3954[_0x290a72];return _0x38a627;};'use strict';var _=require(_0x4395('0x0'));var util=require(_0x4395('0x1'));var logger=require(_0x4395('0x2'))(_0x4395('0x3'));var moment=require(_0x4395('0x4'));var BPromise=require('bluebird');var rp=require(_0x4395('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x4395('0x6'));var config=require(_0x4395('0x7'));var attributes=require(_0x4395('0x8'));module['exports']=function(_0x394906,_0x4d6fb7){return _0x394906[_0x4395('0x9')](_0x4395('0xa'),attributes,{'tableName':_0x4395('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};