Built motion from commit (unavailable).|2.5.9
[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 _0x4c73=['./squareProject.attributes','exports','SquareProject','square_projects','lodash','../../config/logger','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x58e4b5,_0x3f7e2b){var _0x359ee0=function(_0x1610ea){while(--_0x1610ea){_0x58e4b5['push'](_0x58e4b5['shift']());}};_0x359ee0(++_0x3f7e2b);}(_0x4c73,0xe0));var _0x34c7=function(_0x1ddafa,_0x186d89){_0x1ddafa=_0x1ddafa-0x0;var _0x3ede07=_0x4c73[_0x1ddafa];return _0x3ede07;};'use strict';var _=require(_0x34c7('0x0'));var util=require('util');var logger=require(_0x34c7('0x1'))('api');var moment=require(_0x34c7('0x2'));var BPromise=require(_0x34c7('0x3'));var rp=require(_0x34c7('0x4'));var fs=require('fs');var path=require(_0x34c7('0x5'));var rimraf=require('rimraf');var config=require(_0x34c7('0x6'));var attributes=require(_0x34c7('0x7'));module[_0x34c7('0x8')]=function(_0x701f7b,_0x40e02b){return _0x701f7b['define'](_0x34c7('0x9'),attributes,{'tableName':_0x34c7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};