Built motion from commit (unavailable).|2.5.11
[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 _0x60bc=['./intDeskAccount.attributes','exports','int_desk_accounts','lodash','util','api','moment','request-promise','rimraf','../../config/environment'];(function(_0x98ea38,_0x2135e3){var _0x42f711=function(_0x331b62){while(--_0x331b62){_0x98ea38['push'](_0x98ea38['shift']());}};_0x42f711(++_0x2135e3);}(_0x60bc,0x111));var _0xc60b=function(_0x2f227c,_0x360c3a){_0x2f227c=_0x2f227c-0x0;var _0x5032bc=_0x60bc[_0x2f227c];return _0x5032bc;};'use strict';var _=require(_0xc60b('0x0'));var util=require(_0xc60b('0x1'));var logger=require('../../config/logger')(_0xc60b('0x2'));var moment=require(_0xc60b('0x3'));var BPromise=require('bluebird');var rp=require(_0xc60b('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc60b('0x5'));var config=require(_0xc60b('0x6'));var attributes=require(_0xc60b('0x7'));var integrations=require('../../components/integrations/configuration');module[_0xc60b('0x8')]=function(_0x5f211b,_0x2c97ed){return _0x5f211b['define']('DeskAccount',attributes,{'tableName':_0xc60b('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};