1eb95be2a53233a22ff7df9956e0f85992f56001
[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 _0xe202=['path','rimraf','../../config/environment','./cmCustomField.attributes','exports','CmCustomField','lodash','util','../../config/logger','moment','request-promise'];(function(_0x5c64e9,_0x28606c){var _0x4cd4ff=function(_0x3ccdd2){while(--_0x3ccdd2){_0x5c64e9['push'](_0x5c64e9['shift']());}};_0x4cd4ff(++_0x28606c);}(_0xe202,0x95));var _0x2e20=function(_0x455249,_0x462a02){_0x455249=_0x455249-0x0;var _0x5701ce=_0xe202[_0x455249];return _0x5701ce;};'use strict';var _=require(_0x2e20('0x0'));var util=require(_0x2e20('0x1'));var logger=require(_0x2e20('0x2'))('api');var moment=require(_0x2e20('0x3'));var BPromise=require('bluebird');var rp=require(_0x2e20('0x4'));var fs=require('fs');var path=require(_0x2e20('0x5'));var rimraf=require(_0x2e20('0x6'));var config=require(_0x2e20('0x7'));var attributes=require(_0x2e20('0x8'));module[_0x2e20('0x9')]=function(_0x7835a7,_0x3fe1a1){return _0x7835a7['define'](_0x2e20('0xa'),attributes,{'tableName':'cm_custom_fields','paranoid':!![],'indexes':[],'timestamps':!![]});};