d3c508933b919bf2b64515b2c5314d729493e482
[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 _0x3a1e=['DeskAccount','int_desk_accounts','lodash','util','../../config/logger','api','moment','bluebird','path','./intDeskAccount.attributes','../../components/integrations/configuration','exports'];(function(_0x2289ee,_0x53304a){var _0x3aded4=function(_0x33ce0e){while(--_0x33ce0e){_0x2289ee['push'](_0x2289ee['shift']());}};_0x3aded4(++_0x53304a);}(_0x3a1e,0xc2));var _0xe3a1=function(_0xfd9b19,_0x21d75f){_0xfd9b19=_0xfd9b19-0x0;var _0x514918=_0x3a1e[_0xfd9b19];return _0x514918;};'use strict';var _=require(_0xe3a1('0x0'));var util=require(_0xe3a1('0x1'));var logger=require(_0xe3a1('0x2'))(_0xe3a1('0x3'));var moment=require(_0xe3a1('0x4'));var BPromise=require(_0xe3a1('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe3a1('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xe3a1('0x7'));var integrations=require(_0xe3a1('0x8'));module[_0xe3a1('0x9')]=function(_0x8bc1f2,_0x29e631){return _0x8bc1f2['define'](_0xe3a1('0xa'),attributes,{'tableName':_0xe3a1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};