Built motion from commit (unavailable).|2.5.2
[motion2.git] / server / api / whatsappApplication / whatsappApplication.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 _0xe17e=['whatsapp_applications','utf8mb4','utf8mb4_unicode_ci','lodash','api','moment','bluebird','rimraf','../../config/environment','./whatsappApplication.attributes','exports'];(function(_0x262d7b,_0x3ec3e8){var _0x582939=function(_0x565e2a){while(--_0x565e2a){_0x262d7b['push'](_0x262d7b['shift']());}};_0x582939(++_0x3ec3e8);}(_0xe17e,0x71));var _0xee17=function(_0x48dd95,_0x597d2e){_0x48dd95=_0x48dd95-0x0;var _0x56fc95=_0xe17e[_0x48dd95];return _0x56fc95;};'use strict';var _=require(_0xee17('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xee17('0x1'));var moment=require(_0xee17('0x2'));var BPromise=require(_0xee17('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xee17('0x4'));var config=require(_0xee17('0x5'));var attributes=require(_0xee17('0x6'));module[_0xee17('0x7')]=function(_0x3d0389,_0x3db71f){return _0x3d0389['define']('WhatsappApplication',attributes,{'tableName':_0xee17('0x8'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xee17('0x9'),'collate':_0xee17('0xa')});};