Built motion from commit (unavailable).|2.5.22
[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 _0xb876=['request-promise','../../config/environment','./whatsappAccount.attributes','WhatsappAccount','whatsapp_accounts','lodash','util','../../config/logger'];(function(_0x388f3c,_0x41a582){var _0x53f2bd=function(_0x44ab18){while(--_0x44ab18){_0x388f3c['push'](_0x388f3c['shift']());}};_0x53f2bd(++_0x41a582);}(_0xb876,0x115));var _0x6b87=function(_0x5c247a,_0x5e506f){_0x5c247a=_0x5c247a-0x0;var _0x325656=_0xb876[_0x5c247a];return _0x325656;};'use strict';var _=require(_0x6b87('0x0'));var util=require(_0x6b87('0x1'));var logger=require(_0x6b87('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x6b87('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x6b87('0x4'));var attributes=require(_0x6b87('0x5'));module['exports']=function(_0x34173c,_0x48f4dc){return _0x34173c['define'](_0x6b87('0x6'),attributes,{'tableName':_0x6b87('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};