Built motion from commit (unavailable).|2.5.4
[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 _0xffe6=['define','SquareProject','square_projects','lodash','util','../../config/logger','bluebird','request-promise','rimraf','../../config/environment','exports'];(function(_0x35885a,_0x42fed7){var _0xe86249=function(_0x98edb3){while(--_0x98edb3){_0x35885a['push'](_0x35885a['shift']());}};_0xe86249(++_0x42fed7);}(_0xffe6,0x100));var _0x6ffe=function(_0x21f20e,_0xfe1b82){_0x21f20e=_0x21f20e-0x0;var _0x5015e0=_0xffe6[_0x21f20e];return _0x5015e0;};'use strict';var _=require(_0x6ffe('0x0'));var util=require(_0x6ffe('0x1'));var logger=require(_0x6ffe('0x2'))('api');var moment=require('moment');var BPromise=require(_0x6ffe('0x3'));var rp=require(_0x6ffe('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6ffe('0x5'));var config=require(_0x6ffe('0x6'));var attributes=require('./squareProject.attributes');module[_0x6ffe('0x7')]=function(_0x1beb79,_0x364607){return _0x1beb79[_0x6ffe('0x8')](_0x6ffe('0x9'),attributes,{'tableName':_0x6ffe('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};