60398e8c45160ea9ce79b21dbf25381ce23f972e
[motion2.git] / server / api / squareProject / squareProject.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 _0x324b=['exports','SquareProject','square_projects','lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x1287b3,_0x58e7c9){var _0x5529ab=function(_0x182f0e){while(--_0x182f0e){_0x1287b3['push'](_0x1287b3['shift']());}};_0x5529ab(++_0x58e7c9);}(_0x324b,0xf5));var _0xb324=function(_0x374eeb,_0x18d4c1){_0x374eeb=_0x374eeb-0x0;var _0x1fbe76=_0x324b[_0x374eeb];return _0x1fbe76;};'use strict';var _=require(_0xb324('0x0'));var util=require(_0xb324('0x1'));var logger=require(_0xb324('0x2'))('api');var moment=require(_0xb324('0x3'));var BPromise=require('bluebird');var rp=require(_0xb324('0x4'));var fs=require('fs');var path=require(_0xb324('0x5'));var rimraf=require(_0xb324('0x6'));var config=require(_0xb324('0x7'));var attributes=require('./squareProject.attributes');module[_0xb324('0x8')]=function(_0x24d63d,_0xb302a6){return _0x24d63d['define'](_0xb324('0x9'),attributes,{'tableName':_0xb324('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};