2b4aa5f985346ddb336ecebe83bcac9d9ecce880
[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 _0x1bd3=['./cmCustomField.attributes','define','CmCustomField','lodash','util','../../config/logger','api','moment','bluebird','path','../../config/environment'];(function(_0x442a85,_0xdd39c9){var _0xfb5448=function(_0x163c75){while(--_0x163c75){_0x442a85['push'](_0x442a85['shift']());}};_0xfb5448(++_0xdd39c9);}(_0x1bd3,0x14d));var _0x31bd=function(_0x491887,_0x2e9e15){_0x491887=_0x491887-0x0;var _0x2c1d9e=_0x1bd3[_0x491887];return _0x2c1d9e;};'use strict';var _=require(_0x31bd('0x0'));var util=require(_0x31bd('0x1'));var logger=require(_0x31bd('0x2'))(_0x31bd('0x3'));var moment=require(_0x31bd('0x4'));var BPromise=require(_0x31bd('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x31bd('0x6'));var rimraf=require('rimraf');var config=require(_0x31bd('0x7'));var attributes=require(_0x31bd('0x8'));module['exports']=function(_0x4c6347,_0x61d05){return _0x4c6347[_0x31bd('0x9')](_0x31bd('0xa'),attributes,{'tableName':'cm_custom_fields','paranoid':!![],'indexes':[],'timestamps':!![]});};