Built motion from commit 19a84241.|2.5.34
[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 _0x2bae=['bluebird','request-promise','rimraf','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','exports','define','DeskAccount','lodash','util','../../config/logger','api','moment'];(function(_0x3754b1,_0x17d248){var _0x468e2d=function(_0x3e16eb){while(--_0x3e16eb){_0x3754b1['push'](_0x3754b1['shift']());}};_0x468e2d(++_0x17d248);}(_0x2bae,0xb1));var _0xe2ba=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x2bae[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xe2ba('0x0'));var util=require(_0xe2ba('0x1'));var logger=require(_0xe2ba('0x2'))(_0xe2ba('0x3'));var moment=require(_0xe2ba('0x4'));var BPromise=require(_0xe2ba('0x5'));var rp=require(_0xe2ba('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe2ba('0x7'));var config=require(_0xe2ba('0x8'));var attributes=require(_0xe2ba('0x9'));var integrations=require(_0xe2ba('0xa'));module[_0xe2ba('0xb')]=function(_0x26b8e9,_0x4b5f7b){return _0x26b8e9[_0xe2ba('0xc')](_0xe2ba('0xd'),attributes,{'tableName':'int_desk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};