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