@azure/web-pubsub 1.1.3-alpha.20240528.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +4 -4
- package/types/web-pubsub.d.ts +11 -0
package/dist/index.js
CHANGED
@@ -46,19 +46,19 @@ const AddToGroupsRequest = {
|
|
46
46
|
name: "Sequence",
|
47
47
|
element: {
|
48
48
|
type: {
|
49
|
-
name: "String"
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
49
|
+
name: "String",
|
50
|
+
},
|
51
|
+
},
|
52
|
+
},
|
53
53
|
},
|
54
54
|
filter: {
|
55
55
|
serializedName: "filter",
|
56
56
|
type: {
|
57
|
-
name: "String"
|
58
|
-
}
|
59
|
-
}
|
60
|
-
}
|
61
|
-
}
|
57
|
+
name: "String",
|
58
|
+
},
|
59
|
+
},
|
60
|
+
},
|
61
|
+
},
|
62
62
|
};
|
63
63
|
const ErrorDetail = {
|
64
64
|
type: {
|
@@ -68,20 +68,20 @@ const ErrorDetail = {
|
|
68
68
|
code: {
|
69
69
|
serializedName: "code",
|
70
70
|
type: {
|
71
|
-
name: "String"
|
72
|
-
}
|
71
|
+
name: "String",
|
72
|
+
},
|
73
73
|
},
|
74
74
|
message: {
|
75
75
|
serializedName: "message",
|
76
76
|
type: {
|
77
|
-
name: "String"
|
78
|
-
}
|
77
|
+
name: "String",
|
78
|
+
},
|
79
79
|
},
|
80
80
|
target: {
|
81
81
|
serializedName: "target",
|
82
82
|
type: {
|
83
|
-
name: "String"
|
84
|
-
}
|
83
|
+
name: "String",
|
84
|
+
},
|
85
85
|
},
|
86
86
|
details: {
|
87
87
|
serializedName: "details",
|
@@ -90,20 +90,20 @@ const ErrorDetail = {
|
|
90
90
|
element: {
|
91
91
|
type: {
|
92
92
|
name: "Composite",
|
93
|
-
className: "ErrorDetail"
|
94
|
-
}
|
95
|
-
}
|
96
|
-
}
|
93
|
+
className: "ErrorDetail",
|
94
|
+
},
|
95
|
+
},
|
96
|
+
},
|
97
97
|
},
|
98
98
|
inner: {
|
99
99
|
serializedName: "inner",
|
100
100
|
type: {
|
101
101
|
name: "Composite",
|
102
|
-
className: "InnerError"
|
103
|
-
}
|
104
|
-
}
|
105
|
-
}
|
106
|
-
}
|
102
|
+
className: "InnerError",
|
103
|
+
},
|
104
|
+
},
|
105
|
+
},
|
106
|
+
},
|
107
107
|
};
|
108
108
|
const InnerError = {
|
109
109
|
type: {
|
@@ -113,18 +113,18 @@ const InnerError = {
|
|
113
113
|
code: {
|
114
114
|
serializedName: "code",
|
115
115
|
type: {
|
116
|
-
name: "String"
|
117
|
-
}
|
116
|
+
name: "String",
|
117
|
+
},
|
118
118
|
},
|
119
119
|
inner: {
|
120
120
|
serializedName: "inner",
|
121
121
|
type: {
|
122
122
|
name: "Composite",
|
123
|
-
className: "InnerError"
|
124
|
-
}
|
125
|
-
}
|
126
|
-
}
|
127
|
-
}
|
123
|
+
className: "InnerError",
|
124
|
+
},
|
125
|
+
},
|
126
|
+
},
|
127
|
+
},
|
128
128
|
};
|
129
129
|
const ClientTokenResponse = {
|
130
130
|
type: {
|
@@ -134,11 +134,11 @@ const ClientTokenResponse = {
|
|
134
134
|
token: {
|
135
135
|
serializedName: "token",
|
136
136
|
type: {
|
137
|
-
name: "String"
|
138
|
-
}
|
139
|
-
}
|
140
|
-
}
|
141
|
-
}
|
137
|
+
name: "String",
|
138
|
+
},
|
139
|
+
},
|
140
|
+
},
|
141
|
+
},
|
142
142
|
};
|
143
143
|
const RemoveFromGroupsRequest = {
|
144
144
|
type: {
|
@@ -151,19 +151,19 @@ const RemoveFromGroupsRequest = {
|
|
151
151
|
name: "Sequence",
|
152
152
|
element: {
|
153
153
|
type: {
|
154
|
-
name: "String"
|
155
|
-
}
|
156
|
-
}
|
157
|
-
}
|
154
|
+
name: "String",
|
155
|
+
},
|
156
|
+
},
|
157
|
+
},
|
158
158
|
},
|
159
159
|
filter: {
|
160
160
|
serializedName: "filter",
|
161
161
|
type: {
|
162
|
-
name: "String"
|
163
|
-
}
|
164
|
-
}
|
165
|
-
}
|
166
|
-
}
|
162
|
+
name: "String",
|
163
|
+
},
|
164
|
+
},
|
165
|
+
},
|
166
|
+
},
|
167
167
|
};
|
168
168
|
const WebPubSubAddConnectionsToGroupsExceptionHeaders = {
|
169
169
|
type: {
|
@@ -173,11 +173,11 @@ const WebPubSubAddConnectionsToGroupsExceptionHeaders = {
|
|
173
173
|
errorCode: {
|
174
174
|
serializedName: "x-ms-error-code",
|
175
175
|
type: {
|
176
|
-
name: "String"
|
177
|
-
}
|
178
|
-
}
|
179
|
-
}
|
180
|
-
}
|
176
|
+
name: "String",
|
177
|
+
},
|
178
|
+
},
|
179
|
+
},
|
180
|
+
},
|
181
181
|
};
|
182
182
|
const WebPubSubCloseAllConnectionsExceptionHeaders = {
|
183
183
|
type: {
|
@@ -187,11 +187,11 @@ const WebPubSubCloseAllConnectionsExceptionHeaders = {
|
|
187
187
|
errorCode: {
|
188
188
|
serializedName: "x-ms-error-code",
|
189
189
|
type: {
|
190
|
-
name: "String"
|
191
|
-
}
|
192
|
-
}
|
193
|
-
}
|
194
|
-
}
|
190
|
+
name: "String",
|
191
|
+
},
|
192
|
+
},
|
193
|
+
},
|
194
|
+
},
|
195
195
|
};
|
196
196
|
const WebPubSubGenerateClientTokenExceptionHeaders = {
|
197
197
|
type: {
|
@@ -201,11 +201,11 @@ const WebPubSubGenerateClientTokenExceptionHeaders = {
|
|
201
201
|
errorCode: {
|
202
202
|
serializedName: "x-ms-error-code",
|
203
203
|
type: {
|
204
|
-
name: "String"
|
205
|
-
}
|
206
|
-
}
|
207
|
-
}
|
208
|
-
}
|
204
|
+
name: "String",
|
205
|
+
},
|
206
|
+
},
|
207
|
+
},
|
208
|
+
},
|
209
209
|
};
|
210
210
|
const WebPubSubRemoveConnectionsFromGroupsExceptionHeaders = {
|
211
211
|
type: {
|
@@ -215,11 +215,11 @@ const WebPubSubRemoveConnectionsFromGroupsExceptionHeaders = {
|
|
215
215
|
errorCode: {
|
216
216
|
serializedName: "x-ms-error-code",
|
217
217
|
type: {
|
218
|
-
name: "String"
|
219
|
-
}
|
220
|
-
}
|
221
|
-
}
|
222
|
-
}
|
218
|
+
name: "String",
|
219
|
+
},
|
220
|
+
},
|
221
|
+
},
|
222
|
+
},
|
223
223
|
};
|
224
224
|
const WebPubSubSendToAllExceptionHeaders = {
|
225
225
|
type: {
|
@@ -229,11 +229,11 @@ const WebPubSubSendToAllExceptionHeaders = {
|
|
229
229
|
errorCode: {
|
230
230
|
serializedName: "x-ms-error-code",
|
231
231
|
type: {
|
232
|
-
name: "String"
|
233
|
-
}
|
234
|
-
}
|
235
|
-
}
|
236
|
-
}
|
232
|
+
name: "String",
|
233
|
+
},
|
234
|
+
},
|
235
|
+
},
|
236
|
+
},
|
237
237
|
};
|
238
238
|
const WebPubSubCloseConnectionExceptionHeaders = {
|
239
239
|
type: {
|
@@ -243,11 +243,11 @@ const WebPubSubCloseConnectionExceptionHeaders = {
|
|
243
243
|
errorCode: {
|
244
244
|
serializedName: "x-ms-error-code",
|
245
245
|
type: {
|
246
|
-
name: "String"
|
247
|
-
}
|
248
|
-
}
|
249
|
-
}
|
250
|
-
}
|
246
|
+
name: "String",
|
247
|
+
},
|
248
|
+
},
|
249
|
+
},
|
250
|
+
},
|
251
251
|
};
|
252
252
|
const WebPubSubConnectionExistsExceptionHeaders = {
|
253
253
|
type: {
|
@@ -257,11 +257,11 @@ const WebPubSubConnectionExistsExceptionHeaders = {
|
|
257
257
|
errorCode: {
|
258
258
|
serializedName: "x-ms-error-code",
|
259
259
|
type: {
|
260
|
-
name: "String"
|
261
|
-
}
|
262
|
-
}
|
263
|
-
}
|
264
|
-
}
|
260
|
+
name: "String",
|
261
|
+
},
|
262
|
+
},
|
263
|
+
},
|
264
|
+
},
|
265
265
|
};
|
266
266
|
const WebPubSubSendToConnectionExceptionHeaders = {
|
267
267
|
type: {
|
@@ -271,11 +271,11 @@ const WebPubSubSendToConnectionExceptionHeaders = {
|
|
271
271
|
errorCode: {
|
272
272
|
serializedName: "x-ms-error-code",
|
273
273
|
type: {
|
274
|
-
name: "String"
|
275
|
-
}
|
276
|
-
}
|
277
|
-
}
|
278
|
-
}
|
274
|
+
name: "String",
|
275
|
+
},
|
276
|
+
},
|
277
|
+
},
|
278
|
+
},
|
279
279
|
};
|
280
280
|
const WebPubSubRemoveConnectionFromAllGroupsExceptionHeaders = {
|
281
281
|
type: {
|
@@ -285,11 +285,11 @@ const WebPubSubRemoveConnectionFromAllGroupsExceptionHeaders = {
|
|
285
285
|
errorCode: {
|
286
286
|
serializedName: "x-ms-error-code",
|
287
287
|
type: {
|
288
|
-
name: "String"
|
289
|
-
}
|
290
|
-
}
|
291
|
-
}
|
292
|
-
}
|
288
|
+
name: "String",
|
289
|
+
},
|
290
|
+
},
|
291
|
+
},
|
292
|
+
},
|
293
293
|
};
|
294
294
|
const WebPubSubGroupExistsExceptionHeaders = {
|
295
295
|
type: {
|
@@ -299,11 +299,11 @@ const WebPubSubGroupExistsExceptionHeaders = {
|
|
299
299
|
errorCode: {
|
300
300
|
serializedName: "x-ms-error-code",
|
301
301
|
type: {
|
302
|
-
name: "String"
|
303
|
-
}
|
304
|
-
}
|
305
|
-
}
|
306
|
-
}
|
302
|
+
name: "String",
|
303
|
+
},
|
304
|
+
},
|
305
|
+
},
|
306
|
+
},
|
307
307
|
};
|
308
308
|
const WebPubSubCloseGroupConnectionsExceptionHeaders = {
|
309
309
|
type: {
|
@@ -313,11 +313,11 @@ const WebPubSubCloseGroupConnectionsExceptionHeaders = {
|
|
313
313
|
errorCode: {
|
314
314
|
serializedName: "x-ms-error-code",
|
315
315
|
type: {
|
316
|
-
name: "String"
|
317
|
-
}
|
318
|
-
}
|
319
|
-
}
|
320
|
-
}
|
316
|
+
name: "String",
|
317
|
+
},
|
318
|
+
},
|
319
|
+
},
|
320
|
+
},
|
321
321
|
};
|
322
322
|
const WebPubSubSendToGroupExceptionHeaders = {
|
323
323
|
type: {
|
@@ -327,11 +327,11 @@ const WebPubSubSendToGroupExceptionHeaders = {
|
|
327
327
|
errorCode: {
|
328
328
|
serializedName: "x-ms-error-code",
|
329
329
|
type: {
|
330
|
-
name: "String"
|
331
|
-
}
|
332
|
-
}
|
333
|
-
}
|
334
|
-
}
|
330
|
+
name: "String",
|
331
|
+
},
|
332
|
+
},
|
333
|
+
},
|
334
|
+
},
|
335
335
|
};
|
336
336
|
const WebPubSubRemoveConnectionFromGroupExceptionHeaders = {
|
337
337
|
type: {
|
@@ -341,11 +341,11 @@ const WebPubSubRemoveConnectionFromGroupExceptionHeaders = {
|
|
341
341
|
errorCode: {
|
342
342
|
serializedName: "x-ms-error-code",
|
343
343
|
type: {
|
344
|
-
name: "String"
|
345
|
-
}
|
346
|
-
}
|
347
|
-
}
|
348
|
-
}
|
344
|
+
name: "String",
|
345
|
+
},
|
346
|
+
},
|
347
|
+
},
|
348
|
+
},
|
349
349
|
};
|
350
350
|
const WebPubSubAddConnectionToGroupExceptionHeaders = {
|
351
351
|
type: {
|
@@ -355,11 +355,11 @@ const WebPubSubAddConnectionToGroupExceptionHeaders = {
|
|
355
355
|
errorCode: {
|
356
356
|
serializedName: "x-ms-error-code",
|
357
357
|
type: {
|
358
|
-
name: "String"
|
359
|
-
}
|
360
|
-
}
|
361
|
-
}
|
362
|
-
}
|
358
|
+
name: "String",
|
359
|
+
},
|
360
|
+
},
|
361
|
+
},
|
362
|
+
},
|
363
363
|
};
|
364
364
|
const WebPubSubRevokePermissionExceptionHeaders = {
|
365
365
|
type: {
|
@@ -369,11 +369,11 @@ const WebPubSubRevokePermissionExceptionHeaders = {
|
|
369
369
|
errorCode: {
|
370
370
|
serializedName: "x-ms-error-code",
|
371
371
|
type: {
|
372
|
-
name: "String"
|
373
|
-
}
|
374
|
-
}
|
375
|
-
}
|
376
|
-
}
|
372
|
+
name: "String",
|
373
|
+
},
|
374
|
+
},
|
375
|
+
},
|
376
|
+
},
|
377
377
|
};
|
378
378
|
const WebPubSubCheckPermissionExceptionHeaders = {
|
379
379
|
type: {
|
@@ -383,11 +383,11 @@ const WebPubSubCheckPermissionExceptionHeaders = {
|
|
383
383
|
errorCode: {
|
384
384
|
serializedName: "x-ms-error-code",
|
385
385
|
type: {
|
386
|
-
name: "String"
|
387
|
-
}
|
388
|
-
}
|
389
|
-
}
|
390
|
-
}
|
386
|
+
name: "String",
|
387
|
+
},
|
388
|
+
},
|
389
|
+
},
|
390
|
+
},
|
391
391
|
};
|
392
392
|
const WebPubSubGrantPermissionExceptionHeaders = {
|
393
393
|
type: {
|
@@ -397,11 +397,11 @@ const WebPubSubGrantPermissionExceptionHeaders = {
|
|
397
397
|
errorCode: {
|
398
398
|
serializedName: "x-ms-error-code",
|
399
399
|
type: {
|
400
|
-
name: "String"
|
401
|
-
}
|
402
|
-
}
|
403
|
-
}
|
404
|
-
}
|
400
|
+
name: "String",
|
401
|
+
},
|
402
|
+
},
|
403
|
+
},
|
404
|
+
},
|
405
405
|
};
|
406
406
|
const WebPubSubUserExistsExceptionHeaders = {
|
407
407
|
type: {
|
@@ -411,11 +411,11 @@ const WebPubSubUserExistsExceptionHeaders = {
|
|
411
411
|
errorCode: {
|
412
412
|
serializedName: "x-ms-error-code",
|
413
413
|
type: {
|
414
|
-
name: "String"
|
415
|
-
}
|
416
|
-
}
|
417
|
-
}
|
418
|
-
}
|
414
|
+
name: "String",
|
415
|
+
},
|
416
|
+
},
|
417
|
+
},
|
418
|
+
},
|
419
419
|
};
|
420
420
|
const WebPubSubCloseUserConnectionsExceptionHeaders = {
|
421
421
|
type: {
|
@@ -425,11 +425,11 @@ const WebPubSubCloseUserConnectionsExceptionHeaders = {
|
|
425
425
|
errorCode: {
|
426
426
|
serializedName: "x-ms-error-code",
|
427
427
|
type: {
|
428
|
-
name: "String"
|
429
|
-
}
|
430
|
-
}
|
431
|
-
}
|
432
|
-
}
|
428
|
+
name: "String",
|
429
|
+
},
|
430
|
+
},
|
431
|
+
},
|
432
|
+
},
|
433
433
|
};
|
434
434
|
const WebPubSubSendToUserExceptionHeaders = {
|
435
435
|
type: {
|
@@ -439,11 +439,11 @@ const WebPubSubSendToUserExceptionHeaders = {
|
|
439
439
|
errorCode: {
|
440
440
|
serializedName: "x-ms-error-code",
|
441
441
|
type: {
|
442
|
-
name: "String"
|
443
|
-
}
|
444
|
-
}
|
445
|
-
}
|
446
|
-
}
|
442
|
+
name: "String",
|
443
|
+
},
|
444
|
+
},
|
445
|
+
},
|
446
|
+
},
|
447
447
|
};
|
448
448
|
const WebPubSubRemoveUserFromAllGroupsExceptionHeaders = {
|
449
449
|
type: {
|
@@ -453,11 +453,11 @@ const WebPubSubRemoveUserFromAllGroupsExceptionHeaders = {
|
|
453
453
|
errorCode: {
|
454
454
|
serializedName: "x-ms-error-code",
|
455
455
|
type: {
|
456
|
-
name: "String"
|
457
|
-
}
|
458
|
-
}
|
459
|
-
}
|
460
|
-
}
|
456
|
+
name: "String",
|
457
|
+
},
|
458
|
+
},
|
459
|
+
},
|
460
|
+
},
|
461
461
|
};
|
462
462
|
const WebPubSubRemoveUserFromGroupExceptionHeaders = {
|
463
463
|
type: {
|
@@ -467,11 +467,11 @@ const WebPubSubRemoveUserFromGroupExceptionHeaders = {
|
|
467
467
|
errorCode: {
|
468
468
|
serializedName: "x-ms-error-code",
|
469
469
|
type: {
|
470
|
-
name: "String"
|
471
|
-
}
|
472
|
-
}
|
473
|
-
}
|
474
|
-
}
|
470
|
+
name: "String",
|
471
|
+
},
|
472
|
+
},
|
473
|
+
},
|
474
|
+
},
|
475
475
|
};
|
476
476
|
const WebPubSubAddUserToGroupExceptionHeaders = {
|
477
477
|
type: {
|
@@ -481,11 +481,11 @@ const WebPubSubAddUserToGroupExceptionHeaders = {
|
|
481
481
|
errorCode: {
|
482
482
|
serializedName: "x-ms-error-code",
|
483
483
|
type: {
|
484
|
-
name: "String"
|
485
|
-
}
|
486
|
-
}
|
487
|
-
}
|
488
|
-
}
|
484
|
+
name: "String",
|
485
|
+
},
|
486
|
+
},
|
487
|
+
},
|
488
|
+
},
|
489
489
|
};
|
490
490
|
|
491
491
|
var Mappers = /*#__PURE__*/Object.freeze({
|
@@ -533,21 +533,21 @@ const endpoint = {
|
|
533
533
|
serializedName: "endpoint",
|
534
534
|
required: true,
|
535
535
|
type: {
|
536
|
-
name: "String"
|
537
|
-
}
|
536
|
+
name: "String",
|
537
|
+
},
|
538
538
|
},
|
539
|
-
skipEncoding: true
|
539
|
+
skipEncoding: true,
|
540
540
|
};
|
541
541
|
const apiVersion = {
|
542
542
|
parameterPath: "apiVersion",
|
543
543
|
mapper: {
|
544
|
-
defaultValue: "
|
544
|
+
defaultValue: "2024-01-01",
|
545
545
|
isConstant: true,
|
546
546
|
serializedName: "api-version",
|
547
547
|
type: {
|
548
|
-
name: "String"
|
549
|
-
}
|
550
|
-
}
|
548
|
+
name: "String",
|
549
|
+
},
|
550
|
+
},
|
551
551
|
};
|
552
552
|
const contentType = {
|
553
553
|
parameterPath: ["options", "contentType"],
|
@@ -556,13 +556,13 @@ const contentType = {
|
|
556
556
|
isConstant: true,
|
557
557
|
serializedName: "Content-Type",
|
558
558
|
type: {
|
559
|
-
name: "String"
|
560
|
-
}
|
561
|
-
}
|
559
|
+
name: "String",
|
560
|
+
},
|
561
|
+
},
|
562
562
|
};
|
563
563
|
const groupsToAdd = {
|
564
564
|
parameterPath: "groupsToAdd",
|
565
|
-
mapper: AddToGroupsRequest
|
565
|
+
mapper: AddToGroupsRequest,
|
566
566
|
};
|
567
567
|
const accept = {
|
568
568
|
parameterPath: "accept",
|
@@ -571,22 +571,22 @@ const accept = {
|
|
571
571
|
isConstant: true,
|
572
572
|
serializedName: "Accept",
|
573
573
|
type: {
|
574
|
-
name: "String"
|
575
|
-
}
|
576
|
-
}
|
574
|
+
name: "String",
|
575
|
+
},
|
576
|
+
},
|
577
577
|
};
|
578
578
|
const hub = {
|
579
579
|
parameterPath: "hub",
|
580
580
|
mapper: {
|
581
581
|
constraints: {
|
582
|
-
Pattern: new RegExp("^[A-Za-z][A-Za-z0-9_`,.[\\]]{0,127}$")
|
582
|
+
Pattern: new RegExp("^[A-Za-z][A-Za-z0-9_`,.[\\]]{0,127}$"),
|
583
583
|
},
|
584
584
|
serializedName: "hub",
|
585
585
|
required: true,
|
586
586
|
type: {
|
587
|
-
name: "String"
|
588
|
-
}
|
589
|
-
}
|
587
|
+
name: "String",
|
588
|
+
},
|
589
|
+
},
|
590
590
|
};
|
591
591
|
const excluded = {
|
592
592
|
parameterPath: ["options", "excluded"],
|
@@ -596,21 +596,21 @@ const excluded = {
|
|
596
596
|
name: "Sequence",
|
597
597
|
element: {
|
598
598
|
type: {
|
599
|
-
name: "String"
|
600
|
-
}
|
601
|
-
}
|
602
|
-
}
|
599
|
+
name: "String",
|
600
|
+
},
|
601
|
+
},
|
602
|
+
},
|
603
603
|
},
|
604
|
-
collectionFormat: "Multi"
|
604
|
+
collectionFormat: "Multi",
|
605
605
|
};
|
606
606
|
const reason = {
|
607
607
|
parameterPath: ["options", "reason"],
|
608
608
|
mapper: {
|
609
609
|
serializedName: "reason",
|
610
610
|
type: {
|
611
|
-
name: "String"
|
612
|
-
}
|
613
|
-
}
|
611
|
+
name: "String",
|
612
|
+
},
|
613
|
+
},
|
614
614
|
};
|
615
615
|
const accept1 = {
|
616
616
|
parameterPath: "accept",
|
@@ -619,18 +619,18 @@ const accept1 = {
|
|
619
619
|
isConstant: true,
|
620
620
|
serializedName: "Accept",
|
621
621
|
type: {
|
622
|
-
name: "String"
|
623
|
-
}
|
624
|
-
}
|
622
|
+
name: "String",
|
623
|
+
},
|
624
|
+
},
|
625
625
|
};
|
626
626
|
const userId = {
|
627
627
|
parameterPath: ["options", "userId"],
|
628
628
|
mapper: {
|
629
629
|
serializedName: "userId",
|
630
630
|
type: {
|
631
|
-
name: "String"
|
632
|
-
}
|
633
|
-
}
|
631
|
+
name: "String",
|
632
|
+
},
|
633
|
+
},
|
634
634
|
};
|
635
635
|
const roles = {
|
636
636
|
parameterPath: ["options", "roles"],
|
@@ -640,25 +640,25 @@ const roles = {
|
|
640
640
|
name: "Sequence",
|
641
641
|
element: {
|
642
642
|
type: {
|
643
|
-
name: "String"
|
644
|
-
}
|
645
|
-
}
|
646
|
-
}
|
643
|
+
name: "String",
|
644
|
+
},
|
645
|
+
},
|
646
|
+
},
|
647
647
|
},
|
648
|
-
collectionFormat: "Multi"
|
648
|
+
collectionFormat: "Multi",
|
649
649
|
};
|
650
650
|
const expirationTimeInMinutes = {
|
651
651
|
parameterPath: ["options", "expirationTimeInMinutes"],
|
652
652
|
mapper: {
|
653
653
|
defaultValue: 60,
|
654
654
|
constraints: {
|
655
|
-
InclusiveMinimum: 1
|
655
|
+
InclusiveMinimum: 1,
|
656
656
|
},
|
657
657
|
serializedName: "minutesToExpire",
|
658
658
|
type: {
|
659
|
-
name: "Number"
|
660
|
-
}
|
661
|
-
}
|
659
|
+
name: "Number",
|
660
|
+
},
|
661
|
+
},
|
662
662
|
};
|
663
663
|
const groups = {
|
664
664
|
parameterPath: ["options", "groups"],
|
@@ -668,16 +668,26 @@ const groups = {
|
|
668
668
|
name: "Sequence",
|
669
669
|
element: {
|
670
670
|
type: {
|
671
|
-
name: "String"
|
672
|
-
}
|
673
|
-
}
|
674
|
-
}
|
671
|
+
name: "String",
|
672
|
+
},
|
673
|
+
},
|
674
|
+
},
|
675
|
+
},
|
676
|
+
collectionFormat: "Multi",
|
677
|
+
};
|
678
|
+
const clientType = {
|
679
|
+
parameterPath: ["options", "clientType"],
|
680
|
+
mapper: {
|
681
|
+
defaultValue: "Default",
|
682
|
+
serializedName: "clientType",
|
683
|
+
type: {
|
684
|
+
name: "String",
|
685
|
+
},
|
675
686
|
},
|
676
|
-
collectionFormat: "Multi"
|
677
687
|
};
|
678
688
|
const groupsToRemove = {
|
679
689
|
parameterPath: "groupsToRemove",
|
680
|
-
mapper: RemoveFromGroupsRequest
|
690
|
+
mapper: RemoveFromGroupsRequest,
|
681
691
|
};
|
682
692
|
const contentType1 = {
|
683
693
|
parameterPath: "contentType",
|
@@ -686,9 +696,9 @@ const contentType1 = {
|
|
686
696
|
required: true,
|
687
697
|
type: {
|
688
698
|
name: "Enum",
|
689
|
-
allowedValues: ["application/json", "application/octet-stream"]
|
690
|
-
}
|
691
|
-
}
|
699
|
+
allowedValues: ["application/json", "application/octet-stream"],
|
700
|
+
},
|
701
|
+
},
|
692
702
|
};
|
693
703
|
const message = {
|
694
704
|
parameterPath: "message",
|
@@ -696,9 +706,9 @@ const message = {
|
|
696
706
|
serializedName: "message",
|
697
707
|
required: true,
|
698
708
|
type: {
|
699
|
-
name: "Stream"
|
700
|
-
}
|
701
|
-
}
|
709
|
+
name: "Stream",
|
710
|
+
},
|
711
|
+
},
|
702
712
|
};
|
703
713
|
const accept2 = {
|
704
714
|
parameterPath: "accept",
|
@@ -707,9 +717,9 @@ const accept2 = {
|
|
707
717
|
isConstant: true,
|
708
718
|
serializedName: "Accept",
|
709
719
|
type: {
|
710
|
-
name: "String"
|
711
|
-
}
|
712
|
-
}
|
720
|
+
name: "String",
|
721
|
+
},
|
722
|
+
},
|
713
723
|
};
|
714
724
|
const contentType2 = {
|
715
725
|
parameterPath: "contentType",
|
@@ -718,9 +728,9 @@ const contentType2 = {
|
|
718
728
|
isConstant: true,
|
719
729
|
serializedName: "Content-Type",
|
720
730
|
type: {
|
721
|
-
name: "String"
|
722
|
-
}
|
723
|
-
}
|
731
|
+
name: "String",
|
732
|
+
},
|
733
|
+
},
|
724
734
|
};
|
725
735
|
const message1 = {
|
726
736
|
parameterPath: "message",
|
@@ -728,9 +738,9 @@ const message1 = {
|
|
728
738
|
serializedName: "message",
|
729
739
|
required: true,
|
730
740
|
type: {
|
731
|
-
name: "String"
|
732
|
-
}
|
733
|
-
}
|
741
|
+
name: "String",
|
742
|
+
},
|
743
|
+
},
|
734
744
|
};
|
735
745
|
const accept3 = {
|
736
746
|
parameterPath: "accept",
|
@@ -739,9 +749,9 @@ const accept3 = {
|
|
739
749
|
isConstant: true,
|
740
750
|
serializedName: "Accept",
|
741
751
|
type: {
|
742
|
-
name: "String"
|
743
|
-
}
|
744
|
-
}
|
752
|
+
name: "String",
|
753
|
+
},
|
754
|
+
},
|
745
755
|
};
|
746
756
|
const excludedConnections = {
|
747
757
|
parameterPath: ["options", "excludedConnections"],
|
@@ -751,47 +761,47 @@ const excludedConnections = {
|
|
751
761
|
name: "Sequence",
|
752
762
|
element: {
|
753
763
|
type: {
|
754
|
-
name: "String"
|
755
|
-
}
|
756
|
-
}
|
757
|
-
}
|
764
|
+
name: "String",
|
765
|
+
},
|
766
|
+
},
|
767
|
+
},
|
758
768
|
},
|
759
|
-
collectionFormat: "Multi"
|
769
|
+
collectionFormat: "Multi",
|
760
770
|
};
|
761
771
|
const filter = {
|
762
772
|
parameterPath: ["options", "filter"],
|
763
773
|
mapper: {
|
764
774
|
serializedName: "filter",
|
765
775
|
type: {
|
766
|
-
name: "String"
|
767
|
-
}
|
768
|
-
}
|
776
|
+
name: "String",
|
777
|
+
},
|
778
|
+
},
|
769
779
|
};
|
770
780
|
const messageTtlSeconds = {
|
771
781
|
parameterPath: ["options", "messageTtlSeconds"],
|
772
782
|
mapper: {
|
773
783
|
constraints: {
|
774
784
|
InclusiveMaximum: 300,
|
775
|
-
InclusiveMinimum: 0
|
785
|
+
InclusiveMinimum: 0,
|
776
786
|
},
|
777
787
|
serializedName: "messageTtlSeconds",
|
778
788
|
type: {
|
779
|
-
name: "Number"
|
780
|
-
}
|
781
|
-
}
|
789
|
+
name: "Number",
|
790
|
+
},
|
791
|
+
},
|
782
792
|
};
|
783
793
|
const connectionId = {
|
784
794
|
parameterPath: "connectionId",
|
785
795
|
mapper: {
|
786
796
|
constraints: {
|
787
|
-
MinLength: 1
|
797
|
+
MinLength: 1,
|
788
798
|
},
|
789
799
|
serializedName: "connectionId",
|
790
800
|
required: true,
|
791
801
|
type: {
|
792
|
-
name: "String"
|
793
|
-
}
|
794
|
-
}
|
802
|
+
name: "String",
|
803
|
+
},
|
804
|
+
},
|
795
805
|
};
|
796
806
|
const group = {
|
797
807
|
parameterPath: "group",
|
@@ -799,14 +809,14 @@ const group = {
|
|
799
809
|
constraints: {
|
800
810
|
Pattern: new RegExp("^(?!\\s+$).+$"),
|
801
811
|
MaxLength: 1024,
|
802
|
-
MinLength: 1
|
812
|
+
MinLength: 1,
|
803
813
|
},
|
804
814
|
serializedName: "group",
|
805
815
|
required: true,
|
806
816
|
type: {
|
807
|
-
name: "String"
|
808
|
-
}
|
809
|
-
}
|
817
|
+
name: "String",
|
818
|
+
},
|
819
|
+
},
|
810
820
|
};
|
811
821
|
const permission = {
|
812
822
|
parameterPath: "permission",
|
@@ -814,31 +824,31 @@ const permission = {
|
|
814
824
|
serializedName: "permission",
|
815
825
|
required: true,
|
816
826
|
type: {
|
817
|
-
name: "String"
|
818
|
-
}
|
819
|
-
}
|
827
|
+
name: "String",
|
828
|
+
},
|
829
|
+
},
|
820
830
|
};
|
821
831
|
const targetName = {
|
822
832
|
parameterPath: ["options", "targetName"],
|
823
833
|
mapper: {
|
824
834
|
serializedName: "targetName",
|
825
835
|
type: {
|
826
|
-
name: "String"
|
827
|
-
}
|
828
|
-
}
|
836
|
+
name: "String",
|
837
|
+
},
|
838
|
+
},
|
829
839
|
};
|
830
840
|
const userId1 = {
|
831
841
|
parameterPath: "userId",
|
832
842
|
mapper: {
|
833
843
|
constraints: {
|
834
|
-
MinLength: 1
|
844
|
+
MinLength: 1,
|
835
845
|
},
|
836
846
|
serializedName: "userId",
|
837
847
|
required: true,
|
838
848
|
type: {
|
839
|
-
name: "String"
|
840
|
-
}
|
841
|
-
}
|
849
|
+
name: "String",
|
850
|
+
},
|
851
|
+
},
|
842
852
|
};
|
843
853
|
|
844
854
|
/*
|
@@ -873,7 +883,7 @@ const getServiceStatusOperationSpec = {
|
|
873
883
|
responses: { 200: {}, default: {} },
|
874
884
|
queryParameters: [apiVersion],
|
875
885
|
urlParameters: [endpoint],
|
876
|
-
serializer: serializer$1
|
886
|
+
serializer: serializer$1,
|
877
887
|
};
|
878
888
|
|
879
889
|
/*
|
@@ -945,7 +955,7 @@ class WebPubSubImpl {
|
|
945
955
|
hub: args[0],
|
946
956
|
contentType: args[1],
|
947
957
|
message: args[2],
|
948
|
-
options: args[3]
|
958
|
+
options: args[3],
|
949
959
|
};
|
950
960
|
options = args[3];
|
951
961
|
}
|
@@ -955,7 +965,7 @@ class WebPubSubImpl {
|
|
955
965
|
hub: args[0],
|
956
966
|
contentType: args[1],
|
957
967
|
message: args[2],
|
958
|
-
options: args[3]
|
968
|
+
options: args[3],
|
959
969
|
};
|
960
970
|
options = args[3];
|
961
971
|
}
|
@@ -1001,7 +1011,7 @@ class WebPubSubImpl {
|
|
1001
1011
|
connectionId: args[1],
|
1002
1012
|
contentType: args[2],
|
1003
1013
|
message: args[3],
|
1004
|
-
options: args[4]
|
1014
|
+
options: args[4],
|
1005
1015
|
};
|
1006
1016
|
options = args[4];
|
1007
1017
|
}
|
@@ -1012,7 +1022,7 @@ class WebPubSubImpl {
|
|
1012
1022
|
connectionId: args[1],
|
1013
1023
|
contentType: args[2],
|
1014
1024
|
message: args[3],
|
1015
|
-
options: args[4]
|
1025
|
+
options: args[4],
|
1016
1026
|
};
|
1017
1027
|
options = args[4];
|
1018
1028
|
}
|
@@ -1068,7 +1078,7 @@ class WebPubSubImpl {
|
|
1068
1078
|
group: args[1],
|
1069
1079
|
contentType: args[2],
|
1070
1080
|
message: args[3],
|
1071
|
-
options: args[4]
|
1081
|
+
options: args[4],
|
1072
1082
|
};
|
1073
1083
|
options = args[4];
|
1074
1084
|
}
|
@@ -1079,7 +1089,7 @@ class WebPubSubImpl {
|
|
1079
1089
|
group: args[1],
|
1080
1090
|
contentType: args[2],
|
1081
1091
|
message: args[3],
|
1082
|
-
options: args[4]
|
1092
|
+
options: args[4],
|
1083
1093
|
};
|
1084
1094
|
options = args[4];
|
1085
1095
|
}
|
@@ -1180,7 +1190,7 @@ class WebPubSubImpl {
|
|
1180
1190
|
userId: args[1],
|
1181
1191
|
contentType: args[2],
|
1182
1192
|
message: args[3],
|
1183
|
-
options: args[4]
|
1193
|
+
options: args[4],
|
1184
1194
|
};
|
1185
1195
|
options = args[4];
|
1186
1196
|
}
|
@@ -1191,7 +1201,7 @@ class WebPubSubImpl {
|
|
1191
1201
|
userId: args[1],
|
1192
1202
|
contentType: args[2],
|
1193
1203
|
message: args[3],
|
1194
|
-
options: args[4]
|
1204
|
+
options: args[4],
|
1195
1205
|
};
|
1196
1206
|
options = args[4];
|
1197
1207
|
}
|
@@ -1243,15 +1253,15 @@ const addConnectionsToGroupsOperationSpec = {
|
|
1243
1253
|
200: {},
|
1244
1254
|
default: {
|
1245
1255
|
bodyMapper: ErrorDetail,
|
1246
|
-
headersMapper: WebPubSubAddConnectionsToGroupsExceptionHeaders
|
1247
|
-
}
|
1256
|
+
headersMapper: WebPubSubAddConnectionsToGroupsExceptionHeaders,
|
1257
|
+
},
|
1248
1258
|
},
|
1249
1259
|
requestBody: groupsToAdd,
|
1250
1260
|
queryParameters: [apiVersion],
|
1251
1261
|
urlParameters: [endpoint, hub],
|
1252
1262
|
headerParameters: [contentType, accept],
|
1253
1263
|
mediaType: "json",
|
1254
|
-
serializer
|
1264
|
+
serializer,
|
1255
1265
|
};
|
1256
1266
|
const closeAllConnectionsOperationSpec = {
|
1257
1267
|
path: "/api/hubs/{hub}/:closeConnections",
|
@@ -1260,40 +1270,41 @@ const closeAllConnectionsOperationSpec = {
|
|
1260
1270
|
204: {},
|
1261
1271
|
default: {
|
1262
1272
|
bodyMapper: ErrorDetail,
|
1263
|
-
headersMapper: WebPubSubCloseAllConnectionsExceptionHeaders
|
1264
|
-
}
|
1273
|
+
headersMapper: WebPubSubCloseAllConnectionsExceptionHeaders,
|
1274
|
+
},
|
1265
1275
|
},
|
1266
1276
|
queryParameters: [
|
1267
1277
|
apiVersion,
|
1268
1278
|
excluded,
|
1269
|
-
reason
|
1279
|
+
reason,
|
1270
1280
|
],
|
1271
1281
|
urlParameters: [endpoint, hub],
|
1272
1282
|
headerParameters: [accept],
|
1273
|
-
serializer
|
1283
|
+
serializer,
|
1274
1284
|
};
|
1275
1285
|
const generateClientTokenOperationSpec = {
|
1276
1286
|
path: "/api/hubs/{hub}/:generateToken",
|
1277
1287
|
httpMethod: "POST",
|
1278
1288
|
responses: {
|
1279
1289
|
200: {
|
1280
|
-
bodyMapper: ClientTokenResponse
|
1290
|
+
bodyMapper: ClientTokenResponse,
|
1281
1291
|
},
|
1282
1292
|
default: {
|
1283
1293
|
bodyMapper: ErrorDetail,
|
1284
|
-
headersMapper: WebPubSubGenerateClientTokenExceptionHeaders
|
1285
|
-
}
|
1294
|
+
headersMapper: WebPubSubGenerateClientTokenExceptionHeaders,
|
1295
|
+
},
|
1286
1296
|
},
|
1287
1297
|
queryParameters: [
|
1288
1298
|
apiVersion,
|
1289
1299
|
userId,
|
1290
1300
|
roles,
|
1291
1301
|
expirationTimeInMinutes,
|
1292
|
-
groups
|
1302
|
+
groups,
|
1303
|
+
clientType,
|
1293
1304
|
],
|
1294
1305
|
urlParameters: [endpoint, hub],
|
1295
1306
|
headerParameters: [accept1],
|
1296
|
-
serializer
|
1307
|
+
serializer,
|
1297
1308
|
};
|
1298
1309
|
const removeConnectionsFromGroupsOperationSpec = {
|
1299
1310
|
path: "/api/hubs/{hub}/:removeFromGroups",
|
@@ -1302,15 +1313,15 @@ const removeConnectionsFromGroupsOperationSpec = {
|
|
1302
1313
|
200: {},
|
1303
1314
|
default: {
|
1304
1315
|
bodyMapper: ErrorDetail,
|
1305
|
-
headersMapper: WebPubSubRemoveConnectionsFromGroupsExceptionHeaders
|
1306
|
-
}
|
1316
|
+
headersMapper: WebPubSubRemoveConnectionsFromGroupsExceptionHeaders,
|
1317
|
+
},
|
1307
1318
|
},
|
1308
1319
|
requestBody: groupsToRemove,
|
1309
1320
|
queryParameters: [apiVersion],
|
1310
1321
|
urlParameters: [endpoint, hub],
|
1311
1322
|
headerParameters: [contentType, accept],
|
1312
1323
|
mediaType: "json",
|
1313
|
-
serializer
|
1324
|
+
serializer,
|
1314
1325
|
};
|
1315
1326
|
const sendToAll$binaryOperationSpec = {
|
1316
1327
|
path: "/api/hubs/{hub}/:send",
|
@@ -1319,20 +1330,20 @@ const sendToAll$binaryOperationSpec = {
|
|
1319
1330
|
202: {},
|
1320
1331
|
default: {
|
1321
1332
|
bodyMapper: ErrorDetail,
|
1322
|
-
headersMapper: WebPubSubSendToAllExceptionHeaders
|
1323
|
-
}
|
1333
|
+
headersMapper: WebPubSubSendToAllExceptionHeaders,
|
1334
|
+
},
|
1324
1335
|
},
|
1325
1336
|
requestBody: message,
|
1326
1337
|
queryParameters: [
|
1327
1338
|
apiVersion,
|
1328
1339
|
excludedConnections,
|
1329
1340
|
filter,
|
1330
|
-
messageTtlSeconds
|
1341
|
+
messageTtlSeconds,
|
1331
1342
|
],
|
1332
1343
|
urlParameters: [endpoint, hub],
|
1333
1344
|
headerParameters: [contentType1, accept2],
|
1334
1345
|
mediaType: "binary",
|
1335
|
-
serializer
|
1346
|
+
serializer,
|
1336
1347
|
};
|
1337
1348
|
const sendToAll$textOperationSpec = {
|
1338
1349
|
path: "/api/hubs/{hub}/:send",
|
@@ -1341,20 +1352,20 @@ const sendToAll$textOperationSpec = {
|
|
1341
1352
|
202: {},
|
1342
1353
|
default: {
|
1343
1354
|
bodyMapper: ErrorDetail,
|
1344
|
-
headersMapper: WebPubSubSendToAllExceptionHeaders
|
1345
|
-
}
|
1355
|
+
headersMapper: WebPubSubSendToAllExceptionHeaders,
|
1356
|
+
},
|
1346
1357
|
},
|
1347
1358
|
requestBody: message1,
|
1348
1359
|
queryParameters: [
|
1349
1360
|
apiVersion,
|
1350
1361
|
excludedConnections,
|
1351
1362
|
filter,
|
1352
|
-
messageTtlSeconds
|
1363
|
+
messageTtlSeconds,
|
1353
1364
|
],
|
1354
1365
|
urlParameters: [endpoint, hub],
|
1355
1366
|
headerParameters: [contentType2, accept3],
|
1356
1367
|
mediaType: "text",
|
1357
|
-
serializer
|
1368
|
+
serializer,
|
1358
1369
|
};
|
1359
1370
|
const closeConnectionOperationSpec = {
|
1360
1371
|
path: "/api/hubs/{hub}/connections/{connectionId}",
|
@@ -1363,13 +1374,13 @@ const closeConnectionOperationSpec = {
|
|
1363
1374
|
204: {},
|
1364
1375
|
default: {
|
1365
1376
|
bodyMapper: ErrorDetail,
|
1366
|
-
headersMapper: WebPubSubCloseConnectionExceptionHeaders
|
1367
|
-
}
|
1377
|
+
headersMapper: WebPubSubCloseConnectionExceptionHeaders,
|
1378
|
+
},
|
1368
1379
|
},
|
1369
1380
|
queryParameters: [apiVersion, reason],
|
1370
1381
|
urlParameters: [endpoint, hub, connectionId],
|
1371
1382
|
headerParameters: [accept],
|
1372
|
-
serializer
|
1383
|
+
serializer,
|
1373
1384
|
};
|
1374
1385
|
const connectionExistsOperationSpec = {
|
1375
1386
|
path: "/api/hubs/{hub}/connections/{connectionId}",
|
@@ -1378,12 +1389,12 @@ const connectionExistsOperationSpec = {
|
|
1378
1389
|
200: {},
|
1379
1390
|
404: {},
|
1380
1391
|
default: {
|
1381
|
-
headersMapper: WebPubSubConnectionExistsExceptionHeaders
|
1382
|
-
}
|
1392
|
+
headersMapper: WebPubSubConnectionExistsExceptionHeaders,
|
1393
|
+
},
|
1383
1394
|
},
|
1384
1395
|
queryParameters: [apiVersion],
|
1385
1396
|
urlParameters: [endpoint, hub, connectionId],
|
1386
|
-
serializer
|
1397
|
+
serializer,
|
1387
1398
|
};
|
1388
1399
|
const sendToConnection$binaryOperationSpec = {
|
1389
1400
|
path: "/api/hubs/{hub}/connections/{connectionId}/:send",
|
@@ -1392,15 +1403,15 @@ const sendToConnection$binaryOperationSpec = {
|
|
1392
1403
|
202: {},
|
1393
1404
|
default: {
|
1394
1405
|
bodyMapper: ErrorDetail,
|
1395
|
-
headersMapper: WebPubSubSendToConnectionExceptionHeaders
|
1396
|
-
}
|
1406
|
+
headersMapper: WebPubSubSendToConnectionExceptionHeaders,
|
1407
|
+
},
|
1397
1408
|
},
|
1398
1409
|
requestBody: message,
|
1399
1410
|
queryParameters: [apiVersion, messageTtlSeconds],
|
1400
1411
|
urlParameters: [endpoint, hub, connectionId],
|
1401
1412
|
headerParameters: [contentType1, accept2],
|
1402
1413
|
mediaType: "binary",
|
1403
|
-
serializer
|
1414
|
+
serializer,
|
1404
1415
|
};
|
1405
1416
|
const sendToConnection$textOperationSpec = {
|
1406
1417
|
path: "/api/hubs/{hub}/connections/{connectionId}/:send",
|
@@ -1409,15 +1420,15 @@ const sendToConnection$textOperationSpec = {
|
|
1409
1420
|
202: {},
|
1410
1421
|
default: {
|
1411
1422
|
bodyMapper: ErrorDetail,
|
1412
|
-
headersMapper: WebPubSubSendToConnectionExceptionHeaders
|
1413
|
-
}
|
1423
|
+
headersMapper: WebPubSubSendToConnectionExceptionHeaders,
|
1424
|
+
},
|
1414
1425
|
},
|
1415
1426
|
requestBody: message1,
|
1416
1427
|
queryParameters: [apiVersion, messageTtlSeconds],
|
1417
1428
|
urlParameters: [endpoint, hub, connectionId],
|
1418
1429
|
headerParameters: [contentType2, accept3],
|
1419
1430
|
mediaType: "text",
|
1420
|
-
serializer
|
1431
|
+
serializer,
|
1421
1432
|
};
|
1422
1433
|
const removeConnectionFromAllGroupsOperationSpec = {
|
1423
1434
|
path: "/api/hubs/{hub}/connections/{connectionId}/groups",
|
@@ -1426,13 +1437,13 @@ const removeConnectionFromAllGroupsOperationSpec = {
|
|
1426
1437
|
204: {},
|
1427
1438
|
default: {
|
1428
1439
|
bodyMapper: ErrorDetail,
|
1429
|
-
headersMapper: WebPubSubRemoveConnectionFromAllGroupsExceptionHeaders
|
1430
|
-
}
|
1440
|
+
headersMapper: WebPubSubRemoveConnectionFromAllGroupsExceptionHeaders,
|
1441
|
+
},
|
1431
1442
|
},
|
1432
1443
|
queryParameters: [apiVersion],
|
1433
1444
|
urlParameters: [endpoint, hub, connectionId],
|
1434
1445
|
headerParameters: [accept],
|
1435
|
-
serializer
|
1446
|
+
serializer,
|
1436
1447
|
};
|
1437
1448
|
const groupExistsOperationSpec = {
|
1438
1449
|
path: "/api/hubs/{hub}/groups/{group}",
|
@@ -1441,12 +1452,12 @@ const groupExistsOperationSpec = {
|
|
1441
1452
|
200: {},
|
1442
1453
|
404: {},
|
1443
1454
|
default: {
|
1444
|
-
headersMapper: WebPubSubGroupExistsExceptionHeaders
|
1445
|
-
}
|
1455
|
+
headersMapper: WebPubSubGroupExistsExceptionHeaders,
|
1456
|
+
},
|
1446
1457
|
},
|
1447
1458
|
queryParameters: [apiVersion],
|
1448
1459
|
urlParameters: [endpoint, hub, group],
|
1449
|
-
serializer
|
1460
|
+
serializer,
|
1450
1461
|
};
|
1451
1462
|
const closeGroupConnectionsOperationSpec = {
|
1452
1463
|
path: "/api/hubs/{hub}/groups/{group}/:closeConnections",
|
@@ -1455,17 +1466,17 @@ const closeGroupConnectionsOperationSpec = {
|
|
1455
1466
|
204: {},
|
1456
1467
|
default: {
|
1457
1468
|
bodyMapper: ErrorDetail,
|
1458
|
-
headersMapper: WebPubSubCloseGroupConnectionsExceptionHeaders
|
1459
|
-
}
|
1469
|
+
headersMapper: WebPubSubCloseGroupConnectionsExceptionHeaders,
|
1470
|
+
},
|
1460
1471
|
},
|
1461
1472
|
queryParameters: [
|
1462
1473
|
apiVersion,
|
1463
1474
|
excluded,
|
1464
|
-
reason
|
1475
|
+
reason,
|
1465
1476
|
],
|
1466
1477
|
urlParameters: [endpoint, hub, group],
|
1467
1478
|
headerParameters: [accept],
|
1468
|
-
serializer
|
1479
|
+
serializer,
|
1469
1480
|
};
|
1470
1481
|
const sendToGroup$binaryOperationSpec = {
|
1471
1482
|
path: "/api/hubs/{hub}/groups/{group}/:send",
|
@@ -1474,20 +1485,20 @@ const sendToGroup$binaryOperationSpec = {
|
|
1474
1485
|
202: {},
|
1475
1486
|
default: {
|
1476
1487
|
bodyMapper: ErrorDetail,
|
1477
|
-
headersMapper: WebPubSubSendToGroupExceptionHeaders
|
1478
|
-
}
|
1488
|
+
headersMapper: WebPubSubSendToGroupExceptionHeaders,
|
1489
|
+
},
|
1479
1490
|
},
|
1480
1491
|
requestBody: message,
|
1481
1492
|
queryParameters: [
|
1482
1493
|
apiVersion,
|
1483
1494
|
excludedConnections,
|
1484
1495
|
filter,
|
1485
|
-
messageTtlSeconds
|
1496
|
+
messageTtlSeconds,
|
1486
1497
|
],
|
1487
1498
|
urlParameters: [endpoint, hub, group],
|
1488
1499
|
headerParameters: [contentType1, accept2],
|
1489
1500
|
mediaType: "binary",
|
1490
|
-
serializer
|
1501
|
+
serializer,
|
1491
1502
|
};
|
1492
1503
|
const sendToGroup$textOperationSpec = {
|
1493
1504
|
path: "/api/hubs/{hub}/groups/{group}/:send",
|
@@ -1496,20 +1507,20 @@ const sendToGroup$textOperationSpec = {
|
|
1496
1507
|
202: {},
|
1497
1508
|
default: {
|
1498
1509
|
bodyMapper: ErrorDetail,
|
1499
|
-
headersMapper: WebPubSubSendToGroupExceptionHeaders
|
1500
|
-
}
|
1510
|
+
headersMapper: WebPubSubSendToGroupExceptionHeaders,
|
1511
|
+
},
|
1501
1512
|
},
|
1502
1513
|
requestBody: message1,
|
1503
1514
|
queryParameters: [
|
1504
1515
|
apiVersion,
|
1505
1516
|
excludedConnections,
|
1506
1517
|
filter,
|
1507
|
-
messageTtlSeconds
|
1518
|
+
messageTtlSeconds,
|
1508
1519
|
],
|
1509
1520
|
urlParameters: [endpoint, hub, group],
|
1510
1521
|
headerParameters: [contentType2, accept3],
|
1511
1522
|
mediaType: "text",
|
1512
|
-
serializer
|
1523
|
+
serializer,
|
1513
1524
|
};
|
1514
1525
|
const removeConnectionFromGroupOperationSpec = {
|
1515
1526
|
path: "/api/hubs/{hub}/groups/{group}/connections/{connectionId}",
|
@@ -1518,18 +1529,18 @@ const removeConnectionFromGroupOperationSpec = {
|
|
1518
1529
|
204: {},
|
1519
1530
|
default: {
|
1520
1531
|
bodyMapper: ErrorDetail,
|
1521
|
-
headersMapper: WebPubSubRemoveConnectionFromGroupExceptionHeaders
|
1522
|
-
}
|
1532
|
+
headersMapper: WebPubSubRemoveConnectionFromGroupExceptionHeaders,
|
1533
|
+
},
|
1523
1534
|
},
|
1524
1535
|
queryParameters: [apiVersion],
|
1525
1536
|
urlParameters: [
|
1526
1537
|
endpoint,
|
1527
1538
|
hub,
|
1528
1539
|
connectionId,
|
1529
|
-
group
|
1540
|
+
group,
|
1530
1541
|
],
|
1531
1542
|
headerParameters: [accept],
|
1532
|
-
serializer
|
1543
|
+
serializer,
|
1533
1544
|
};
|
1534
1545
|
const addConnectionToGroupOperationSpec = {
|
1535
1546
|
path: "/api/hubs/{hub}/groups/{group}/connections/{connectionId}",
|
@@ -1538,18 +1549,18 @@ const addConnectionToGroupOperationSpec = {
|
|
1538
1549
|
200: {},
|
1539
1550
|
default: {
|
1540
1551
|
bodyMapper: ErrorDetail,
|
1541
|
-
headersMapper: WebPubSubAddConnectionToGroupExceptionHeaders
|
1542
|
-
}
|
1552
|
+
headersMapper: WebPubSubAddConnectionToGroupExceptionHeaders,
|
1553
|
+
},
|
1543
1554
|
},
|
1544
1555
|
queryParameters: [apiVersion],
|
1545
1556
|
urlParameters: [
|
1546
1557
|
endpoint,
|
1547
1558
|
hub,
|
1548
1559
|
connectionId,
|
1549
|
-
group
|
1560
|
+
group,
|
1550
1561
|
],
|
1551
1562
|
headerParameters: [accept],
|
1552
|
-
serializer
|
1563
|
+
serializer,
|
1553
1564
|
};
|
1554
1565
|
const revokePermissionOperationSpec = {
|
1555
1566
|
path: "/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}",
|
@@ -1558,18 +1569,18 @@ const revokePermissionOperationSpec = {
|
|
1558
1569
|
204: {},
|
1559
1570
|
default: {
|
1560
1571
|
bodyMapper: ErrorDetail,
|
1561
|
-
headersMapper: WebPubSubRevokePermissionExceptionHeaders
|
1562
|
-
}
|
1572
|
+
headersMapper: WebPubSubRevokePermissionExceptionHeaders,
|
1573
|
+
},
|
1563
1574
|
},
|
1564
1575
|
queryParameters: [apiVersion, targetName],
|
1565
1576
|
urlParameters: [
|
1566
1577
|
endpoint,
|
1567
1578
|
hub,
|
1568
1579
|
connectionId,
|
1569
|
-
permission
|
1580
|
+
permission,
|
1570
1581
|
],
|
1571
1582
|
headerParameters: [accept],
|
1572
|
-
serializer
|
1583
|
+
serializer,
|
1573
1584
|
};
|
1574
1585
|
const checkPermissionOperationSpec = {
|
1575
1586
|
path: "/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}",
|
@@ -1578,17 +1589,17 @@ const checkPermissionOperationSpec = {
|
|
1578
1589
|
200: {},
|
1579
1590
|
404: {},
|
1580
1591
|
default: {
|
1581
|
-
headersMapper: WebPubSubCheckPermissionExceptionHeaders
|
1582
|
-
}
|
1592
|
+
headersMapper: WebPubSubCheckPermissionExceptionHeaders,
|
1593
|
+
},
|
1583
1594
|
},
|
1584
1595
|
queryParameters: [apiVersion, targetName],
|
1585
1596
|
urlParameters: [
|
1586
1597
|
endpoint,
|
1587
1598
|
hub,
|
1588
1599
|
connectionId,
|
1589
|
-
permission
|
1600
|
+
permission,
|
1590
1601
|
],
|
1591
|
-
serializer
|
1602
|
+
serializer,
|
1592
1603
|
};
|
1593
1604
|
const grantPermissionOperationSpec = {
|
1594
1605
|
path: "/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}",
|
@@ -1597,18 +1608,18 @@ const grantPermissionOperationSpec = {
|
|
1597
1608
|
200: {},
|
1598
1609
|
default: {
|
1599
1610
|
bodyMapper: ErrorDetail,
|
1600
|
-
headersMapper: WebPubSubGrantPermissionExceptionHeaders
|
1601
|
-
}
|
1611
|
+
headersMapper: WebPubSubGrantPermissionExceptionHeaders,
|
1612
|
+
},
|
1602
1613
|
},
|
1603
1614
|
queryParameters: [apiVersion, targetName],
|
1604
1615
|
urlParameters: [
|
1605
1616
|
endpoint,
|
1606
1617
|
hub,
|
1607
1618
|
connectionId,
|
1608
|
-
permission
|
1619
|
+
permission,
|
1609
1620
|
],
|
1610
1621
|
headerParameters: [accept],
|
1611
|
-
serializer
|
1622
|
+
serializer,
|
1612
1623
|
};
|
1613
1624
|
const userExistsOperationSpec = {
|
1614
1625
|
path: "/api/hubs/{hub}/users/{userId}",
|
@@ -1617,12 +1628,12 @@ const userExistsOperationSpec = {
|
|
1617
1628
|
200: {},
|
1618
1629
|
404: {},
|
1619
1630
|
default: {
|
1620
|
-
headersMapper: WebPubSubUserExistsExceptionHeaders
|
1621
|
-
}
|
1631
|
+
headersMapper: WebPubSubUserExistsExceptionHeaders,
|
1632
|
+
},
|
1622
1633
|
},
|
1623
1634
|
queryParameters: [apiVersion],
|
1624
1635
|
urlParameters: [endpoint, hub, userId1],
|
1625
|
-
serializer
|
1636
|
+
serializer,
|
1626
1637
|
};
|
1627
1638
|
const closeUserConnectionsOperationSpec = {
|
1628
1639
|
path: "/api/hubs/{hub}/users/{userId}/:closeConnections",
|
@@ -1631,17 +1642,17 @@ const closeUserConnectionsOperationSpec = {
|
|
1631
1642
|
204: {},
|
1632
1643
|
default: {
|
1633
1644
|
bodyMapper: ErrorDetail,
|
1634
|
-
headersMapper: WebPubSubCloseUserConnectionsExceptionHeaders
|
1635
|
-
}
|
1645
|
+
headersMapper: WebPubSubCloseUserConnectionsExceptionHeaders,
|
1646
|
+
},
|
1636
1647
|
},
|
1637
1648
|
queryParameters: [
|
1638
1649
|
apiVersion,
|
1639
1650
|
excluded,
|
1640
|
-
reason
|
1651
|
+
reason,
|
1641
1652
|
],
|
1642
1653
|
urlParameters: [endpoint, hub, userId1],
|
1643
1654
|
headerParameters: [accept],
|
1644
|
-
serializer
|
1655
|
+
serializer,
|
1645
1656
|
};
|
1646
1657
|
const sendToUser$binaryOperationSpec = {
|
1647
1658
|
path: "/api/hubs/{hub}/users/{userId}/:send",
|
@@ -1650,19 +1661,19 @@ const sendToUser$binaryOperationSpec = {
|
|
1650
1661
|
202: {},
|
1651
1662
|
default: {
|
1652
1663
|
bodyMapper: ErrorDetail,
|
1653
|
-
headersMapper: WebPubSubSendToUserExceptionHeaders
|
1654
|
-
}
|
1664
|
+
headersMapper: WebPubSubSendToUserExceptionHeaders,
|
1665
|
+
},
|
1655
1666
|
},
|
1656
1667
|
requestBody: message,
|
1657
1668
|
queryParameters: [
|
1658
1669
|
apiVersion,
|
1659
1670
|
filter,
|
1660
|
-
messageTtlSeconds
|
1671
|
+
messageTtlSeconds,
|
1661
1672
|
],
|
1662
1673
|
urlParameters: [endpoint, hub, userId1],
|
1663
1674
|
headerParameters: [contentType1, accept2],
|
1664
1675
|
mediaType: "binary",
|
1665
|
-
serializer
|
1676
|
+
serializer,
|
1666
1677
|
};
|
1667
1678
|
const sendToUser$textOperationSpec = {
|
1668
1679
|
path: "/api/hubs/{hub}/users/{userId}/:send",
|
@@ -1671,19 +1682,19 @@ const sendToUser$textOperationSpec = {
|
|
1671
1682
|
202: {},
|
1672
1683
|
default: {
|
1673
1684
|
bodyMapper: ErrorDetail,
|
1674
|
-
headersMapper: WebPubSubSendToUserExceptionHeaders
|
1675
|
-
}
|
1685
|
+
headersMapper: WebPubSubSendToUserExceptionHeaders,
|
1686
|
+
},
|
1676
1687
|
},
|
1677
1688
|
requestBody: message1,
|
1678
1689
|
queryParameters: [
|
1679
1690
|
apiVersion,
|
1680
1691
|
filter,
|
1681
|
-
messageTtlSeconds
|
1692
|
+
messageTtlSeconds,
|
1682
1693
|
],
|
1683
1694
|
urlParameters: [endpoint, hub, userId1],
|
1684
1695
|
headerParameters: [contentType2, accept3],
|
1685
1696
|
mediaType: "text",
|
1686
|
-
serializer
|
1697
|
+
serializer,
|
1687
1698
|
};
|
1688
1699
|
const removeUserFromAllGroupsOperationSpec = {
|
1689
1700
|
path: "/api/hubs/{hub}/users/{userId}/groups",
|
@@ -1692,13 +1703,13 @@ const removeUserFromAllGroupsOperationSpec = {
|
|
1692
1703
|
204: {},
|
1693
1704
|
default: {
|
1694
1705
|
bodyMapper: ErrorDetail,
|
1695
|
-
headersMapper: WebPubSubRemoveUserFromAllGroupsExceptionHeaders
|
1696
|
-
}
|
1706
|
+
headersMapper: WebPubSubRemoveUserFromAllGroupsExceptionHeaders,
|
1707
|
+
},
|
1697
1708
|
},
|
1698
1709
|
queryParameters: [apiVersion],
|
1699
1710
|
urlParameters: [endpoint, hub, userId1],
|
1700
1711
|
headerParameters: [accept],
|
1701
|
-
serializer
|
1712
|
+
serializer,
|
1702
1713
|
};
|
1703
1714
|
const removeUserFromGroupOperationSpec = {
|
1704
1715
|
path: "/api/hubs/{hub}/users/{userId}/groups/{group}",
|
@@ -1707,18 +1718,18 @@ const removeUserFromGroupOperationSpec = {
|
|
1707
1718
|
204: {},
|
1708
1719
|
default: {
|
1709
1720
|
bodyMapper: ErrorDetail,
|
1710
|
-
headersMapper: WebPubSubRemoveUserFromGroupExceptionHeaders
|
1711
|
-
}
|
1721
|
+
headersMapper: WebPubSubRemoveUserFromGroupExceptionHeaders,
|
1722
|
+
},
|
1712
1723
|
},
|
1713
1724
|
queryParameters: [apiVersion],
|
1714
1725
|
urlParameters: [
|
1715
1726
|
endpoint,
|
1716
1727
|
hub,
|
1717
1728
|
group,
|
1718
|
-
userId1
|
1729
|
+
userId1,
|
1719
1730
|
],
|
1720
1731
|
headerParameters: [accept],
|
1721
|
-
serializer
|
1732
|
+
serializer,
|
1722
1733
|
};
|
1723
1734
|
const addUserToGroupOperationSpec = {
|
1724
1735
|
path: "/api/hubs/{hub}/users/{userId}/groups/{group}",
|
@@ -1727,18 +1738,18 @@ const addUserToGroupOperationSpec = {
|
|
1727
1738
|
200: {},
|
1728
1739
|
default: {
|
1729
1740
|
bodyMapper: ErrorDetail,
|
1730
|
-
headersMapper: WebPubSubAddUserToGroupExceptionHeaders
|
1731
|
-
}
|
1741
|
+
headersMapper: WebPubSubAddUserToGroupExceptionHeaders,
|
1742
|
+
},
|
1732
1743
|
},
|
1733
1744
|
queryParameters: [apiVersion],
|
1734
1745
|
urlParameters: [
|
1735
1746
|
endpoint,
|
1736
1747
|
hub,
|
1737
1748
|
group,
|
1738
|
-
userId1
|
1749
|
+
userId1,
|
1739
1750
|
],
|
1740
1751
|
headerParameters: [accept],
|
1741
|
-
serializer
|
1752
|
+
serializer,
|
1742
1753
|
};
|
1743
1754
|
|
1744
1755
|
/*
|
@@ -1765,20 +1776,20 @@ class GeneratedClient extends coreClient__namespace.ServiceClient {
|
|
1765
1776
|
options = {};
|
1766
1777
|
}
|
1767
1778
|
const defaults = {
|
1768
|
-
requestContentType: "application/json; charset=utf-8"
|
1779
|
+
requestContentType: "application/json; charset=utf-8",
|
1769
1780
|
};
|
1770
1781
|
const packageDetails = `azsdk-js-web-pubsub/1.1.3`;
|
1771
1782
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
1772
1783
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
1773
1784
|
: `${packageDetails}`;
|
1774
1785
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
1775
|
-
userAgentPrefix
|
1786
|
+
userAgentPrefix,
|
1776
1787
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "{endpoint}" });
|
1777
1788
|
super(optionsWithDefaults);
|
1778
1789
|
// Parameter assignments
|
1779
1790
|
this.endpoint = endpoint;
|
1780
1791
|
// Assigning values to Constant parameters
|
1781
|
-
this.apiVersion = options.apiVersion || "
|
1792
|
+
this.apiVersion = options.apiVersion || "2024-01-01";
|
1782
1793
|
this.healthApi = new HealthApiImpl(this);
|
1783
1794
|
this.webPubSub = new WebPubSubImpl(this);
|
1784
1795
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
@@ -1804,7 +1815,7 @@ class GeneratedClient extends coreClient__namespace.ServiceClient {
|
|
1804
1815
|
request.url = param[0] + "?" + newParams.join("&");
|
1805
1816
|
}
|
1806
1817
|
return next(request);
|
1807
|
-
}
|
1818
|
+
},
|
1808
1819
|
};
|
1809
1820
|
this.pipeline.addPolicy(apiVersionPolicy);
|
1810
1821
|
}
|
@@ -2076,7 +2087,7 @@ class WebPubSubServiceClient {
|
|
2076
2087
|
/**
|
2077
2088
|
* The Web PubSub API version being used by this client
|
2078
2089
|
*/
|
2079
|
-
this.apiVersion = "
|
2090
|
+
this.apiVersion = "2024-01-01";
|
2080
2091
|
// unpack constructor arguments
|
2081
2092
|
if (typeof credsOrHubName === "object") {
|
2082
2093
|
this.endpoint = endpointOrConnectionString;
|
@@ -2378,7 +2389,11 @@ class WebPubSubServiceClient {
|
|
2378
2389
|
return tracingClient.withSpan("WebPubSubServiceClient.getClientAccessToken", options, async (updatedOptions) => {
|
2379
2390
|
const endpoint = this.endpoint.endsWith("/") ? this.endpoint : this.endpoint + "/";
|
2380
2391
|
const clientEndpoint = endpoint.replace(/(http)(s?:\/\/)/gi, "ws$2");
|
2381
|
-
const
|
2392
|
+
const clientProtocol = updatedOptions.clientProtocol;
|
2393
|
+
const clientPath = clientProtocol && clientProtocol === "mqtt"
|
2394
|
+
? `clients/mqtt/hubs/${this.hubName}`
|
2395
|
+
: `client/hubs/${this.hubName}`;
|
2396
|
+
const baseUrl = clientEndpoint + clientPath;
|
2382
2397
|
let token;
|
2383
2398
|
if (coreAuth.isTokenCredential(this.credential)) {
|
2384
2399
|
const response = await this.client.webPubSub.generateClientToken(this.hubName, updatedOptions);
|
@@ -2386,17 +2401,20 @@ class WebPubSubServiceClient {
|
|
2386
2401
|
}
|
2387
2402
|
else {
|
2388
2403
|
const key = this.credential.key;
|
2389
|
-
const audience =
|
2390
|
-
const payload = {
|
2404
|
+
const audience = endpoint + clientPath;
|
2405
|
+
const payload = {
|
2406
|
+
role: updatedOptions === null || updatedOptions === void 0 ? void 0 : updatedOptions.roles,
|
2407
|
+
"webpubsub.group": updatedOptions === null || updatedOptions === void 0 ? void 0 : updatedOptions.groups,
|
2408
|
+
};
|
2391
2409
|
const signOptions = {
|
2392
2410
|
audience: audience,
|
2393
|
-
expiresIn: (
|
2411
|
+
expiresIn: (updatedOptions === null || updatedOptions === void 0 ? void 0 : updatedOptions.expirationTimeInMinutes) === undefined
|
2394
2412
|
? "1h"
|
2395
|
-
: `${
|
2413
|
+
: `${updatedOptions.expirationTimeInMinutes}m`,
|
2396
2414
|
algorithm: "HS256",
|
2397
2415
|
};
|
2398
|
-
if (
|
2399
|
-
signOptions.subject =
|
2416
|
+
if (updatedOptions === null || updatedOptions === void 0 ? void 0 : updatedOptions.userId) {
|
2417
|
+
signOptions.subject = updatedOptions === null || updatedOptions === void 0 ? void 0 : updatedOptions.userId;
|
2400
2418
|
}
|
2401
2419
|
token = jwt.sign(payload, key, signOptions);
|
2402
2420
|
}
|