0a74f4f01159e2fa8e5846545b3b7d0cd459b844
[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 _0x6ec1=['bluebird','request-promise','path','rimraf','../../config/environment','./whatsappAccount.attributes','define','WhatsappAccount','whatsapp_accounts','lodash','util','api','moment'];(function(_0x4a0a36,_0xe889f6){var _0x43d732=function(_0x23c4c8){while(--_0x23c4c8){_0x4a0a36['push'](_0x4a0a36['shift']());}};_0x43d732(++_0xe889f6);}(_0x6ec1,0x1ea));var _0x16ec=function(_0x4a8e6e,_0x5cf07f){_0x4a8e6e=_0x4a8e6e-0x0;var _0x38d1fe=_0x6ec1[_0x4a8e6e];return _0x38d1fe;};'use strict';var _=require(_0x16ec('0x0'));var util=require(_0x16ec('0x1'));var logger=require('../../config/logger')(_0x16ec('0x2'));var moment=require(_0x16ec('0x3'));var BPromise=require(_0x16ec('0x4'));var rp=require(_0x16ec('0x5'));var fs=require('fs');var path=require(_0x16ec('0x6'));var rimraf=require(_0x16ec('0x7'));var config=require(_0x16ec('0x8'));var attributes=require(_0x16ec('0x9'));module['exports']=function(_0x100f87,_0x1ae60c){return _0x100f87[_0x16ec('0xa')](_0x16ec('0xb'),attributes,{'tableName':_0x16ec('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};