@azure-rest/communication-job-router 1.1.0-beta.2 → 1.1.0-beta.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.
Files changed (29) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/LICENSE +21 -0
  3. package/dist/browser/azureCommunicationRoutingServiceClient.js +11 -10
  4. package/dist/browser/azureCommunicationRoutingServiceClient.js.map +1 -1
  5. package/dist/browser/isUnexpected.js +4 -5
  6. package/dist/browser/isUnexpected.js.map +1 -1
  7. package/dist/browser/paginateHelper.js +43 -73
  8. package/dist/browser/paginateHelper.js.map +1 -1
  9. package/dist/commonjs/azureCommunicationRoutingServiceClient.js +11 -10
  10. package/dist/commonjs/azureCommunicationRoutingServiceClient.js.map +1 -1
  11. package/dist/commonjs/isUnexpected.js +4 -5
  12. package/dist/commonjs/isUnexpected.js.map +1 -1
  13. package/dist/commonjs/paginateHelper.js +43 -73
  14. package/dist/commonjs/paginateHelper.js.map +1 -1
  15. package/dist/commonjs/tsdoc-metadata.json +11 -11
  16. package/dist/esm/azureCommunicationRoutingServiceClient.js +11 -10
  17. package/dist/esm/azureCommunicationRoutingServiceClient.js.map +1 -1
  18. package/dist/esm/isUnexpected.js +4 -5
  19. package/dist/esm/isUnexpected.js.map +1 -1
  20. package/dist/esm/paginateHelper.js +43 -73
  21. package/dist/esm/paginateHelper.js.map +1 -1
  22. package/dist/react-native/azureCommunicationRoutingServiceClient.js +11 -10
  23. package/dist/react-native/azureCommunicationRoutingServiceClient.js.map +1 -1
  24. package/dist/react-native/isUnexpected.js +4 -5
  25. package/dist/react-native/isUnexpected.js.map +1 -1
  26. package/dist/react-native/paginateHelper.js +43 -73
  27. package/dist/react-native/paginateHelper.js.map +1 -1
  28. package/package.json +38 -45
  29. package/review/communication-job-router-node.api.md +2598 -0
@@ -0,0 +1,2598 @@
1
+ ## API Report File for "@azure-rest/communication-job-router"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import type { Client } from '@azure-rest/core-client';
8
+ import type { ClientOptions } from '@azure-rest/core-client';
9
+ import type { ErrorResponse } from '@azure-rest/core-client';
10
+ import type { HttpResponse } from '@azure-rest/core-client';
11
+ import type { KeyCredential } from '@azure/core-auth';
12
+ import type { PathUncheckedResponse } from '@azure-rest/core-client';
13
+ import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
14
+ import type { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
15
+ import type { RequestParameters } from '@azure-rest/core-client';
16
+ import type { StreamableMethod } from '@azure-rest/core-client';
17
+ import type { TokenCredential } from '@azure/core-auth';
18
+
19
+ // @public (undocumented)
20
+ export interface Accept {
21
+ post(options?: AcceptParameters): StreamableMethod<Accept200Response | AcceptDefaultResponse>;
22
+ }
23
+
24
+ // @public
25
+ export interface Accept200Response extends HttpResponse {
26
+ // (undocumented)
27
+ body: AcceptJobOfferResultOutput;
28
+ // (undocumented)
29
+ status: "200";
30
+ }
31
+
32
+ // @public (undocumented)
33
+ export interface AcceptDefaultHeaders {
34
+ "x-ms-error-code"?: string;
35
+ }
36
+
37
+ // @public (undocumented)
38
+ export interface AcceptDefaultResponse extends HttpResponse {
39
+ // (undocumented)
40
+ body: ErrorResponse;
41
+ // (undocumented)
42
+ headers: RawHttpHeaders & AcceptDefaultHeaders;
43
+ // (undocumented)
44
+ status: string;
45
+ }
46
+
47
+ // @public
48
+ export interface AcceptJobOfferResultOutput {
49
+ assignmentId: string;
50
+ jobId: string;
51
+ workerId: string;
52
+ }
53
+
54
+ // @public (undocumented)
55
+ export type AcceptParameters = RequestParameters;
56
+
57
+ // @public (undocumented)
58
+ export type AzureCommunicationRoutingServiceClient = Client & {
59
+ path: Routes;
60
+ };
61
+
62
+ // @public
63
+ export interface AzureCommunicationRoutingServiceClientOptions extends ClientOptions {
64
+ apiVersion?: string;
65
+ }
66
+
67
+ // @public
68
+ export interface BestWorkerMode extends DistributionModeParent {
69
+ kind: "bestWorker";
70
+ scoringRule?: RouterRule;
71
+ scoringRuleOptions?: ScoringRuleOptions;
72
+ }
73
+
74
+ // @public
75
+ export interface BestWorkerModeOutput extends DistributionModeOutputParent {
76
+ kind: "bestWorker";
77
+ scoringRule?: RouterRuleOutput;
78
+ scoringRuleOptions?: ScoringRuleOptionsOutput;
79
+ }
80
+
81
+ // @public (undocumented)
82
+ export interface Cancel {
83
+ post(options?: CancelParameters): StreamableMethod<Cancel200Response | CancelDefaultResponse>;
84
+ }
85
+
86
+ // @public
87
+ export interface Cancel200Response extends HttpResponse {
88
+ // (undocumented)
89
+ body: CancelJobResultOutput;
90
+ // (undocumented)
91
+ status: "200";
92
+ }
93
+
94
+ // @public (undocumented)
95
+ export interface CancelBodyParam {
96
+ body?: CancelJobOptions;
97
+ }
98
+
99
+ // @public (undocumented)
100
+ export interface CancelDefaultHeaders {
101
+ "x-ms-error-code"?: string;
102
+ }
103
+
104
+ // @public (undocumented)
105
+ export interface CancelDefaultResponse extends HttpResponse {
106
+ // (undocumented)
107
+ body: ErrorResponse;
108
+ // (undocumented)
109
+ headers: RawHttpHeaders & CancelDefaultHeaders;
110
+ // (undocumented)
111
+ status: string;
112
+ }
113
+
114
+ // @public
115
+ export interface CancelExceptionAction extends ExceptionActionParent {
116
+ dispositionCode?: string;
117
+ kind: "cancel";
118
+ note?: string;
119
+ }
120
+
121
+ // @public
122
+ export interface CancelExceptionActionOutput extends ExceptionActionOutputParent {
123
+ dispositionCode?: string;
124
+ kind: "cancel";
125
+ note?: string;
126
+ }
127
+
128
+ // @public
129
+ export interface CancelJobOptions {
130
+ dispositionCode?: string;
131
+ note?: string;
132
+ }
133
+
134
+ // @public
135
+ export interface CancelJobResultOutput {
136
+ }
137
+
138
+ // @public (undocumented)
139
+ export type CancelParameters = CancelBodyParam & RequestParameters;
140
+
141
+ // @public
142
+ export interface ClassificationPolicy {
143
+ fallbackQueueId?: string;
144
+ name?: string;
145
+ prioritizationRule?: RouterRule;
146
+ queueSelectorAttachments?: Array<QueueSelectorAttachment>;
147
+ workerSelectorAttachments?: Array<WorkerSelectorAttachment>;
148
+ }
149
+
150
+ // @public
151
+ export interface ClassificationPolicyOutput {
152
+ readonly etag: string;
153
+ fallbackQueueId?: string;
154
+ readonly id: string;
155
+ name?: string;
156
+ prioritizationRule?: RouterRuleOutput;
157
+ queueSelectorAttachments?: Array<QueueSelectorAttachmentOutput>;
158
+ workerSelectorAttachments?: Array<WorkerSelectorAttachmentOutput>;
159
+ }
160
+
161
+ // @public
162
+ export type ClassificationPolicyResourceMergeAndPatch = Partial<ClassificationPolicy>;
163
+
164
+ // @public (undocumented)
165
+ export interface Close {
166
+ post(options?: CloseParameters): StreamableMethod<Close200Response | CloseDefaultResponse>;
167
+ }
168
+
169
+ // @public
170
+ export interface Close200Response extends HttpResponse {
171
+ // (undocumented)
172
+ body: CloseJobResultOutput;
173
+ // (undocumented)
174
+ status: "200";
175
+ }
176
+
177
+ // @public (undocumented)
178
+ export interface CloseBodyParam {
179
+ body?: CloseJobOptions;
180
+ }
181
+
182
+ // @public (undocumented)
183
+ export interface CloseDefaultHeaders {
184
+ "x-ms-error-code"?: string;
185
+ }
186
+
187
+ // @public (undocumented)
188
+ export interface CloseDefaultResponse extends HttpResponse {
189
+ // (undocumented)
190
+ body: ErrorResponse;
191
+ // (undocumented)
192
+ headers: RawHttpHeaders & CloseDefaultHeaders;
193
+ // (undocumented)
194
+ status: string;
195
+ }
196
+
197
+ // @public
198
+ export interface CloseJobOptions {
199
+ closeAt?: Date | string;
200
+ dispositionCode?: string;
201
+ note?: string;
202
+ }
203
+
204
+ // @public
205
+ export interface CloseJobResultOutput {
206
+ }
207
+
208
+ // @public (undocumented)
209
+ export type CloseParameters = CloseBodyParam & RequestParameters;
210
+
211
+ // @public (undocumented)
212
+ export interface Complete {
213
+ post(options?: CompleteParameters): StreamableMethod<Complete200Response | CompleteDefaultResponse>;
214
+ }
215
+
216
+ // @public
217
+ export interface Complete200Response extends HttpResponse {
218
+ // (undocumented)
219
+ body: CompleteJobResultOutput;
220
+ // (undocumented)
221
+ status: "200";
222
+ }
223
+
224
+ // @public (undocumented)
225
+ export interface CompleteBodyParam {
226
+ body?: CompleteJobOptions;
227
+ }
228
+
229
+ // @public (undocumented)
230
+ export interface CompleteDefaultHeaders {
231
+ "x-ms-error-code"?: string;
232
+ }
233
+
234
+ // @public (undocumented)
235
+ export interface CompleteDefaultResponse extends HttpResponse {
236
+ // (undocumented)
237
+ body: ErrorResponse;
238
+ // (undocumented)
239
+ headers: RawHttpHeaders & CompleteDefaultHeaders;
240
+ // (undocumented)
241
+ status: string;
242
+ }
243
+
244
+ // @public
245
+ export interface CompleteJobOptions {
246
+ note?: string;
247
+ }
248
+
249
+ // @public
250
+ export interface CompleteJobResultOutput {
251
+ }
252
+
253
+ // @public (undocumented)
254
+ export type CompleteParameters = CompleteBodyParam & RequestParameters;
255
+
256
+ // @public
257
+ export interface ConditionalQueueSelectorAttachment extends QueueSelectorAttachmentParent {
258
+ condition: RouterRule;
259
+ kind: "conditional";
260
+ queueSelectors: Array<RouterQueueSelector>;
261
+ }
262
+
263
+ // @public
264
+ export interface ConditionalQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
265
+ condition: RouterRuleOutput;
266
+ kind: "conditional";
267
+ queueSelectors: Array<RouterQueueSelectorOutput>;
268
+ }
269
+
270
+ // @public
271
+ export interface ConditionalWorkerSelectorAttachment extends WorkerSelectorAttachmentParent {
272
+ condition: RouterRule;
273
+ kind: "conditional";
274
+ workerSelectors: Array<RouterWorkerSelector>;
275
+ }
276
+
277
+ // @public
278
+ export interface ConditionalWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
279
+ condition: RouterRuleOutput;
280
+ kind: "conditional";
281
+ workerSelectors: Array<RouterWorkerSelectorOutput>;
282
+ }
283
+
284
+ // @public
285
+ function createClient(connectionString: string, options: ClientOptions): AzureCommunicationRoutingServiceClient;
286
+
287
+ // @public
288
+ function createClient(endpoint: string, credentialOrOptions?: KeyCredential | TokenCredential, options?: ClientOptions): AzureCommunicationRoutingServiceClient;
289
+ export default createClient;
290
+
291
+ // @public (undocumented)
292
+ export interface Decline {
293
+ post(options?: DeclineParameters): StreamableMethod<Decline200Response | DeclineDefaultResponse>;
294
+ }
295
+
296
+ // @public
297
+ export interface Decline200Response extends HttpResponse {
298
+ // (undocumented)
299
+ body: DeclineJobOfferResultOutput;
300
+ // (undocumented)
301
+ status: "200";
302
+ }
303
+
304
+ // @public (undocumented)
305
+ export interface DeclineBodyParam {
306
+ body?: DeclineJobOfferOptions;
307
+ }
308
+
309
+ // @public (undocumented)
310
+ export interface DeclineDefaultHeaders {
311
+ "x-ms-error-code"?: string;
312
+ }
313
+
314
+ // @public (undocumented)
315
+ export interface DeclineDefaultResponse extends HttpResponse {
316
+ // (undocumented)
317
+ body: ErrorResponse;
318
+ // (undocumented)
319
+ headers: RawHttpHeaders & DeclineDefaultHeaders;
320
+ // (undocumented)
321
+ status: string;
322
+ }
323
+
324
+ // @public
325
+ export interface DeclineJobOfferOptions {
326
+ retryOfferAt?: Date | string;
327
+ }
328
+
329
+ // @public
330
+ export interface DeclineJobOfferResultOutput {
331
+ }
332
+
333
+ // @public (undocumented)
334
+ export type DeclineParameters = DeclineBodyParam & RequestParameters;
335
+
336
+ // @public
337
+ export interface DeleteClassificationPolicy204Response extends HttpResponse {
338
+ // (undocumented)
339
+ status: "204";
340
+ }
341
+
342
+ // @public (undocumented)
343
+ export interface DeleteClassificationPolicyDefaultHeaders {
344
+ "x-ms-error-code"?: string;
345
+ }
346
+
347
+ // @public (undocumented)
348
+ export interface DeleteClassificationPolicyDefaultResponse extends HttpResponse {
349
+ // (undocumented)
350
+ body: ErrorResponse;
351
+ // (undocumented)
352
+ headers: RawHttpHeaders & DeleteClassificationPolicyDefaultHeaders;
353
+ // (undocumented)
354
+ status: string;
355
+ }
356
+
357
+ // @public (undocumented)
358
+ export type DeleteClassificationPolicyParameters = RequestParameters;
359
+
360
+ // @public
361
+ export interface DeleteDistributionPolicy204Response extends HttpResponse {
362
+ // (undocumented)
363
+ status: "204";
364
+ }
365
+
366
+ // @public (undocumented)
367
+ export interface DeleteDistributionPolicyDefaultHeaders {
368
+ "x-ms-error-code"?: string;
369
+ }
370
+
371
+ // @public (undocumented)
372
+ export interface DeleteDistributionPolicyDefaultResponse extends HttpResponse {
373
+ // (undocumented)
374
+ body: ErrorResponse;
375
+ // (undocumented)
376
+ headers: RawHttpHeaders & DeleteDistributionPolicyDefaultHeaders;
377
+ // (undocumented)
378
+ status: string;
379
+ }
380
+
381
+ // @public (undocumented)
382
+ export type DeleteDistributionPolicyParameters = RequestParameters;
383
+
384
+ // @public
385
+ export interface DeleteExceptionPolicy204Response extends HttpResponse {
386
+ // (undocumented)
387
+ status: "204";
388
+ }
389
+
390
+ // @public (undocumented)
391
+ export interface DeleteExceptionPolicyDefaultHeaders {
392
+ "x-ms-error-code"?: string;
393
+ }
394
+
395
+ // @public (undocumented)
396
+ export interface DeleteExceptionPolicyDefaultResponse extends HttpResponse {
397
+ // (undocumented)
398
+ body: ErrorResponse;
399
+ // (undocumented)
400
+ headers: RawHttpHeaders & DeleteExceptionPolicyDefaultHeaders;
401
+ // (undocumented)
402
+ status: string;
403
+ }
404
+
405
+ // @public (undocumented)
406
+ export type DeleteExceptionPolicyParameters = RequestParameters;
407
+
408
+ // @public
409
+ export interface DeleteJob204Response extends HttpResponse {
410
+ // (undocumented)
411
+ status: "204";
412
+ }
413
+
414
+ // @public (undocumented)
415
+ export interface DeleteJobDefaultHeaders {
416
+ "x-ms-error-code"?: string;
417
+ }
418
+
419
+ // @public (undocumented)
420
+ export interface DeleteJobDefaultResponse extends HttpResponse {
421
+ // (undocumented)
422
+ body: ErrorResponse;
423
+ // (undocumented)
424
+ headers: RawHttpHeaders & DeleteJobDefaultHeaders;
425
+ // (undocumented)
426
+ status: string;
427
+ }
428
+
429
+ // @public (undocumented)
430
+ export type DeleteJobParameters = RequestParameters;
431
+
432
+ // @public
433
+ export interface DeleteQueue204Response extends HttpResponse {
434
+ // (undocumented)
435
+ status: "204";
436
+ }
437
+
438
+ // @public (undocumented)
439
+ export interface DeleteQueueDefaultHeaders {
440
+ "x-ms-error-code"?: string;
441
+ }
442
+
443
+ // @public (undocumented)
444
+ export interface DeleteQueueDefaultResponse extends HttpResponse {
445
+ // (undocumented)
446
+ body: ErrorResponse;
447
+ // (undocumented)
448
+ headers: RawHttpHeaders & DeleteQueueDefaultHeaders;
449
+ // (undocumented)
450
+ status: string;
451
+ }
452
+
453
+ // @public (undocumented)
454
+ export type DeleteQueueParameters = RequestParameters;
455
+
456
+ // @public
457
+ export interface DeleteWorker204Response extends HttpResponse {
458
+ // (undocumented)
459
+ status: "204";
460
+ }
461
+
462
+ // @public (undocumented)
463
+ export interface DeleteWorkerDefaultHeaders {
464
+ "x-ms-error-code"?: string;
465
+ }
466
+
467
+ // @public (undocumented)
468
+ export interface DeleteWorkerDefaultResponse extends HttpResponse {
469
+ // (undocumented)
470
+ body: ErrorResponse;
471
+ // (undocumented)
472
+ headers: RawHttpHeaders & DeleteWorkerDefaultHeaders;
473
+ // (undocumented)
474
+ status: string;
475
+ }
476
+
477
+ // @public (undocumented)
478
+ export type DeleteWorkerParameters = RequestParameters;
479
+
480
+ // @public
481
+ export interface DirectMapRouterRule extends RouterRuleParent {
482
+ kind: "directMap";
483
+ }
484
+
485
+ // @public
486
+ export interface DirectMapRouterRuleOutput extends RouterRuleOutputParent {
487
+ kind: "directMap";
488
+ }
489
+
490
+ // @public
491
+ export type DistributionMode = DistributionModeParent | BestWorkerMode | LongestIdleMode | RoundRobinMode;
492
+
493
+ // @public
494
+ export type DistributionModeKind = string;
495
+
496
+ // @public
497
+ export type DistributionModeKindOutput = string;
498
+
499
+ // @public
500
+ export type DistributionModeOutput = DistributionModeOutputParent | BestWorkerModeOutput | LongestIdleModeOutput | RoundRobinModeOutput;
501
+
502
+ // @public
503
+ export interface DistributionModeOutputParent {
504
+ bypassSelectors?: boolean;
505
+ // (undocumented)
506
+ kind: DistributionModeKindOutput;
507
+ maxConcurrentOffers?: number;
508
+ minConcurrentOffers?: number;
509
+ }
510
+
511
+ // @public
512
+ export interface DistributionModeParent {
513
+ bypassSelectors?: boolean;
514
+ // (undocumented)
515
+ kind: DistributionModeKind;
516
+ maxConcurrentOffers?: number;
517
+ minConcurrentOffers?: number;
518
+ }
519
+
520
+ // @public
521
+ export interface DistributionPolicy {
522
+ mode?: DistributionMode;
523
+ name?: string;
524
+ offerExpiresAfterSeconds?: number;
525
+ }
526
+
527
+ // @public
528
+ export interface DistributionPolicyOutput {
529
+ readonly etag: string;
530
+ readonly id: string;
531
+ mode?: DistributionModeOutput;
532
+ name?: string;
533
+ offerExpiresAfterSeconds?: number;
534
+ }
535
+
536
+ // @public
537
+ export type DistributionPolicyResourceMergeAndPatch = Partial<DistributionPolicy>;
538
+
539
+ // @public
540
+ export type ExceptionAction = ExceptionActionParent | CancelExceptionAction | ManualReclassifyExceptionAction | ReclassifyExceptionAction;
541
+
542
+ // @public
543
+ export type ExceptionActionKind = string;
544
+
545
+ // @public
546
+ export type ExceptionActionKindOutput = string;
547
+
548
+ // @public
549
+ export type ExceptionActionOutput = ExceptionActionOutputParent | CancelExceptionActionOutput | ManualReclassifyExceptionActionOutput | ReclassifyExceptionActionOutput;
550
+
551
+ // @public
552
+ export interface ExceptionActionOutputParent {
553
+ id?: string;
554
+ // (undocumented)
555
+ kind: ExceptionActionKindOutput;
556
+ }
557
+
558
+ // @public
559
+ export interface ExceptionActionParent {
560
+ id?: string;
561
+ // (undocumented)
562
+ kind: ExceptionActionKind;
563
+ }
564
+
565
+ // @public
566
+ export interface ExceptionPolicy {
567
+ exceptionRules?: Array<ExceptionRule>;
568
+ name?: string;
569
+ }
570
+
571
+ // @public
572
+ export interface ExceptionPolicyOutput {
573
+ readonly etag: string;
574
+ exceptionRules?: Array<ExceptionRuleOutput>;
575
+ readonly id: string;
576
+ name?: string;
577
+ }
578
+
579
+ // @public
580
+ export type ExceptionPolicyResourceMergeAndPatch = Partial<ExceptionPolicy>;
581
+
582
+ // @public
583
+ export interface ExceptionRule {
584
+ actions: Array<ExceptionAction>;
585
+ id: string;
586
+ trigger: ExceptionTrigger;
587
+ }
588
+
589
+ // @public
590
+ export interface ExceptionRuleOutput {
591
+ actions: Array<ExceptionActionOutput>;
592
+ id: string;
593
+ trigger: ExceptionTriggerOutput;
594
+ }
595
+
596
+ // @public
597
+ export type ExceptionTrigger = ExceptionTriggerParent | QueueLengthExceptionTrigger | WaitTimeExceptionTrigger;
598
+
599
+ // @public
600
+ export type ExceptionTriggerKind = string;
601
+
602
+ // @public
603
+ export type ExceptionTriggerKindOutput = string;
604
+
605
+ // @public
606
+ export type ExceptionTriggerOutput = ExceptionTriggerOutputParent | QueueLengthExceptionTriggerOutput | WaitTimeExceptionTriggerOutput;
607
+
608
+ // @public
609
+ export interface ExceptionTriggerOutputParent {
610
+ // (undocumented)
611
+ kind: ExceptionTriggerKindOutput;
612
+ }
613
+
614
+ // @public
615
+ export interface ExceptionTriggerParent {
616
+ // (undocumented)
617
+ kind: ExceptionTriggerKind;
618
+ }
619
+
620
+ // @public
621
+ export interface ExpressionRouterRule extends RouterRuleParent {
622
+ expression: string;
623
+ kind: "expression";
624
+ language?: ExpressionRouterRuleLanguage;
625
+ }
626
+
627
+ // @public
628
+ export type ExpressionRouterRuleLanguage = string;
629
+
630
+ // @public
631
+ export type ExpressionRouterRuleLanguageOutput = string;
632
+
633
+ // @public
634
+ export interface ExpressionRouterRuleOutput extends RouterRuleOutputParent {
635
+ expression: string;
636
+ kind: "expression";
637
+ language?: ExpressionRouterRuleLanguageOutput;
638
+ }
639
+
640
+ // @public
641
+ export interface FunctionRouterRule extends RouterRuleParent {
642
+ credential?: FunctionRouterRuleCredential;
643
+ functionUri: string;
644
+ kind: "function";
645
+ }
646
+
647
+ // @public
648
+ export interface FunctionRouterRuleCredential {
649
+ appKey?: string;
650
+ clientId?: string;
651
+ functionKey?: string;
652
+ }
653
+
654
+ // @public
655
+ export interface FunctionRouterRuleCredentialOutput {
656
+ appKey?: string;
657
+ clientId?: string;
658
+ functionKey?: string;
659
+ }
660
+
661
+ // @public
662
+ export interface FunctionRouterRuleOutput extends RouterRuleOutputParent {
663
+ credential?: FunctionRouterRuleCredentialOutput;
664
+ functionUri: string;
665
+ kind: "function";
666
+ }
667
+
668
+ // @public
669
+ export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
670
+
671
+ // @public (undocumented)
672
+ export interface GetClassificationPolicy200Headers {
673
+ "last-modified"?: string;
674
+ etag?: string;
675
+ }
676
+
677
+ // @public
678
+ export interface GetClassificationPolicy200Response extends HttpResponse {
679
+ // (undocumented)
680
+ body: ClassificationPolicyOutput;
681
+ // (undocumented)
682
+ headers: RawHttpHeaders & GetClassificationPolicy200Headers;
683
+ // (undocumented)
684
+ status: "200";
685
+ }
686
+
687
+ // @public (undocumented)
688
+ export interface GetClassificationPolicyDefaultHeaders {
689
+ "x-ms-error-code"?: string;
690
+ }
691
+
692
+ // @public (undocumented)
693
+ export interface GetClassificationPolicyDefaultResponse extends HttpResponse {
694
+ // (undocumented)
695
+ body: ErrorResponse;
696
+ // (undocumented)
697
+ headers: RawHttpHeaders & GetClassificationPolicyDefaultHeaders;
698
+ // (undocumented)
699
+ status: string;
700
+ }
701
+
702
+ // @public (undocumented)
703
+ export type GetClassificationPolicyParameters = RequestParameters;
704
+
705
+ // @public (undocumented)
706
+ export interface GetDistributionPolicy200Headers {
707
+ "last-modified"?: string;
708
+ etag?: string;
709
+ }
710
+
711
+ // @public
712
+ export interface GetDistributionPolicy200Response extends HttpResponse {
713
+ // (undocumented)
714
+ body: DistributionPolicyOutput;
715
+ // (undocumented)
716
+ headers: RawHttpHeaders & GetDistributionPolicy200Headers;
717
+ // (undocumented)
718
+ status: "200";
719
+ }
720
+
721
+ // @public (undocumented)
722
+ export interface GetDistributionPolicyDefaultHeaders {
723
+ "x-ms-error-code"?: string;
724
+ }
725
+
726
+ // @public (undocumented)
727
+ export interface GetDistributionPolicyDefaultResponse extends HttpResponse {
728
+ // (undocumented)
729
+ body: ErrorResponse;
730
+ // (undocumented)
731
+ headers: RawHttpHeaders & GetDistributionPolicyDefaultHeaders;
732
+ // (undocumented)
733
+ status: string;
734
+ }
735
+
736
+ // @public (undocumented)
737
+ export type GetDistributionPolicyParameters = RequestParameters;
738
+
739
+ // @public (undocumented)
740
+ export interface GetExceptionPolicy200Headers {
741
+ "last-modified"?: string;
742
+ etag?: string;
743
+ }
744
+
745
+ // @public
746
+ export interface GetExceptionPolicy200Response extends HttpResponse {
747
+ // (undocumented)
748
+ body: ExceptionPolicyOutput;
749
+ // (undocumented)
750
+ headers: RawHttpHeaders & GetExceptionPolicy200Headers;
751
+ // (undocumented)
752
+ status: "200";
753
+ }
754
+
755
+ // @public (undocumented)
756
+ export interface GetExceptionPolicyDefaultHeaders {
757
+ "x-ms-error-code"?: string;
758
+ }
759
+
760
+ // @public (undocumented)
761
+ export interface GetExceptionPolicyDefaultResponse extends HttpResponse {
762
+ // (undocumented)
763
+ body: ErrorResponse;
764
+ // (undocumented)
765
+ headers: RawHttpHeaders & GetExceptionPolicyDefaultHeaders;
766
+ // (undocumented)
767
+ status: string;
768
+ }
769
+
770
+ // @public (undocumented)
771
+ export type GetExceptionPolicyParameters = RequestParameters;
772
+
773
+ // @public (undocumented)
774
+ export interface GetInQueuePosition {
775
+ get(options?: GetInQueuePositionParameters): StreamableMethod<GetInQueuePosition200Response | GetInQueuePositionDefaultResponse>;
776
+ }
777
+
778
+ // @public
779
+ export interface GetInQueuePosition200Response extends HttpResponse {
780
+ // (undocumented)
781
+ body: RouterJobPositionDetailsOutput;
782
+ // (undocumented)
783
+ status: "200";
784
+ }
785
+
786
+ // @public (undocumented)
787
+ export interface GetInQueuePositionDefaultHeaders {
788
+ "x-ms-error-code"?: string;
789
+ }
790
+
791
+ // @public (undocumented)
792
+ export interface GetInQueuePositionDefaultResponse extends HttpResponse {
793
+ // (undocumented)
794
+ body: ErrorResponse;
795
+ // (undocumented)
796
+ headers: RawHttpHeaders & GetInQueuePositionDefaultHeaders;
797
+ // (undocumented)
798
+ status: string;
799
+ }
800
+
801
+ // @public (undocumented)
802
+ export type GetInQueuePositionParameters = RequestParameters;
803
+
804
+ // @public (undocumented)
805
+ export interface GetJob200Headers {
806
+ "last-modified"?: string;
807
+ etag?: string;
808
+ }
809
+
810
+ // @public
811
+ export interface GetJob200Response extends HttpResponse {
812
+ // (undocumented)
813
+ body: RouterJobOutput;
814
+ // (undocumented)
815
+ headers: RawHttpHeaders & GetJob200Headers;
816
+ // (undocumented)
817
+ status: "200";
818
+ }
819
+
820
+ // @public (undocumented)
821
+ export interface GetJobDefaultHeaders {
822
+ "x-ms-error-code"?: string;
823
+ }
824
+
825
+ // @public (undocumented)
826
+ export interface GetJobDefaultResponse extends HttpResponse {
827
+ // (undocumented)
828
+ body: ErrorResponse;
829
+ // (undocumented)
830
+ headers: RawHttpHeaders & GetJobDefaultHeaders;
831
+ // (undocumented)
832
+ status: string;
833
+ }
834
+
835
+ // @public (undocumented)
836
+ export type GetJobParameters = RequestParameters;
837
+
838
+ // @public
839
+ export type GetPage<TPage> = (pageLink: string) => Promise<{
840
+ page: TPage;
841
+ nextPageLink?: string;
842
+ }>;
843
+
844
+ // @public (undocumented)
845
+ export interface GetQueue200Headers {
846
+ "last-modified"?: string;
847
+ etag?: string;
848
+ }
849
+
850
+ // @public
851
+ export interface GetQueue200Response extends HttpResponse {
852
+ // (undocumented)
853
+ body: RouterQueueOutput;
854
+ // (undocumented)
855
+ headers: RawHttpHeaders & GetQueue200Headers;
856
+ // (undocumented)
857
+ status: "200";
858
+ }
859
+
860
+ // @public (undocumented)
861
+ export interface GetQueueDefaultHeaders {
862
+ "x-ms-error-code"?: string;
863
+ }
864
+
865
+ // @public (undocumented)
866
+ export interface GetQueueDefaultResponse extends HttpResponse {
867
+ // (undocumented)
868
+ body: ErrorResponse;
869
+ // (undocumented)
870
+ headers: RawHttpHeaders & GetQueueDefaultHeaders;
871
+ // (undocumented)
872
+ status: string;
873
+ }
874
+
875
+ // @public (undocumented)
876
+ export type GetQueueParameters = RequestParameters;
877
+
878
+ // @public (undocumented)
879
+ export interface GetQueueStatistics {
880
+ get(options?: GetQueueStatisticsParameters): StreamableMethod<GetQueueStatistics200Response | GetQueueStatisticsDefaultResponse>;
881
+ }
882
+
883
+ // @public
884
+ export interface GetQueueStatistics200Response extends HttpResponse {
885
+ // (undocumented)
886
+ body: RouterQueueStatisticsOutput;
887
+ // (undocumented)
888
+ status: "200";
889
+ }
890
+
891
+ // @public (undocumented)
892
+ export interface GetQueueStatisticsDefaultHeaders {
893
+ "x-ms-error-code"?: string;
894
+ }
895
+
896
+ // @public (undocumented)
897
+ export interface GetQueueStatisticsDefaultResponse extends HttpResponse {
898
+ // (undocumented)
899
+ body: ErrorResponse;
900
+ // (undocumented)
901
+ headers: RawHttpHeaders & GetQueueStatisticsDefaultHeaders;
902
+ // (undocumented)
903
+ status: string;
904
+ }
905
+
906
+ // @public (undocumented)
907
+ export type GetQueueStatisticsParameters = RequestParameters;
908
+
909
+ // @public (undocumented)
910
+ export interface GetWorker200Headers {
911
+ "last-modified"?: string;
912
+ etag?: string;
913
+ }
914
+
915
+ // @public
916
+ export interface GetWorker200Response extends HttpResponse {
917
+ // (undocumented)
918
+ body: RouterWorkerOutput;
919
+ // (undocumented)
920
+ headers: RawHttpHeaders & GetWorker200Headers;
921
+ // (undocumented)
922
+ status: "200";
923
+ }
924
+
925
+ // @public (undocumented)
926
+ export interface GetWorkerDefaultHeaders {
927
+ "x-ms-error-code"?: string;
928
+ }
929
+
930
+ // @public (undocumented)
931
+ export interface GetWorkerDefaultResponse extends HttpResponse {
932
+ // (undocumented)
933
+ body: ErrorResponse;
934
+ // (undocumented)
935
+ headers: RawHttpHeaders & GetWorkerDefaultHeaders;
936
+ // (undocumented)
937
+ status: string;
938
+ }
939
+
940
+ // @public (undocumented)
941
+ export type GetWorkerParameters = RequestParameters;
942
+
943
+ // @public (undocumented)
944
+ export function isUnexpected(response: UpsertClassificationPolicy200Response | UpsertClassificationPolicy201Response | UpsertClassificationPolicyDefaultResponse): response is UpsertClassificationPolicyDefaultResponse;
945
+
946
+ // @public (undocumented)
947
+ export function isUnexpected(response: GetClassificationPolicy200Response | GetClassificationPolicyDefaultResponse): response is GetClassificationPolicyDefaultResponse;
948
+
949
+ // @public (undocumented)
950
+ export function isUnexpected(response: DeleteClassificationPolicy204Response | DeleteClassificationPolicyDefaultResponse): response is DeleteClassificationPolicyDefaultResponse;
951
+
952
+ // @public (undocumented)
953
+ export function isUnexpected(response: ListClassificationPolicies200Response | ListClassificationPoliciesDefaultResponse): response is ListClassificationPoliciesDefaultResponse;
954
+
955
+ // @public (undocumented)
956
+ export function isUnexpected(response: UpsertDistributionPolicy200Response | UpsertDistributionPolicy201Response | UpsertDistributionPolicyDefaultResponse): response is UpsertDistributionPolicyDefaultResponse;
957
+
958
+ // @public (undocumented)
959
+ export function isUnexpected(response: GetDistributionPolicy200Response | GetDistributionPolicyDefaultResponse): response is GetDistributionPolicyDefaultResponse;
960
+
961
+ // @public (undocumented)
962
+ export function isUnexpected(response: DeleteDistributionPolicy204Response | DeleteDistributionPolicyDefaultResponse): response is DeleteDistributionPolicyDefaultResponse;
963
+
964
+ // @public (undocumented)
965
+ export function isUnexpected(response: ListDistributionPolicies200Response | ListDistributionPoliciesDefaultResponse): response is ListDistributionPoliciesDefaultResponse;
966
+
967
+ // @public (undocumented)
968
+ export function isUnexpected(response: UpsertExceptionPolicy200Response | UpsertExceptionPolicy201Response | UpsertExceptionPolicyDefaultResponse): response is UpsertExceptionPolicyDefaultResponse;
969
+
970
+ // @public (undocumented)
971
+ export function isUnexpected(response: GetExceptionPolicy200Response | GetExceptionPolicyDefaultResponse): response is GetExceptionPolicyDefaultResponse;
972
+
973
+ // @public (undocumented)
974
+ export function isUnexpected(response: DeleteExceptionPolicy204Response | DeleteExceptionPolicyDefaultResponse): response is DeleteExceptionPolicyDefaultResponse;
975
+
976
+ // @public (undocumented)
977
+ export function isUnexpected(response: ListExceptionPolicies200Response | ListExceptionPoliciesDefaultResponse): response is ListExceptionPoliciesDefaultResponse;
978
+
979
+ // @public (undocumented)
980
+ export function isUnexpected(response: UpsertQueue200Response | UpsertQueue201Response | UpsertQueueDefaultResponse): response is UpsertQueueDefaultResponse;
981
+
982
+ // @public (undocumented)
983
+ export function isUnexpected(response: GetQueue200Response | GetQueueDefaultResponse): response is GetQueueDefaultResponse;
984
+
985
+ // @public (undocumented)
986
+ export function isUnexpected(response: DeleteQueue204Response | DeleteQueueDefaultResponse): response is DeleteQueueDefaultResponse;
987
+
988
+ // @public (undocumented)
989
+ export function isUnexpected(response: ListQueues200Response | ListQueuesDefaultResponse): response is ListQueuesDefaultResponse;
990
+
991
+ // @public (undocumented)
992
+ export function isUnexpected(response: UpsertJob200Response | UpsertJob201Response | UpsertJobDefaultResponse): response is UpsertJobDefaultResponse;
993
+
994
+ // @public (undocumented)
995
+ export function isUnexpected(response: GetJob200Response | GetJobDefaultResponse): response is GetJobDefaultResponse;
996
+
997
+ // @public (undocumented)
998
+ export function isUnexpected(response: DeleteJob204Response | DeleteJobDefaultResponse): response is DeleteJobDefaultResponse;
999
+
1000
+ // @public (undocumented)
1001
+ export function isUnexpected(response: Reclassify200Response | ReclassifyDefaultResponse): response is ReclassifyDefaultResponse;
1002
+
1003
+ // @public (undocumented)
1004
+ export function isUnexpected(response: Cancel200Response | CancelDefaultResponse): response is CancelDefaultResponse;
1005
+
1006
+ // @public (undocumented)
1007
+ export function isUnexpected(response: Complete200Response | CompleteDefaultResponse): response is CompleteDefaultResponse;
1008
+
1009
+ // @public (undocumented)
1010
+ export function isUnexpected(response: Close200Response | CloseDefaultResponse): response is CloseDefaultResponse;
1011
+
1012
+ // @public (undocumented)
1013
+ export function isUnexpected(response: ListJobs200Response | ListJobsDefaultResponse): response is ListJobsDefaultResponse;
1014
+
1015
+ // @public (undocumented)
1016
+ export function isUnexpected(response: GetInQueuePosition200Response | GetInQueuePositionDefaultResponse): response is GetInQueuePositionDefaultResponse;
1017
+
1018
+ // @public (undocumented)
1019
+ export function isUnexpected(response: Unassign200Response | UnassignDefaultResponse): response is UnassignDefaultResponse;
1020
+
1021
+ // @public (undocumented)
1022
+ export function isUnexpected(response: Accept200Response | AcceptDefaultResponse): response is AcceptDefaultResponse;
1023
+
1024
+ // @public (undocumented)
1025
+ export function isUnexpected(response: Decline200Response | DeclineDefaultResponse): response is DeclineDefaultResponse;
1026
+
1027
+ // @public (undocumented)
1028
+ export function isUnexpected(response: GetQueueStatistics200Response | GetQueueStatisticsDefaultResponse): response is GetQueueStatisticsDefaultResponse;
1029
+
1030
+ // @public (undocumented)
1031
+ export function isUnexpected(response: UpsertWorker200Response | UpsertWorker201Response | UpsertWorkerDefaultResponse): response is UpsertWorkerDefaultResponse;
1032
+
1033
+ // @public (undocumented)
1034
+ export function isUnexpected(response: GetWorker200Response | GetWorkerDefaultResponse): response is GetWorkerDefaultResponse;
1035
+
1036
+ // @public (undocumented)
1037
+ export function isUnexpected(response: DeleteWorker204Response | DeleteWorkerDefaultResponse): response is DeleteWorkerDefaultResponse;
1038
+
1039
+ // @public (undocumented)
1040
+ export function isUnexpected(response: ListWorkers200Response | ListWorkersDefaultResponse): response is ListWorkersDefaultResponse;
1041
+
1042
+ // @public
1043
+ export type JobMatchingMode = JobMatchingModeParent | ScheduleAndSuspendMode | QueueAndMatchMode | SuspendMode;
1044
+
1045
+ // @public
1046
+ export type JobMatchingModeKind = string;
1047
+
1048
+ // @public
1049
+ export type JobMatchingModeKindOutput = string;
1050
+
1051
+ // @public
1052
+ export type JobMatchingModeOutput = JobMatchingModeOutputParent | ScheduleAndSuspendModeOutput | QueueAndMatchModeOutput | SuspendModeOutput;
1053
+
1054
+ // @public
1055
+ export interface JobMatchingModeOutputParent {
1056
+ // (undocumented)
1057
+ kind: JobMatchingModeKindOutput;
1058
+ }
1059
+
1060
+ // @public
1061
+ export interface JobMatchingModeParent {
1062
+ // (undocumented)
1063
+ kind: JobMatchingModeKind;
1064
+ }
1065
+
1066
+ // @public
1067
+ export type LabelOperator = string;
1068
+
1069
+ // @public
1070
+ export type LabelOperatorOutput = string;
1071
+
1072
+ // @public (undocumented)
1073
+ export interface ListClassificationPolicies {
1074
+ get(options?: ListClassificationPoliciesParameters): StreamableMethod<ListClassificationPolicies200Response | ListClassificationPoliciesDefaultResponse>;
1075
+ }
1076
+
1077
+ // @public
1078
+ export interface ListClassificationPolicies200Response extends HttpResponse {
1079
+ // (undocumented)
1080
+ body: PagedClassificationPolicyOutput;
1081
+ // (undocumented)
1082
+ status: "200";
1083
+ }
1084
+
1085
+ // @public (undocumented)
1086
+ export interface ListClassificationPoliciesDefaultHeaders {
1087
+ "x-ms-error-code"?: string;
1088
+ }
1089
+
1090
+ // @public (undocumented)
1091
+ export interface ListClassificationPoliciesDefaultResponse extends HttpResponse {
1092
+ // (undocumented)
1093
+ body: ErrorResponse;
1094
+ // (undocumented)
1095
+ headers: RawHttpHeaders & ListClassificationPoliciesDefaultHeaders;
1096
+ // (undocumented)
1097
+ status: string;
1098
+ }
1099
+
1100
+ // @public (undocumented)
1101
+ export type ListClassificationPoliciesParameters = ListClassificationPoliciesQueryParam & RequestParameters;
1102
+
1103
+ // @public (undocumented)
1104
+ export interface ListClassificationPoliciesQueryParam {
1105
+ // (undocumented)
1106
+ queryParameters?: ListClassificationPoliciesQueryParamProperties;
1107
+ }
1108
+
1109
+ // @public (undocumented)
1110
+ export interface ListClassificationPoliciesQueryParamProperties {
1111
+ maxpagesize?: number;
1112
+ }
1113
+
1114
+ // @public (undocumented)
1115
+ export interface ListDistributionPolicies {
1116
+ get(options?: ListDistributionPoliciesParameters): StreamableMethod<ListDistributionPolicies200Response | ListDistributionPoliciesDefaultResponse>;
1117
+ }
1118
+
1119
+ // @public
1120
+ export interface ListDistributionPolicies200Response extends HttpResponse {
1121
+ // (undocumented)
1122
+ body: PagedDistributionPolicyOutput;
1123
+ // (undocumented)
1124
+ status: "200";
1125
+ }
1126
+
1127
+ // @public (undocumented)
1128
+ export interface ListDistributionPoliciesDefaultHeaders {
1129
+ "x-ms-error-code"?: string;
1130
+ }
1131
+
1132
+ // @public (undocumented)
1133
+ export interface ListDistributionPoliciesDefaultResponse extends HttpResponse {
1134
+ // (undocumented)
1135
+ body: ErrorResponse;
1136
+ // (undocumented)
1137
+ headers: RawHttpHeaders & ListDistributionPoliciesDefaultHeaders;
1138
+ // (undocumented)
1139
+ status: string;
1140
+ }
1141
+
1142
+ // @public (undocumented)
1143
+ export type ListDistributionPoliciesParameters = ListDistributionPoliciesQueryParam & RequestParameters;
1144
+
1145
+ // @public (undocumented)
1146
+ export interface ListDistributionPoliciesQueryParam {
1147
+ // (undocumented)
1148
+ queryParameters?: ListDistributionPoliciesQueryParamProperties;
1149
+ }
1150
+
1151
+ // @public (undocumented)
1152
+ export interface ListDistributionPoliciesQueryParamProperties {
1153
+ maxpagesize?: number;
1154
+ }
1155
+
1156
+ // @public (undocumented)
1157
+ export interface ListExceptionPolicies {
1158
+ get(options?: ListExceptionPoliciesParameters): StreamableMethod<ListExceptionPolicies200Response | ListExceptionPoliciesDefaultResponse>;
1159
+ }
1160
+
1161
+ // @public
1162
+ export interface ListExceptionPolicies200Response extends HttpResponse {
1163
+ // (undocumented)
1164
+ body: PagedExceptionPolicyOutput;
1165
+ // (undocumented)
1166
+ status: "200";
1167
+ }
1168
+
1169
+ // @public (undocumented)
1170
+ export interface ListExceptionPoliciesDefaultHeaders {
1171
+ "x-ms-error-code"?: string;
1172
+ }
1173
+
1174
+ // @public (undocumented)
1175
+ export interface ListExceptionPoliciesDefaultResponse extends HttpResponse {
1176
+ // (undocumented)
1177
+ body: ErrorResponse;
1178
+ // (undocumented)
1179
+ headers: RawHttpHeaders & ListExceptionPoliciesDefaultHeaders;
1180
+ // (undocumented)
1181
+ status: string;
1182
+ }
1183
+
1184
+ // @public (undocumented)
1185
+ export type ListExceptionPoliciesParameters = ListExceptionPoliciesQueryParam & RequestParameters;
1186
+
1187
+ // @public (undocumented)
1188
+ export interface ListExceptionPoliciesQueryParam {
1189
+ // (undocumented)
1190
+ queryParameters?: ListExceptionPoliciesQueryParamProperties;
1191
+ }
1192
+
1193
+ // @public (undocumented)
1194
+ export interface ListExceptionPoliciesQueryParamProperties {
1195
+ maxpagesize?: number;
1196
+ }
1197
+
1198
+ // @public (undocumented)
1199
+ export interface ListJobs {
1200
+ get(options?: ListJobsParameters): StreamableMethod<ListJobs200Response | ListJobsDefaultResponse>;
1201
+ }
1202
+
1203
+ // @public
1204
+ export interface ListJobs200Response extends HttpResponse {
1205
+ // (undocumented)
1206
+ body: PagedRouterJobOutput;
1207
+ // (undocumented)
1208
+ status: "200";
1209
+ }
1210
+
1211
+ // @public (undocumented)
1212
+ export interface ListJobsDefaultHeaders {
1213
+ "x-ms-error-code"?: string;
1214
+ }
1215
+
1216
+ // @public (undocumented)
1217
+ export interface ListJobsDefaultResponse extends HttpResponse {
1218
+ // (undocumented)
1219
+ body: ErrorResponse;
1220
+ // (undocumented)
1221
+ headers: RawHttpHeaders & ListJobsDefaultHeaders;
1222
+ // (undocumented)
1223
+ status: string;
1224
+ }
1225
+
1226
+ // @public (undocumented)
1227
+ export type ListJobsParameters = ListJobsQueryParam & RequestParameters;
1228
+
1229
+ // @public (undocumented)
1230
+ export interface ListJobsQueryParam {
1231
+ // (undocumented)
1232
+ queryParameters?: ListJobsQueryParamProperties;
1233
+ }
1234
+
1235
+ // @public (undocumented)
1236
+ export interface ListJobsQueryParamProperties {
1237
+ channelId?: string;
1238
+ classificationPolicyId?: string;
1239
+ maxpagesize?: number;
1240
+ queueId?: string;
1241
+ scheduledAfter?: Date | string;
1242
+ scheduledBefore?: Date | string;
1243
+ status?: RouterJobStatusSelector;
1244
+ }
1245
+
1246
+ // @public (undocumented)
1247
+ export interface ListQueues {
1248
+ get(options?: ListQueuesParameters): StreamableMethod<ListQueues200Response | ListQueuesDefaultResponse>;
1249
+ }
1250
+
1251
+ // @public
1252
+ export interface ListQueues200Response extends HttpResponse {
1253
+ // (undocumented)
1254
+ body: PagedRouterQueueOutput;
1255
+ // (undocumented)
1256
+ status: "200";
1257
+ }
1258
+
1259
+ // @public (undocumented)
1260
+ export interface ListQueuesDefaultHeaders {
1261
+ "x-ms-error-code"?: string;
1262
+ }
1263
+
1264
+ // @public (undocumented)
1265
+ export interface ListQueuesDefaultResponse extends HttpResponse {
1266
+ // (undocumented)
1267
+ body: ErrorResponse;
1268
+ // (undocumented)
1269
+ headers: RawHttpHeaders & ListQueuesDefaultHeaders;
1270
+ // (undocumented)
1271
+ status: string;
1272
+ }
1273
+
1274
+ // @public (undocumented)
1275
+ export type ListQueuesParameters = ListQueuesQueryParam & RequestParameters;
1276
+
1277
+ // @public (undocumented)
1278
+ export interface ListQueuesQueryParam {
1279
+ // (undocumented)
1280
+ queryParameters?: ListQueuesQueryParamProperties;
1281
+ }
1282
+
1283
+ // @public (undocumented)
1284
+ export interface ListQueuesQueryParamProperties {
1285
+ maxpagesize?: number;
1286
+ }
1287
+
1288
+ // @public (undocumented)
1289
+ export interface ListWorkers {
1290
+ get(options?: ListWorkersParameters): StreamableMethod<ListWorkers200Response | ListWorkersDefaultResponse>;
1291
+ }
1292
+
1293
+ // @public
1294
+ export interface ListWorkers200Response extends HttpResponse {
1295
+ // (undocumented)
1296
+ body: PagedRouterWorkerOutput;
1297
+ // (undocumented)
1298
+ status: "200";
1299
+ }
1300
+
1301
+ // @public (undocumented)
1302
+ export interface ListWorkersDefaultHeaders {
1303
+ "x-ms-error-code"?: string;
1304
+ }
1305
+
1306
+ // @public (undocumented)
1307
+ export interface ListWorkersDefaultResponse extends HttpResponse {
1308
+ // (undocumented)
1309
+ body: ErrorResponse;
1310
+ // (undocumented)
1311
+ headers: RawHttpHeaders & ListWorkersDefaultHeaders;
1312
+ // (undocumented)
1313
+ status: string;
1314
+ }
1315
+
1316
+ // @public (undocumented)
1317
+ export type ListWorkersParameters = ListWorkersQueryParam & RequestParameters;
1318
+
1319
+ // @public (undocumented)
1320
+ export interface ListWorkersQueryParam {
1321
+ // (undocumented)
1322
+ queryParameters?: ListWorkersQueryParamProperties;
1323
+ }
1324
+
1325
+ // @public (undocumented)
1326
+ export interface ListWorkersQueryParamProperties {
1327
+ channelId?: string;
1328
+ hasCapacity?: boolean;
1329
+ maxpagesize?: number;
1330
+ queueId?: string;
1331
+ state?: RouterWorkerStateSelector;
1332
+ }
1333
+
1334
+ // @public
1335
+ export interface LongestIdleMode extends DistributionModeParent {
1336
+ kind: "longestIdle";
1337
+ }
1338
+
1339
+ // @public
1340
+ export interface LongestIdleModeOutput extends DistributionModeOutputParent {
1341
+ kind: "longestIdle";
1342
+ }
1343
+
1344
+ // @public
1345
+ export interface ManualReclassifyExceptionAction extends ExceptionActionParent {
1346
+ kind: "manualReclassify";
1347
+ priority?: number;
1348
+ queueId?: string;
1349
+ workerSelectors?: Array<RouterWorkerSelector>;
1350
+ }
1351
+
1352
+ // @public
1353
+ export interface ManualReclassifyExceptionActionOutput extends ExceptionActionOutputParent {
1354
+ kind: "manualReclassify";
1355
+ priority?: number;
1356
+ queueId?: string;
1357
+ workerSelectors?: Array<RouterWorkerSelectorOutput>;
1358
+ }
1359
+
1360
+ // @public
1361
+ export interface OAuth2WebhookClientCredential {
1362
+ clientId?: string;
1363
+ clientSecret?: string;
1364
+ }
1365
+
1366
+ // @public
1367
+ export interface OAuth2WebhookClientCredentialOutput {
1368
+ clientId?: string;
1369
+ clientSecret?: string;
1370
+ }
1371
+
1372
+ // @public
1373
+ export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
1374
+ [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
1375
+ byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
1376
+ next(): Promise<IteratorResult<TElement>>;
1377
+ }
1378
+
1379
+ // @public
1380
+ export interface PagedClassificationPolicyOutput {
1381
+ nextLink?: string;
1382
+ value: Array<ClassificationPolicyOutput>;
1383
+ }
1384
+
1385
+ // @public
1386
+ export interface PagedDistributionPolicyOutput {
1387
+ nextLink?: string;
1388
+ value: Array<DistributionPolicyOutput>;
1389
+ }
1390
+
1391
+ // @public
1392
+ export interface PagedExceptionPolicyOutput {
1393
+ nextLink?: string;
1394
+ value: Array<ExceptionPolicyOutput>;
1395
+ }
1396
+
1397
+ // @public
1398
+ export interface PagedRouterJobOutput {
1399
+ nextLink?: string;
1400
+ value: Array<RouterJobOutput>;
1401
+ }
1402
+
1403
+ // @public
1404
+ export interface PagedRouterQueueOutput {
1405
+ nextLink?: string;
1406
+ value: Array<RouterQueueOutput>;
1407
+ }
1408
+
1409
+ // @public
1410
+ export interface PagedRouterWorkerOutput {
1411
+ nextLink?: string;
1412
+ value: Array<RouterWorkerOutput>;
1413
+ }
1414
+
1415
+ // @public
1416
+ export interface PageSettings {
1417
+ continuationToken?: string;
1418
+ }
1419
+
1420
+ // @public
1421
+ export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
1422
+
1423
+ // @public
1424
+ export type PaginateReturn<TResult> = TResult extends {
1425
+ body: {
1426
+ value?: infer TPage;
1427
+ };
1428
+ } ? GetArrayType<TPage> : Array<unknown>;
1429
+
1430
+ // @public
1431
+ export interface PagingOptions<TResponse> {
1432
+ customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
1433
+ }
1434
+
1435
+ // @public
1436
+ export interface PassThroughQueueSelectorAttachment extends QueueSelectorAttachmentParent {
1437
+ key: string;
1438
+ kind: "passThrough";
1439
+ labelOperator: LabelOperator;
1440
+ }
1441
+
1442
+ // @public
1443
+ export interface PassThroughQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
1444
+ key: string;
1445
+ kind: "passThrough";
1446
+ labelOperator: LabelOperatorOutput;
1447
+ }
1448
+
1449
+ // @public
1450
+ export interface PassThroughWorkerSelectorAttachment extends WorkerSelectorAttachmentParent {
1451
+ expiresAfterSeconds?: number;
1452
+ key: string;
1453
+ kind: "passThrough";
1454
+ labelOperator: LabelOperator;
1455
+ }
1456
+
1457
+ // @public
1458
+ export interface PassThroughWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
1459
+ expiresAfterSeconds?: number;
1460
+ key: string;
1461
+ kind: "passThrough";
1462
+ labelOperator: LabelOperatorOutput;
1463
+ }
1464
+
1465
+ // @public
1466
+ export interface QueueAndMatchMode extends JobMatchingModeParent {
1467
+ kind: "queueAndMatch";
1468
+ }
1469
+
1470
+ // @public
1471
+ export interface QueueAndMatchModeOutput extends JobMatchingModeOutputParent {
1472
+ kind: "queueAndMatch";
1473
+ }
1474
+
1475
+ // @public
1476
+ export interface QueueLengthExceptionTrigger extends ExceptionTriggerParent {
1477
+ kind: "queueLength";
1478
+ threshold: number;
1479
+ }
1480
+
1481
+ // @public
1482
+ export interface QueueLengthExceptionTriggerOutput extends ExceptionTriggerOutputParent {
1483
+ kind: "queueLength";
1484
+ threshold: number;
1485
+ }
1486
+
1487
+ // @public
1488
+ export type QueueSelectorAttachment = QueueSelectorAttachmentParent | ConditionalQueueSelectorAttachment | PassThroughQueueSelectorAttachment | RuleEngineQueueSelectorAttachment | StaticQueueSelectorAttachment | WeightedAllocationQueueSelectorAttachment;
1489
+
1490
+ // @public
1491
+ export type QueueSelectorAttachmentKind = string;
1492
+
1493
+ // @public
1494
+ export type QueueSelectorAttachmentKindOutput = string;
1495
+
1496
+ // @public
1497
+ export type QueueSelectorAttachmentOutput = QueueSelectorAttachmentOutputParent | ConditionalQueueSelectorAttachmentOutput | PassThroughQueueSelectorAttachmentOutput | RuleEngineQueueSelectorAttachmentOutput | StaticQueueSelectorAttachmentOutput | WeightedAllocationQueueSelectorAttachmentOutput;
1498
+
1499
+ // @public
1500
+ export interface QueueSelectorAttachmentOutputParent {
1501
+ // (undocumented)
1502
+ kind: QueueSelectorAttachmentKindOutput;
1503
+ }
1504
+
1505
+ // @public
1506
+ export interface QueueSelectorAttachmentParent {
1507
+ // (undocumented)
1508
+ kind: QueueSelectorAttachmentKind;
1509
+ }
1510
+
1511
+ // @public
1512
+ export interface QueueWeightedAllocation {
1513
+ queueSelectors: Array<RouterQueueSelector>;
1514
+ weight: number;
1515
+ }
1516
+
1517
+ // @public
1518
+ export interface QueueWeightedAllocationOutput {
1519
+ queueSelectors: Array<RouterQueueSelectorOutput>;
1520
+ weight: number;
1521
+ }
1522
+
1523
+ // @public (undocumented)
1524
+ export interface Reclassify {
1525
+ post(options?: ReclassifyParameters): StreamableMethod<Reclassify200Response | ReclassifyDefaultResponse>;
1526
+ }
1527
+
1528
+ // @public
1529
+ export interface Reclassify200Response extends HttpResponse {
1530
+ // (undocumented)
1531
+ body: ReclassifyJobResultOutput;
1532
+ // (undocumented)
1533
+ status: "200";
1534
+ }
1535
+
1536
+ // @public (undocumented)
1537
+ export interface ReclassifyBodyParam {
1538
+ body?: ReclassifyJobOptions;
1539
+ }
1540
+
1541
+ // @public (undocumented)
1542
+ export interface ReclassifyDefaultHeaders {
1543
+ "x-ms-error-code"?: string;
1544
+ }
1545
+
1546
+ // @public (undocumented)
1547
+ export interface ReclassifyDefaultResponse extends HttpResponse {
1548
+ // (undocumented)
1549
+ body: ErrorResponse;
1550
+ // (undocumented)
1551
+ headers: RawHttpHeaders & ReclassifyDefaultHeaders;
1552
+ // (undocumented)
1553
+ status: string;
1554
+ }
1555
+
1556
+ // @public
1557
+ export interface ReclassifyExceptionAction extends ExceptionActionParent {
1558
+ classificationPolicyId?: string;
1559
+ kind: "reclassify";
1560
+ labelsToUpsert?: Record<string, unknown>;
1561
+ }
1562
+
1563
+ // @public
1564
+ export interface ReclassifyExceptionActionOutput extends ExceptionActionOutputParent {
1565
+ classificationPolicyId?: string;
1566
+ kind: "reclassify";
1567
+ labelsToUpsert?: Record<string, any>;
1568
+ }
1569
+
1570
+ // @public
1571
+ export interface ReclassifyJobOptions {
1572
+ }
1573
+
1574
+ // @public
1575
+ export interface ReclassifyJobResultOutput {
1576
+ }
1577
+
1578
+ // @public (undocumented)
1579
+ export type ReclassifyParameters = ReclassifyBodyParam & RequestParameters;
1580
+
1581
+ // @public
1582
+ export interface RoundRobinMode extends DistributionModeParent {
1583
+ kind: "roundRobin";
1584
+ }
1585
+
1586
+ // @public
1587
+ export interface RoundRobinModeOutput extends DistributionModeOutputParent {
1588
+ kind: "roundRobin";
1589
+ }
1590
+
1591
+ // @public
1592
+ export interface RouterChannel {
1593
+ capacityCostPerJob: number;
1594
+ channelId: string;
1595
+ maxNumberOfJobs?: number;
1596
+ }
1597
+
1598
+ // @public
1599
+ export interface RouterChannelOutput {
1600
+ capacityCostPerJob: number;
1601
+ channelId: string;
1602
+ maxNumberOfJobs?: number;
1603
+ }
1604
+
1605
+ // @public
1606
+ export interface RouterJob {
1607
+ channelId?: string;
1608
+ channelReference?: string;
1609
+ classificationPolicyId?: string;
1610
+ dispositionCode?: string;
1611
+ labels?: Record<string, unknown>;
1612
+ matchingMode?: JobMatchingMode;
1613
+ notes?: Array<RouterJobNote>;
1614
+ priority?: number;
1615
+ queueId?: string;
1616
+ requestedWorkerSelectors?: Array<RouterWorkerSelector>;
1617
+ tags?: Record<string, unknown>;
1618
+ }
1619
+
1620
+ // @public
1621
+ export interface RouterJobAssignment {
1622
+ assignedAt: Date | string;
1623
+ closedAt?: Date | string;
1624
+ completedAt?: Date | string;
1625
+ workerId?: string;
1626
+ }
1627
+
1628
+ // @public
1629
+ export interface RouterJobAssignmentOutput {
1630
+ assignedAt: string;
1631
+ readonly assignmentId: string;
1632
+ closedAt?: string;
1633
+ completedAt?: string;
1634
+ workerId?: string;
1635
+ }
1636
+
1637
+ // @public
1638
+ export interface RouterJobNote {
1639
+ addedAt?: Date | string;
1640
+ message: string;
1641
+ }
1642
+
1643
+ // @public
1644
+ export interface RouterJobNoteOutput {
1645
+ addedAt?: string;
1646
+ message: string;
1647
+ }
1648
+
1649
+ // @public
1650
+ export interface RouterJobOffer {
1651
+ capacityCost: number;
1652
+ expiresAt?: Date | string;
1653
+ jobId: string;
1654
+ offeredAt?: Date | string;
1655
+ }
1656
+
1657
+ // @public
1658
+ export interface RouterJobOfferOutput {
1659
+ capacityCost: number;
1660
+ expiresAt?: string;
1661
+ jobId: string;
1662
+ offeredAt?: string;
1663
+ readonly offerId: string;
1664
+ }
1665
+
1666
+ // @public
1667
+ export interface RouterJobOutput {
1668
+ readonly assignments?: Record<string, RouterJobAssignmentOutput>;
1669
+ readonly attachedWorkerSelectors?: Array<RouterWorkerSelectorOutput>;
1670
+ channelId?: string;
1671
+ channelReference?: string;
1672
+ classificationPolicyId?: string;
1673
+ dispositionCode?: string;
1674
+ readonly enqueuedAt?: string;
1675
+ readonly etag: string;
1676
+ readonly id: string;
1677
+ labels?: Record<string, any>;
1678
+ matchingMode?: JobMatchingModeOutput;
1679
+ notes?: Array<RouterJobNoteOutput>;
1680
+ priority?: number;
1681
+ queueId?: string;
1682
+ requestedWorkerSelectors?: Array<RouterWorkerSelectorOutput>;
1683
+ readonly scheduledAt?: string;
1684
+ readonly status?: RouterJobStatusOutput;
1685
+ tags?: Record<string, any>;
1686
+ }
1687
+
1688
+ // @public
1689
+ export interface RouterJobPositionDetailsOutput {
1690
+ estimatedWaitTimeMinutes: number;
1691
+ jobId: string;
1692
+ position: number;
1693
+ queueId: string;
1694
+ queueLength: number;
1695
+ }
1696
+
1697
+ // @public
1698
+ export type RouterJobResourceMergeAndPatch = Partial<RouterJob>;
1699
+
1700
+ // @public
1701
+ export type RouterJobStatus = string;
1702
+
1703
+ // @public
1704
+ export type RouterJobStatusOutput = string;
1705
+
1706
+ // @public
1707
+ export type RouterJobStatusSelector = string;
1708
+
1709
+ // @public
1710
+ export interface RouterQueue {
1711
+ distributionPolicyId?: string;
1712
+ exceptionPolicyId?: string;
1713
+ labels?: Record<string, unknown>;
1714
+ name?: string;
1715
+ }
1716
+
1717
+ // @public
1718
+ export interface RouterQueueOutput {
1719
+ distributionPolicyId?: string;
1720
+ readonly etag: string;
1721
+ exceptionPolicyId?: string;
1722
+ readonly id: string;
1723
+ labels?: Record<string, any>;
1724
+ name?: string;
1725
+ }
1726
+
1727
+ // @public
1728
+ export type RouterQueueResourceMergeAndPatch = Partial<RouterQueue>;
1729
+
1730
+ // @public
1731
+ export interface RouterQueueSelector {
1732
+ key: string;
1733
+ labelOperator: LabelOperator;
1734
+ value?: unknown;
1735
+ }
1736
+
1737
+ // @public
1738
+ export interface RouterQueueSelectorOutput {
1739
+ key: string;
1740
+ labelOperator: LabelOperatorOutput;
1741
+ value?: any;
1742
+ }
1743
+
1744
+ // @public
1745
+ export interface RouterQueueStatisticsOutput {
1746
+ estimatedWaitTimeMinutes?: Record<string, number>;
1747
+ length: number;
1748
+ longestJobWaitTimeMinutes?: number;
1749
+ queueId: string;
1750
+ }
1751
+
1752
+ // @public
1753
+ export type RouterRule = RouterRuleParent | DirectMapRouterRule | ExpressionRouterRule | FunctionRouterRule | StaticRouterRule | WebhookRouterRule;
1754
+
1755
+ // @public
1756
+ export type RouterRuleKind = string;
1757
+
1758
+ // @public
1759
+ export type RouterRuleKindOutput = string;
1760
+
1761
+ // @public
1762
+ export type RouterRuleOutput = RouterRuleOutputParent | DirectMapRouterRuleOutput | ExpressionRouterRuleOutput | FunctionRouterRuleOutput | StaticRouterRuleOutput | WebhookRouterRuleOutput;
1763
+
1764
+ // @public
1765
+ export interface RouterRuleOutputParent {
1766
+ // (undocumented)
1767
+ kind: RouterRuleKindOutput;
1768
+ }
1769
+
1770
+ // @public
1771
+ export interface RouterRuleParent {
1772
+ // (undocumented)
1773
+ kind: RouterRuleKind;
1774
+ }
1775
+
1776
+ // @public
1777
+ export interface RouterWorker {
1778
+ availableForOffers?: boolean;
1779
+ capacity?: number;
1780
+ channels?: Array<RouterChannel>;
1781
+ labels?: Record<string, unknown>;
1782
+ maxConcurrentOffers?: number;
1783
+ queues?: string[];
1784
+ tags?: Record<string, unknown>;
1785
+ }
1786
+
1787
+ // @public
1788
+ export interface RouterWorkerAssignment {
1789
+ assignedAt: Date | string;
1790
+ assignmentId: string;
1791
+ capacityCost: number;
1792
+ jobId: string;
1793
+ }
1794
+
1795
+ // @public
1796
+ export interface RouterWorkerAssignmentOutput {
1797
+ assignedAt: string;
1798
+ assignmentId: string;
1799
+ capacityCost: number;
1800
+ jobId: string;
1801
+ }
1802
+
1803
+ // @public
1804
+ export interface RouterWorkerOutput {
1805
+ readonly assignedJobs?: Array<RouterWorkerAssignmentOutput>;
1806
+ availableForOffers?: boolean;
1807
+ capacity?: number;
1808
+ channels?: Array<RouterChannelOutput>;
1809
+ readonly etag: string;
1810
+ readonly id: string;
1811
+ labels?: Record<string, any>;
1812
+ readonly loadRatio?: number;
1813
+ maxConcurrentOffers?: number;
1814
+ readonly offers?: Array<RouterJobOfferOutput>;
1815
+ queues?: string[];
1816
+ readonly state?: RouterWorkerStateOutput;
1817
+ tags?: Record<string, any>;
1818
+ }
1819
+
1820
+ // @public
1821
+ export type RouterWorkerResourceMergeAndPatch = Partial<RouterWorker>;
1822
+
1823
+ // @public
1824
+ export interface RouterWorkerSelector {
1825
+ expedite?: boolean;
1826
+ expiresAfterSeconds?: number;
1827
+ key: string;
1828
+ labelOperator: LabelOperator;
1829
+ value?: unknown;
1830
+ }
1831
+
1832
+ // @public
1833
+ export interface RouterWorkerSelectorOutput {
1834
+ expedite?: boolean;
1835
+ expiresAfterSeconds?: number;
1836
+ readonly expiresAt?: string;
1837
+ key: string;
1838
+ labelOperator: LabelOperatorOutput;
1839
+ readonly status?: RouterWorkerSelectorStatusOutput;
1840
+ value?: any;
1841
+ }
1842
+
1843
+ // @public
1844
+ export type RouterWorkerSelectorStatus = string;
1845
+
1846
+ // @public
1847
+ export type RouterWorkerSelectorStatusOutput = string;
1848
+
1849
+ // @public
1850
+ export type RouterWorkerState = string;
1851
+
1852
+ // @public
1853
+ export type RouterWorkerStateOutput = string;
1854
+
1855
+ // @public
1856
+ export type RouterWorkerStateSelector = string;
1857
+
1858
+ // @public (undocumented)
1859
+ export interface Routes {
1860
+ (path: "/routing/classificationPolicies/{classificationPolicyId}", classificationPolicyId: string): UpsertClassificationPolicy;
1861
+ (path: "/routing/classificationPolicies"): ListClassificationPolicies;
1862
+ (path: "/routing/distributionPolicies/{distributionPolicyId}", distributionPolicyId: string): UpsertDistributionPolicy;
1863
+ (path: "/routing/distributionPolicies"): ListDistributionPolicies;
1864
+ (path: "/routing/exceptionPolicies/{exceptionPolicyId}", exceptionPolicyId: string): UpsertExceptionPolicy;
1865
+ (path: "/routing/exceptionPolicies"): ListExceptionPolicies;
1866
+ (path: "/routing/queues/{queueId}", queueId: string): UpsertQueue;
1867
+ (path: "/routing/queues"): ListQueues;
1868
+ (path: "/routing/jobs/{jobId}", jobId: string): UpsertJob;
1869
+ (path: "/routing/jobs/{jobId}:reclassify", jobId: string): Reclassify;
1870
+ (path: "/routing/jobs/{jobId}:cancel", jobId: string): Cancel;
1871
+ (path: "/routing/jobs/{jobId}/assignments/{assignmentId}:complete", jobId: string, assignmentId: string): Complete;
1872
+ (path: "/routing/jobs/{jobId}/assignments/{assignmentId}:close", jobId: string, assignmentId: string): Close;
1873
+ (path: "/routing/jobs"): ListJobs;
1874
+ (path: "/routing/jobs/{jobId}/position", jobId: string): GetInQueuePosition;
1875
+ (path: "/routing/jobs/{jobId}/assignments/{assignmentId}:unassign", jobId: string, assignmentId: string): Unassign;
1876
+ (path: "/routing/workers/{workerId}/offers/{offerId}:accept", workerId: string, offerId: string): Accept;
1877
+ (path: "/routing/workers/{workerId}/offers/{offerId}:decline", workerId: string, offerId: string): Decline;
1878
+ (path: "/routing/queues/{queueId}/statistics", queueId: string): GetQueueStatistics;
1879
+ (path: "/routing/workers/{workerId}", workerId: string): UpsertWorker;
1880
+ (path: "/routing/workers"): ListWorkers;
1881
+ }
1882
+
1883
+ // @public
1884
+ export interface RuleEngineQueueSelectorAttachment extends QueueSelectorAttachmentParent {
1885
+ kind: "ruleEngine";
1886
+ rule: RouterRule;
1887
+ }
1888
+
1889
+ // @public
1890
+ export interface RuleEngineQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
1891
+ kind: "ruleEngine";
1892
+ rule: RouterRuleOutput;
1893
+ }
1894
+
1895
+ // @public
1896
+ export interface RuleEngineWorkerSelectorAttachment extends WorkerSelectorAttachmentParent {
1897
+ kind: "ruleEngine";
1898
+ rule: RouterRule;
1899
+ }
1900
+
1901
+ // @public
1902
+ export interface RuleEngineWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
1903
+ kind: "ruleEngine";
1904
+ rule: RouterRuleOutput;
1905
+ }
1906
+
1907
+ // @public
1908
+ export interface ScheduleAndSuspendMode extends JobMatchingModeParent {
1909
+ kind: "scheduleAndSuspend";
1910
+ scheduleAt: Date | string;
1911
+ }
1912
+
1913
+ // @public
1914
+ export interface ScheduleAndSuspendModeOutput extends JobMatchingModeOutputParent {
1915
+ kind: "scheduleAndSuspend";
1916
+ scheduleAt: string;
1917
+ }
1918
+
1919
+ // @public
1920
+ export interface ScoringRuleOptions {
1921
+ batchSize?: number;
1922
+ descendingOrder?: boolean;
1923
+ isBatchScoringEnabled?: boolean;
1924
+ scoringParameters?: ScoringRuleParameterSelector[];
1925
+ }
1926
+
1927
+ // @public
1928
+ export interface ScoringRuleOptionsOutput {
1929
+ batchSize?: number;
1930
+ descendingOrder?: boolean;
1931
+ isBatchScoringEnabled?: boolean;
1932
+ scoringParameters?: ScoringRuleParameterSelectorOutput[];
1933
+ }
1934
+
1935
+ // @public
1936
+ export type ScoringRuleParameterSelector = string;
1937
+
1938
+ // @public
1939
+ export type ScoringRuleParameterSelectorOutput = string;
1940
+
1941
+ // @public
1942
+ export interface StaticQueueSelectorAttachment extends QueueSelectorAttachmentParent {
1943
+ kind: "static";
1944
+ queueSelector: RouterQueueSelector;
1945
+ }
1946
+
1947
+ // @public
1948
+ export interface StaticQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
1949
+ kind: "static";
1950
+ queueSelector: RouterQueueSelectorOutput;
1951
+ }
1952
+
1953
+ // @public
1954
+ export interface StaticRouterRule extends RouterRuleParent {
1955
+ kind: "static";
1956
+ value?: unknown;
1957
+ }
1958
+
1959
+ // @public
1960
+ export interface StaticRouterRuleOutput extends RouterRuleOutputParent {
1961
+ kind: "static";
1962
+ value?: any;
1963
+ }
1964
+
1965
+ // @public
1966
+ export interface StaticWorkerSelectorAttachment extends WorkerSelectorAttachmentParent {
1967
+ kind: "static";
1968
+ workerSelector: RouterWorkerSelector;
1969
+ }
1970
+
1971
+ // @public
1972
+ export interface StaticWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
1973
+ kind: "static";
1974
+ workerSelector: RouterWorkerSelectorOutput;
1975
+ }
1976
+
1977
+ // @public
1978
+ export interface SuspendMode extends JobMatchingModeParent {
1979
+ kind: "suspend";
1980
+ }
1981
+
1982
+ // @public
1983
+ export interface SuspendModeOutput extends JobMatchingModeOutputParent {
1984
+ kind: "suspend";
1985
+ }
1986
+
1987
+ // @public (undocumented)
1988
+ export interface Unassign {
1989
+ post(options?: UnassignParameters): StreamableMethod<Unassign200Response | UnassignDefaultResponse>;
1990
+ }
1991
+
1992
+ // @public
1993
+ export interface Unassign200Response extends HttpResponse {
1994
+ // (undocumented)
1995
+ body: UnassignJobResultOutput;
1996
+ // (undocumented)
1997
+ status: "200";
1998
+ }
1999
+
2000
+ // @public (undocumented)
2001
+ export interface UnassignBodyParam {
2002
+ body?: UnassignJobOptions;
2003
+ }
2004
+
2005
+ // @public (undocumented)
2006
+ export interface UnassignDefaultHeaders {
2007
+ "x-ms-error-code"?: string;
2008
+ }
2009
+
2010
+ // @public (undocumented)
2011
+ export interface UnassignDefaultResponse extends HttpResponse {
2012
+ // (undocumented)
2013
+ body: ErrorResponse;
2014
+ // (undocumented)
2015
+ headers: RawHttpHeaders & UnassignDefaultHeaders;
2016
+ // (undocumented)
2017
+ status: string;
2018
+ }
2019
+
2020
+ // @public
2021
+ export interface UnassignJobOptions {
2022
+ suspendMatching?: boolean;
2023
+ }
2024
+
2025
+ // @public
2026
+ export interface UnassignJobResultOutput {
2027
+ jobId: string;
2028
+ unassignmentCount: number;
2029
+ }
2030
+
2031
+ // @public (undocumented)
2032
+ export type UnassignParameters = UnassignBodyParam & RequestParameters;
2033
+
2034
+ // @public (undocumented)
2035
+ export interface UpsertClassificationPolicy {
2036
+ delete(options?: DeleteClassificationPolicyParameters): StreamableMethod<DeleteClassificationPolicy204Response | DeleteClassificationPolicyDefaultResponse>;
2037
+ get(options?: GetClassificationPolicyParameters): StreamableMethod<GetClassificationPolicy200Response | GetClassificationPolicyDefaultResponse>;
2038
+ patch(options: UpsertClassificationPolicyParameters): StreamableMethod<UpsertClassificationPolicy200Response | UpsertClassificationPolicy201Response | UpsertClassificationPolicyDefaultResponse>;
2039
+ }
2040
+
2041
+ // @public (undocumented)
2042
+ export interface UpsertClassificationPolicy200Headers {
2043
+ "last-modified"?: string;
2044
+ etag?: string;
2045
+ }
2046
+
2047
+ // @public
2048
+ export interface UpsertClassificationPolicy200Response extends HttpResponse {
2049
+ // (undocumented)
2050
+ body: ClassificationPolicyOutput;
2051
+ // (undocumented)
2052
+ headers: RawHttpHeaders & UpsertClassificationPolicy200Headers;
2053
+ // (undocumented)
2054
+ status: "200";
2055
+ }
2056
+
2057
+ // @public (undocumented)
2058
+ export interface UpsertClassificationPolicy201Headers {
2059
+ "last-modified"?: string;
2060
+ etag?: string;
2061
+ }
2062
+
2063
+ // @public
2064
+ export interface UpsertClassificationPolicy201Response extends HttpResponse {
2065
+ // (undocumented)
2066
+ body: ClassificationPolicyOutput;
2067
+ // (undocumented)
2068
+ headers: RawHttpHeaders & UpsertClassificationPolicy201Headers;
2069
+ // (undocumented)
2070
+ status: "201";
2071
+ }
2072
+
2073
+ // @public (undocumented)
2074
+ export interface UpsertClassificationPolicyBodyParam {
2075
+ body: ClassificationPolicyResourceMergeAndPatch;
2076
+ }
2077
+
2078
+ // @public (undocumented)
2079
+ export interface UpsertClassificationPolicyDefaultHeaders {
2080
+ "x-ms-error-code"?: string;
2081
+ }
2082
+
2083
+ // @public (undocumented)
2084
+ export interface UpsertClassificationPolicyDefaultResponse extends HttpResponse {
2085
+ // (undocumented)
2086
+ body: ErrorResponse;
2087
+ // (undocumented)
2088
+ headers: RawHttpHeaders & UpsertClassificationPolicyDefaultHeaders;
2089
+ // (undocumented)
2090
+ status: string;
2091
+ }
2092
+
2093
+ // @public (undocumented)
2094
+ export interface UpsertClassificationPolicyHeaderParam {
2095
+ // (undocumented)
2096
+ headers?: RawHttpHeadersInput & UpsertClassificationPolicyHeaders;
2097
+ }
2098
+
2099
+ // @public (undocumented)
2100
+ export interface UpsertClassificationPolicyHeaders {
2101
+ "If-Match"?: string;
2102
+ "If-Unmodified-Since"?: string;
2103
+ }
2104
+
2105
+ // @public (undocumented)
2106
+ export interface UpsertClassificationPolicyMediaTypesParam {
2107
+ contentType: "application/merge-patch+json";
2108
+ }
2109
+
2110
+ // @public (undocumented)
2111
+ export type UpsertClassificationPolicyParameters = UpsertClassificationPolicyHeaderParam & UpsertClassificationPolicyMediaTypesParam & UpsertClassificationPolicyBodyParam & RequestParameters;
2112
+
2113
+ // @public (undocumented)
2114
+ export interface UpsertDistributionPolicy {
2115
+ delete(options?: DeleteDistributionPolicyParameters): StreamableMethod<DeleteDistributionPolicy204Response | DeleteDistributionPolicyDefaultResponse>;
2116
+ get(options?: GetDistributionPolicyParameters): StreamableMethod<GetDistributionPolicy200Response | GetDistributionPolicyDefaultResponse>;
2117
+ patch(options: UpsertDistributionPolicyParameters): StreamableMethod<UpsertDistributionPolicy200Response | UpsertDistributionPolicy201Response | UpsertDistributionPolicyDefaultResponse>;
2118
+ }
2119
+
2120
+ // @public (undocumented)
2121
+ export interface UpsertDistributionPolicy200Headers {
2122
+ "last-modified"?: string;
2123
+ etag?: string;
2124
+ }
2125
+
2126
+ // @public
2127
+ export interface UpsertDistributionPolicy200Response extends HttpResponse {
2128
+ // (undocumented)
2129
+ body: DistributionPolicyOutput;
2130
+ // (undocumented)
2131
+ headers: RawHttpHeaders & UpsertDistributionPolicy200Headers;
2132
+ // (undocumented)
2133
+ status: "200";
2134
+ }
2135
+
2136
+ // @public (undocumented)
2137
+ export interface UpsertDistributionPolicy201Headers {
2138
+ "last-modified"?: string;
2139
+ etag?: string;
2140
+ }
2141
+
2142
+ // @public
2143
+ export interface UpsertDistributionPolicy201Response extends HttpResponse {
2144
+ // (undocumented)
2145
+ body: DistributionPolicyOutput;
2146
+ // (undocumented)
2147
+ headers: RawHttpHeaders & UpsertDistributionPolicy201Headers;
2148
+ // (undocumented)
2149
+ status: "201";
2150
+ }
2151
+
2152
+ // @public (undocumented)
2153
+ export interface UpsertDistributionPolicyBodyParam {
2154
+ body: DistributionPolicyResourceMergeAndPatch;
2155
+ }
2156
+
2157
+ // @public (undocumented)
2158
+ export interface UpsertDistributionPolicyDefaultHeaders {
2159
+ "x-ms-error-code"?: string;
2160
+ }
2161
+
2162
+ // @public (undocumented)
2163
+ export interface UpsertDistributionPolicyDefaultResponse extends HttpResponse {
2164
+ // (undocumented)
2165
+ body: ErrorResponse;
2166
+ // (undocumented)
2167
+ headers: RawHttpHeaders & UpsertDistributionPolicyDefaultHeaders;
2168
+ // (undocumented)
2169
+ status: string;
2170
+ }
2171
+
2172
+ // @public (undocumented)
2173
+ export interface UpsertDistributionPolicyHeaderParam {
2174
+ // (undocumented)
2175
+ headers?: RawHttpHeadersInput & UpsertDistributionPolicyHeaders;
2176
+ }
2177
+
2178
+ // @public (undocumented)
2179
+ export interface UpsertDistributionPolicyHeaders {
2180
+ "If-Match"?: string;
2181
+ "If-Unmodified-Since"?: string;
2182
+ }
2183
+
2184
+ // @public (undocumented)
2185
+ export interface UpsertDistributionPolicyMediaTypesParam {
2186
+ contentType: "application/merge-patch+json";
2187
+ }
2188
+
2189
+ // @public (undocumented)
2190
+ export type UpsertDistributionPolicyParameters = UpsertDistributionPolicyHeaderParam & UpsertDistributionPolicyMediaTypesParam & UpsertDistributionPolicyBodyParam & RequestParameters;
2191
+
2192
+ // @public (undocumented)
2193
+ export interface UpsertExceptionPolicy {
2194
+ delete(options?: DeleteExceptionPolicyParameters): StreamableMethod<DeleteExceptionPolicy204Response | DeleteExceptionPolicyDefaultResponse>;
2195
+ get(options?: GetExceptionPolicyParameters): StreamableMethod<GetExceptionPolicy200Response | GetExceptionPolicyDefaultResponse>;
2196
+ patch(options: UpsertExceptionPolicyParameters): StreamableMethod<UpsertExceptionPolicy200Response | UpsertExceptionPolicy201Response | UpsertExceptionPolicyDefaultResponse>;
2197
+ }
2198
+
2199
+ // @public (undocumented)
2200
+ export interface UpsertExceptionPolicy200Headers {
2201
+ "last-modified"?: string;
2202
+ etag?: string;
2203
+ }
2204
+
2205
+ // @public
2206
+ export interface UpsertExceptionPolicy200Response extends HttpResponse {
2207
+ // (undocumented)
2208
+ body: ExceptionPolicyOutput;
2209
+ // (undocumented)
2210
+ headers: RawHttpHeaders & UpsertExceptionPolicy200Headers;
2211
+ // (undocumented)
2212
+ status: "200";
2213
+ }
2214
+
2215
+ // @public (undocumented)
2216
+ export interface UpsertExceptionPolicy201Headers {
2217
+ "last-modified"?: string;
2218
+ etag?: string;
2219
+ }
2220
+
2221
+ // @public
2222
+ export interface UpsertExceptionPolicy201Response extends HttpResponse {
2223
+ // (undocumented)
2224
+ body: ExceptionPolicyOutput;
2225
+ // (undocumented)
2226
+ headers: RawHttpHeaders & UpsertExceptionPolicy201Headers;
2227
+ // (undocumented)
2228
+ status: "201";
2229
+ }
2230
+
2231
+ // @public (undocumented)
2232
+ export interface UpsertExceptionPolicyBodyParam {
2233
+ body: ExceptionPolicyResourceMergeAndPatch;
2234
+ }
2235
+
2236
+ // @public (undocumented)
2237
+ export interface UpsertExceptionPolicyDefaultHeaders {
2238
+ "x-ms-error-code"?: string;
2239
+ }
2240
+
2241
+ // @public (undocumented)
2242
+ export interface UpsertExceptionPolicyDefaultResponse extends HttpResponse {
2243
+ // (undocumented)
2244
+ body: ErrorResponse;
2245
+ // (undocumented)
2246
+ headers: RawHttpHeaders & UpsertExceptionPolicyDefaultHeaders;
2247
+ // (undocumented)
2248
+ status: string;
2249
+ }
2250
+
2251
+ // @public (undocumented)
2252
+ export interface UpsertExceptionPolicyHeaderParam {
2253
+ // (undocumented)
2254
+ headers?: RawHttpHeadersInput & UpsertExceptionPolicyHeaders;
2255
+ }
2256
+
2257
+ // @public (undocumented)
2258
+ export interface UpsertExceptionPolicyHeaders {
2259
+ "If-Match"?: string;
2260
+ "If-Unmodified-Since"?: string;
2261
+ }
2262
+
2263
+ // @public (undocumented)
2264
+ export interface UpsertExceptionPolicyMediaTypesParam {
2265
+ contentType: "application/merge-patch+json";
2266
+ }
2267
+
2268
+ // @public (undocumented)
2269
+ export type UpsertExceptionPolicyParameters = UpsertExceptionPolicyHeaderParam & UpsertExceptionPolicyMediaTypesParam & UpsertExceptionPolicyBodyParam & RequestParameters;
2270
+
2271
+ // @public (undocumented)
2272
+ export interface UpsertJob {
2273
+ delete(options?: DeleteJobParameters): StreamableMethod<DeleteJob204Response | DeleteJobDefaultResponse>;
2274
+ get(options?: GetJobParameters): StreamableMethod<GetJob200Response | GetJobDefaultResponse>;
2275
+ patch(options: UpsertJobParameters): StreamableMethod<UpsertJob200Response | UpsertJob201Response | UpsertJobDefaultResponse>;
2276
+ }
2277
+
2278
+ // @public (undocumented)
2279
+ export interface UpsertJob200Headers {
2280
+ "last-modified"?: string;
2281
+ etag?: string;
2282
+ }
2283
+
2284
+ // @public
2285
+ export interface UpsertJob200Response extends HttpResponse {
2286
+ // (undocumented)
2287
+ body: RouterJobOutput;
2288
+ // (undocumented)
2289
+ headers: RawHttpHeaders & UpsertJob200Headers;
2290
+ // (undocumented)
2291
+ status: "200";
2292
+ }
2293
+
2294
+ // @public (undocumented)
2295
+ export interface UpsertJob201Headers {
2296
+ "last-modified"?: string;
2297
+ etag?: string;
2298
+ }
2299
+
2300
+ // @public
2301
+ export interface UpsertJob201Response extends HttpResponse {
2302
+ // (undocumented)
2303
+ body: RouterJobOutput;
2304
+ // (undocumented)
2305
+ headers: RawHttpHeaders & UpsertJob201Headers;
2306
+ // (undocumented)
2307
+ status: "201";
2308
+ }
2309
+
2310
+ // @public (undocumented)
2311
+ export interface UpsertJobBodyParam {
2312
+ body: RouterJobResourceMergeAndPatch;
2313
+ }
2314
+
2315
+ // @public (undocumented)
2316
+ export interface UpsertJobDefaultHeaders {
2317
+ "x-ms-error-code"?: string;
2318
+ }
2319
+
2320
+ // @public (undocumented)
2321
+ export interface UpsertJobDefaultResponse extends HttpResponse {
2322
+ // (undocumented)
2323
+ body: ErrorResponse;
2324
+ // (undocumented)
2325
+ headers: RawHttpHeaders & UpsertJobDefaultHeaders;
2326
+ // (undocumented)
2327
+ status: string;
2328
+ }
2329
+
2330
+ // @public (undocumented)
2331
+ export interface UpsertJobHeaderParam {
2332
+ // (undocumented)
2333
+ headers?: RawHttpHeadersInput & UpsertJobHeaders;
2334
+ }
2335
+
2336
+ // @public (undocumented)
2337
+ export interface UpsertJobHeaders {
2338
+ "If-Match"?: string;
2339
+ "If-Unmodified-Since"?: string;
2340
+ }
2341
+
2342
+ // @public (undocumented)
2343
+ export interface UpsertJobMediaTypesParam {
2344
+ contentType: "application/merge-patch+json";
2345
+ }
2346
+
2347
+ // @public (undocumented)
2348
+ export type UpsertJobParameters = UpsertJobHeaderParam & UpsertJobMediaTypesParam & UpsertJobBodyParam & RequestParameters;
2349
+
2350
+ // @public (undocumented)
2351
+ export interface UpsertQueue {
2352
+ delete(options?: DeleteQueueParameters): StreamableMethod<DeleteQueue204Response | DeleteQueueDefaultResponse>;
2353
+ get(options?: GetQueueParameters): StreamableMethod<GetQueue200Response | GetQueueDefaultResponse>;
2354
+ patch(options: UpsertQueueParameters): StreamableMethod<UpsertQueue200Response | UpsertQueue201Response | UpsertQueueDefaultResponse>;
2355
+ }
2356
+
2357
+ // @public (undocumented)
2358
+ export interface UpsertQueue200Headers {
2359
+ "last-modified"?: string;
2360
+ etag?: string;
2361
+ }
2362
+
2363
+ // @public
2364
+ export interface UpsertQueue200Response extends HttpResponse {
2365
+ // (undocumented)
2366
+ body: RouterQueueOutput;
2367
+ // (undocumented)
2368
+ headers: RawHttpHeaders & UpsertQueue200Headers;
2369
+ // (undocumented)
2370
+ status: "200";
2371
+ }
2372
+
2373
+ // @public (undocumented)
2374
+ export interface UpsertQueue201Headers {
2375
+ "last-modified"?: string;
2376
+ etag?: string;
2377
+ }
2378
+
2379
+ // @public
2380
+ export interface UpsertQueue201Response extends HttpResponse {
2381
+ // (undocumented)
2382
+ body: RouterQueueOutput;
2383
+ // (undocumented)
2384
+ headers: RawHttpHeaders & UpsertQueue201Headers;
2385
+ // (undocumented)
2386
+ status: "201";
2387
+ }
2388
+
2389
+ // @public (undocumented)
2390
+ export interface UpsertQueueBodyParam {
2391
+ body: RouterQueueResourceMergeAndPatch;
2392
+ }
2393
+
2394
+ // @public (undocumented)
2395
+ export interface UpsertQueueDefaultHeaders {
2396
+ "x-ms-error-code"?: string;
2397
+ }
2398
+
2399
+ // @public (undocumented)
2400
+ export interface UpsertQueueDefaultResponse extends HttpResponse {
2401
+ // (undocumented)
2402
+ body: ErrorResponse;
2403
+ // (undocumented)
2404
+ headers: RawHttpHeaders & UpsertQueueDefaultHeaders;
2405
+ // (undocumented)
2406
+ status: string;
2407
+ }
2408
+
2409
+ // @public (undocumented)
2410
+ export interface UpsertQueueHeaderParam {
2411
+ // (undocumented)
2412
+ headers?: RawHttpHeadersInput & UpsertQueueHeaders;
2413
+ }
2414
+
2415
+ // @public (undocumented)
2416
+ export interface UpsertQueueHeaders {
2417
+ "If-Match"?: string;
2418
+ "If-Unmodified-Since"?: string;
2419
+ }
2420
+
2421
+ // @public (undocumented)
2422
+ export interface UpsertQueueMediaTypesParam {
2423
+ contentType: "application/merge-patch+json";
2424
+ }
2425
+
2426
+ // @public (undocumented)
2427
+ export type UpsertQueueParameters = UpsertQueueHeaderParam & UpsertQueueMediaTypesParam & UpsertQueueBodyParam & RequestParameters;
2428
+
2429
+ // @public (undocumented)
2430
+ export interface UpsertWorker {
2431
+ delete(options?: DeleteWorkerParameters): StreamableMethod<DeleteWorker204Response | DeleteWorkerDefaultResponse>;
2432
+ get(options?: GetWorkerParameters): StreamableMethod<GetWorker200Response | GetWorkerDefaultResponse>;
2433
+ patch(options: UpsertWorkerParameters): StreamableMethod<UpsertWorker200Response | UpsertWorker201Response | UpsertWorkerDefaultResponse>;
2434
+ }
2435
+
2436
+ // @public (undocumented)
2437
+ export interface UpsertWorker200Headers {
2438
+ "last-modified"?: string;
2439
+ etag?: string;
2440
+ }
2441
+
2442
+ // @public
2443
+ export interface UpsertWorker200Response extends HttpResponse {
2444
+ // (undocumented)
2445
+ body: RouterWorkerOutput;
2446
+ // (undocumented)
2447
+ headers: RawHttpHeaders & UpsertWorker200Headers;
2448
+ // (undocumented)
2449
+ status: "200";
2450
+ }
2451
+
2452
+ // @public (undocumented)
2453
+ export interface UpsertWorker201Headers {
2454
+ "last-modified"?: string;
2455
+ etag?: string;
2456
+ }
2457
+
2458
+ // @public
2459
+ export interface UpsertWorker201Response extends HttpResponse {
2460
+ // (undocumented)
2461
+ body: RouterWorkerOutput;
2462
+ // (undocumented)
2463
+ headers: RawHttpHeaders & UpsertWorker201Headers;
2464
+ // (undocumented)
2465
+ status: "201";
2466
+ }
2467
+
2468
+ // @public (undocumented)
2469
+ export interface UpsertWorkerBodyParam {
2470
+ body: RouterWorkerResourceMergeAndPatch;
2471
+ }
2472
+
2473
+ // @public (undocumented)
2474
+ export interface UpsertWorkerDefaultHeaders {
2475
+ "x-ms-error-code"?: string;
2476
+ }
2477
+
2478
+ // @public (undocumented)
2479
+ export interface UpsertWorkerDefaultResponse extends HttpResponse {
2480
+ // (undocumented)
2481
+ body: ErrorResponse;
2482
+ // (undocumented)
2483
+ headers: RawHttpHeaders & UpsertWorkerDefaultHeaders;
2484
+ // (undocumented)
2485
+ status: string;
2486
+ }
2487
+
2488
+ // @public (undocumented)
2489
+ export interface UpsertWorkerHeaderParam {
2490
+ // (undocumented)
2491
+ headers?: RawHttpHeadersInput & UpsertWorkerHeaders;
2492
+ }
2493
+
2494
+ // @public (undocumented)
2495
+ export interface UpsertWorkerHeaders {
2496
+ "If-Match"?: string;
2497
+ "If-Unmodified-Since"?: string;
2498
+ }
2499
+
2500
+ // @public (undocumented)
2501
+ export interface UpsertWorkerMediaTypesParam {
2502
+ contentType: "application/merge-patch+json";
2503
+ }
2504
+
2505
+ // @public (undocumented)
2506
+ export type UpsertWorkerParameters = UpsertWorkerHeaderParam & UpsertWorkerMediaTypesParam & UpsertWorkerBodyParam & RequestParameters;
2507
+
2508
+ // @public
2509
+ export interface WaitTimeExceptionTrigger extends ExceptionTriggerParent {
2510
+ kind: "waitTime";
2511
+ thresholdSeconds: number;
2512
+ }
2513
+
2514
+ // @public
2515
+ export interface WaitTimeExceptionTriggerOutput extends ExceptionTriggerOutputParent {
2516
+ kind: "waitTime";
2517
+ thresholdSeconds: number;
2518
+ }
2519
+
2520
+ // @public
2521
+ export interface WebhookRouterRule extends RouterRuleParent {
2522
+ authorizationServerUri?: string;
2523
+ clientCredential?: OAuth2WebhookClientCredential;
2524
+ kind: "webhook";
2525
+ webhookUri?: string;
2526
+ }
2527
+
2528
+ // @public
2529
+ export interface WebhookRouterRuleOutput extends RouterRuleOutputParent {
2530
+ authorizationServerUri?: string;
2531
+ clientCredential?: OAuth2WebhookClientCredentialOutput;
2532
+ kind: "webhook";
2533
+ webhookUri?: string;
2534
+ }
2535
+
2536
+ // @public
2537
+ export interface WeightedAllocationQueueSelectorAttachment extends QueueSelectorAttachmentParent {
2538
+ allocations: Array<QueueWeightedAllocation>;
2539
+ kind: "weightedAllocation";
2540
+ }
2541
+
2542
+ // @public
2543
+ export interface WeightedAllocationQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
2544
+ allocations: Array<QueueWeightedAllocationOutput>;
2545
+ kind: "weightedAllocation";
2546
+ }
2547
+
2548
+ // @public
2549
+ export interface WeightedAllocationWorkerSelectorAttachment extends WorkerSelectorAttachmentParent {
2550
+ allocations: Array<WorkerWeightedAllocation>;
2551
+ kind: "weightedAllocation";
2552
+ }
2553
+
2554
+ // @public
2555
+ export interface WeightedAllocationWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
2556
+ allocations: Array<WorkerWeightedAllocationOutput>;
2557
+ kind: "weightedAllocation";
2558
+ }
2559
+
2560
+ // @public
2561
+ export type WorkerSelectorAttachment = WorkerSelectorAttachmentParent | ConditionalWorkerSelectorAttachment | PassThroughWorkerSelectorAttachment | RuleEngineWorkerSelectorAttachment | StaticWorkerSelectorAttachment | WeightedAllocationWorkerSelectorAttachment;
2562
+
2563
+ // @public
2564
+ export type WorkerSelectorAttachmentKind = string;
2565
+
2566
+ // @public
2567
+ export type WorkerSelectorAttachmentKindOutput = string;
2568
+
2569
+ // @public
2570
+ export type WorkerSelectorAttachmentOutput = WorkerSelectorAttachmentOutputParent | ConditionalWorkerSelectorAttachmentOutput | PassThroughWorkerSelectorAttachmentOutput | RuleEngineWorkerSelectorAttachmentOutput | StaticWorkerSelectorAttachmentOutput | WeightedAllocationWorkerSelectorAttachmentOutput;
2571
+
2572
+ // @public
2573
+ export interface WorkerSelectorAttachmentOutputParent {
2574
+ // (undocumented)
2575
+ kind: WorkerSelectorAttachmentKindOutput;
2576
+ }
2577
+
2578
+ // @public
2579
+ export interface WorkerSelectorAttachmentParent {
2580
+ // (undocumented)
2581
+ kind: WorkerSelectorAttachmentKind;
2582
+ }
2583
+
2584
+ // @public
2585
+ export interface WorkerWeightedAllocation {
2586
+ weight: number;
2587
+ workerSelectors: Array<RouterWorkerSelector>;
2588
+ }
2589
+
2590
+ // @public
2591
+ export interface WorkerWeightedAllocationOutput {
2592
+ weight: number;
2593
+ workerSelectors: Array<RouterWorkerSelectorOutput>;
2594
+ }
2595
+
2596
+ // (No @packageDocumentation comment for this package)
2597
+
2598
+ ```