Built motion from commit (unavailable).|2.5.6
[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 _0x7e47=['lodash','util','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','exports','SquareProject','square_projects'];(function(_0x4aa04b,_0x1e9573){var _0x57486b=function(_0x192056){while(--_0x192056){_0x4aa04b['push'](_0x4aa04b['shift']());}};_0x57486b(++_0x1e9573);}(_0x7e47,0x18c));var _0x77e4=function(_0x30a0f2,_0x49c428){_0x30a0f2=_0x30a0f2-0x0;var _0x438582=_0x7e47[_0x30a0f2];return _0x438582;};'use strict';var _=require(_0x77e4('0x0'));var util=require(_0x77e4('0x1'));var logger=require(_0x77e4('0x2'))(_0x77e4('0x3'));var moment=require(_0x77e4('0x4'));var BPromise=require('bluebird');var rp=require(_0x77e4('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x77e4('0x6'));var config=require(_0x77e4('0x7'));var attributes=require('./squareProject.attributes');module[_0x77e4('0x8')]=function(_0x4fa87c,_0x2f4b14){return _0x4fa87c['define'](_0x77e4('0x9'),attributes,{'tableName':_0x77e4('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};