Built motion from commit (unavailable).|2.5.11
[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 _0x76a5=['request-promise','path','rimraf','../../config/environment','./whatsappApplication.attributes','whatsapp_applications','utf8mb4','utf8mb4_unicode_ci','util','../../config/logger','api','moment','bluebird'];(function(_0x1a8b2d,_0x3e430a){var _0x64034a=function(_0xbff193){while(--_0xbff193){_0x1a8b2d['push'](_0x1a8b2d['shift']());}};_0x64034a(++_0x3e430a);}(_0x76a5,0xf2));var _0x576a=function(_0x8567ae,_0x118fcf){_0x8567ae=_0x8567ae-0x0;var _0x2f9e9b=_0x76a5[_0x8567ae];return _0x2f9e9b;};'use strict';var _=require('lodash');var util=require(_0x576a('0x0'));var logger=require(_0x576a('0x1'))(_0x576a('0x2'));var moment=require(_0x576a('0x3'));var BPromise=require(_0x576a('0x4'));var rp=require(_0x576a('0x5'));var fs=require('fs');var path=require(_0x576a('0x6'));var rimraf=require(_0x576a('0x7'));var config=require(_0x576a('0x8'));var attributes=require(_0x576a('0x9'));module['exports']=function(_0x44eeeb,_0x22f8bc){return _0x44eeeb['define']('WhatsappApplication',attributes,{'tableName':_0x576a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x576a('0xb'),'collate':_0x576a('0xc')});};