Built motion from commit (unavailable).|2.5.10
[motion2.git] / server / api / cmCustomField / cmCustomField.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 _0xec31=['../../config/environment','./cmCustomField.attributes','exports','define','lodash','../../config/logger','api','bluebird','request-promise','path','rimraf'];(function(_0x505045,_0x2a3755){var _0x17454e=function(_0x38cb59){while(--_0x38cb59){_0x505045['push'](_0x505045['shift']());}};_0x17454e(++_0x2a3755);}(_0xec31,0xd5));var _0x1ec3=function(_0x2c1d51,_0x4b67ec){_0x2c1d51=_0x2c1d51-0x0;var _0x2d623a=_0xec31[_0x2c1d51];return _0x2d623a;};'use strict';var _=require(_0x1ec3('0x0'));var util=require('util');var logger=require(_0x1ec3('0x1'))(_0x1ec3('0x2'));var moment=require('moment');var BPromise=require(_0x1ec3('0x3'));var rp=require(_0x1ec3('0x4'));var fs=require('fs');var path=require(_0x1ec3('0x5'));var rimraf=require(_0x1ec3('0x6'));var config=require(_0x1ec3('0x7'));var attributes=require(_0x1ec3('0x8'));module[_0x1ec3('0x9')]=function(_0x28b7be,_0x5ddd9b){return _0x28b7be[_0x1ec3('0xa')]('CmCustomField',attributes,{'tableName':'cm_custom_fields','paranoid':!![],'indexes':[],'timestamps':!![]});};