Built motion from commit (unavailable).|2.4.19
[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 _0x82ef=['define','SquareProject','square_projects','lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','exports'];(function(_0x2f29f3,_0x576e05){var _0x4b3a56=function(_0x49da19){while(--_0x49da19){_0x2f29f3['push'](_0x2f29f3['shift']());}};_0x4b3a56(++_0x576e05);}(_0x82ef,0x1b3));var _0xf82e=function(_0x2117b0,_0x2a813b){_0x2117b0=_0x2117b0-0x0;var _0x5e49e6=_0x82ef[_0x2117b0];return _0x5e49e6;};'use strict';var _=require(_0xf82e('0x0'));var util=require(_0xf82e('0x1'));var logger=require('../../config/logger')(_0xf82e('0x2'));var moment=require(_0xf82e('0x3'));var BPromise=require(_0xf82e('0x4'));var rp=require(_0xf82e('0x5'));var fs=require('fs');var path=require(_0xf82e('0x6'));var rimraf=require('rimraf');var config=require(_0xf82e('0x7'));var attributes=require('./squareProject.attributes');module[_0xf82e('0x8')]=function(_0x3fea1e,_0x16ffe4){return _0x3fea1e[_0xf82e('0x9')](_0xf82e('0xa'),attributes,{'tableName':_0xf82e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};