@azure/web-pubsub 1.1.3-alpha.20240528.1 → 1.1.4-alpha.20240814.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +393 -375
- package/dist/index.js.map +1 -1
- package/dist-esm/src/generated/generatedClient.js +4 -4
- package/dist-esm/src/generated/generatedClient.js.map +1 -1
- package/dist-esm/src/generated/generatedClientContext.js +1 -1
- package/dist-esm/src/generated/generatedClientContext.js.map +1 -1
- package/dist-esm/src/generated/models/index.js +8 -0
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +160 -160
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/models/parameters.js +106 -96
- package/dist-esm/src/generated/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/operations/healthApi.js +1 -1
- package/dist-esm/src/generated/operations/healthApi.js.map +1 -1
- package/dist-esm/src/generated/operations/webPubSub.js +108 -107
- package/dist-esm/src/generated/operations/webPubSub.js.map +1 -1
- package/dist-esm/src/generated/operationsInterfaces/healthApi.js.map +1 -1
- package/dist-esm/src/generated/operationsInterfaces/webPubSub.js.map +1 -1
- package/dist-esm/src/hubClient.js +15 -8
- package/dist-esm/src/hubClient.js.map +1 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/test/hubs.spec.js +11 -0
- package/dist-esm/test/hubs.spec.js.map +1 -1
- package/dist-esm/test/integration.spec.js +3 -3
- package/dist-esm/test/integration.spec.js.map +1 -1
- package/dist-esm/test/testEnv.js +0 -3
- package/dist-esm/test/testEnv.js.map +1 -1
- package/package.json +5 -5
- package/types/web-pubsub.d.ts +11 -0
@@ -70,7 +70,7 @@ export class WebPubSubImpl {
|
|
70
70
|
hub: args[0],
|
71
71
|
contentType: args[1],
|
72
72
|
message: args[2],
|
73
|
-
options: args[3]
|
73
|
+
options: args[3],
|
74
74
|
};
|
75
75
|
options = args[3];
|
76
76
|
}
|
@@ -80,7 +80,7 @@ export class WebPubSubImpl {
|
|
80
80
|
hub: args[0],
|
81
81
|
contentType: args[1],
|
82
82
|
message: args[2],
|
83
|
-
options: args[3]
|
83
|
+
options: args[3],
|
84
84
|
};
|
85
85
|
options = args[3];
|
86
86
|
}
|
@@ -126,7 +126,7 @@ export class WebPubSubImpl {
|
|
126
126
|
connectionId: args[1],
|
127
127
|
contentType: args[2],
|
128
128
|
message: args[3],
|
129
|
-
options: args[4]
|
129
|
+
options: args[4],
|
130
130
|
};
|
131
131
|
options = args[4];
|
132
132
|
}
|
@@ -137,7 +137,7 @@ export class WebPubSubImpl {
|
|
137
137
|
connectionId: args[1],
|
138
138
|
contentType: args[2],
|
139
139
|
message: args[3],
|
140
|
-
options: args[4]
|
140
|
+
options: args[4],
|
141
141
|
};
|
142
142
|
options = args[4];
|
143
143
|
}
|
@@ -193,7 +193,7 @@ export class WebPubSubImpl {
|
|
193
193
|
group: args[1],
|
194
194
|
contentType: args[2],
|
195
195
|
message: args[3],
|
196
|
-
options: args[4]
|
196
|
+
options: args[4],
|
197
197
|
};
|
198
198
|
options = args[4];
|
199
199
|
}
|
@@ -204,7 +204,7 @@ export class WebPubSubImpl {
|
|
204
204
|
group: args[1],
|
205
205
|
contentType: args[2],
|
206
206
|
message: args[3],
|
207
|
-
options: args[4]
|
207
|
+
options: args[4],
|
208
208
|
};
|
209
209
|
options = args[4];
|
210
210
|
}
|
@@ -305,7 +305,7 @@ export class WebPubSubImpl {
|
|
305
305
|
userId: args[1],
|
306
306
|
contentType: args[2],
|
307
307
|
message: args[3],
|
308
|
-
options: args[4]
|
308
|
+
options: args[4],
|
309
309
|
};
|
310
310
|
options = args[4];
|
311
311
|
}
|
@@ -316,7 +316,7 @@ export class WebPubSubImpl {
|
|
316
316
|
userId: args[1],
|
317
317
|
contentType: args[2],
|
318
318
|
message: args[3],
|
319
|
-
options: args[4]
|
319
|
+
options: args[4],
|
320
320
|
};
|
321
321
|
options = args[4];
|
322
322
|
}
|
@@ -368,15 +368,15 @@ const addConnectionsToGroupsOperationSpec = {
|
|
368
368
|
200: {},
|
369
369
|
default: {
|
370
370
|
bodyMapper: Mappers.ErrorDetail,
|
371
|
-
headersMapper: Mappers.WebPubSubAddConnectionsToGroupsExceptionHeaders
|
372
|
-
}
|
371
|
+
headersMapper: Mappers.WebPubSubAddConnectionsToGroupsExceptionHeaders,
|
372
|
+
},
|
373
373
|
},
|
374
374
|
requestBody: Parameters.groupsToAdd,
|
375
375
|
queryParameters: [Parameters.apiVersion],
|
376
376
|
urlParameters: [Parameters.endpoint, Parameters.hub],
|
377
377
|
headerParameters: [Parameters.contentType, Parameters.accept],
|
378
378
|
mediaType: "json",
|
379
|
-
serializer
|
379
|
+
serializer,
|
380
380
|
};
|
381
381
|
const closeAllConnectionsOperationSpec = {
|
382
382
|
path: "/api/hubs/{hub}/:closeConnections",
|
@@ -385,40 +385,41 @@ const closeAllConnectionsOperationSpec = {
|
|
385
385
|
204: {},
|
386
386
|
default: {
|
387
387
|
bodyMapper: Mappers.ErrorDetail,
|
388
|
-
headersMapper: Mappers.WebPubSubCloseAllConnectionsExceptionHeaders
|
389
|
-
}
|
388
|
+
headersMapper: Mappers.WebPubSubCloseAllConnectionsExceptionHeaders,
|
389
|
+
},
|
390
390
|
},
|
391
391
|
queryParameters: [
|
392
392
|
Parameters.apiVersion,
|
393
393
|
Parameters.excluded,
|
394
|
-
Parameters.reason
|
394
|
+
Parameters.reason,
|
395
395
|
],
|
396
396
|
urlParameters: [Parameters.endpoint, Parameters.hub],
|
397
397
|
headerParameters: [Parameters.accept],
|
398
|
-
serializer
|
398
|
+
serializer,
|
399
399
|
};
|
400
400
|
const generateClientTokenOperationSpec = {
|
401
401
|
path: "/api/hubs/{hub}/:generateToken",
|
402
402
|
httpMethod: "POST",
|
403
403
|
responses: {
|
404
404
|
200: {
|
405
|
-
bodyMapper: Mappers.ClientTokenResponse
|
405
|
+
bodyMapper: Mappers.ClientTokenResponse,
|
406
406
|
},
|
407
407
|
default: {
|
408
408
|
bodyMapper: Mappers.ErrorDetail,
|
409
|
-
headersMapper: Mappers.WebPubSubGenerateClientTokenExceptionHeaders
|
410
|
-
}
|
409
|
+
headersMapper: Mappers.WebPubSubGenerateClientTokenExceptionHeaders,
|
410
|
+
},
|
411
411
|
},
|
412
412
|
queryParameters: [
|
413
413
|
Parameters.apiVersion,
|
414
414
|
Parameters.userId,
|
415
415
|
Parameters.roles,
|
416
416
|
Parameters.expirationTimeInMinutes,
|
417
|
-
Parameters.groups
|
417
|
+
Parameters.groups,
|
418
|
+
Parameters.clientType,
|
418
419
|
],
|
419
420
|
urlParameters: [Parameters.endpoint, Parameters.hub],
|
420
421
|
headerParameters: [Parameters.accept1],
|
421
|
-
serializer
|
422
|
+
serializer,
|
422
423
|
};
|
423
424
|
const removeConnectionsFromGroupsOperationSpec = {
|
424
425
|
path: "/api/hubs/{hub}/:removeFromGroups",
|
@@ -427,15 +428,15 @@ const removeConnectionsFromGroupsOperationSpec = {
|
|
427
428
|
200: {},
|
428
429
|
default: {
|
429
430
|
bodyMapper: Mappers.ErrorDetail,
|
430
|
-
headersMapper: Mappers.WebPubSubRemoveConnectionsFromGroupsExceptionHeaders
|
431
|
-
}
|
431
|
+
headersMapper: Mappers.WebPubSubRemoveConnectionsFromGroupsExceptionHeaders,
|
432
|
+
},
|
432
433
|
},
|
433
434
|
requestBody: Parameters.groupsToRemove,
|
434
435
|
queryParameters: [Parameters.apiVersion],
|
435
436
|
urlParameters: [Parameters.endpoint, Parameters.hub],
|
436
437
|
headerParameters: [Parameters.contentType, Parameters.accept],
|
437
438
|
mediaType: "json",
|
438
|
-
serializer
|
439
|
+
serializer,
|
439
440
|
};
|
440
441
|
const sendToAll$binaryOperationSpec = {
|
441
442
|
path: "/api/hubs/{hub}/:send",
|
@@ -444,20 +445,20 @@ const sendToAll$binaryOperationSpec = {
|
|
444
445
|
202: {},
|
445
446
|
default: {
|
446
447
|
bodyMapper: Mappers.ErrorDetail,
|
447
|
-
headersMapper: Mappers.WebPubSubSendToAllExceptionHeaders
|
448
|
-
}
|
448
|
+
headersMapper: Mappers.WebPubSubSendToAllExceptionHeaders,
|
449
|
+
},
|
449
450
|
},
|
450
451
|
requestBody: Parameters.message,
|
451
452
|
queryParameters: [
|
452
453
|
Parameters.apiVersion,
|
453
454
|
Parameters.excludedConnections,
|
454
455
|
Parameters.filter,
|
455
|
-
Parameters.messageTtlSeconds
|
456
|
+
Parameters.messageTtlSeconds,
|
456
457
|
],
|
457
458
|
urlParameters: [Parameters.endpoint, Parameters.hub],
|
458
459
|
headerParameters: [Parameters.contentType1, Parameters.accept2],
|
459
460
|
mediaType: "binary",
|
460
|
-
serializer
|
461
|
+
serializer,
|
461
462
|
};
|
462
463
|
const sendToAll$textOperationSpec = {
|
463
464
|
path: "/api/hubs/{hub}/:send",
|
@@ -466,20 +467,20 @@ const sendToAll$textOperationSpec = {
|
|
466
467
|
202: {},
|
467
468
|
default: {
|
468
469
|
bodyMapper: Mappers.ErrorDetail,
|
469
|
-
headersMapper: Mappers.WebPubSubSendToAllExceptionHeaders
|
470
|
-
}
|
470
|
+
headersMapper: Mappers.WebPubSubSendToAllExceptionHeaders,
|
471
|
+
},
|
471
472
|
},
|
472
473
|
requestBody: Parameters.message1,
|
473
474
|
queryParameters: [
|
474
475
|
Parameters.apiVersion,
|
475
476
|
Parameters.excludedConnections,
|
476
477
|
Parameters.filter,
|
477
|
-
Parameters.messageTtlSeconds
|
478
|
+
Parameters.messageTtlSeconds,
|
478
479
|
],
|
479
480
|
urlParameters: [Parameters.endpoint, Parameters.hub],
|
480
481
|
headerParameters: [Parameters.contentType2, Parameters.accept3],
|
481
482
|
mediaType: "text",
|
482
|
-
serializer
|
483
|
+
serializer,
|
483
484
|
};
|
484
485
|
const closeConnectionOperationSpec = {
|
485
486
|
path: "/api/hubs/{hub}/connections/{connectionId}",
|
@@ -488,13 +489,13 @@ const closeConnectionOperationSpec = {
|
|
488
489
|
204: {},
|
489
490
|
default: {
|
490
491
|
bodyMapper: Mappers.ErrorDetail,
|
491
|
-
headersMapper: Mappers.WebPubSubCloseConnectionExceptionHeaders
|
492
|
-
}
|
492
|
+
headersMapper: Mappers.WebPubSubCloseConnectionExceptionHeaders,
|
493
|
+
},
|
493
494
|
},
|
494
495
|
queryParameters: [Parameters.apiVersion, Parameters.reason],
|
495
496
|
urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.connectionId],
|
496
497
|
headerParameters: [Parameters.accept],
|
497
|
-
serializer
|
498
|
+
serializer,
|
498
499
|
};
|
499
500
|
const connectionExistsOperationSpec = {
|
500
501
|
path: "/api/hubs/{hub}/connections/{connectionId}",
|
@@ -503,12 +504,12 @@ const connectionExistsOperationSpec = {
|
|
503
504
|
200: {},
|
504
505
|
404: {},
|
505
506
|
default: {
|
506
|
-
headersMapper: Mappers.WebPubSubConnectionExistsExceptionHeaders
|
507
|
-
}
|
507
|
+
headersMapper: Mappers.WebPubSubConnectionExistsExceptionHeaders,
|
508
|
+
},
|
508
509
|
},
|
509
510
|
queryParameters: [Parameters.apiVersion],
|
510
511
|
urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.connectionId],
|
511
|
-
serializer
|
512
|
+
serializer,
|
512
513
|
};
|
513
514
|
const sendToConnection$binaryOperationSpec = {
|
514
515
|
path: "/api/hubs/{hub}/connections/{connectionId}/:send",
|
@@ -517,15 +518,15 @@ const sendToConnection$binaryOperationSpec = {
|
|
517
518
|
202: {},
|
518
519
|
default: {
|
519
520
|
bodyMapper: Mappers.ErrorDetail,
|
520
|
-
headersMapper: Mappers.WebPubSubSendToConnectionExceptionHeaders
|
521
|
-
}
|
521
|
+
headersMapper: Mappers.WebPubSubSendToConnectionExceptionHeaders,
|
522
|
+
},
|
522
523
|
},
|
523
524
|
requestBody: Parameters.message,
|
524
525
|
queryParameters: [Parameters.apiVersion, Parameters.messageTtlSeconds],
|
525
526
|
urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.connectionId],
|
526
527
|
headerParameters: [Parameters.contentType1, Parameters.accept2],
|
527
528
|
mediaType: "binary",
|
528
|
-
serializer
|
529
|
+
serializer,
|
529
530
|
};
|
530
531
|
const sendToConnection$textOperationSpec = {
|
531
532
|
path: "/api/hubs/{hub}/connections/{connectionId}/:send",
|
@@ -534,15 +535,15 @@ const sendToConnection$textOperationSpec = {
|
|
534
535
|
202: {},
|
535
536
|
default: {
|
536
537
|
bodyMapper: Mappers.ErrorDetail,
|
537
|
-
headersMapper: Mappers.WebPubSubSendToConnectionExceptionHeaders
|
538
|
-
}
|
538
|
+
headersMapper: Mappers.WebPubSubSendToConnectionExceptionHeaders,
|
539
|
+
},
|
539
540
|
},
|
540
541
|
requestBody: Parameters.message1,
|
541
542
|
queryParameters: [Parameters.apiVersion, Parameters.messageTtlSeconds],
|
542
543
|
urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.connectionId],
|
543
544
|
headerParameters: [Parameters.contentType2, Parameters.accept3],
|
544
545
|
mediaType: "text",
|
545
|
-
serializer
|
546
|
+
serializer,
|
546
547
|
};
|
547
548
|
const removeConnectionFromAllGroupsOperationSpec = {
|
548
549
|
path: "/api/hubs/{hub}/connections/{connectionId}/groups",
|
@@ -551,13 +552,13 @@ const removeConnectionFromAllGroupsOperationSpec = {
|
|
551
552
|
204: {},
|
552
553
|
default: {
|
553
554
|
bodyMapper: Mappers.ErrorDetail,
|
554
|
-
headersMapper: Mappers.WebPubSubRemoveConnectionFromAllGroupsExceptionHeaders
|
555
|
-
}
|
555
|
+
headersMapper: Mappers.WebPubSubRemoveConnectionFromAllGroupsExceptionHeaders,
|
556
|
+
},
|
556
557
|
},
|
557
558
|
queryParameters: [Parameters.apiVersion],
|
558
559
|
urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.connectionId],
|
559
560
|
headerParameters: [Parameters.accept],
|
560
|
-
serializer
|
561
|
+
serializer,
|
561
562
|
};
|
562
563
|
const groupExistsOperationSpec = {
|
563
564
|
path: "/api/hubs/{hub}/groups/{group}",
|
@@ -566,12 +567,12 @@ const groupExistsOperationSpec = {
|
|
566
567
|
200: {},
|
567
568
|
404: {},
|
568
569
|
default: {
|
569
|
-
headersMapper: Mappers.WebPubSubGroupExistsExceptionHeaders
|
570
|
-
}
|
570
|
+
headersMapper: Mappers.WebPubSubGroupExistsExceptionHeaders,
|
571
|
+
},
|
571
572
|
},
|
572
573
|
queryParameters: [Parameters.apiVersion],
|
573
574
|
urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.group],
|
574
|
-
serializer
|
575
|
+
serializer,
|
575
576
|
};
|
576
577
|
const closeGroupConnectionsOperationSpec = {
|
577
578
|
path: "/api/hubs/{hub}/groups/{group}/:closeConnections",
|
@@ -580,17 +581,17 @@ const closeGroupConnectionsOperationSpec = {
|
|
580
581
|
204: {},
|
581
582
|
default: {
|
582
583
|
bodyMapper: Mappers.ErrorDetail,
|
583
|
-
headersMapper: Mappers.WebPubSubCloseGroupConnectionsExceptionHeaders
|
584
|
-
}
|
584
|
+
headersMapper: Mappers.WebPubSubCloseGroupConnectionsExceptionHeaders,
|
585
|
+
},
|
585
586
|
},
|
586
587
|
queryParameters: [
|
587
588
|
Parameters.apiVersion,
|
588
589
|
Parameters.excluded,
|
589
|
-
Parameters.reason
|
590
|
+
Parameters.reason,
|
590
591
|
],
|
591
592
|
urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.group],
|
592
593
|
headerParameters: [Parameters.accept],
|
593
|
-
serializer
|
594
|
+
serializer,
|
594
595
|
};
|
595
596
|
const sendToGroup$binaryOperationSpec = {
|
596
597
|
path: "/api/hubs/{hub}/groups/{group}/:send",
|
@@ -599,20 +600,20 @@ const sendToGroup$binaryOperationSpec = {
|
|
599
600
|
202: {},
|
600
601
|
default: {
|
601
602
|
bodyMapper: Mappers.ErrorDetail,
|
602
|
-
headersMapper: Mappers.WebPubSubSendToGroupExceptionHeaders
|
603
|
-
}
|
603
|
+
headersMapper: Mappers.WebPubSubSendToGroupExceptionHeaders,
|
604
|
+
},
|
604
605
|
},
|
605
606
|
requestBody: Parameters.message,
|
606
607
|
queryParameters: [
|
607
608
|
Parameters.apiVersion,
|
608
609
|
Parameters.excludedConnections,
|
609
610
|
Parameters.filter,
|
610
|
-
Parameters.messageTtlSeconds
|
611
|
+
Parameters.messageTtlSeconds,
|
611
612
|
],
|
612
613
|
urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.group],
|
613
614
|
headerParameters: [Parameters.contentType1, Parameters.accept2],
|
614
615
|
mediaType: "binary",
|
615
|
-
serializer
|
616
|
+
serializer,
|
616
617
|
};
|
617
618
|
const sendToGroup$textOperationSpec = {
|
618
619
|
path: "/api/hubs/{hub}/groups/{group}/:send",
|
@@ -621,20 +622,20 @@ const sendToGroup$textOperationSpec = {
|
|
621
622
|
202: {},
|
622
623
|
default: {
|
623
624
|
bodyMapper: Mappers.ErrorDetail,
|
624
|
-
headersMapper: Mappers.WebPubSubSendToGroupExceptionHeaders
|
625
|
-
}
|
625
|
+
headersMapper: Mappers.WebPubSubSendToGroupExceptionHeaders,
|
626
|
+
},
|
626
627
|
},
|
627
628
|
requestBody: Parameters.message1,
|
628
629
|
queryParameters: [
|
629
630
|
Parameters.apiVersion,
|
630
631
|
Parameters.excludedConnections,
|
631
632
|
Parameters.filter,
|
632
|
-
Parameters.messageTtlSeconds
|
633
|
+
Parameters.messageTtlSeconds,
|
633
634
|
],
|
634
635
|
urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.group],
|
635
636
|
headerParameters: [Parameters.contentType2, Parameters.accept3],
|
636
637
|
mediaType: "text",
|
637
|
-
serializer
|
638
|
+
serializer,
|
638
639
|
};
|
639
640
|
const removeConnectionFromGroupOperationSpec = {
|
640
641
|
path: "/api/hubs/{hub}/groups/{group}/connections/{connectionId}",
|
@@ -643,18 +644,18 @@ const removeConnectionFromGroupOperationSpec = {
|
|
643
644
|
204: {},
|
644
645
|
default: {
|
645
646
|
bodyMapper: Mappers.ErrorDetail,
|
646
|
-
headersMapper: Mappers.WebPubSubRemoveConnectionFromGroupExceptionHeaders
|
647
|
-
}
|
647
|
+
headersMapper: Mappers.WebPubSubRemoveConnectionFromGroupExceptionHeaders,
|
648
|
+
},
|
648
649
|
},
|
649
650
|
queryParameters: [Parameters.apiVersion],
|
650
651
|
urlParameters: [
|
651
652
|
Parameters.endpoint,
|
652
653
|
Parameters.hub,
|
653
654
|
Parameters.connectionId,
|
654
|
-
Parameters.group
|
655
|
+
Parameters.group,
|
655
656
|
],
|
656
657
|
headerParameters: [Parameters.accept],
|
657
|
-
serializer
|
658
|
+
serializer,
|
658
659
|
};
|
659
660
|
const addConnectionToGroupOperationSpec = {
|
660
661
|
path: "/api/hubs/{hub}/groups/{group}/connections/{connectionId}",
|
@@ -663,18 +664,18 @@ const addConnectionToGroupOperationSpec = {
|
|
663
664
|
200: {},
|
664
665
|
default: {
|
665
666
|
bodyMapper: Mappers.ErrorDetail,
|
666
|
-
headersMapper: Mappers.WebPubSubAddConnectionToGroupExceptionHeaders
|
667
|
-
}
|
667
|
+
headersMapper: Mappers.WebPubSubAddConnectionToGroupExceptionHeaders,
|
668
|
+
},
|
668
669
|
},
|
669
670
|
queryParameters: [Parameters.apiVersion],
|
670
671
|
urlParameters: [
|
671
672
|
Parameters.endpoint,
|
672
673
|
Parameters.hub,
|
673
674
|
Parameters.connectionId,
|
674
|
-
Parameters.group
|
675
|
+
Parameters.group,
|
675
676
|
],
|
676
677
|
headerParameters: [Parameters.accept],
|
677
|
-
serializer
|
678
|
+
serializer,
|
678
679
|
};
|
679
680
|
const revokePermissionOperationSpec = {
|
680
681
|
path: "/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}",
|
@@ -683,18 +684,18 @@ const revokePermissionOperationSpec = {
|
|
683
684
|
204: {},
|
684
685
|
default: {
|
685
686
|
bodyMapper: Mappers.ErrorDetail,
|
686
|
-
headersMapper: Mappers.WebPubSubRevokePermissionExceptionHeaders
|
687
|
-
}
|
687
|
+
headersMapper: Mappers.WebPubSubRevokePermissionExceptionHeaders,
|
688
|
+
},
|
688
689
|
},
|
689
690
|
queryParameters: [Parameters.apiVersion, Parameters.targetName],
|
690
691
|
urlParameters: [
|
691
692
|
Parameters.endpoint,
|
692
693
|
Parameters.hub,
|
693
694
|
Parameters.connectionId,
|
694
|
-
Parameters.permission
|
695
|
+
Parameters.permission,
|
695
696
|
],
|
696
697
|
headerParameters: [Parameters.accept],
|
697
|
-
serializer
|
698
|
+
serializer,
|
698
699
|
};
|
699
700
|
const checkPermissionOperationSpec = {
|
700
701
|
path: "/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}",
|
@@ -703,17 +704,17 @@ const checkPermissionOperationSpec = {
|
|
703
704
|
200: {},
|
704
705
|
404: {},
|
705
706
|
default: {
|
706
|
-
headersMapper: Mappers.WebPubSubCheckPermissionExceptionHeaders
|
707
|
-
}
|
707
|
+
headersMapper: Mappers.WebPubSubCheckPermissionExceptionHeaders,
|
708
|
+
},
|
708
709
|
},
|
709
710
|
queryParameters: [Parameters.apiVersion, Parameters.targetName],
|
710
711
|
urlParameters: [
|
711
712
|
Parameters.endpoint,
|
712
713
|
Parameters.hub,
|
713
714
|
Parameters.connectionId,
|
714
|
-
Parameters.permission
|
715
|
+
Parameters.permission,
|
715
716
|
],
|
716
|
-
serializer
|
717
|
+
serializer,
|
717
718
|
};
|
718
719
|
const grantPermissionOperationSpec = {
|
719
720
|
path: "/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}",
|
@@ -722,18 +723,18 @@ const grantPermissionOperationSpec = {
|
|
722
723
|
200: {},
|
723
724
|
default: {
|
724
725
|
bodyMapper: Mappers.ErrorDetail,
|
725
|
-
headersMapper: Mappers.WebPubSubGrantPermissionExceptionHeaders
|
726
|
-
}
|
726
|
+
headersMapper: Mappers.WebPubSubGrantPermissionExceptionHeaders,
|
727
|
+
},
|
727
728
|
},
|
728
729
|
queryParameters: [Parameters.apiVersion, Parameters.targetName],
|
729
730
|
urlParameters: [
|
730
731
|
Parameters.endpoint,
|
731
732
|
Parameters.hub,
|
732
733
|
Parameters.connectionId,
|
733
|
-
Parameters.permission
|
734
|
+
Parameters.permission,
|
734
735
|
],
|
735
736
|
headerParameters: [Parameters.accept],
|
736
|
-
serializer
|
737
|
+
serializer,
|
737
738
|
};
|
738
739
|
const userExistsOperationSpec = {
|
739
740
|
path: "/api/hubs/{hub}/users/{userId}",
|
@@ -742,12 +743,12 @@ const userExistsOperationSpec = {
|
|
742
743
|
200: {},
|
743
744
|
404: {},
|
744
745
|
default: {
|
745
|
-
headersMapper: Mappers.WebPubSubUserExistsExceptionHeaders
|
746
|
-
}
|
746
|
+
headersMapper: Mappers.WebPubSubUserExistsExceptionHeaders,
|
747
|
+
},
|
747
748
|
},
|
748
749
|
queryParameters: [Parameters.apiVersion],
|
749
750
|
urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.userId1],
|
750
|
-
serializer
|
751
|
+
serializer,
|
751
752
|
};
|
752
753
|
const closeUserConnectionsOperationSpec = {
|
753
754
|
path: "/api/hubs/{hub}/users/{userId}/:closeConnections",
|
@@ -756,17 +757,17 @@ const closeUserConnectionsOperationSpec = {
|
|
756
757
|
204: {},
|
757
758
|
default: {
|
758
759
|
bodyMapper: Mappers.ErrorDetail,
|
759
|
-
headersMapper: Mappers.WebPubSubCloseUserConnectionsExceptionHeaders
|
760
|
-
}
|
760
|
+
headersMapper: Mappers.WebPubSubCloseUserConnectionsExceptionHeaders,
|
761
|
+
},
|
761
762
|
},
|
762
763
|
queryParameters: [
|
763
764
|
Parameters.apiVersion,
|
764
765
|
Parameters.excluded,
|
765
|
-
Parameters.reason
|
766
|
+
Parameters.reason,
|
766
767
|
],
|
767
768
|
urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.userId1],
|
768
769
|
headerParameters: [Parameters.accept],
|
769
|
-
serializer
|
770
|
+
serializer,
|
770
771
|
};
|
771
772
|
const sendToUser$binaryOperationSpec = {
|
772
773
|
path: "/api/hubs/{hub}/users/{userId}/:send",
|
@@ -775,19 +776,19 @@ const sendToUser$binaryOperationSpec = {
|
|
775
776
|
202: {},
|
776
777
|
default: {
|
777
778
|
bodyMapper: Mappers.ErrorDetail,
|
778
|
-
headersMapper: Mappers.WebPubSubSendToUserExceptionHeaders
|
779
|
-
}
|
779
|
+
headersMapper: Mappers.WebPubSubSendToUserExceptionHeaders,
|
780
|
+
},
|
780
781
|
},
|
781
782
|
requestBody: Parameters.message,
|
782
783
|
queryParameters: [
|
783
784
|
Parameters.apiVersion,
|
784
785
|
Parameters.filter,
|
785
|
-
Parameters.messageTtlSeconds
|
786
|
+
Parameters.messageTtlSeconds,
|
786
787
|
],
|
787
788
|
urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.userId1],
|
788
789
|
headerParameters: [Parameters.contentType1, Parameters.accept2],
|
789
790
|
mediaType: "binary",
|
790
|
-
serializer
|
791
|
+
serializer,
|
791
792
|
};
|
792
793
|
const sendToUser$textOperationSpec = {
|
793
794
|
path: "/api/hubs/{hub}/users/{userId}/:send",
|
@@ -796,19 +797,19 @@ const sendToUser$textOperationSpec = {
|
|
796
797
|
202: {},
|
797
798
|
default: {
|
798
799
|
bodyMapper: Mappers.ErrorDetail,
|
799
|
-
headersMapper: Mappers.WebPubSubSendToUserExceptionHeaders
|
800
|
-
}
|
800
|
+
headersMapper: Mappers.WebPubSubSendToUserExceptionHeaders,
|
801
|
+
},
|
801
802
|
},
|
802
803
|
requestBody: Parameters.message1,
|
803
804
|
queryParameters: [
|
804
805
|
Parameters.apiVersion,
|
805
806
|
Parameters.filter,
|
806
|
-
Parameters.messageTtlSeconds
|
807
|
+
Parameters.messageTtlSeconds,
|
807
808
|
],
|
808
809
|
urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.userId1],
|
809
810
|
headerParameters: [Parameters.contentType2, Parameters.accept3],
|
810
811
|
mediaType: "text",
|
811
|
-
serializer
|
812
|
+
serializer,
|
812
813
|
};
|
813
814
|
const removeUserFromAllGroupsOperationSpec = {
|
814
815
|
path: "/api/hubs/{hub}/users/{userId}/groups",
|
@@ -817,13 +818,13 @@ const removeUserFromAllGroupsOperationSpec = {
|
|
817
818
|
204: {},
|
818
819
|
default: {
|
819
820
|
bodyMapper: Mappers.ErrorDetail,
|
820
|
-
headersMapper: Mappers.WebPubSubRemoveUserFromAllGroupsExceptionHeaders
|
821
|
-
}
|
821
|
+
headersMapper: Mappers.WebPubSubRemoveUserFromAllGroupsExceptionHeaders,
|
822
|
+
},
|
822
823
|
},
|
823
824
|
queryParameters: [Parameters.apiVersion],
|
824
825
|
urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.userId1],
|
825
826
|
headerParameters: [Parameters.accept],
|
826
|
-
serializer
|
827
|
+
serializer,
|
827
828
|
};
|
828
829
|
const removeUserFromGroupOperationSpec = {
|
829
830
|
path: "/api/hubs/{hub}/users/{userId}/groups/{group}",
|
@@ -832,18 +833,18 @@ const removeUserFromGroupOperationSpec = {
|
|
832
833
|
204: {},
|
833
834
|
default: {
|
834
835
|
bodyMapper: Mappers.ErrorDetail,
|
835
|
-
headersMapper: Mappers.WebPubSubRemoveUserFromGroupExceptionHeaders
|
836
|
-
}
|
836
|
+
headersMapper: Mappers.WebPubSubRemoveUserFromGroupExceptionHeaders,
|
837
|
+
},
|
837
838
|
},
|
838
839
|
queryParameters: [Parameters.apiVersion],
|
839
840
|
urlParameters: [
|
840
841
|
Parameters.endpoint,
|
841
842
|
Parameters.hub,
|
842
843
|
Parameters.group,
|
843
|
-
Parameters.userId1
|
844
|
+
Parameters.userId1,
|
844
845
|
],
|
845
846
|
headerParameters: [Parameters.accept],
|
846
|
-
serializer
|
847
|
+
serializer,
|
847
848
|
};
|
848
849
|
const addUserToGroupOperationSpec = {
|
849
850
|
path: "/api/hubs/{hub}/users/{userId}/groups/{group}",
|
@@ -852,17 +853,17 @@ const addUserToGroupOperationSpec = {
|
|
852
853
|
200: {},
|
853
854
|
default: {
|
854
855
|
bodyMapper: Mappers.ErrorDetail,
|
855
|
-
headersMapper: Mappers.WebPubSubAddUserToGroupExceptionHeaders
|
856
|
-
}
|
856
|
+
headersMapper: Mappers.WebPubSubAddUserToGroupExceptionHeaders,
|
857
|
+
},
|
857
858
|
},
|
858
859
|
queryParameters: [Parameters.apiVersion],
|
859
860
|
urlParameters: [
|
860
861
|
Parameters.endpoint,
|
861
862
|
Parameters.hub,
|
862
863
|
Parameters.group,
|
863
|
-
Parameters.userId1
|
864
|
+
Parameters.userId1,
|
864
865
|
],
|
865
866
|
headerParameters: [Parameters.accept],
|
866
|
-
serializer
|
867
|
+
serializer,
|
867
868
|
};
|
868
869
|
//# sourceMappingURL=webPubSub.js.map
|