Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / saUnitMeasure / saUnitMeasure.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 _0xb018=['moment','bluebird','request-promise','rimraf','../../config/environment','./saUnitMeasure.attributes','exports','define','SAUnitMeasure','lodash','../../config/logger','api'];(function(_0x4e64b7,_0x12f8fa){var _0x3e9500=function(_0xcb35ff){while(--_0xcb35ff){_0x4e64b7['push'](_0x4e64b7['shift']());}};_0x3e9500(++_0x12f8fa);}(_0xb018,0x111));var _0x8b01=function(_0x42eb29,_0x3ff9ac){_0x42eb29=_0x42eb29-0x0;var _0x455beb=_0xb018[_0x42eb29];return _0x455beb;};'use strict';var _=require(_0x8b01('0x0'));var util=require('util');var logger=require(_0x8b01('0x1'))(_0x8b01('0x2'));var moment=require(_0x8b01('0x3'));var BPromise=require(_0x8b01('0x4'));var rp=require(_0x8b01('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8b01('0x6'));var config=require(_0x8b01('0x7'));var attributes=require(_0x8b01('0x8'));module[_0x8b01('0x9')]=function(_0x82ef3f,_0x2e4688){return _0x82ef3f[_0x8b01('0xa')](_0x8b01('0xb'),attributes,{'tableName':'sa_unit_measures','paranoid':![],'indexes':[],'timestamps':!![]});};