Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / api / intZendeskField / intZendeskField.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 _0xa50e=['./intZendeskField.attributes','exports','ZendeskField','int_zendesk_fields','zendesk_unique_index','idField','FieldId','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x306ff0,_0x724c79){var _0x3b114c=function(_0x28281b){while(--_0x28281b){_0x306ff0['push'](_0x306ff0['shift']());}};_0x3b114c(++_0x724c79);}(_0xa50e,0x177));var _0xea50=function(_0x2d96c0,_0x2af5c8){_0x2d96c0=_0x2d96c0-0x0;var _0x193e83=_0xa50e[_0x2d96c0];return _0x193e83;};'use strict';var _=require(_0xea50('0x0'));var util=require(_0xea50('0x1'));var logger=require('../../config/logger')(_0xea50('0x2'));var moment=require(_0xea50('0x3'));var BPromise=require(_0xea50('0x4'));var rp=require(_0xea50('0x5'));var fs=require('fs');var path=require(_0xea50('0x6'));var rimraf=require(_0xea50('0x7'));var config=require(_0xea50('0x8'));var attributes=require(_0xea50('0x9'));module[_0xea50('0xa')]=function(_0x3b15a6,_0x44420f){return _0x3b15a6['define'](_0xea50('0xb'),attributes,{'tableName':_0xea50('0xc'),'paranoid':![],'indexes':[{'name':_0xea50('0xd'),'fields':[_0xea50('0xe'),_0xea50('0xf')],'unique':!![]}],'timestamps':!![]});};