Built motion from commit (unavailable).|2.5.14
[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 _0xcead=['request-promise','path','rimraf','../../config/environment','define','WhatsappApplication','utf8mb4','utf8mb4_unicode_ci','../../config/logger','api','moment'];(function(_0xc7c4b5,_0x36bcf2){var _0x22a7a9=function(_0x3425f8){while(--_0x3425f8){_0xc7c4b5['push'](_0xc7c4b5['shift']());}};_0x22a7a9(++_0x36bcf2);}(_0xcead,0x194));var _0xdcea=function(_0x2e9a63,_0xcb23f1){_0x2e9a63=_0x2e9a63-0x0;var _0x130ea5=_0xcead[_0x2e9a63];return _0x130ea5;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xdcea('0x0'))(_0xdcea('0x1'));var moment=require(_0xdcea('0x2'));var BPromise=require('bluebird');var rp=require(_0xdcea('0x3'));var fs=require('fs');var path=require(_0xdcea('0x4'));var rimraf=require(_0xdcea('0x5'));var config=require(_0xdcea('0x6'));var attributes=require('./whatsappApplication.attributes');module['exports']=function(_0x377c6c,_0x15ec3a){return _0x377c6c[_0xdcea('0x7')](_0xdcea('0x8'),attributes,{'tableName':'whatsapp_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xdcea('0x9'),'collate':_0xdcea('0xa')});};