74cac9cc93b4daa9e0378c0b2d06362d1cd64f50
[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 _0x44e9=['DeskAccount','int_desk_accounts','lodash','util','../../config/logger','api','moment','request-promise','../../config/environment','./intDeskAccount.attributes'];(function(_0x3d93a0,_0x73f99a){var _0x233b91=function(_0x553b92){while(--_0x553b92){_0x3d93a0['push'](_0x3d93a0['shift']());}};_0x233b91(++_0x73f99a);}(_0x44e9,0x66));var _0x944e=function(_0x817495,_0x4aa026){_0x817495=_0x817495-0x0;var _0x5ea7e0=_0x44e9[_0x817495];return _0x5ea7e0;};'use strict';var _=require(_0x944e('0x0'));var util=require(_0x944e('0x1'));var logger=require(_0x944e('0x2'))(_0x944e('0x3'));var moment=require(_0x944e('0x4'));var BPromise=require('bluebird');var rp=require(_0x944e('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x944e('0x6'));var attributes=require(_0x944e('0x7'));var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x318848,_0x5b52a5){return _0x318848['define'](_0x944e('0x8'),attributes,{'tableName':_0x944e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};