Built motion from commit (unavailable).|2.4.18
[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 _0x2f52=['SquareProject','square_projects','lodash','util','api','bluebird','request-promise','path','rimraf','../../config/environment','./squareProject.attributes','define'];(function(_0x4e8a59,_0x32bc84){var _0x22ba3e=function(_0x187e2f){while(--_0x187e2f){_0x4e8a59['push'](_0x4e8a59['shift']());}};_0x22ba3e(++_0x32bc84);}(_0x2f52,0x1a6));var _0x22f5=function(_0x5837a4,_0x15c0f7){_0x5837a4=_0x5837a4-0x0;var _0x1feb62=_0x2f52[_0x5837a4];return _0x1feb62;};'use strict';var _=require(_0x22f5('0x0'));var util=require(_0x22f5('0x1'));var logger=require('../../config/logger')(_0x22f5('0x2'));var moment=require('moment');var BPromise=require(_0x22f5('0x3'));var rp=require(_0x22f5('0x4'));var fs=require('fs');var path=require(_0x22f5('0x5'));var rimraf=require(_0x22f5('0x6'));var config=require(_0x22f5('0x7'));var attributes=require(_0x22f5('0x8'));module['exports']=function(_0xc4a3ef,_0x50924c){return _0xc4a3ef[_0x22f5('0x9')](_0x22f5('0xa'),attributes,{'tableName':_0x22f5('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};