@azure-rest/communication-job-router 1.1.0-beta.1 → 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 (205) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/LICENSE +21 -0
  3. package/README.md +168 -115
  4. package/dist/browser/azureCommunicationRoutingServiceClient.d.ts +14 -0
  5. package/dist/browser/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
  6. package/dist/browser/azureCommunicationRoutingServiceClient.js +41 -0
  7. package/dist/browser/azureCommunicationRoutingServiceClient.js.map +1 -0
  8. package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
  9. package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
  10. package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.js +29 -0
  11. package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.js.map +1 -0
  12. package/dist/browser/clientDefinitions.d.ts +159 -0
  13. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  14. package/dist/browser/clientDefinitions.js +4 -0
  15. package/dist/browser/clientDefinitions.js.map +1 -0
  16. package/dist/browser/index.d.ts +11 -0
  17. package/dist/browser/index.d.ts.map +1 -0
  18. package/dist/browser/index.js +13 -0
  19. package/dist/browser/index.js.map +1 -0
  20. package/dist/browser/isUnexpected.d.ts +35 -0
  21. package/dist/browser/isUnexpected.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/isUnexpected.js +5 -6
  23. package/dist/browser/isUnexpected.js.map +1 -0
  24. package/dist/browser/logger.d.ts +2 -0
  25. package/dist/browser/logger.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/logger.js +1 -1
  27. package/{dist-esm/src → dist/browser}/logger.js.map +1 -1
  28. package/dist/browser/models.d.ts +562 -0
  29. package/dist/browser/models.d.ts.map +1 -0
  30. package/dist/browser/models.js +4 -0
  31. package/dist/browser/models.js.map +1 -0
  32. package/dist/browser/outputModels.d.ts +683 -0
  33. package/dist/browser/outputModels.d.ts.map +1 -0
  34. package/dist/browser/outputModels.js +4 -0
  35. package/dist/browser/outputModels.js.map +1 -0
  36. package/dist/browser/package.json +3 -0
  37. package/dist/browser/paginateHelper.d.ts +68 -0
  38. package/dist/browser/paginateHelper.d.ts.map +1 -0
  39. package/{dist-esm/src → dist/browser}/paginateHelper.js +70 -3
  40. package/dist/browser/paginateHelper.js.map +1 -0
  41. package/dist/browser/parameters.d.ts +245 -0
  42. package/dist/browser/parameters.d.ts.map +1 -0
  43. package/dist/browser/parameters.js +4 -0
  44. package/dist/browser/parameters.js.map +1 -0
  45. package/dist/browser/responses.d.ts +616 -0
  46. package/dist/browser/responses.d.ts.map +1 -0
  47. package/dist/browser/responses.js +4 -0
  48. package/dist/browser/responses.js.map +1 -0
  49. package/dist/commonjs/azureCommunicationRoutingServiceClient.d.ts +14 -0
  50. package/dist/commonjs/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
  51. package/dist/commonjs/azureCommunicationRoutingServiceClient.js +44 -0
  52. package/dist/commonjs/azureCommunicationRoutingServiceClient.js.map +1 -0
  53. package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
  54. package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
  55. package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.js +33 -0
  56. package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.js.map +1 -0
  57. package/dist/commonjs/clientDefinitions.d.ts +159 -0
  58. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  59. package/dist/commonjs/clientDefinitions.js +5 -0
  60. package/dist/commonjs/clientDefinitions.js.map +1 -0
  61. package/dist/commonjs/index.d.ts +11 -0
  62. package/dist/commonjs/index.d.ts.map +1 -0
  63. package/dist/commonjs/index.js +16 -0
  64. package/dist/commonjs/index.js.map +1 -0
  65. package/dist/commonjs/isUnexpected.d.ts +35 -0
  66. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  67. package/dist/commonjs/isUnexpected.js +104 -0
  68. package/dist/commonjs/isUnexpected.js.map +1 -0
  69. package/dist/commonjs/logger.d.ts +2 -0
  70. package/dist/commonjs/logger.d.ts.map +1 -0
  71. package/dist/commonjs/logger.js +8 -0
  72. package/dist/commonjs/logger.js.map +1 -0
  73. package/dist/commonjs/models.d.ts +562 -0
  74. package/dist/commonjs/models.d.ts.map +1 -0
  75. package/dist/commonjs/models.js +5 -0
  76. package/dist/commonjs/models.js.map +1 -0
  77. package/dist/commonjs/outputModels.d.ts +683 -0
  78. package/dist/commonjs/outputModels.d.ts.map +1 -0
  79. package/dist/commonjs/outputModels.js +5 -0
  80. package/dist/commonjs/outputModels.js.map +1 -0
  81. package/dist/commonjs/package.json +3 -0
  82. package/dist/commonjs/paginateHelper.d.ts +68 -0
  83. package/dist/commonjs/paginateHelper.d.ts.map +1 -0
  84. package/dist/commonjs/paginateHelper.js +140 -0
  85. package/dist/commonjs/paginateHelper.js.map +1 -0
  86. package/dist/commonjs/parameters.d.ts +245 -0
  87. package/dist/commonjs/parameters.d.ts.map +1 -0
  88. package/dist/commonjs/parameters.js +5 -0
  89. package/dist/commonjs/parameters.js.map +1 -0
  90. package/dist/commonjs/responses.d.ts +616 -0
  91. package/dist/commonjs/responses.d.ts.map +1 -0
  92. package/dist/commonjs/responses.js +5 -0
  93. package/dist/commonjs/responses.js.map +1 -0
  94. package/dist/commonjs/tsdoc-metadata.json +11 -0
  95. package/dist/esm/azureCommunicationRoutingServiceClient.d.ts +14 -0
  96. package/dist/esm/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
  97. package/dist/esm/azureCommunicationRoutingServiceClient.js +41 -0
  98. package/dist/esm/azureCommunicationRoutingServiceClient.js.map +1 -0
  99. package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
  100. package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
  101. package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.js +29 -0
  102. package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.js.map +1 -0
  103. package/dist/esm/clientDefinitions.d.ts +159 -0
  104. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  105. package/dist/esm/clientDefinitions.js +4 -0
  106. package/dist/esm/clientDefinitions.js.map +1 -0
  107. package/dist/esm/index.d.ts +11 -0
  108. package/dist/esm/index.d.ts.map +1 -0
  109. package/dist/esm/index.js +13 -0
  110. package/dist/esm/index.js.map +1 -0
  111. package/dist/esm/isUnexpected.d.ts +35 -0
  112. package/dist/esm/isUnexpected.d.ts.map +1 -0
  113. package/dist/esm/isUnexpected.js +101 -0
  114. package/dist/esm/isUnexpected.js.map +1 -0
  115. package/dist/esm/logger.d.ts +2 -0
  116. package/dist/esm/logger.d.ts.map +1 -0
  117. package/dist/esm/logger.js +5 -0
  118. package/dist/esm/logger.js.map +1 -0
  119. package/dist/esm/models.d.ts +562 -0
  120. package/dist/esm/models.d.ts.map +1 -0
  121. package/dist/esm/models.js +4 -0
  122. package/dist/esm/models.js.map +1 -0
  123. package/dist/esm/outputModels.d.ts +683 -0
  124. package/dist/esm/outputModels.d.ts.map +1 -0
  125. package/dist/esm/outputModels.js +4 -0
  126. package/dist/esm/outputModels.js.map +1 -0
  127. package/dist/esm/package.json +3 -0
  128. package/dist/esm/paginateHelper.d.ts +68 -0
  129. package/dist/esm/paginateHelper.d.ts.map +1 -0
  130. package/dist/esm/paginateHelper.js +137 -0
  131. package/dist/esm/paginateHelper.js.map +1 -0
  132. package/dist/esm/parameters.d.ts +245 -0
  133. package/dist/esm/parameters.d.ts.map +1 -0
  134. package/dist/esm/parameters.js +4 -0
  135. package/dist/esm/parameters.js.map +1 -0
  136. package/dist/esm/responses.d.ts +616 -0
  137. package/dist/esm/responses.d.ts.map +1 -0
  138. package/dist/esm/responses.js +4 -0
  139. package/dist/esm/responses.js.map +1 -0
  140. package/dist/react-native/azureCommunicationRoutingServiceClient.d.ts +14 -0
  141. package/dist/react-native/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
  142. package/dist/react-native/azureCommunicationRoutingServiceClient.js +41 -0
  143. package/dist/react-native/azureCommunicationRoutingServiceClient.js.map +1 -0
  144. package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
  145. package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
  146. package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.js +29 -0
  147. package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.js.map +1 -0
  148. package/dist/react-native/clientDefinitions.d.ts +159 -0
  149. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  150. package/dist/react-native/clientDefinitions.js +4 -0
  151. package/dist/react-native/clientDefinitions.js.map +1 -0
  152. package/dist/react-native/index.d.ts +11 -0
  153. package/dist/react-native/index.d.ts.map +1 -0
  154. package/dist/react-native/index.js +13 -0
  155. package/dist/react-native/index.js.map +1 -0
  156. package/dist/react-native/isUnexpected.d.ts +35 -0
  157. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  158. package/dist/react-native/isUnexpected.js +101 -0
  159. package/dist/react-native/isUnexpected.js.map +1 -0
  160. package/dist/react-native/logger.d.ts +2 -0
  161. package/dist/react-native/logger.d.ts.map +1 -0
  162. package/dist/react-native/logger.js +5 -0
  163. package/dist/react-native/logger.js.map +1 -0
  164. package/dist/react-native/models.d.ts +562 -0
  165. package/dist/react-native/models.d.ts.map +1 -0
  166. package/dist/react-native/models.js +4 -0
  167. package/dist/react-native/models.js.map +1 -0
  168. package/dist/react-native/outputModels.d.ts +683 -0
  169. package/dist/react-native/outputModels.d.ts.map +1 -0
  170. package/dist/react-native/outputModels.js +4 -0
  171. package/dist/react-native/outputModels.js.map +1 -0
  172. package/dist/react-native/package.json +3 -0
  173. package/dist/react-native/paginateHelper.d.ts +68 -0
  174. package/dist/react-native/paginateHelper.d.ts.map +1 -0
  175. package/dist/react-native/paginateHelper.js +137 -0
  176. package/dist/react-native/paginateHelper.js.map +1 -0
  177. package/dist/react-native/parameters.d.ts +245 -0
  178. package/dist/react-native/parameters.d.ts.map +1 -0
  179. package/dist/react-native/parameters.js +4 -0
  180. package/dist/react-native/parameters.js.map +1 -0
  181. package/dist/react-native/responses.d.ts +616 -0
  182. package/dist/react-native/responses.d.ts.map +1 -0
  183. package/dist/react-native/responses.js +4 -0
  184. package/dist/react-native/responses.js.map +1 -0
  185. package/package.json +84 -75
  186. package/review/{communication-job-router.api.md → communication-job-router-node.api.md} +168 -55
  187. package/dist/index.js +0 -229
  188. package/dist/index.js.map +0 -1
  189. package/dist-esm/src/azureCommunicationRoutingServiceClient.js +0 -42
  190. package/dist-esm/src/azureCommunicationRoutingServiceClient.js.map +0 -1
  191. package/dist-esm/src/clientDefinitions.js +0 -4
  192. package/dist-esm/src/clientDefinitions.js.map +0 -1
  193. package/dist-esm/src/index.js +0 -13
  194. package/dist-esm/src/index.js.map +0 -1
  195. package/dist-esm/src/isUnexpected.js.map +0 -1
  196. package/dist-esm/src/models.js +0 -4
  197. package/dist-esm/src/models.js.map +0 -1
  198. package/dist-esm/src/outputModels.js +0 -4
  199. package/dist-esm/src/outputModels.js.map +0 -1
  200. package/dist-esm/src/paginateHelper.js.map +0 -1
  201. package/dist-esm/src/parameters.js +0 -4
  202. package/dist-esm/src/parameters.js.map +0 -1
  203. package/dist-esm/src/responses.js +0 -4
  204. package/dist-esm/src/responses.js.map +0 -1
  205. package/types/communication-job-router.d.ts +0 -2677
@@ -4,19 +4,17 @@
4
4
 
5
5
  ```ts
6
6
 
7
- import { Client } from '@azure-rest/core-client';
8
- import { ClientOptions } from '@azure-rest/core-client';
9
- import { ErrorResponse } from '@azure-rest/core-client';
10
- import { HttpResponse } from '@azure-rest/core-client';
11
- import { KeyCredential } from '@azure/core-auth';
12
- import { Paged } from '@azure/core-paging';
13
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
14
- import { PathUncheckedResponse } from '@azure-rest/core-client';
15
- import { RawHttpHeaders } from '@azure/core-rest-pipeline';
16
- import { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
17
- import { RequestParameters } from '@azure-rest/core-client';
18
- import { StreamableMethod } from '@azure-rest/core-client';
19
- import { TokenCredential } from '@azure/core-auth';
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';
20
18
 
21
19
  // @public (undocumented)
22
20
  export interface Accept {
@@ -61,6 +59,11 @@ export type AzureCommunicationRoutingServiceClient = Client & {
61
59
  path: Routes;
62
60
  };
63
61
 
62
+ // @public
63
+ export interface AzureCommunicationRoutingServiceClientOptions extends ClientOptions {
64
+ apiVersion?: string;
65
+ }
66
+
64
67
  // @public
65
68
  export interface BestWorkerMode extends DistributionModeParent {
66
69
  kind: "bestWorker";
@@ -487,6 +490,12 @@ export interface DirectMapRouterRuleOutput extends RouterRuleOutputParent {
487
490
  // @public
488
491
  export type DistributionMode = DistributionModeParent | BestWorkerMode | LongestIdleMode | RoundRobinMode;
489
492
 
493
+ // @public
494
+ export type DistributionModeKind = string;
495
+
496
+ // @public
497
+ export type DistributionModeKindOutput = string;
498
+
490
499
  // @public
491
500
  export type DistributionModeOutput = DistributionModeOutputParent | BestWorkerModeOutput | LongestIdleModeOutput | RoundRobinModeOutput;
492
501
 
@@ -494,7 +503,7 @@ export type DistributionModeOutput = DistributionModeOutputParent | BestWorkerMo
494
503
  export interface DistributionModeOutputParent {
495
504
  bypassSelectors?: boolean;
496
505
  // (undocumented)
497
- kind: string;
506
+ kind: DistributionModeKindOutput;
498
507
  maxConcurrentOffers?: number;
499
508
  minConcurrentOffers?: number;
500
509
  }
@@ -503,7 +512,7 @@ export interface DistributionModeOutputParent {
503
512
  export interface DistributionModeParent {
504
513
  bypassSelectors?: boolean;
505
514
  // (undocumented)
506
- kind: string;
515
+ kind: DistributionModeKind;
507
516
  maxConcurrentOffers?: number;
508
517
  minConcurrentOffers?: number;
509
518
  }
@@ -530,6 +539,12 @@ export type DistributionPolicyResourceMergeAndPatch = Partial<DistributionPolicy
530
539
  // @public
531
540
  export type ExceptionAction = ExceptionActionParent | CancelExceptionAction | ManualReclassifyExceptionAction | ReclassifyExceptionAction;
532
541
 
542
+ // @public
543
+ export type ExceptionActionKind = string;
544
+
545
+ // @public
546
+ export type ExceptionActionKindOutput = string;
547
+
533
548
  // @public
534
549
  export type ExceptionActionOutput = ExceptionActionOutputParent | CancelExceptionActionOutput | ManualReclassifyExceptionActionOutput | ReclassifyExceptionActionOutput;
535
550
 
@@ -537,14 +552,14 @@ export type ExceptionActionOutput = ExceptionActionOutputParent | CancelExceptio
537
552
  export interface ExceptionActionOutputParent {
538
553
  id?: string;
539
554
  // (undocumented)
540
- kind: string;
555
+ kind: ExceptionActionKindOutput;
541
556
  }
542
557
 
543
558
  // @public
544
559
  export interface ExceptionActionParent {
545
560
  id?: string;
546
561
  // (undocumented)
547
- kind: string;
562
+ kind: ExceptionActionKind;
548
563
  }
549
564
 
550
565
  // @public
@@ -581,33 +596,45 @@ export interface ExceptionRuleOutput {
581
596
  // @public
582
597
  export type ExceptionTrigger = ExceptionTriggerParent | QueueLengthExceptionTrigger | WaitTimeExceptionTrigger;
583
598
 
599
+ // @public
600
+ export type ExceptionTriggerKind = string;
601
+
602
+ // @public
603
+ export type ExceptionTriggerKindOutput = string;
604
+
584
605
  // @public
585
606
  export type ExceptionTriggerOutput = ExceptionTriggerOutputParent | QueueLengthExceptionTriggerOutput | WaitTimeExceptionTriggerOutput;
586
607
 
587
608
  // @public
588
609
  export interface ExceptionTriggerOutputParent {
589
610
  // (undocumented)
590
- kind: string;
611
+ kind: ExceptionTriggerKindOutput;
591
612
  }
592
613
 
593
614
  // @public
594
615
  export interface ExceptionTriggerParent {
595
616
  // (undocumented)
596
- kind: string;
617
+ kind: ExceptionTriggerKind;
597
618
  }
598
619
 
599
620
  // @public
600
621
  export interface ExpressionRouterRule extends RouterRuleParent {
601
622
  expression: string;
602
623
  kind: "expression";
603
- language?: string;
624
+ language?: ExpressionRouterRuleLanguage;
604
625
  }
605
626
 
627
+ // @public
628
+ export type ExpressionRouterRuleLanguage = string;
629
+
630
+ // @public
631
+ export type ExpressionRouterRuleLanguageOutput = string;
632
+
606
633
  // @public
607
634
  export interface ExpressionRouterRuleOutput extends RouterRuleOutputParent {
608
635
  expression: string;
609
636
  kind: "expression";
610
- language?: string;
637
+ language?: ExpressionRouterRuleLanguageOutput;
611
638
  }
612
639
 
613
640
  // @public
@@ -809,7 +836,7 @@ export interface GetJobDefaultResponse extends HttpResponse {
809
836
  export type GetJobParameters = RequestParameters;
810
837
 
811
838
  // @public
812
- export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
839
+ export type GetPage<TPage> = (pageLink: string) => Promise<{
813
840
  page: TPage;
814
841
  nextPageLink?: string;
815
842
  }>;
@@ -1015,21 +1042,33 @@ export function isUnexpected(response: ListWorkers200Response | ListWorkersDefau
1015
1042
  // @public
1016
1043
  export type JobMatchingMode = JobMatchingModeParent | ScheduleAndSuspendMode | QueueAndMatchMode | SuspendMode;
1017
1044
 
1045
+ // @public
1046
+ export type JobMatchingModeKind = string;
1047
+
1048
+ // @public
1049
+ export type JobMatchingModeKindOutput = string;
1050
+
1018
1051
  // @public
1019
1052
  export type JobMatchingModeOutput = JobMatchingModeOutputParent | ScheduleAndSuspendModeOutput | QueueAndMatchModeOutput | SuspendModeOutput;
1020
1053
 
1021
1054
  // @public
1022
1055
  export interface JobMatchingModeOutputParent {
1023
1056
  // (undocumented)
1024
- kind: string;
1057
+ kind: JobMatchingModeKindOutput;
1025
1058
  }
1026
1059
 
1027
1060
  // @public
1028
1061
  export interface JobMatchingModeParent {
1029
1062
  // (undocumented)
1030
- kind: string;
1063
+ kind: JobMatchingModeKind;
1031
1064
  }
1032
1065
 
1066
+ // @public
1067
+ export type LabelOperator = string;
1068
+
1069
+ // @public
1070
+ export type LabelOperatorOutput = string;
1071
+
1033
1072
  // @public (undocumented)
1034
1073
  export interface ListClassificationPolicies {
1035
1074
  get(options?: ListClassificationPoliciesParameters): StreamableMethod<ListClassificationPolicies200Response | ListClassificationPoliciesDefaultResponse>;
@@ -1201,7 +1240,7 @@ export interface ListJobsQueryParamProperties {
1201
1240
  queueId?: string;
1202
1241
  scheduledAfter?: Date | string;
1203
1242
  scheduledBefore?: Date | string;
1204
- status?: string;
1243
+ status?: RouterJobStatusSelector;
1205
1244
  }
1206
1245
 
1207
1246
  // @public (undocumented)
@@ -1289,7 +1328,7 @@ export interface ListWorkersQueryParamProperties {
1289
1328
  hasCapacity?: boolean;
1290
1329
  maxpagesize?: number;
1291
1330
  queueId?: string;
1292
- state?: string;
1331
+ state?: RouterWorkerStateSelector;
1293
1332
  }
1294
1333
 
1295
1334
  // @public
@@ -1331,22 +1370,52 @@ export interface OAuth2WebhookClientCredentialOutput {
1331
1370
  }
1332
1371
 
1333
1372
  // @public
1334
- export type PagedClassificationPolicyOutput = Paged<ClassificationPolicyOutput>;
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
+ }
1335
1384
 
1336
1385
  // @public
1337
- export type PagedDistributionPolicyOutput = Paged<DistributionPolicyOutput>;
1386
+ export interface PagedDistributionPolicyOutput {
1387
+ nextLink?: string;
1388
+ value: Array<DistributionPolicyOutput>;
1389
+ }
1338
1390
 
1339
1391
  // @public
1340
- export type PagedExceptionPolicyOutput = Paged<ExceptionPolicyOutput>;
1392
+ export interface PagedExceptionPolicyOutput {
1393
+ nextLink?: string;
1394
+ value: Array<ExceptionPolicyOutput>;
1395
+ }
1341
1396
 
1342
1397
  // @public
1343
- export type PagedRouterJobOutput = Paged<RouterJobOutput>;
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
+ }
1344
1408
 
1345
1409
  // @public
1346
- export type PagedRouterQueueOutput = Paged<RouterQueueOutput>;
1410
+ export interface PagedRouterWorkerOutput {
1411
+ nextLink?: string;
1412
+ value: Array<RouterWorkerOutput>;
1413
+ }
1347
1414
 
1348
1415
  // @public
1349
- export type PagedRouterWorkerOutput = Paged<RouterWorkerOutput>;
1416
+ export interface PageSettings {
1417
+ continuationToken?: string;
1418
+ }
1350
1419
 
1351
1420
  // @public
1352
1421
  export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
@@ -1367,14 +1436,14 @@ export interface PagingOptions<TResponse> {
1367
1436
  export interface PassThroughQueueSelectorAttachment extends QueueSelectorAttachmentParent {
1368
1437
  key: string;
1369
1438
  kind: "passThrough";
1370
- labelOperator: string;
1439
+ labelOperator: LabelOperator;
1371
1440
  }
1372
1441
 
1373
1442
  // @public
1374
1443
  export interface PassThroughQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
1375
1444
  key: string;
1376
1445
  kind: "passThrough";
1377
- labelOperator: string;
1446
+ labelOperator: LabelOperatorOutput;
1378
1447
  }
1379
1448
 
1380
1449
  // @public
@@ -1382,7 +1451,7 @@ export interface PassThroughWorkerSelectorAttachment extends WorkerSelectorAttac
1382
1451
  expiresAfterSeconds?: number;
1383
1452
  key: string;
1384
1453
  kind: "passThrough";
1385
- labelOperator: string;
1454
+ labelOperator: LabelOperator;
1386
1455
  }
1387
1456
 
1388
1457
  // @public
@@ -1390,7 +1459,7 @@ export interface PassThroughWorkerSelectorAttachmentOutput extends WorkerSelecto
1390
1459
  expiresAfterSeconds?: number;
1391
1460
  key: string;
1392
1461
  kind: "passThrough";
1393
- labelOperator: string;
1462
+ labelOperator: LabelOperatorOutput;
1394
1463
  }
1395
1464
 
1396
1465
  // @public
@@ -1418,19 +1487,25 @@ export interface QueueLengthExceptionTriggerOutput extends ExceptionTriggerOutpu
1418
1487
  // @public
1419
1488
  export type QueueSelectorAttachment = QueueSelectorAttachmentParent | ConditionalQueueSelectorAttachment | PassThroughQueueSelectorAttachment | RuleEngineQueueSelectorAttachment | StaticQueueSelectorAttachment | WeightedAllocationQueueSelectorAttachment;
1420
1489
 
1490
+ // @public
1491
+ export type QueueSelectorAttachmentKind = string;
1492
+
1493
+ // @public
1494
+ export type QueueSelectorAttachmentKindOutput = string;
1495
+
1421
1496
  // @public
1422
1497
  export type QueueSelectorAttachmentOutput = QueueSelectorAttachmentOutputParent | ConditionalQueueSelectorAttachmentOutput | PassThroughQueueSelectorAttachmentOutput | RuleEngineQueueSelectorAttachmentOutput | StaticQueueSelectorAttachmentOutput | WeightedAllocationQueueSelectorAttachmentOutput;
1423
1498
 
1424
1499
  // @public
1425
1500
  export interface QueueSelectorAttachmentOutputParent {
1426
1501
  // (undocumented)
1427
- kind: string;
1502
+ kind: QueueSelectorAttachmentKindOutput;
1428
1503
  }
1429
1504
 
1430
1505
  // @public
1431
1506
  export interface QueueSelectorAttachmentParent {
1432
1507
  // (undocumented)
1433
- kind: string;
1508
+ kind: QueueSelectorAttachmentKind;
1434
1509
  }
1435
1510
 
1436
1511
  // @public
@@ -1527,10 +1602,6 @@ export interface RouterChannelOutput {
1527
1602
  maxNumberOfJobs?: number;
1528
1603
  }
1529
1604
 
1530
- // @public
1531
- export interface RouterConditionalRequestHeadersOutput {
1532
- }
1533
-
1534
1605
  // @public
1535
1606
  export interface RouterJob {
1536
1607
  channelId?: string;
@@ -1610,7 +1681,7 @@ export interface RouterJobOutput {
1610
1681
  queueId?: string;
1611
1682
  requestedWorkerSelectors?: Array<RouterWorkerSelectorOutput>;
1612
1683
  readonly scheduledAt?: string;
1613
- readonly status?: string;
1684
+ readonly status?: RouterJobStatusOutput;
1614
1685
  tags?: Record<string, any>;
1615
1686
  }
1616
1687
 
@@ -1626,6 +1697,15 @@ export interface RouterJobPositionDetailsOutput {
1626
1697
  // @public
1627
1698
  export type RouterJobResourceMergeAndPatch = Partial<RouterJob>;
1628
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
+
1629
1709
  // @public
1630
1710
  export interface RouterQueue {
1631
1711
  distributionPolicyId?: string;
@@ -1650,14 +1730,14 @@ export type RouterQueueResourceMergeAndPatch = Partial<RouterQueue>;
1650
1730
  // @public
1651
1731
  export interface RouterQueueSelector {
1652
1732
  key: string;
1653
- labelOperator: string;
1733
+ labelOperator: LabelOperator;
1654
1734
  value?: unknown;
1655
1735
  }
1656
1736
 
1657
1737
  // @public
1658
1738
  export interface RouterQueueSelectorOutput {
1659
1739
  key: string;
1660
- labelOperator: string;
1740
+ labelOperator: LabelOperatorOutput;
1661
1741
  value?: any;
1662
1742
  }
1663
1743
 
@@ -1672,19 +1752,25 @@ export interface RouterQueueStatisticsOutput {
1672
1752
  // @public
1673
1753
  export type RouterRule = RouterRuleParent | DirectMapRouterRule | ExpressionRouterRule | FunctionRouterRule | StaticRouterRule | WebhookRouterRule;
1674
1754
 
1755
+ // @public
1756
+ export type RouterRuleKind = string;
1757
+
1758
+ // @public
1759
+ export type RouterRuleKindOutput = string;
1760
+
1675
1761
  // @public
1676
1762
  export type RouterRuleOutput = RouterRuleOutputParent | DirectMapRouterRuleOutput | ExpressionRouterRuleOutput | FunctionRouterRuleOutput | StaticRouterRuleOutput | WebhookRouterRuleOutput;
1677
1763
 
1678
1764
  // @public
1679
1765
  export interface RouterRuleOutputParent {
1680
1766
  // (undocumented)
1681
- kind: string;
1767
+ kind: RouterRuleKindOutput;
1682
1768
  }
1683
1769
 
1684
1770
  // @public
1685
1771
  export interface RouterRuleParent {
1686
1772
  // (undocumented)
1687
- kind: string;
1773
+ kind: RouterRuleKind;
1688
1774
  }
1689
1775
 
1690
1776
  // @public
@@ -1727,7 +1813,7 @@ export interface RouterWorkerOutput {
1727
1813
  maxConcurrentOffers?: number;
1728
1814
  readonly offers?: Array<RouterJobOfferOutput>;
1729
1815
  queues?: string[];
1730
- readonly state?: string;
1816
+ readonly state?: RouterWorkerStateOutput;
1731
1817
  tags?: Record<string, any>;
1732
1818
  }
1733
1819
 
@@ -1739,7 +1825,7 @@ export interface RouterWorkerSelector {
1739
1825
  expedite?: boolean;
1740
1826
  expiresAfterSeconds?: number;
1741
1827
  key: string;
1742
- labelOperator: string;
1828
+ labelOperator: LabelOperator;
1743
1829
  value?: unknown;
1744
1830
  }
1745
1831
 
@@ -1749,11 +1835,26 @@ export interface RouterWorkerSelectorOutput {
1749
1835
  expiresAfterSeconds?: number;
1750
1836
  readonly expiresAt?: string;
1751
1837
  key: string;
1752
- labelOperator: string;
1753
- readonly status?: string;
1838
+ labelOperator: LabelOperatorOutput;
1839
+ readonly status?: RouterWorkerSelectorStatusOutput;
1754
1840
  value?: any;
1755
1841
  }
1756
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
+
1757
1858
  // @public (undocumented)
1758
1859
  export interface Routes {
1759
1860
  (path: "/routing/classificationPolicies/{classificationPolicyId}", classificationPolicyId: string): UpsertClassificationPolicy;
@@ -1820,7 +1921,7 @@ export interface ScoringRuleOptions {
1820
1921
  batchSize?: number;
1821
1922
  descendingOrder?: boolean;
1822
1923
  isBatchScoringEnabled?: boolean;
1823
- scoringParameters?: string[];
1924
+ scoringParameters?: ScoringRuleParameterSelector[];
1824
1925
  }
1825
1926
 
1826
1927
  // @public
@@ -1828,9 +1929,15 @@ export interface ScoringRuleOptionsOutput {
1828
1929
  batchSize?: number;
1829
1930
  descendingOrder?: boolean;
1830
1931
  isBatchScoringEnabled?: boolean;
1831
- scoringParameters?: string[];
1932
+ scoringParameters?: ScoringRuleParameterSelectorOutput[];
1832
1933
  }
1833
1934
 
1935
+ // @public
1936
+ export type ScoringRuleParameterSelector = string;
1937
+
1938
+ // @public
1939
+ export type ScoringRuleParameterSelectorOutput = string;
1940
+
1834
1941
  // @public
1835
1942
  export interface StaticQueueSelectorAttachment extends QueueSelectorAttachmentParent {
1836
1943
  kind: "static";
@@ -2453,19 +2560,25 @@ export interface WeightedAllocationWorkerSelectorAttachmentOutput extends Worker
2453
2560
  // @public
2454
2561
  export type WorkerSelectorAttachment = WorkerSelectorAttachmentParent | ConditionalWorkerSelectorAttachment | PassThroughWorkerSelectorAttachment | RuleEngineWorkerSelectorAttachment | StaticWorkerSelectorAttachment | WeightedAllocationWorkerSelectorAttachment;
2455
2562
 
2563
+ // @public
2564
+ export type WorkerSelectorAttachmentKind = string;
2565
+
2566
+ // @public
2567
+ export type WorkerSelectorAttachmentKindOutput = string;
2568
+
2456
2569
  // @public
2457
2570
  export type WorkerSelectorAttachmentOutput = WorkerSelectorAttachmentOutputParent | ConditionalWorkerSelectorAttachmentOutput | PassThroughWorkerSelectorAttachmentOutput | RuleEngineWorkerSelectorAttachmentOutput | StaticWorkerSelectorAttachmentOutput | WeightedAllocationWorkerSelectorAttachmentOutput;
2458
2571
 
2459
2572
  // @public
2460
2573
  export interface WorkerSelectorAttachmentOutputParent {
2461
2574
  // (undocumented)
2462
- kind: string;
2575
+ kind: WorkerSelectorAttachmentKindOutput;
2463
2576
  }
2464
2577
 
2465
2578
  // @public
2466
2579
  export interface WorkerSelectorAttachmentParent {
2467
2580
  // (undocumented)
2468
- kind: string;
2581
+ kind: WorkerSelectorAttachmentKind;
2469
2582
  }
2470
2583
 
2471
2584
  // @public