Built motion from commit (unavailable).|2.4.18
[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 _0xc49f=['./cmCustomField.attributes','define','cm_custom_fields','lodash','util','../../config/logger','api','request-promise','path','rimraf'];(function(_0x2fedac,_0x167b72){var _0x30a70c=function(_0x378c80){while(--_0x378c80){_0x2fedac['push'](_0x2fedac['shift']());}};_0x30a70c(++_0x167b72);}(_0xc49f,0x11b));var _0xfc49=function(_0x5d0cca,_0x3c46ef){_0x5d0cca=_0x5d0cca-0x0;var _0x10a5f1=_0xc49f[_0x5d0cca];return _0x10a5f1;};'use strict';var _=require(_0xfc49('0x0'));var util=require(_0xfc49('0x1'));var logger=require(_0xfc49('0x2'))(_0xfc49('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xfc49('0x4'));var fs=require('fs');var path=require(_0xfc49('0x5'));var rimraf=require(_0xfc49('0x6'));var config=require('../../config/environment');var attributes=require(_0xfc49('0x7'));module['exports']=function(_0x3f6fb7,_0x127df1){return _0x3f6fb7[_0xfc49('0x8')]('CmCustomField',attributes,{'tableName':_0xfc49('0x9'),'paranoid':!![],'indexes':[],'timestamps':!![]});};