Built motion from commit (unavailable).|2.5.25
[motion2.git] / server / api / cmCompany / cmCompany.attributes.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 _0xe237=['exports','STRING','name'];(function(_0x12beaf,_0xf1274a){var _0x583a2d=function(_0x1c26e0){while(--_0x1c26e0){_0x12beaf['push'](_0x12beaf['shift']());}};_0x583a2d(++_0xf1274a);}(_0xe237,0x16e));var _0x7e23=function(_0x2cc07c,_0x56858){_0x2cc07c=_0x2cc07c-0x0;var _0x47c3b6=_0xe237[_0x2cc07c];return _0x47c3b6;};'use strict';var Sequelize=require('sequelize');module[_0x7e23('0x0')]={'name':{'type':Sequelize[_0x7e23('0x1')],'unique':_0x7e23('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0x7e23('0x1')]},'website':{'type':Sequelize[_0x7e23('0x1')]},'phone':{'type':Sequelize[_0x7e23('0x1')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x7e23('0x1')]},'street':{'type':Sequelize[_0x7e23('0x1')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x7e23('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x7e23('0x1')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x7e23('0x1')]},'sCity':{'type':Sequelize[_0x7e23('0x1')]},'sCountry':{'type':Sequelize[_0x7e23('0x1')]},'description':{'type':Sequelize['STRING']}};