Built motion from commit b0a9a629.|2.6.33
[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 _0x3dd5=['lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./cmCustomField.attributes','exports','define','CmCustomField','cm_custom_fields'];(function(_0x30fd92,_0x189af4){var _0x593db6=function(_0x52f823){while(--_0x52f823){_0x30fd92['push'](_0x30fd92['shift']());}};_0x593db6(++_0x189af4);}(_0x3dd5,0x1d4));var _0x53dd=function(_0x4f98be,_0x10663b){_0x4f98be=_0x4f98be-0x0;var _0x44a29c=_0x3dd5[_0x4f98be];return _0x44a29c;};'use strict';var _=require(_0x53dd('0x0'));var util=require(_0x53dd('0x1'));var logger=require(_0x53dd('0x2'))(_0x53dd('0x3'));var moment=require(_0x53dd('0x4'));var BPromise=require(_0x53dd('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x53dd('0x6'));var config=require(_0x53dd('0x7'));var attributes=require(_0x53dd('0x8'));module[_0x53dd('0x9')]=function(_0x1da4c6,_0x4554d2){return _0x1da4c6[_0x53dd('0xa')](_0x53dd('0xb'),attributes,{'tableName':_0x53dd('0xc'),'paranoid':!![],'indexes':[],'timestamps':!![]});};