Built motion from commit (unavailable).|2.5.17
[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 _0x43df=['lodash','util','api','moment','bluebird','request-promise','./intDeskAccount.attributes','../../components/integrations/configuration','exports','define','DeskAccount','int_desk_accounts'];(function(_0x507fa5,_0x44ef5f){var _0x540ec4=function(_0x5439df){while(--_0x5439df){_0x507fa5['push'](_0x507fa5['shift']());}};_0x540ec4(++_0x44ef5f);}(_0x43df,0x1a4));var _0xf43d=function(_0x3917f0,_0xf857f6){_0x3917f0=_0x3917f0-0x0;var _0x5a2c29=_0x43df[_0x3917f0];return _0x5a2c29;};'use strict';var _=require(_0xf43d('0x0'));var util=require(_0xf43d('0x1'));var logger=require('../../config/logger')(_0xf43d('0x2'));var moment=require(_0xf43d('0x3'));var BPromise=require(_0xf43d('0x4'));var rp=require(_0xf43d('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xf43d('0x6'));var integrations=require(_0xf43d('0x7'));module[_0xf43d('0x8')]=function(_0x3d6619,_0x5a7598){return _0x3d6619[_0xf43d('0x9')](_0xf43d('0xa'),attributes,{'tableName':_0xf43d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};