Built motion from commit (unavailable).|2.4.17
[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 _0x25c0=['bluebird','request-promise','rimraf','./squareProject.attributes','exports','define','SquareProject','square_projects','util','../../config/logger','api'];(function(_0x44a32b,_0x4160a3){var _0x3ea13e=function(_0x89e9b7){while(--_0x89e9b7){_0x44a32b['push'](_0x44a32b['shift']());}};_0x3ea13e(++_0x4160a3);}(_0x25c0,0x1aa));var _0x025c=function(_0x219acf,_0x5cedbb){_0x219acf=_0x219acf-0x0;var _0x5f1b7b=_0x25c0[_0x219acf];return _0x5f1b7b;};'use strict';var _=require('lodash');var util=require(_0x025c('0x0'));var logger=require(_0x025c('0x1'))(_0x025c('0x2'));var moment=require('moment');var BPromise=require(_0x025c('0x3'));var rp=require(_0x025c('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x025c('0x5'));var config=require('../../config/environment');var attributes=require(_0x025c('0x6'));module[_0x025c('0x7')]=function(_0x3e3b82,_0x5e4951){return _0x3e3b82[_0x025c('0x8')](_0x025c('0x9'),attributes,{'tableName':_0x025c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};