Built motion from commit (unavailable).|2.5.4
[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 _0xbdc6=['util','../../config/logger','api','request-promise','path','rimraf','../../config/environment','./whatsappAccount.attributes','whatsapp_accounts','lodash'];(function(_0x5e2c32,_0x584410){var _0x24645b=function(_0x503c73){while(--_0x503c73){_0x5e2c32['push'](_0x5e2c32['shift']());}};_0x24645b(++_0x584410);}(_0xbdc6,0xf9));var _0x6bdc=function(_0x1c09a7,_0x2033cc){_0x1c09a7=_0x1c09a7-0x0;var _0x183140=_0xbdc6[_0x1c09a7];return _0x183140;};'use strict';var _=require(_0x6bdc('0x0'));var util=require(_0x6bdc('0x1'));var logger=require(_0x6bdc('0x2'))(_0x6bdc('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x6bdc('0x4'));var fs=require('fs');var path=require(_0x6bdc('0x5'));var rimraf=require(_0x6bdc('0x6'));var config=require(_0x6bdc('0x7'));var attributes=require(_0x6bdc('0x8'));module['exports']=function(_0x51bb29,_0x4a371c){return _0x51bb29['define']('WhatsappAccount',attributes,{'tableName':_0x6bdc('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};