Built motion from commit (unavailable).|2.2.4
[motion2.git] / server / api / smsAccount / smsAccount.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 _0x58a0=['Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','INTEGER','sequelize','randomstring','STRING','generate','twilio','skebby','connectel','clicksend','plivo','csc','infobip','intelepeer','ENUM','BOOLEAN','TEXT'];(function(_0x24f98b,_0x55e210){var _0x352d62=function(_0x306d67){while(--_0x306d67){_0x24f98b['push'](_0x24f98b['shift']());}};_0x352d62(++_0x55e210);}(_0x58a0,0xce));var _0x058a=function(_0xa84046,_0x456128){_0xa84046=_0xa84046-0x0;var _0x156dae=_0x58a0[_0xa84046];return _0x156dae;};'use strict';var Sequelize=require(_0x058a('0x0'));var rs=require(_0x058a('0x1'));module['exports']={'name':{'type':Sequelize[_0x058a('0x2')],'unique':'name','allowNull':![]},'key':{'type':Sequelize[_0x058a('0x2')],'allowNull':![]},'remote':{'type':Sequelize[_0x058a('0x2')],'allowNull':![]},'token':{'type':Sequelize[_0x058a('0x2')],'defaultValue':function(){return rs[_0x058a('0x3')]();}},'phone':{'type':Sequelize[_0x058a('0x2')]},'type':{'type':Sequelize['ENUM'](_0x058a('0x4'),_0x058a('0x5'),_0x058a('0x6'),_0x058a('0x7'),_0x058a('0x8'),'clickatell',_0x058a('0x9'),_0x058a('0xa'),_0x058a('0xb'))},'accountSid':{'type':Sequelize[_0x058a('0x2')]},'authId':{'type':Sequelize['STRING']},'authToken':{'type':Sequelize[_0x058a('0x2')]},'smsMethod':{'type':Sequelize[_0x058a('0xc')]('SI','TI','GP')},'username':{'type':Sequelize[_0x058a('0x2')]},'password':{'type':Sequelize[_0x058a('0x2')]},'apiKey':{'type':Sequelize[_0x058a('0x2')]},'senderString':{'type':Sequelize['STRING']},'deliveryReport':{'type':Sequelize[_0x058a('0xd')],'defaultValue':![]},'description':{'type':Sequelize[_0x058a('0x2')]},'notificationTemplate':{'type':Sequelize[_0x058a('0xe')],'defaultValue':function(){return _0x058a('0xf');}},'notificationSound':{'type':Sequelize[_0x058a('0xd')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x058a('0xd')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x058a('0x10')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x058a('0xd')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x058a('0x10')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x058a('0xd')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x058a('0x10')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize['STRING']}};