47d751285e2e1e548945e0cc342afe671c27d211
[motion2.git] / server / api / cmCompany / cmCompany.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 _0x0ab1=['bluebird','request-promise','path','./cmCompany.attributes','exports','define','util','../../config/logger','api','moment'];(function(_0x3339e0,_0x47ff5c){var _0x21072e=function(_0x531cd8){while(--_0x531cd8){_0x3339e0['push'](_0x3339e0['shift']());}};_0x21072e(++_0x47ff5c);}(_0x0ab1,0xce));var _0x10ab=function(_0x16cf7d,_0x54bc4e){_0x16cf7d=_0x16cf7d-0x0;var _0x3ad54d=_0x0ab1[_0x16cf7d];return _0x3ad54d;};'use strict';var _=require('lodash');var util=require(_0x10ab('0x0'));var logger=require(_0x10ab('0x1'))(_0x10ab('0x2'));var moment=require(_0x10ab('0x3'));var BPromise=require(_0x10ab('0x4'));var rp=require(_0x10ab('0x5'));var fs=require('fs');var path=require(_0x10ab('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x10ab('0x7'));module[_0x10ab('0x8')]=function(_0x503d22,_0x936db1){return _0x503d22[_0x10ab('0x9')]('CmCompany',attributes,{'tableName':'cm_companies','paranoid':![],'indexes':[],'timestamps':!![]});};