a3b95809f2c6b47383dda512797940658e59303e
[motion2.git] / server / api / intDeskAccount / intDeskAccount.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 _0x3ad1=['exports','define','lodash','util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration'];(function(_0x13409a,_0x8f949e){var _0x12815b=function(_0x4ee9ab){while(--_0x4ee9ab){_0x13409a['push'](_0x13409a['shift']());}};_0x12815b(++_0x8f949e);}(_0x3ad1,0xf2));var _0x13ad=function(_0x446c0d,_0x4473a7){_0x446c0d=_0x446c0d-0x0;var _0x16d1f4=_0x3ad1[_0x446c0d];return _0x16d1f4;};'use strict';var _=require(_0x13ad('0x0'));var util=require(_0x13ad('0x1'));var logger=require(_0x13ad('0x2'))(_0x13ad('0x3'));var moment=require(_0x13ad('0x4'));var BPromise=require(_0x13ad('0x5'));var rp=require(_0x13ad('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x13ad('0x7'));var attributes=require(_0x13ad('0x8'));var integrations=require(_0x13ad('0x9'));module[_0x13ad('0xa')]=function(_0x1651f4,_0xa99ab3){return _0x1651f4[_0x13ad('0xb')]('DeskAccount',attributes,{'tableName':'int_desk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};