File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " unoapi-cloud" ,
3
- "version" : " 2.1 .0" ,
3
+ "version" : " 2.2 .0" ,
4
4
"description" : " Unoapi Cloud" ,
5
5
"exports" : " ./dist/index.js" ,
6
6
"types" : " ./dist/index.d.ts" ,
Original file line number Diff line number Diff line change 200
200
< table id ="sessionsTable " class ="table table-striped table-bordered d-none " style ="width: 100%; ">
201
201
< thead >
202
202
< tr >
203
+ < th > Identificação</ th >
203
204
< th > Número</ th >
204
205
< th > Status</ th >
205
206
< th > Server</ th >
@@ -244,6 +245,10 @@ <h5 class="modal-title" id="editModalLabel">Editar/Adicionar Sessão</h5>
244
245
< div class ="modal-body ">
245
246
< form id ="editForm ">
246
247
< div class ="row edit-form-row ">
248
+ < div class ="col-12 col-md-12 col-lg-6 ">
249
+ < label for ="label " class ="form-label "> Identificação</ label >
250
+ < input type ="text " class ="form-control " id ="label " name ="lavel " placeholder ="Identificação ">
251
+ </ div >
247
252
< div class ="col-12 col-md-12 col-lg-6 ">
248
253
< label for ="authToken " class ="form-label "> Auth Token</ label >
249
254
< input type ="text " class ="form-control " id ="authToken " name ="authToken " placeholder ="Auth Token ">
@@ -644,6 +649,7 @@ <h5 class="modal-title" id="connectModalLabel">Conectar Sessão</h5>
644
649
645
650
sessions . forEach ( session => {
646
651
table . row . add ( [
652
+ session . label ,
647
653
session . display_phone_number ,
648
654
session . status ,
649
655
session . server ,
@@ -789,6 +795,7 @@ <h5 class="modal-title" id="connectModalLabel">Conectar Sessão</h5>
789
795
790
796
if ( token && number ) {
791
797
const sessionData = {
798
+ label : $ ( '#label' ) . val ( ) ,
792
799
authToken : $ ( '#authToken' ) . val ( ) ,
793
800
wavoipToken : $ ( '#wavoipToken' ) . val ( ) ,
794
801
rejectCalls : $ ( '#rejectCalls' ) . val ( ) ,
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ export type Config = {
77
77
useRedis : boolean
78
78
useS3 : boolean
79
79
qrTimeoutMs : number
80
+ label : string
80
81
}
81
82
82
83
export const defaultConfig : Config = {
@@ -135,7 +136,8 @@ export const defaultConfig: Config = {
135
136
wavoipToken : '' ,
136
137
useRedis : false ,
137
138
useS3 : false ,
138
- qrTimeoutMs : 60000
139
+ qrTimeoutMs : 60000 ,
140
+ label : '' ,
139
141
}
140
142
141
143
export interface getConfig {
You can’t perform that action at this time.
0 commit comments