@azure-rest/communication-job-router 1.1.0-beta.1 → 1.1.0-beta.2

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 (204) hide show
  1. package/README.md +168 -115
  2. package/dist/browser/azureCommunicationRoutingServiceClient.d.ts +14 -0
  3. package/dist/browser/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
  4. package/dist/browser/azureCommunicationRoutingServiceClient.js +40 -0
  5. package/dist/browser/azureCommunicationRoutingServiceClient.js.map +1 -0
  6. package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
  7. package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
  8. package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.js +29 -0
  9. package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.js.map +1 -0
  10. package/dist/browser/clientDefinitions.d.ts +159 -0
  11. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  12. package/dist/browser/clientDefinitions.js +4 -0
  13. package/dist/browser/clientDefinitions.js.map +1 -0
  14. package/dist/browser/index.d.ts +11 -0
  15. package/dist/browser/index.d.ts.map +1 -0
  16. package/dist/browser/index.js +13 -0
  17. package/dist/browser/index.js.map +1 -0
  18. package/dist/browser/isUnexpected.d.ts +35 -0
  19. package/dist/browser/isUnexpected.d.ts.map +1 -0
  20. package/{dist-esm/src → dist/browser}/isUnexpected.js +1 -1
  21. package/dist/browser/isUnexpected.js.map +1 -0
  22. package/dist/browser/logger.d.ts +2 -0
  23. package/dist/browser/logger.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/logger.js +1 -1
  25. package/{dist-esm/src → dist/browser}/logger.js.map +1 -1
  26. package/dist/browser/models.d.ts +562 -0
  27. package/dist/browser/models.d.ts.map +1 -0
  28. package/dist/browser/models.js +4 -0
  29. package/dist/browser/models.js.map +1 -0
  30. package/dist/browser/outputModels.d.ts +683 -0
  31. package/dist/browser/outputModels.d.ts.map +1 -0
  32. package/dist/browser/outputModels.js +4 -0
  33. package/dist/browser/outputModels.js.map +1 -0
  34. package/dist/browser/package.json +3 -0
  35. package/dist/browser/paginateHelper.d.ts +68 -0
  36. package/dist/browser/paginateHelper.d.ts.map +1 -0
  37. package/dist/browser/paginateHelper.js +167 -0
  38. package/dist/browser/paginateHelper.js.map +1 -0
  39. package/dist/browser/parameters.d.ts +245 -0
  40. package/dist/browser/parameters.d.ts.map +1 -0
  41. package/dist/browser/parameters.js +4 -0
  42. package/dist/browser/parameters.js.map +1 -0
  43. package/dist/browser/responses.d.ts +616 -0
  44. package/dist/browser/responses.d.ts.map +1 -0
  45. package/dist/browser/responses.js +4 -0
  46. package/dist/browser/responses.js.map +1 -0
  47. package/dist/commonjs/azureCommunicationRoutingServiceClient.d.ts +14 -0
  48. package/dist/commonjs/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
  49. package/dist/commonjs/azureCommunicationRoutingServiceClient.js +43 -0
  50. package/dist/commonjs/azureCommunicationRoutingServiceClient.js.map +1 -0
  51. package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
  52. package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
  53. package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.js +33 -0
  54. package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.js.map +1 -0
  55. package/dist/commonjs/clientDefinitions.d.ts +159 -0
  56. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  57. package/dist/commonjs/clientDefinitions.js +5 -0
  58. package/dist/commonjs/clientDefinitions.js.map +1 -0
  59. package/dist/commonjs/index.d.ts +11 -0
  60. package/dist/commonjs/index.d.ts.map +1 -0
  61. package/dist/commonjs/index.js +16 -0
  62. package/dist/commonjs/index.js.map +1 -0
  63. package/dist/commonjs/isUnexpected.d.ts +35 -0
  64. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  65. package/dist/commonjs/isUnexpected.js +105 -0
  66. package/dist/commonjs/isUnexpected.js.map +1 -0
  67. package/dist/commonjs/logger.d.ts +2 -0
  68. package/dist/commonjs/logger.d.ts.map +1 -0
  69. package/dist/commonjs/logger.js +8 -0
  70. package/dist/commonjs/logger.js.map +1 -0
  71. package/dist/commonjs/models.d.ts +562 -0
  72. package/dist/commonjs/models.d.ts.map +1 -0
  73. package/dist/commonjs/models.js +5 -0
  74. package/dist/commonjs/models.js.map +1 -0
  75. package/dist/commonjs/outputModels.d.ts +683 -0
  76. package/dist/commonjs/outputModels.d.ts.map +1 -0
  77. package/dist/commonjs/outputModels.js +5 -0
  78. package/dist/commonjs/outputModels.js.map +1 -0
  79. package/dist/commonjs/package.json +3 -0
  80. package/dist/commonjs/paginateHelper.d.ts +68 -0
  81. package/dist/commonjs/paginateHelper.d.ts.map +1 -0
  82. package/dist/commonjs/paginateHelper.js +170 -0
  83. package/dist/commonjs/paginateHelper.js.map +1 -0
  84. package/dist/commonjs/parameters.d.ts +245 -0
  85. package/dist/commonjs/parameters.d.ts.map +1 -0
  86. package/dist/commonjs/parameters.js +5 -0
  87. package/dist/commonjs/parameters.js.map +1 -0
  88. package/dist/commonjs/responses.d.ts +616 -0
  89. package/dist/commonjs/responses.d.ts.map +1 -0
  90. package/dist/commonjs/responses.js +5 -0
  91. package/dist/commonjs/responses.js.map +1 -0
  92. package/dist/commonjs/tsdoc-metadata.json +11 -0
  93. package/dist/esm/azureCommunicationRoutingServiceClient.d.ts +14 -0
  94. package/dist/esm/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
  95. package/dist/esm/azureCommunicationRoutingServiceClient.js +40 -0
  96. package/dist/esm/azureCommunicationRoutingServiceClient.js.map +1 -0
  97. package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
  98. package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
  99. package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.js +29 -0
  100. package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.js.map +1 -0
  101. package/dist/esm/clientDefinitions.d.ts +159 -0
  102. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  103. package/dist/esm/clientDefinitions.js +4 -0
  104. package/dist/esm/clientDefinitions.js.map +1 -0
  105. package/dist/esm/index.d.ts +11 -0
  106. package/dist/esm/index.d.ts.map +1 -0
  107. package/dist/esm/index.js +13 -0
  108. package/dist/esm/index.js.map +1 -0
  109. package/dist/esm/isUnexpected.d.ts +35 -0
  110. package/dist/esm/isUnexpected.d.ts.map +1 -0
  111. package/dist/esm/isUnexpected.js +102 -0
  112. package/dist/esm/isUnexpected.js.map +1 -0
  113. package/dist/esm/logger.d.ts +2 -0
  114. package/dist/esm/logger.d.ts.map +1 -0
  115. package/dist/esm/logger.js +5 -0
  116. package/dist/esm/logger.js.map +1 -0
  117. package/dist/esm/models.d.ts +562 -0
  118. package/dist/esm/models.d.ts.map +1 -0
  119. package/dist/esm/models.js +4 -0
  120. package/dist/esm/models.js.map +1 -0
  121. package/dist/esm/outputModels.d.ts +683 -0
  122. package/dist/esm/outputModels.d.ts.map +1 -0
  123. package/dist/esm/outputModels.js +4 -0
  124. package/dist/esm/outputModels.js.map +1 -0
  125. package/dist/esm/package.json +3 -0
  126. package/dist/esm/paginateHelper.d.ts +68 -0
  127. package/dist/esm/paginateHelper.d.ts.map +1 -0
  128. package/dist/esm/paginateHelper.js +167 -0
  129. package/dist/esm/paginateHelper.js.map +1 -0
  130. package/dist/esm/parameters.d.ts +245 -0
  131. package/dist/esm/parameters.d.ts.map +1 -0
  132. package/dist/esm/parameters.js +4 -0
  133. package/dist/esm/parameters.js.map +1 -0
  134. package/dist/esm/responses.d.ts +616 -0
  135. package/dist/esm/responses.d.ts.map +1 -0
  136. package/dist/esm/responses.js +4 -0
  137. package/dist/esm/responses.js.map +1 -0
  138. package/dist/react-native/azureCommunicationRoutingServiceClient.d.ts +14 -0
  139. package/dist/react-native/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
  140. package/dist/react-native/azureCommunicationRoutingServiceClient.js +40 -0
  141. package/dist/react-native/azureCommunicationRoutingServiceClient.js.map +1 -0
  142. package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
  143. package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
  144. package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.js +29 -0
  145. package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.js.map +1 -0
  146. package/dist/react-native/clientDefinitions.d.ts +159 -0
  147. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  148. package/dist/react-native/clientDefinitions.js +4 -0
  149. package/dist/react-native/clientDefinitions.js.map +1 -0
  150. package/dist/react-native/index.d.ts +11 -0
  151. package/dist/react-native/index.d.ts.map +1 -0
  152. package/dist/react-native/index.js +13 -0
  153. package/dist/react-native/index.js.map +1 -0
  154. package/dist/react-native/isUnexpected.d.ts +35 -0
  155. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  156. package/dist/react-native/isUnexpected.js +102 -0
  157. package/dist/react-native/isUnexpected.js.map +1 -0
  158. package/dist/react-native/logger.d.ts +2 -0
  159. package/dist/react-native/logger.d.ts.map +1 -0
  160. package/dist/react-native/logger.js +5 -0
  161. package/dist/react-native/logger.js.map +1 -0
  162. package/dist/react-native/models.d.ts +562 -0
  163. package/dist/react-native/models.d.ts.map +1 -0
  164. package/dist/react-native/models.js +4 -0
  165. package/dist/react-native/models.js.map +1 -0
  166. package/dist/react-native/outputModels.d.ts +683 -0
  167. package/dist/react-native/outputModels.d.ts.map +1 -0
  168. package/dist/react-native/outputModels.js +4 -0
  169. package/dist/react-native/outputModels.js.map +1 -0
  170. package/dist/react-native/package.json +3 -0
  171. package/dist/react-native/paginateHelper.d.ts +68 -0
  172. package/dist/react-native/paginateHelper.d.ts.map +1 -0
  173. package/dist/react-native/paginateHelper.js +167 -0
  174. package/dist/react-native/paginateHelper.js.map +1 -0
  175. package/dist/react-native/parameters.d.ts +245 -0
  176. package/dist/react-native/parameters.d.ts.map +1 -0
  177. package/dist/react-native/parameters.js +4 -0
  178. package/dist/react-native/parameters.js.map +1 -0
  179. package/dist/react-native/responses.d.ts +616 -0
  180. package/dist/react-native/responses.d.ts.map +1 -0
  181. package/dist/react-native/responses.js +4 -0
  182. package/dist/react-native/responses.js.map +1 -0
  183. package/package.json +79 -63
  184. package/dist/index.js +0 -229
  185. package/dist/index.js.map +0 -1
  186. package/dist-esm/src/azureCommunicationRoutingServiceClient.js +0 -42
  187. package/dist-esm/src/azureCommunicationRoutingServiceClient.js.map +0 -1
  188. package/dist-esm/src/clientDefinitions.js +0 -4
  189. package/dist-esm/src/clientDefinitions.js.map +0 -1
  190. package/dist-esm/src/index.js +0 -13
  191. package/dist-esm/src/index.js.map +0 -1
  192. package/dist-esm/src/isUnexpected.js.map +0 -1
  193. package/dist-esm/src/models.js +0 -4
  194. package/dist-esm/src/models.js.map +0 -1
  195. package/dist-esm/src/outputModels.js +0 -4
  196. package/dist-esm/src/outputModels.js.map +0 -1
  197. package/dist-esm/src/paginateHelper.js +0 -70
  198. package/dist-esm/src/paginateHelper.js.map +0 -1
  199. package/dist-esm/src/parameters.js +0 -4
  200. package/dist-esm/src/parameters.js.map +0 -1
  201. package/dist-esm/src/responses.js +0 -4
  202. package/dist-esm/src/responses.js.map +0 -1
  203. package/review/communication-job-router.api.md +0 -2485
  204. package/types/communication-job-router.d.ts +0 -2677
@@ -0,0 +1,683 @@
1
+ /** A container for the rules that govern how jobs are classified. */
2
+ export interface ClassificationPolicyOutput {
3
+ /** The entity tag for this resource. */
4
+ readonly etag: string;
5
+ /** Id of a classification policy. */
6
+ readonly id: string;
7
+ /** Friendly name of this policy. */
8
+ name?: string;
9
+ /** Id of a fallback queue to select if queue selector attachments doesn't find a match. */
10
+ fallbackQueueId?: string;
11
+ /** Queue selector attachments used to resolve a queue for a job. */
12
+ queueSelectorAttachments?: Array<QueueSelectorAttachmentOutput>;
13
+ /** A rule to determine a priority score for a job. */
14
+ prioritizationRule?: RouterRuleOutput;
15
+ /** Worker selector attachments used to attach worker selectors to a job. */
16
+ workerSelectorAttachments?: Array<WorkerSelectorAttachmentOutput>;
17
+ }
18
+ /** An attachment of queue selectors to resolve a queue to a job from a classification policy. */
19
+ export interface QueueSelectorAttachmentOutputParent {
20
+ kind: QueueSelectorAttachmentKindOutput;
21
+ }
22
+ /** Describes a set of queue selectors that will be attached if the given condition resolves to true. */
23
+ export interface ConditionalQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
24
+ /** The condition that must be true for the queue selectors to be attached. */
25
+ condition: RouterRuleOutput;
26
+ /** The queue selectors to attach. */
27
+ queueSelectors: Array<RouterQueueSelectorOutput>;
28
+ /** The type discriminator describing the type of queue selector attachment. */
29
+ kind: "conditional";
30
+ }
31
+ /**
32
+ * A rule of one of the following types:
33
+ * StaticRule: A rule providing static rules that always return the same result, regardless of input.
34
+ * DirectMapRule: A rule that return the same labels as the input labels.
35
+ * ExpressionRule: A rule providing inline expression rules.
36
+ * FunctionRule: A rule providing a binding to an HTTP Triggered Azure Function.
37
+ * WebhookRule: A rule providing a binding to a webserver following OAuth2.0 authentication protocol.
38
+ */
39
+ export interface RouterRuleOutputParent {
40
+ kind: RouterRuleKindOutput;
41
+ }
42
+ /** A rule that return the same labels as the input labels. */
43
+ export interface DirectMapRouterRuleOutput extends RouterRuleOutputParent {
44
+ /** The type discriminator describing a sub-type of Rule. */
45
+ kind: "directMap";
46
+ }
47
+ /** A rule providing inline expression rules. */
48
+ export interface ExpressionRouterRuleOutput extends RouterRuleOutputParent {
49
+ /**
50
+ * The expression language to compile to and execute.
51
+ *
52
+ * Possible values: "powerFx"
53
+ */
54
+ language?: ExpressionRouterRuleLanguageOutput;
55
+ /** An expression to evaluate. Should contain return statement with calculated values. */
56
+ expression: string;
57
+ /** The type discriminator describing a sub-type of Rule. */
58
+ kind: "expression";
59
+ }
60
+ /** A rule providing a binding to an HTTP Triggered Azure Function. */
61
+ export interface FunctionRouterRuleOutput extends RouterRuleOutputParent {
62
+ /** URL for Azure Function. */
63
+ functionUri: string;
64
+ /** Credentials used to access Azure function rule. */
65
+ credential?: FunctionRouterRuleCredentialOutput;
66
+ /** The type discriminator describing a sub-type of Rule. */
67
+ kind: "function";
68
+ }
69
+ /** Credentials used to access Azure function rule. */
70
+ export interface FunctionRouterRuleCredentialOutput {
71
+ /** Access key scoped to a particular function. */
72
+ functionKey?: string;
73
+ /** Access key scoped to a Azure Function app. This key grants access to all functions under the app. */
74
+ appKey?: string;
75
+ /** Client id, when AppKey is provided In context of Azure function, this is usually the name of the key. */
76
+ clientId?: string;
77
+ }
78
+ /** A rule providing static rules that always return the same result, regardless of input. */
79
+ export interface StaticRouterRuleOutput extends RouterRuleOutputParent {
80
+ /** The static value this rule always returns. Values must be primitive values - number, string, boolean. */
81
+ value?: any;
82
+ /** The type discriminator describing a sub-type of Rule. */
83
+ kind: "static";
84
+ }
85
+ /** A rule providing a binding to an external web server. */
86
+ export interface WebhookRouterRuleOutput extends RouterRuleOutputParent {
87
+ /** Uri for Authorization Server. */
88
+ authorizationServerUri?: string;
89
+ /** OAuth2.0 Credentials used to Contoso's Authorization server. Reference: https://www.oauth.com/oauth2-servers/access-tokens/client-credentials/ */
90
+ clientCredential?: OAuth2WebhookClientCredentialOutput;
91
+ /** Uri for Contoso's Web Server. */
92
+ webhookUri?: string;
93
+ /** The type discriminator describing a sub-type of Rule. */
94
+ kind: "webhook";
95
+ }
96
+ /** OAuth2.0 Credentials used to Contoso's Authorization server. Reference: https://www.oauth.com/oauth2-servers/access-tokens/client-credentials/ */
97
+ export interface OAuth2WebhookClientCredentialOutput {
98
+ /** ClientId for Contoso Authorization server. */
99
+ clientId?: string;
100
+ /** Client secret for Contoso Authorization server. */
101
+ clientSecret?: string;
102
+ }
103
+ /** Describes a condition that must be met against a set of labels for queue selection. */
104
+ export interface RouterQueueSelectorOutput {
105
+ /** The label key to query against. */
106
+ key: string;
107
+ /**
108
+ * Describes how the value of the label is compared to the value defined on the label selector.
109
+ *
110
+ * Possible values: "equal", "notEqual", "lessThan", "lessThanOrEqual", "greaterThan", "greaterThanOrEqual"
111
+ */
112
+ labelOperator: LabelOperatorOutput;
113
+ /** The value to compare against the actual label value with the given operator. Values must be primitive values - number, string, boolean. */
114
+ value?: any;
115
+ }
116
+ /** Attaches a queue selector where the value is passed through from a job's label with the same key. */
117
+ export interface PassThroughQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
118
+ /** The label key to query against. */
119
+ key: string;
120
+ /**
121
+ * Describes how the value of the label is compared to the value pass through.
122
+ *
123
+ * Possible values: "equal", "notEqual", "lessThan", "lessThanOrEqual", "greaterThan", "greaterThanOrEqual"
124
+ */
125
+ labelOperator: LabelOperatorOutput;
126
+ /** The type discriminator describing the type of queue selector attachment. */
127
+ kind: "passThrough";
128
+ }
129
+ /** Attaches queue selectors to a job when the RouterRule is resolved. */
130
+ export interface RuleEngineQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
131
+ /** A RouterRule that resolves a collection of queue selectors to attach. */
132
+ rule: RouterRuleOutput;
133
+ /** The type discriminator describing the type of queue selector attachment. */
134
+ kind: "ruleEngine";
135
+ }
136
+ /** Describes a queue selector that will be attached to a job. */
137
+ export interface StaticQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
138
+ /** The queue selector to attach. */
139
+ queueSelector: RouterQueueSelectorOutput;
140
+ /** The type discriminator describing the type of queue selector attachment. */
141
+ kind: "static";
142
+ }
143
+ /** Describes multiple sets of queue selectors, of which one will be selected and attached according to a weighting. */
144
+ export interface WeightedAllocationQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
145
+ /** A collection of percentage based weighted allocations. */
146
+ allocations: Array<QueueWeightedAllocationOutput>;
147
+ /** The type discriminator describing the type of queue selector attachment. */
148
+ kind: "weightedAllocation";
149
+ }
150
+ /** Contains the weight percentage and queue selectors to be applied if selected for weighted distributions. */
151
+ export interface QueueWeightedAllocationOutput {
152
+ /** The percentage of this weight, expressed as a fraction of 1. */
153
+ weight: number;
154
+ /** A collection of queue selectors that will be applied if this allocation is selected. */
155
+ queueSelectors: Array<RouterQueueSelectorOutput>;
156
+ }
157
+ /** An attachment which attaches worker selectors to a job. */
158
+ export interface WorkerSelectorAttachmentOutputParent {
159
+ kind: WorkerSelectorAttachmentKindOutput;
160
+ }
161
+ /** Describes a set of worker selectors that will be attached if the given condition resolves to true. */
162
+ export interface ConditionalWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
163
+ /** The condition that must be true for the worker selectors to be attached. */
164
+ condition: RouterRuleOutput;
165
+ /** The worker selectors to attach. */
166
+ workerSelectors: Array<RouterWorkerSelectorOutput>;
167
+ /** The type discriminator describing the type of worker selector attachment. */
168
+ kind: "conditional";
169
+ }
170
+ /** Describes a condition that must be met against a set of labels for worker selection. */
171
+ export interface RouterWorkerSelectorOutput {
172
+ /** The label key to query against. */
173
+ key: string;
174
+ /**
175
+ * Describes how the value of the label is compared to the value defined on the worker selector.
176
+ *
177
+ * Possible values: "equal", "notEqual", "lessThan", "lessThanOrEqual", "greaterThan", "greaterThanOrEqual"
178
+ */
179
+ labelOperator: LabelOperatorOutput;
180
+ /** The value to compare against the actual label value with the given operator. Values must be primitive values - number, string, boolean. */
181
+ value?: any;
182
+ /** Describes how long this label selector is valid in seconds. */
183
+ expiresAfterSeconds?: number;
184
+ /** Pushes a job to the front of the queue as long as this selector is active. */
185
+ expedite?: boolean;
186
+ /**
187
+ * Status of the worker selector.
188
+ *
189
+ * Possible values: "active", "expired"
190
+ */
191
+ readonly status?: RouterWorkerSelectorStatusOutput;
192
+ /** The time at which this worker selector expires in UTC. */
193
+ readonly expiresAt?: string;
194
+ }
195
+ /** Attaches a worker selector where the value is passed through from a job's label with the same key. */
196
+ export interface PassThroughWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
197
+ /** The label key to query against. */
198
+ key: string;
199
+ /**
200
+ * Describes how the value of the label is compared to the value pass through.
201
+ *
202
+ * Possible values: "equal", "notEqual", "lessThan", "lessThanOrEqual", "greaterThan", "greaterThanOrEqual"
203
+ */
204
+ labelOperator: LabelOperatorOutput;
205
+ /** Describes how long the attached label selector is valid in seconds. */
206
+ expiresAfterSeconds?: number;
207
+ /** The type discriminator describing the type of worker selector attachment. */
208
+ kind: "passThrough";
209
+ }
210
+ /** Attaches worker selectors to a job when a RouterRule is resolved. */
211
+ export interface RuleEngineWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
212
+ /** A RouterRule that resolves a collection of worker selectors to attach. */
213
+ rule: RouterRuleOutput;
214
+ /** The type discriminator describing the type of worker selector attachment. */
215
+ kind: "ruleEngine";
216
+ }
217
+ /** Describes a worker selector that will be attached to a job. */
218
+ export interface StaticWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
219
+ /** The worker selector to attach. */
220
+ workerSelector: RouterWorkerSelectorOutput;
221
+ /** The type discriminator describing the type of worker selector attachment. */
222
+ kind: "static";
223
+ }
224
+ /** Describes multiple sets of worker selectors, of which one will be selected and attached according to a weighting. */
225
+ export interface WeightedAllocationWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
226
+ /** A collection of percentage based weighted allocations. */
227
+ allocations: Array<WorkerWeightedAllocationOutput>;
228
+ /** The type discriminator describing the type of worker selector attachment. */
229
+ kind: "weightedAllocation";
230
+ }
231
+ /** Contains the weight percentage and worker selectors to be applied if selected for weighted distributions. */
232
+ export interface WorkerWeightedAllocationOutput {
233
+ /** The percentage of this weight, expressed as a fraction of 1. */
234
+ weight: number;
235
+ /** A collection of worker selectors that will be applied if this allocation is selected. */
236
+ workerSelectors: Array<RouterWorkerSelectorOutput>;
237
+ }
238
+ /** Paged collection of ClassificationPolicy items */
239
+ export interface PagedClassificationPolicyOutput {
240
+ /** The ClassificationPolicy items on this page */
241
+ value: Array<ClassificationPolicyOutput>;
242
+ /** The link to the next page of items */
243
+ nextLink?: string;
244
+ }
245
+ /** Policy governing how jobs are distributed to workers */
246
+ export interface DistributionPolicyOutput {
247
+ /** The entity tag for this resource. */
248
+ readonly etag: string;
249
+ /** Id of a distribution policy. */
250
+ readonly id: string;
251
+ /** Friendly name of this policy. */
252
+ name?: string;
253
+ /** Number of seconds after which any offers created under this policy will be expired. */
254
+ offerExpiresAfterSeconds?: number;
255
+ /** Mode governing the specific distribution method. */
256
+ mode?: DistributionModeOutput;
257
+ }
258
+ /** Abstract base class for defining a distribution mode. */
259
+ export interface DistributionModeOutputParent {
260
+ /** Governs the minimum desired number of active concurrent offers a job can have. */
261
+ minConcurrentOffers?: number;
262
+ /** Governs the maximum number of active concurrent offers a job can have. */
263
+ maxConcurrentOffers?: number;
264
+ /** If set to true, then router will match workers to jobs even if they don't match label selectors. Warning: You may get workers that are not qualified for a job they are matched with if you set this variable to true. This flag is intended more for temporary usage. By default, set to false. */
265
+ bypassSelectors?: boolean;
266
+ kind: DistributionModeKindOutput;
267
+ }
268
+ /** Jobs are distributed to the worker with the strongest abilities available. */
269
+ export interface BestWorkerModeOutput extends DistributionModeOutputParent {
270
+ /** Define a scoring rule to use, when calculating a score to determine the best worker. If not set, will use a default scoring formula that uses the number of job labels that the worker labels match, as well as the number of label selectors the worker labels match and/or exceed using a logistic function (https://en.wikipedia.org/wiki/Logistic_function). */
271
+ scoringRule?: RouterRuleOutput;
272
+ /** Options to configure 'scoringRule'. If not set, default values are used. */
273
+ scoringRuleOptions?: ScoringRuleOptionsOutput;
274
+ /** The type discriminator describing a sub-type of Mode */
275
+ kind: "bestWorker";
276
+ }
277
+ /** Encapsulates all options that can be passed as parameters for scoring rule with BestWorkerMode. */
278
+ export interface ScoringRuleOptionsOutput {
279
+ /** Set batch size when 'isBatchScoringEnabled' is set to true. Defaults to 20 if not configured. */
280
+ batchSize?: number;
281
+ /** List of extra parameters from a job that will be sent as part of the payload to scoring rule. If not set, a job's labels (sent in the payload as `job`) and a job's worker selectors (sent in the payload as `selectors`) are added to the payload of the scoring rule by default. Note: Worker labels are always sent with scoring payload. */
282
+ scoringParameters?: ScoringRuleParameterSelectorOutput[];
283
+ /** If set to true, will score workers in batches, and the parameter name of the worker labels will be sent as `workers`. By default, set to false and the parameter name for the worker labels will be sent as `worker`. Note: If enabled, use 'batchSize' to set batch size. */
284
+ isBatchScoringEnabled?: boolean;
285
+ /** If false, will sort scores by ascending order. By default, set to true. */
286
+ descendingOrder?: boolean;
287
+ }
288
+ /** Jobs are directed to the worker who has been idle longest. */
289
+ export interface LongestIdleModeOutput extends DistributionModeOutputParent {
290
+ /** The type discriminator describing a sub-type of Mode. */
291
+ kind: "longestIdle";
292
+ }
293
+ /** Jobs are distributed in order to workers, starting with the worker that is after the last worker to receive a job. */
294
+ export interface RoundRobinModeOutput extends DistributionModeOutputParent {
295
+ /** The type discriminator describing a sub-type of Mode. */
296
+ kind: "roundRobin";
297
+ }
298
+ /** Paged collection of DistributionPolicy items */
299
+ export interface PagedDistributionPolicyOutput {
300
+ /** The DistributionPolicy items on this page */
301
+ value: Array<DistributionPolicyOutput>;
302
+ /** The link to the next page of items */
303
+ nextLink?: string;
304
+ }
305
+ /** A policy that defines actions to execute when exception are triggered. */
306
+ export interface ExceptionPolicyOutput {
307
+ /** The entity tag for this resource. */
308
+ readonly etag: string;
309
+ /** Id of an exception policy. */
310
+ readonly id: string;
311
+ /** Friendly name of this policy. */
312
+ name?: string;
313
+ /** A collection of exception rules on the exception policy. */
314
+ exceptionRules?: Array<ExceptionRuleOutput>;
315
+ }
316
+ /** A rule that defines actions to execute upon a specific trigger. */
317
+ export interface ExceptionRuleOutput {
318
+ /** Id of an exception rule. */
319
+ id: string;
320
+ /** The trigger for this exception rule. */
321
+ trigger: ExceptionTriggerOutput;
322
+ /** A collection of actions to perform once the exception is triggered. */
323
+ actions: Array<ExceptionActionOutput>;
324
+ }
325
+ /** Abstract base class for defining a trigger for exception rules. */
326
+ export interface ExceptionTriggerOutputParent {
327
+ kind: ExceptionTriggerKindOutput;
328
+ }
329
+ /** Trigger for an exception action on exceeding queue length. */
330
+ export interface QueueLengthExceptionTriggerOutput extends ExceptionTriggerOutputParent {
331
+ /** Threshold of number of jobs ahead in the queue to for this trigger to fire. */
332
+ threshold: number;
333
+ /** The type discriminator describing a sub-type of ExceptionTrigger. */
334
+ kind: "queueLength";
335
+ }
336
+ /** Trigger for an exception action on exceeding wait time. */
337
+ export interface WaitTimeExceptionTriggerOutput extends ExceptionTriggerOutputParent {
338
+ /** Threshold for wait time for this trigger. */
339
+ thresholdSeconds: number;
340
+ /** The type discriminator describing a sub-type of ExceptionTrigger. */
341
+ kind: "waitTime";
342
+ }
343
+ /** The action to take when the exception is triggered. */
344
+ export interface ExceptionActionOutputParent {
345
+ /** Unique Id of the exception action. */
346
+ id?: string;
347
+ kind: ExceptionActionKindOutput;
348
+ }
349
+ /** An action that marks a job as cancelled. */
350
+ export interface CancelExceptionActionOutput extends ExceptionActionOutputParent {
351
+ /** A note that will be appended to a job's notes collection with the current timestamp. */
352
+ note?: string;
353
+ /** Indicates the outcome of a job, populate this field with your own custom values. */
354
+ dispositionCode?: string;
355
+ /** The type discriminator describing a sub-type of ExceptionAction. */
356
+ kind: "cancel";
357
+ }
358
+ /** An action that manually reclassifies a job by providing the queue, priority and worker selectors. */
359
+ export interface ManualReclassifyExceptionActionOutput extends ExceptionActionOutputParent {
360
+ /** Updated QueueId. */
361
+ queueId?: string;
362
+ /** Updated Priority. */
363
+ priority?: number;
364
+ /** Updated WorkerSelectors. */
365
+ workerSelectors?: Array<RouterWorkerSelectorOutput>;
366
+ /** The type discriminator describing a sub-type of ExceptionAction. */
367
+ kind: "manualReclassify";
368
+ }
369
+ /** An action that modifies labels on a job and then reclassifies it. */
370
+ export interface ReclassifyExceptionActionOutput extends ExceptionActionOutputParent {
371
+ /** The new classification policy that will determine queue, priority and worker selectors. */
372
+ classificationPolicyId?: string;
373
+ /** Dictionary containing the labels to update (or add if not existing) in key-value pairs. Values must be primitive values - number, string, boolean. */
374
+ labelsToUpsert?: Record<string, any>;
375
+ /** The type discriminator describing a sub-type of ExceptionAction. */
376
+ kind: "reclassify";
377
+ }
378
+ /** Paged collection of ExceptionPolicy items */
379
+ export interface PagedExceptionPolicyOutput {
380
+ /** The ExceptionPolicy items on this page */
381
+ value: Array<ExceptionPolicyOutput>;
382
+ /** The link to the next page of items */
383
+ nextLink?: string;
384
+ }
385
+ /** A queue that can contain jobs to be routed. */
386
+ export interface RouterQueueOutput {
387
+ /** The entity tag for this resource. */
388
+ readonly etag: string;
389
+ /** Id of a queue. */
390
+ readonly id: string;
391
+ /** Friendly name of this queue. */
392
+ name?: string;
393
+ /** Id of a distribution policy that will determine how a job is distributed to workers. */
394
+ distributionPolicyId?: string;
395
+ /** A set of key/value pairs that are identifying attributes used by the rules engines to make decisions. Values must be primitive values - number, string, boolean. */
396
+ labels?: Record<string, any>;
397
+ /** Id of an exception policy that determines various job escalation rules. */
398
+ exceptionPolicyId?: string;
399
+ }
400
+ /** Paged collection of RouterQueue items */
401
+ export interface PagedRouterQueueOutput {
402
+ /** The RouterQueue items on this page */
403
+ value: Array<RouterQueueOutput>;
404
+ /** The link to the next page of items */
405
+ nextLink?: string;
406
+ }
407
+ /** A unit of work to be routed */
408
+ export interface RouterJobOutput {
409
+ /** The entity tag for this resource. */
410
+ readonly etag: string;
411
+ /** Id of a job. */
412
+ readonly id: string;
413
+ /** Reference to an external parent context, eg. call ID. */
414
+ channelReference?: string;
415
+ /**
416
+ * The status of the job.
417
+ *
418
+ * Possible values: "pendingClassification", "queued", "assigned", "completed", "closed", "cancelled", "classificationFailed", "created", "pendingSchedule", "scheduled", "scheduleFailed", "waitingForActivation"
419
+ */
420
+ readonly status?: RouterJobStatusOutput;
421
+ /** Timestamp a job was queued in UTC. */
422
+ readonly enqueuedAt?: string;
423
+ /** The channel identifier. eg. voice, chat, etc. */
424
+ channelId?: string;
425
+ /** Id of a classification policy used for classifying this job. */
426
+ classificationPolicyId?: string;
427
+ /** Id of a queue that this job is queued to. */
428
+ queueId?: string;
429
+ /** Priority of this job. Value must be between -100 to 100. */
430
+ priority?: number;
431
+ /** Reason code for cancelled or closed jobs. */
432
+ dispositionCode?: string;
433
+ /** A collection of manually specified worker selectors, which a worker must satisfy in order to process this job. */
434
+ requestedWorkerSelectors?: Array<RouterWorkerSelectorOutput>;
435
+ /** A collection of worker selectors attached by a classification policy, which a worker must satisfy in order to process this job. */
436
+ readonly attachedWorkerSelectors?: Array<RouterWorkerSelectorOutput>;
437
+ /** A set of key/value pairs that are identifying attributes used by the rules engines to make decisions. Values must be primitive values - number, string, boolean. */
438
+ labels?: Record<string, any>;
439
+ /** A collection of the assignments of the job. Key is AssignmentId. */
440
+ readonly assignments?: Record<string, RouterJobAssignmentOutput>;
441
+ /** A set of non-identifying attributes attached to this job. Values must be primitive values - number, string, boolean. */
442
+ tags?: Record<string, any>;
443
+ /** Notes attached to a job, sorted by timestamp. */
444
+ notes?: Array<RouterJobNoteOutput>;
445
+ /** If set, job will be scheduled to be enqueued at a given time. */
446
+ readonly scheduledAt?: string;
447
+ /** If provided, will determine how job matching will be carried out. Default mode: QueueAndMatchMode. */
448
+ matchingMode?: JobMatchingModeOutput;
449
+ }
450
+ /** Assignment details of a job to a worker. */
451
+ export interface RouterJobAssignmentOutput {
452
+ /** Id of a job assignment. */
453
+ readonly assignmentId: string;
454
+ /** Id of the Worker assigned to the job. */
455
+ workerId?: string;
456
+ /** Timestamp when the job was assigned to a worker in UTC. */
457
+ assignedAt: string;
458
+ /** Timestamp when the job was marked as completed after being assigned in UTC. */
459
+ completedAt?: string;
460
+ /** Timestamp when the job was marked as closed after being completed in UTC. */
461
+ closedAt?: string;
462
+ }
463
+ /** A note attached to a job. */
464
+ export interface RouterJobNoteOutput {
465
+ /** The message contained in the note. */
466
+ message: string;
467
+ /** The time at which the note was added in UTC. If not provided, will default to the current time. */
468
+ addedAt?: string;
469
+ }
470
+ /**
471
+ * A matching mode of one of the following types:
472
+ * QueueAndMatchMode: Used when matching worker to a job is required to be done right after job is queued.
473
+ * ScheduleAndSuspendMode: Used for scheduling jobs to be queued at a future time. At specified time, matching of a worker to the job will not start automatically.
474
+ * SuspendMode: Used when matching workers to a job needs to be suspended.
475
+ */
476
+ export interface JobMatchingModeOutputParent {
477
+ kind: JobMatchingModeKindOutput;
478
+ }
479
+ /** Describes a matching mode used for scheduling jobs to be queued at a future time. At the specified time, matching worker to a job will not start automatically. */
480
+ export interface ScheduleAndSuspendModeOutput extends JobMatchingModeOutputParent {
481
+ /** Requested schedule time. */
482
+ scheduleAt: string;
483
+ /** The type discriminator describing ScheduleAndSuspendMode */
484
+ kind: "scheduleAndSuspend";
485
+ }
486
+ /** Describes a matching mode where matching worker to a job is automatically started after job is queued successfully. */
487
+ export interface QueueAndMatchModeOutput extends JobMatchingModeOutputParent {
488
+ /** The type discriminator describing QueueAndMatchMode */
489
+ kind: "queueAndMatch";
490
+ }
491
+ /** Describes a matching mode where matching worker to a job is suspended. */
492
+ export interface SuspendModeOutput extends JobMatchingModeOutputParent {
493
+ /** The type discriminator describing SuspendMode */
494
+ kind: "suspend";
495
+ }
496
+ /** Response payload from reclassifying a job. */
497
+ export interface ReclassifyJobResultOutput {
498
+ }
499
+ /** Response payload from cancelling a job. */
500
+ export interface CancelJobResultOutput {
501
+ }
502
+ /** Response payload from completing a job. */
503
+ export interface CompleteJobResultOutput {
504
+ }
505
+ /** Response payload from closing a job. */
506
+ export interface CloseJobResultOutput {
507
+ }
508
+ /** Paged collection of RouterJob items */
509
+ export interface PagedRouterJobOutput {
510
+ /** The RouterJob items on this page */
511
+ value: Array<RouterJobOutput>;
512
+ /** The link to the next page of items */
513
+ nextLink?: string;
514
+ }
515
+ /** Position and estimated wait time for a job. */
516
+ export interface RouterJobPositionDetailsOutput {
517
+ /** Id of the job these details are about. */
518
+ jobId: string;
519
+ /** Position of the job in question within that queue. */
520
+ position: number;
521
+ /** Id of the queue this job is enqueued in. */
522
+ queueId: string;
523
+ /** Length of the queue: total number of enqueued jobs. */
524
+ queueLength: number;
525
+ /** Estimated wait time of the job rounded up to the nearest minute. */
526
+ estimatedWaitTimeMinutes: number;
527
+ }
528
+ /** Response payload after a job has been successfully unassigned. */
529
+ export interface UnassignJobResultOutput {
530
+ /** Id of an unassigned job. */
531
+ jobId: string;
532
+ /** The number of times a job is unassigned. At a maximum 3. */
533
+ unassignmentCount: number;
534
+ }
535
+ /** Response containing ids for the worker, job, and assignment from an accepted offer. */
536
+ export interface AcceptJobOfferResultOutput {
537
+ /** Id of job assignment that assigns a worker that has accepted an offer to a job. */
538
+ assignmentId: string;
539
+ /** Id of the job assigned. */
540
+ jobId: string;
541
+ /** Id of the worker that has been assigned this job. */
542
+ workerId: string;
543
+ }
544
+ /** Response payload from declining a job. */
545
+ export interface DeclineJobOfferResultOutput {
546
+ }
547
+ /** Statistics for the queue. */
548
+ export interface RouterQueueStatisticsOutput {
549
+ /** Id of the queue these details are about. */
550
+ queueId: string;
551
+ /** Length of the queue: total number of enqueued jobs. */
552
+ length: number;
553
+ /** The estimated wait time of this queue rounded up to the nearest minute, grouped by job priority. */
554
+ estimatedWaitTimeMinutes?: Record<string, number>;
555
+ /** The wait time of the job that has been enqueued in this queue for the longest. */
556
+ longestJobWaitTimeMinutes?: number;
557
+ }
558
+ /** An entity for jobs to be routed to. */
559
+ export interface RouterWorkerOutput {
560
+ /** The entity tag for this resource. */
561
+ readonly etag: string;
562
+ /** Id of a worker. */
563
+ readonly id: string;
564
+ /**
565
+ * Current state of a worker.
566
+ *
567
+ * Possible values: "active", "draining", "inactive"
568
+ */
569
+ readonly state?: RouterWorkerStateOutput;
570
+ /** Collection of queue(s) that this worker can receive work from. */
571
+ queues?: string[];
572
+ /** The total capacity score this worker has to manage multiple concurrent jobs. */
573
+ capacity?: number;
574
+ /** A set of key/value pairs that are identifying attributes used by the rules engines to make decisions. Values must be primitive values - number, string, boolean. */
575
+ labels?: Record<string, any>;
576
+ /** A set of non-identifying attributes attached to this worker. Values must be primitive values - number, string, boolean. */
577
+ tags?: Record<string, any>;
578
+ /** Collection of channel(s) this worker can handle and their impact on the workers capacity. */
579
+ channels?: Array<RouterChannelOutput>;
580
+ /** A list of active offers issued to this worker. */
581
+ readonly offers?: Array<RouterJobOfferOutput>;
582
+ /** A list of assigned jobs attached to this worker. */
583
+ readonly assignedJobs?: Array<RouterWorkerAssignmentOutput>;
584
+ /** A value indicating the workers capacity. A value of '1' means all capacity is consumed. A value of '0' means no capacity is currently consumed. */
585
+ readonly loadRatio?: number;
586
+ /** A flag indicating this worker is open to receive offers or not. */
587
+ availableForOffers?: boolean;
588
+ /** If this is set, the worker will only receive up to this many new offers at a time. */
589
+ maxConcurrentOffers?: number;
590
+ }
591
+ /** Represents the capacity a job in this channel will consume from a worker. */
592
+ export interface RouterChannelOutput {
593
+ /** Id of a channel. */
594
+ channelId: string;
595
+ /** The amount of capacity that an instance of a job of this channel will consume of the total worker capacity. */
596
+ capacityCostPerJob: number;
597
+ /** The maximum number of jobs that can be supported concurrently for this channel. Value must be greater than zero. */
598
+ maxNumberOfJobs?: number;
599
+ }
600
+ /** An offer of a job to a worker. */
601
+ export interface RouterJobOfferOutput {
602
+ /** Id of an offer. */
603
+ readonly offerId: string;
604
+ /** Id of the job. */
605
+ jobId: string;
606
+ /** The capacity cost consumed by the job offer. */
607
+ capacityCost: number;
608
+ /** Timestamp when the offer was created in UTC. */
609
+ offeredAt?: string;
610
+ /** Timestamp when the offer will expire in UTC. */
611
+ expiresAt?: string;
612
+ }
613
+ /** The assignment for a worker to a job. */
614
+ export interface RouterWorkerAssignmentOutput {
615
+ /** Id of the assignment. */
616
+ assignmentId: string;
617
+ /** Id of the job assigned. */
618
+ jobId: string;
619
+ /** The amount of capacity this assignment has consumed on the worker. */
620
+ capacityCost: number;
621
+ /** The assignment time of the job in UTC. */
622
+ assignedAt: string;
623
+ }
624
+ /** Paged collection of RouterWorker items */
625
+ export interface PagedRouterWorkerOutput {
626
+ /** The RouterWorker items on this page */
627
+ value: Array<RouterWorkerOutput>;
628
+ /** The link to the next page of items */
629
+ nextLink?: string;
630
+ }
631
+ /** An attachment of queue selectors to resolve a queue to a job from a classification policy. */
632
+ export type QueueSelectorAttachmentOutput = QueueSelectorAttachmentOutputParent | ConditionalQueueSelectorAttachmentOutput | PassThroughQueueSelectorAttachmentOutput | RuleEngineQueueSelectorAttachmentOutput | StaticQueueSelectorAttachmentOutput | WeightedAllocationQueueSelectorAttachmentOutput;
633
+ /**
634
+ * A rule of one of the following types:
635
+ * StaticRule: A rule providing static rules that always return the same result, regardless of input.
636
+ * DirectMapRule: A rule that return the same labels as the input labels.
637
+ * ExpressionRule: A rule providing inline expression rules.
638
+ * FunctionRule: A rule providing a binding to an HTTP Triggered Azure Function.
639
+ * WebhookRule: A rule providing a binding to a webserver following OAuth2.0 authentication protocol.
640
+ */
641
+ export type RouterRuleOutput = RouterRuleOutputParent | DirectMapRouterRuleOutput | ExpressionRouterRuleOutput | FunctionRouterRuleOutput | StaticRouterRuleOutput | WebhookRouterRuleOutput;
642
+ /** An attachment which attaches worker selectors to a job. */
643
+ export type WorkerSelectorAttachmentOutput = WorkerSelectorAttachmentOutputParent | ConditionalWorkerSelectorAttachmentOutput | PassThroughWorkerSelectorAttachmentOutput | RuleEngineWorkerSelectorAttachmentOutput | StaticWorkerSelectorAttachmentOutput | WeightedAllocationWorkerSelectorAttachmentOutput;
644
+ /** Abstract base class for defining a distribution mode. */
645
+ export type DistributionModeOutput = DistributionModeOutputParent | BestWorkerModeOutput | LongestIdleModeOutput | RoundRobinModeOutput;
646
+ /** Abstract base class for defining a trigger for exception rules. */
647
+ export type ExceptionTriggerOutput = ExceptionTriggerOutputParent | QueueLengthExceptionTriggerOutput | WaitTimeExceptionTriggerOutput;
648
+ /** The action to take when the exception is triggered. */
649
+ export type ExceptionActionOutput = ExceptionActionOutputParent | CancelExceptionActionOutput | ManualReclassifyExceptionActionOutput | ReclassifyExceptionActionOutput;
650
+ /**
651
+ * A matching mode of one of the following types:
652
+ * QueueAndMatchMode: Used when matching worker to a job is required to be done right after job is queued.
653
+ * ScheduleAndSuspendMode: Used for scheduling jobs to be queued at a future time. At specified time, matching of a worker to the job will not start automatically.
654
+ * SuspendMode: Used when matching workers to a job needs to be suspended.
655
+ */
656
+ export type JobMatchingModeOutput = JobMatchingModeOutputParent | ScheduleAndSuspendModeOutput | QueueAndMatchModeOutput | SuspendModeOutput;
657
+ /** Alias for QueueSelectorAttachmentKindOutput */
658
+ export type QueueSelectorAttachmentKindOutput = string;
659
+ /** Alias for RouterRuleKindOutput */
660
+ export type RouterRuleKindOutput = string;
661
+ /** Alias for ExpressionRouterRuleLanguageOutput */
662
+ export type ExpressionRouterRuleLanguageOutput = string;
663
+ /** Alias for LabelOperatorOutput */
664
+ export type LabelOperatorOutput = string;
665
+ /** Alias for WorkerSelectorAttachmentKindOutput */
666
+ export type WorkerSelectorAttachmentKindOutput = string;
667
+ /** Alias for RouterWorkerSelectorStatusOutput */
668
+ export type RouterWorkerSelectorStatusOutput = string;
669
+ /** Alias for DistributionModeKindOutput */
670
+ export type DistributionModeKindOutput = string;
671
+ /** Alias for ScoringRuleParameterSelectorOutput */
672
+ export type ScoringRuleParameterSelectorOutput = string;
673
+ /** Alias for ExceptionTriggerKindOutput */
674
+ export type ExceptionTriggerKindOutput = string;
675
+ /** Alias for ExceptionActionKindOutput */
676
+ export type ExceptionActionKindOutput = string;
677
+ /** Alias for RouterJobStatusOutput */
678
+ export type RouterJobStatusOutput = string;
679
+ /** Alias for JobMatchingModeKindOutput */
680
+ export type JobMatchingModeKindOutput = string;
681
+ /** Alias for RouterWorkerStateOutput */
682
+ export type RouterWorkerStateOutput = string;
683
+ //# sourceMappingURL=outputModels.d.ts.map