1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x73cb=['request-promise','rimraf','./cmCustomField.attributes','exports','cm_custom_fields','lodash','util','../../config/logger','api'];(function(_0x4f9673,_0x4313bd){var _0x337e5e=function(_0x5677cf){while(--_0x5677cf){_0x4f9673['push'](_0x4f9673['shift']());}};_0x337e5e(++_0x4313bd);}(_0x73cb,0x101));var _0xb73c=function(_0x21aed4,_0x395b69){_0x21aed4=_0x21aed4-0x0;var _0x4eed15=_0x73cb[_0x21aed4];return _0x4eed15;};'use strict';var _=require(_0xb73c('0x0'));var util=require(_0xb73c('0x1'));var logger=require(_0xb73c('0x2'))(_0xb73c('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xb73c('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb73c('0x5'));var config=require('../../config/environment');var attributes=require(_0xb73c('0x6'));module[_0xb73c('0x7')]=function(_0x4d023e,_0xd25ece){return _0x4d023e['define']('CmCustomField',attributes,{'tableName':_0xb73c('0x8'),'paranoid':!![],'indexes':[],'timestamps':!![]});};