2b816fdb1a24cb2feb682c6252471496734c8d95
[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 _0x4dde=['rimraf','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','exports','define','DeskAccount','int_desk_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0xf0d608,_0xd9fa13){var _0x2243b5=function(_0x3f4e28){while(--_0x3f4e28){_0xf0d608['push'](_0xf0d608['shift']());}};_0x2243b5(++_0xd9fa13);}(_0x4dde,0xb8));var _0xe4dd=function(_0x4ee4e6,_0x48f923){_0x4ee4e6=_0x4ee4e6-0x0;var _0x38450c=_0x4dde[_0x4ee4e6];return _0x38450c;};'use strict';var _=require(_0xe4dd('0x0'));var util=require(_0xe4dd('0x1'));var logger=require(_0xe4dd('0x2'))(_0xe4dd('0x3'));var moment=require(_0xe4dd('0x4'));var BPromise=require(_0xe4dd('0x5'));var rp=require(_0xe4dd('0x6'));var fs=require('fs');var path=require(_0xe4dd('0x7'));var rimraf=require(_0xe4dd('0x8'));var config=require(_0xe4dd('0x9'));var attributes=require(_0xe4dd('0xa'));var integrations=require(_0xe4dd('0xb'));module[_0xe4dd('0xc')]=function(_0x2c9de4,_0x27952b){return _0x2c9de4[_0xe4dd('0xd')](_0xe4dd('0xe'),attributes,{'tableName':_0xe4dd('0xf'),'paranoid':![],'indexes':[],'timestamps':!![]});};