2023-10-06 07:29:22 +03:00
## API Report File for "@azure-rest/communication-job-router"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
2024-10-26 04:47:35 +03:00
import type { Client } from '@azure-rest/core-client';
import type { ClientOptions } from '@azure-rest/core-client';
import type { ErrorResponse } from '@azure-rest/core-client';
import type { HttpResponse } from '@azure-rest/core-client';
import type { KeyCredential } from '@azure/core-auth';
import type { Paged } from '@azure/core-paging';
import type { PagedAsyncIterableIterator } from '@azure/core-paging';
import type { PathUncheckedResponse } from '@azure-rest/core-client';
import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
import type { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
import type { RequestParameters } from '@azure-rest/core-client';
import type { StreamableMethod } from '@azure-rest/core-client';
import type { TokenCredential } from '@azure/core-auth';
2023-10-06 07:29:22 +03:00
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface Accept {
post(options?: AcceptParameters): StreamableMethod< Accept200Response | AcceptDefaultResponse > ;
2023-10-06 07:29:22 +03:00
}
// @public
2023-11-10 10:30:59 +03:00
export interface Accept200Response extends HttpResponse {
2023-10-06 07:29:22 +03:00
// (undocumented)
body: AcceptJobOfferResultOutput;
// (undocumented)
status: "200";
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface AcceptDefaultHeaders {
2023-10-06 07:29:22 +03:00
"x-ms-error-code"?: string;
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface AcceptDefaultResponse extends HttpResponse {
2023-10-06 07:29:22 +03:00
// (undocumented)
body: ErrorResponse;
// (undocumented)
2023-11-10 10:30:59 +03:00
headers: RawHttpHeaders & AcceptDefaultHeaders;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: string;
}
// @public
export interface AcceptJobOfferResultOutput {
assignmentId: string;
jobId: string;
workerId: string;
}
2023-11-10 10:30:59 +03:00
// @public (undocumented)
export type AcceptParameters = RequestParameters;
2023-10-06 07:29:22 +03:00
// @public (undocumented)
export type AzureCommunicationRoutingServiceClient = Client & {
path: Routes;
};
// @public
export interface BestWorkerMode extends DistributionModeParent {
2023-11-15 05:16:29 +03:00
kind: "bestWorker";
2023-10-06 07:29:22 +03:00
scoringRule?: RouterRule;
scoringRuleOptions?: ScoringRuleOptions;
}
// @public
export interface BestWorkerModeOutput extends DistributionModeOutputParent {
2023-11-15 05:16:29 +03:00
kind: "bestWorker";
2023-10-06 07:29:22 +03:00
scoringRule?: RouterRuleOutput;
scoringRuleOptions?: ScoringRuleOptionsOutput;
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface Cancel {
post(options?: CancelParameters): StreamableMethod< Cancel200Response | CancelDefaultResponse > ;
2023-10-06 07:29:22 +03:00
}
// @public
2023-11-10 10:30:59 +03:00
export interface Cancel200Response extends HttpResponse {
// (undocumented)
body: CancelJobResultOutput;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: "200";
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface CancelBodyParam {
2023-10-28 01:34:00 +03:00
body?: CancelJobOptions;
2023-10-06 07:29:22 +03:00
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface CancelDefaultHeaders {
2023-10-06 07:29:22 +03:00
"x-ms-error-code"?: string;
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface CancelDefaultResponse extends HttpResponse {
2023-10-06 07:29:22 +03:00
// (undocumented)
body: ErrorResponse;
// (undocumented)
2023-11-10 10:30:59 +03:00
headers: RawHttpHeaders & CancelDefaultHeaders;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: string;
}
2023-11-10 10:30:59 +03:00
// @public
export interface CancelExceptionAction extends ExceptionActionParent {
dispositionCode?: string;
kind: "cancel";
note?: string;
}
// @public
export interface CancelExceptionActionOutput extends ExceptionActionOutputParent {
dispositionCode?: string;
kind: "cancel";
note?: string;
}
2023-10-06 07:29:22 +03:00
// @public
2023-10-28 01:34:00 +03:00
export interface CancelJobOptions {
2023-10-06 07:29:22 +03:00
dispositionCode?: string;
note?: string;
}
2023-11-10 10:30:59 +03:00
// @public
export interface CancelJobResultOutput {
}
// @public (undocumented)
export type CancelParameters = CancelBodyParam & RequestParameters;
2023-10-06 07:29:22 +03:00
// @public
export interface ClassificationPolicy {
fallbackQueueId?: string;
name?: string;
prioritizationRule?: RouterRule;
2023-10-28 01:34:00 +03:00
queueSelectorAttachments?: Array< QueueSelectorAttachment > ;
workerSelectorAttachments?: Array< WorkerSelectorAttachment > ;
2023-10-06 07:29:22 +03:00
}
// @public
export interface ClassificationPolicyOutput {
2023-10-28 01:34:00 +03:00
readonly etag: string;
2023-10-06 07:29:22 +03:00
fallbackQueueId?: string;
readonly id: string;
name?: string;
prioritizationRule?: RouterRuleOutput;
2023-10-28 01:34:00 +03:00
queueSelectorAttachments?: Array< QueueSelectorAttachmentOutput > ;
workerSelectorAttachments?: Array< WorkerSelectorAttachmentOutput > ;
2023-10-06 07:29:22 +03:00
}
// @public
export type ClassificationPolicyResourceMergeAndPatch = Partial< ClassificationPolicy > ;
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface Close {
post(options?: CloseParameters): StreamableMethod< Close200Response | CloseDefaultResponse > ;
2023-10-06 07:29:22 +03:00
}
// @public
2023-11-10 10:30:59 +03:00
export interface Close200Response extends HttpResponse {
2023-10-06 07:29:22 +03:00
// (undocumented)
2023-11-10 10:30:59 +03:00
body: CloseJobResultOutput;
2023-10-06 07:29:22 +03:00
// (undocumented)
2023-11-10 10:30:59 +03:00
status: "200";
2023-10-06 07:29:22 +03:00
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface CloseBodyParam {
body?: CloseJobOptions;
2023-10-06 07:29:22 +03:00
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface CloseDefaultHeaders {
2023-10-06 07:29:22 +03:00
"x-ms-error-code"?: string;
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface CloseDefaultResponse extends HttpResponse {
2023-10-06 07:29:22 +03:00
// (undocumented)
body: ErrorResponse;
// (undocumented)
2023-11-10 10:30:59 +03:00
headers: RawHttpHeaders & CloseDefaultHeaders;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: string;
}
// @public
2023-10-28 01:34:00 +03:00
export interface CloseJobOptions {
2023-10-06 07:29:22 +03:00
closeAt?: Date | string;
dispositionCode?: string;
note?: string;
}
2023-11-10 10:30:59 +03:00
// @public
export interface CloseJobResultOutput {
}
2023-10-06 07:29:22 +03:00
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export type CloseParameters = CloseBodyParam & RequestParameters;
// @public (undocumented)
export interface Complete {
post(options?: CompleteParameters): StreamableMethod< Complete200Response | CompleteDefaultResponse > ;
2023-10-06 07:29:22 +03:00
}
// @public
2023-11-10 10:30:59 +03:00
export interface Complete200Response extends HttpResponse {
// (undocumented)
body: CompleteJobResultOutput;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: "200";
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface CompleteBodyParam {
body?: CompleteJobOptions;
2023-10-06 07:29:22 +03:00
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface CompleteDefaultHeaders {
2023-10-06 07:29:22 +03:00
"x-ms-error-code"?: string;
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface CompleteDefaultResponse extends HttpResponse {
2023-10-06 07:29:22 +03:00
// (undocumented)
body: ErrorResponse;
// (undocumented)
2023-11-10 10:30:59 +03:00
headers: RawHttpHeaders & CompleteDefaultHeaders;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: string;
}
// @public
2023-10-28 01:34:00 +03:00
export interface CompleteJobOptions {
2023-10-06 07:29:22 +03:00
note?: string;
}
2023-11-10 10:30:59 +03:00
// @public
export interface CompleteJobResultOutput {
}
// @public (undocumented)
export type CompleteParameters = CompleteBodyParam & RequestParameters;
2023-10-06 07:29:22 +03:00
// @public
export interface ConditionalQueueSelectorAttachment extends QueueSelectorAttachmentParent {
condition: RouterRule;
kind: "conditional";
queueSelectors: Array< RouterQueueSelector > ;
}
// @public
export interface ConditionalQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
condition: RouterRuleOutput;
kind: "conditional";
queueSelectors: Array< RouterQueueSelectorOutput > ;
}
// @public
export interface ConditionalWorkerSelectorAttachment extends WorkerSelectorAttachmentParent {
condition: RouterRule;
kind: "conditional";
workerSelectors: Array< RouterWorkerSelector > ;
}
// @public
export interface ConditionalWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
condition: RouterRuleOutput;
kind: "conditional";
workerSelectors: Array< RouterWorkerSelectorOutput > ;
}
// @public
2023-11-15 05:16:29 +03:00
function createClient(connectionString: string, options: ClientOptions): AzureCommunicationRoutingServiceClient;
2023-11-13 20:54:36 +03:00
// @public
function createClient(endpoint: string, credentialOrOptions?: KeyCredential | TokenCredential, options?: ClientOptions): AzureCommunicationRoutingServiceClient;
2023-10-06 07:29:22 +03:00
export default createClient;
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface Decline {
post(options?: DeclineParameters): StreamableMethod< Decline200Response | DeclineDefaultResponse > ;
2023-10-06 07:29:22 +03:00
}
// @public
2023-11-10 10:30:59 +03:00
export interface Decline200Response extends HttpResponse {
// (undocumented)
body: DeclineJobOfferResultOutput;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: "200";
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface DeclineBodyParam {
2023-10-28 01:34:00 +03:00
body?: DeclineJobOfferOptions;
2023-10-06 07:29:22 +03:00
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface DeclineDefaultHeaders {
2023-10-06 07:29:22 +03:00
"x-ms-error-code"?: string;
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface DeclineDefaultResponse extends HttpResponse {
2023-10-06 07:29:22 +03:00
// (undocumented)
body: ErrorResponse;
// (undocumented)
2023-11-10 10:30:59 +03:00
headers: RawHttpHeaders & DeclineDefaultHeaders;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: string;
}
// @public
2023-10-28 01:34:00 +03:00
export interface DeclineJobOfferOptions {
2023-10-06 07:29:22 +03:00
retryOfferAt?: Date | string;
}
2023-11-10 10:30:59 +03:00
// @public
export interface DeclineJobOfferResultOutput {
}
// @public (undocumented)
export type DeclineParameters = DeclineBodyParam & RequestParameters;
2023-10-06 07:29:22 +03:00
// @public
export interface DeleteClassificationPolicy204Response extends HttpResponse {
// (undocumented)
status: "204";
}
// @public (undocumented)
export interface DeleteClassificationPolicyDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface DeleteClassificationPolicyDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & DeleteClassificationPolicyDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type DeleteClassificationPolicyParameters = RequestParameters;
// @public
export interface DeleteDistributionPolicy204Response extends HttpResponse {
// (undocumented)
status: "204";
}
// @public (undocumented)
export interface DeleteDistributionPolicyDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface DeleteDistributionPolicyDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & DeleteDistributionPolicyDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type DeleteDistributionPolicyParameters = RequestParameters;
// @public
export interface DeleteExceptionPolicy204Response extends HttpResponse {
// (undocumented)
status: "204";
}
// @public (undocumented)
export interface DeleteExceptionPolicyDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface DeleteExceptionPolicyDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & DeleteExceptionPolicyDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type DeleteExceptionPolicyParameters = RequestParameters;
// @public
export interface DeleteJob204Response extends HttpResponse {
// (undocumented)
status: "204";
}
// @public (undocumented)
export interface DeleteJobDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface DeleteJobDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & DeleteJobDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type DeleteJobParameters = RequestParameters;
// @public
export interface DeleteQueue204Response extends HttpResponse {
// (undocumented)
status: "204";
}
// @public (undocumented)
export interface DeleteQueueDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface DeleteQueueDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & DeleteQueueDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type DeleteQueueParameters = RequestParameters;
// @public
export interface DeleteWorker204Response extends HttpResponse {
// (undocumented)
status: "204";
}
// @public (undocumented)
export interface DeleteWorkerDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface DeleteWorkerDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & DeleteWorkerDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type DeleteWorkerParameters = RequestParameters;
// @public
export interface DirectMapRouterRule extends RouterRuleParent {
2023-11-15 05:16:29 +03:00
kind: "directMap";
2023-10-06 07:29:22 +03:00
}
// @public
export interface DirectMapRouterRuleOutput extends RouterRuleOutputParent {
2023-11-15 05:16:29 +03:00
kind: "directMap";
2023-10-06 07:29:22 +03:00
}
// @public
2024-03-06 03:58:08 +03:00
export type DistributionMode = DistributionModeParent | BestWorkerMode | LongestIdleMode | RoundRobinMode;
2023-10-06 07:29:22 +03:00
// @public
2024-03-06 03:58:08 +03:00
export type DistributionModeOutput = DistributionModeOutputParent | BestWorkerModeOutput | LongestIdleModeOutput | RoundRobinModeOutput;
2023-10-06 07:29:22 +03:00
// @public
export interface DistributionModeOutputParent {
bypassSelectors?: boolean;
// (undocumented)
kind: string;
maxConcurrentOffers?: number;
minConcurrentOffers?: number;
}
// @public
export interface DistributionModeParent {
bypassSelectors?: boolean;
// (undocumented)
kind: string;
maxConcurrentOffers?: number;
minConcurrentOffers?: number;
}
// @public
export interface DistributionPolicy {
mode?: DistributionMode;
name?: string;
offerExpiresAfterSeconds?: number;
}
// @public
export interface DistributionPolicyOutput {
2023-10-28 01:34:00 +03:00
readonly etag: string;
2023-10-06 07:29:22 +03:00
readonly id: string;
mode?: DistributionModeOutput;
name?: string;
offerExpiresAfterSeconds?: number;
}
// @public
export type DistributionPolicyResourceMergeAndPatch = Partial< DistributionPolicy > ;
// @public
2024-03-06 03:58:08 +03:00
export type ExceptionAction = ExceptionActionParent | CancelExceptionAction | ManualReclassifyExceptionAction | ReclassifyExceptionAction;
2023-10-06 07:29:22 +03:00
// @public
2024-03-06 03:58:08 +03:00
export type ExceptionActionOutput = ExceptionActionOutputParent | CancelExceptionActionOutput | ManualReclassifyExceptionActionOutput | ReclassifyExceptionActionOutput;
2023-10-06 07:29:22 +03:00
// @public
export interface ExceptionActionOutputParent {
2023-11-10 10:30:59 +03:00
id?: string;
2023-10-06 07:29:22 +03:00
// (undocumented)
kind: string;
}
// @public
export interface ExceptionActionParent {
2023-11-10 10:30:59 +03:00
id?: string;
2023-10-06 07:29:22 +03:00
// (undocumented)
kind: string;
}
// @public
export interface ExceptionPolicy {
2023-10-28 01:34:00 +03:00
exceptionRules?: Array< ExceptionRule > ;
2023-10-06 07:29:22 +03:00
name?: string;
}
// @public
export interface ExceptionPolicyOutput {
2023-10-28 01:34:00 +03:00
readonly etag: string;
exceptionRules?: Array< ExceptionRuleOutput > ;
2023-10-06 07:29:22 +03:00
readonly id: string;
name?: string;
}
// @public
export type ExceptionPolicyResourceMergeAndPatch = Partial< ExceptionPolicy > ;
// @public
export interface ExceptionRule {
2023-10-28 01:34:00 +03:00
actions: Array< ExceptionAction > ;
id: string;
2023-10-06 07:29:22 +03:00
trigger: ExceptionTrigger;
}
// @public
export interface ExceptionRuleOutput {
2023-10-28 01:34:00 +03:00
actions: Array< ExceptionActionOutput > ;
id: string;
2023-10-06 07:29:22 +03:00
trigger: ExceptionTriggerOutput;
}
// @public
2024-03-06 03:58:08 +03:00
export type ExceptionTrigger = ExceptionTriggerParent | QueueLengthExceptionTrigger | WaitTimeExceptionTrigger;
2023-10-06 07:29:22 +03:00
// @public
2024-03-06 03:58:08 +03:00
export type ExceptionTriggerOutput = ExceptionTriggerOutputParent | QueueLengthExceptionTriggerOutput | WaitTimeExceptionTriggerOutput;
2023-10-06 07:29:22 +03:00
// @public
export interface ExceptionTriggerOutputParent {
// (undocumented)
kind: string;
}
// @public
export interface ExceptionTriggerParent {
// (undocumented)
kind: string;
}
// @public
export interface ExpressionRouterRule extends RouterRuleParent {
expression: string;
2023-11-15 05:16:29 +03:00
kind: "expression";
2023-10-06 07:29:22 +03:00
language?: string;
}
// @public
export interface ExpressionRouterRuleOutput extends RouterRuleOutputParent {
expression: string;
2023-11-15 05:16:29 +03:00
kind: "expression";
2023-10-06 07:29:22 +03:00
language?: string;
}
// @public
export interface FunctionRouterRule extends RouterRuleParent {
credential?: FunctionRouterRuleCredential;
functionUri: string;
2023-11-15 05:16:29 +03:00
kind: "function";
2023-10-06 07:29:22 +03:00
}
// @public
export interface FunctionRouterRuleCredential {
appKey?: string;
clientId?: string;
functionKey?: string;
}
// @public
export interface FunctionRouterRuleCredentialOutput {
appKey?: string;
clientId?: string;
functionKey?: string;
}
// @public
export interface FunctionRouterRuleOutput extends RouterRuleOutputParent {
credential?: FunctionRouterRuleCredentialOutput;
functionUri: string;
2023-11-15 05:16:29 +03:00
kind: "function";
2023-10-06 07:29:22 +03:00
}
// @public
export type GetArrayType< T > = T extends Array< infer TData > ? TData : never;
// @public (undocumented)
export interface GetClassificationPolicy200Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface GetClassificationPolicy200Response extends HttpResponse {
// (undocumented)
body: ClassificationPolicyOutput;
// (undocumented)
headers: RawHttpHeaders & GetClassificationPolicy200Headers;
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface GetClassificationPolicyDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface GetClassificationPolicyDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & GetClassificationPolicyDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type GetClassificationPolicyParameters = RequestParameters;
// @public (undocumented)
export interface GetDistributionPolicy200Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface GetDistributionPolicy200Response extends HttpResponse {
// (undocumented)
body: DistributionPolicyOutput;
// (undocumented)
headers: RawHttpHeaders & GetDistributionPolicy200Headers;
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface GetDistributionPolicyDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface GetDistributionPolicyDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & GetDistributionPolicyDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type GetDistributionPolicyParameters = RequestParameters;
// @public (undocumented)
export interface GetExceptionPolicy200Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface GetExceptionPolicy200Response extends HttpResponse {
// (undocumented)
body: ExceptionPolicyOutput;
// (undocumented)
headers: RawHttpHeaders & GetExceptionPolicy200Headers;
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface GetExceptionPolicyDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface GetExceptionPolicyDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & GetExceptionPolicyDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type GetExceptionPolicyParameters = RequestParameters;
// @public (undocumented)
export interface GetInQueuePosition {
get(options?: GetInQueuePositionParameters): StreamableMethod< GetInQueuePosition200Response | GetInQueuePositionDefaultResponse > ;
}
// @public
export interface GetInQueuePosition200Response extends HttpResponse {
// (undocumented)
body: RouterJobPositionDetailsOutput;
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface GetInQueuePositionDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface GetInQueuePositionDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & GetInQueuePositionDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type GetInQueuePositionParameters = RequestParameters;
// @public (undocumented)
export interface GetJob200Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface GetJob200Response extends HttpResponse {
// (undocumented)
body: RouterJobOutput;
// (undocumented)
headers: RawHttpHeaders & GetJob200Headers;
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface GetJobDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface GetJobDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & GetJobDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type GetJobParameters = RequestParameters;
// @public
export type GetPage< TPage > = (pageLink: string, maxPageSize?: number) => Promise< {
page: TPage;
nextPageLink?: string;
}>;
// @public (undocumented)
export interface GetQueue200Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface GetQueue200Response extends HttpResponse {
// (undocumented)
body: RouterQueueOutput;
// (undocumented)
headers: RawHttpHeaders & GetQueue200Headers;
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface GetQueueDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface GetQueueDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & GetQueueDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type GetQueueParameters = RequestParameters;
// @public (undocumented)
export interface GetQueueStatistics {
get(options?: GetQueueStatisticsParameters): StreamableMethod< GetQueueStatistics200Response | GetQueueStatisticsDefaultResponse > ;
}
// @public
export interface GetQueueStatistics200Response extends HttpResponse {
// (undocumented)
body: RouterQueueStatisticsOutput;
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface GetQueueStatisticsDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface GetQueueStatisticsDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & GetQueueStatisticsDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type GetQueueStatisticsParameters = RequestParameters;
// @public (undocumented)
export interface GetWorker200Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface GetWorker200Response extends HttpResponse {
// (undocumented)
body: RouterWorkerOutput;
// (undocumented)
headers: RawHttpHeaders & GetWorker200Headers;
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface GetWorkerDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface GetWorkerDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & GetWorkerDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type GetWorkerParameters = RequestParameters;
// @public (undocumented)
export function isUnexpected(response: UpsertClassificationPolicy200Response | UpsertClassificationPolicy201Response | UpsertClassificationPolicyDefaultResponse): response is UpsertClassificationPolicyDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: GetClassificationPolicy200Response | GetClassificationPolicyDefaultResponse): response is GetClassificationPolicyDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: DeleteClassificationPolicy204Response | DeleteClassificationPolicyDefaultResponse): response is DeleteClassificationPolicyDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: ListClassificationPolicies200Response | ListClassificationPoliciesDefaultResponse): response is ListClassificationPoliciesDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: UpsertDistributionPolicy200Response | UpsertDistributionPolicy201Response | UpsertDistributionPolicyDefaultResponse): response is UpsertDistributionPolicyDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: GetDistributionPolicy200Response | GetDistributionPolicyDefaultResponse): response is GetDistributionPolicyDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: DeleteDistributionPolicy204Response | DeleteDistributionPolicyDefaultResponse): response is DeleteDistributionPolicyDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: ListDistributionPolicies200Response | ListDistributionPoliciesDefaultResponse): response is ListDistributionPoliciesDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: UpsertExceptionPolicy200Response | UpsertExceptionPolicy201Response | UpsertExceptionPolicyDefaultResponse): response is UpsertExceptionPolicyDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: GetExceptionPolicy200Response | GetExceptionPolicyDefaultResponse): response is GetExceptionPolicyDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: DeleteExceptionPolicy204Response | DeleteExceptionPolicyDefaultResponse): response is DeleteExceptionPolicyDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: ListExceptionPolicies200Response | ListExceptionPoliciesDefaultResponse): response is ListExceptionPoliciesDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: UpsertQueue200Response | UpsertQueue201Response | UpsertQueueDefaultResponse): response is UpsertQueueDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: GetQueue200Response | GetQueueDefaultResponse): response is GetQueueDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: DeleteQueue204Response | DeleteQueueDefaultResponse): response is DeleteQueueDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: ListQueues200Response | ListQueuesDefaultResponse): response is ListQueuesDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: UpsertJob200Response | UpsertJob201Response | UpsertJobDefaultResponse): response is UpsertJobDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: GetJob200Response | GetJobDefaultResponse): response is GetJobDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: DeleteJob204Response | DeleteJobDefaultResponse): response is DeleteJobDefaultResponse;
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export function isUnexpected(response: Reclassify200Response | ReclassifyDefaultResponse): response is ReclassifyDefaultResponse;
2023-10-06 07:29:22 +03:00
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export function isUnexpected(response: Cancel200Response | CancelDefaultResponse): response is CancelDefaultResponse;
2023-10-06 07:29:22 +03:00
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export function isUnexpected(response: Complete200Response | CompleteDefaultResponse): response is CompleteDefaultResponse;
2023-10-06 07:29:22 +03:00
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export function isUnexpected(response: Close200Response | CloseDefaultResponse): response is CloseDefaultResponse;
2023-10-06 07:29:22 +03:00
// @public (undocumented)
export function isUnexpected(response: ListJobs200Response | ListJobsDefaultResponse): response is ListJobsDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: GetInQueuePosition200Response | GetInQueuePositionDefaultResponse): response is GetInQueuePositionDefaultResponse;
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export function isUnexpected(response: Unassign200Response | UnassignDefaultResponse): response is UnassignDefaultResponse;
2023-10-06 07:29:22 +03:00
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export function isUnexpected(response: Accept200Response | AcceptDefaultResponse): response is AcceptDefaultResponse;
2023-10-06 07:29:22 +03:00
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export function isUnexpected(response: Decline200Response | DeclineDefaultResponse): response is DeclineDefaultResponse;
2023-10-06 07:29:22 +03:00
// @public (undocumented)
export function isUnexpected(response: GetQueueStatistics200Response | GetQueueStatisticsDefaultResponse): response is GetQueueStatisticsDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: UpsertWorker200Response | UpsertWorker201Response | UpsertWorkerDefaultResponse): response is UpsertWorkerDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: GetWorker200Response | GetWorkerDefaultResponse): response is GetWorkerDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: DeleteWorker204Response | DeleteWorkerDefaultResponse): response is DeleteWorkerDefaultResponse;
// @public (undocumented)
export function isUnexpected(response: ListWorkers200Response | ListWorkersDefaultResponse): response is ListWorkersDefaultResponse;
// @public
2024-03-06 03:58:08 +03:00
export type JobMatchingMode = JobMatchingModeParent | ScheduleAndSuspendMode | QueueAndMatchMode | SuspendMode;
2023-10-28 01:34:00 +03:00
// @public
2024-03-06 03:58:08 +03:00
export type JobMatchingModeOutput = JobMatchingModeOutputParent | ScheduleAndSuspendModeOutput | QueueAndMatchModeOutput | SuspendModeOutput;
2023-10-28 01:34:00 +03:00
// @public
export interface JobMatchingModeOutputParent {
// (undocumented)
kind: string;
2023-10-06 07:29:22 +03:00
}
// @public
2023-10-28 01:34:00 +03:00
export interface JobMatchingModeParent {
// (undocumented)
kind: string;
2023-10-06 07:29:22 +03:00
}
// @public (undocumented)
export interface ListClassificationPolicies {
get(options?: ListClassificationPoliciesParameters): StreamableMethod< ListClassificationPolicies200Response | ListClassificationPoliciesDefaultResponse > ;
}
// @public
export interface ListClassificationPolicies200Response extends HttpResponse {
// (undocumented)
2023-10-28 01:34:00 +03:00
body: PagedClassificationPolicyOutput;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface ListClassificationPoliciesDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface ListClassificationPoliciesDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & ListClassificationPoliciesDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type ListClassificationPoliciesParameters = ListClassificationPoliciesQueryParam & RequestParameters;
// @public (undocumented)
export interface ListClassificationPoliciesQueryParam {
// (undocumented)
queryParameters?: ListClassificationPoliciesQueryParamProperties;
}
// @public (undocumented)
export interface ListClassificationPoliciesQueryParamProperties {
maxpagesize?: number;
}
// @public (undocumented)
export interface ListDistributionPolicies {
get(options?: ListDistributionPoliciesParameters): StreamableMethod< ListDistributionPolicies200Response | ListDistributionPoliciesDefaultResponse > ;
}
// @public
export interface ListDistributionPolicies200Response extends HttpResponse {
// (undocumented)
2023-10-28 01:34:00 +03:00
body: PagedDistributionPolicyOutput;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface ListDistributionPoliciesDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface ListDistributionPoliciesDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & ListDistributionPoliciesDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type ListDistributionPoliciesParameters = ListDistributionPoliciesQueryParam & RequestParameters;
// @public (undocumented)
export interface ListDistributionPoliciesQueryParam {
// (undocumented)
queryParameters?: ListDistributionPoliciesQueryParamProperties;
}
// @public (undocumented)
export interface ListDistributionPoliciesQueryParamProperties {
maxpagesize?: number;
}
// @public (undocumented)
export interface ListExceptionPolicies {
get(options?: ListExceptionPoliciesParameters): StreamableMethod< ListExceptionPolicies200Response | ListExceptionPoliciesDefaultResponse > ;
}
// @public
export interface ListExceptionPolicies200Response extends HttpResponse {
// (undocumented)
2023-10-28 01:34:00 +03:00
body: PagedExceptionPolicyOutput;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface ListExceptionPoliciesDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface ListExceptionPoliciesDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & ListExceptionPoliciesDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type ListExceptionPoliciesParameters = ListExceptionPoliciesQueryParam & RequestParameters;
// @public (undocumented)
export interface ListExceptionPoliciesQueryParam {
// (undocumented)
queryParameters?: ListExceptionPoliciesQueryParamProperties;
}
// @public (undocumented)
export interface ListExceptionPoliciesQueryParamProperties {
maxpagesize?: number;
}
// @public (undocumented)
export interface ListJobs {
get(options?: ListJobsParameters): StreamableMethod< ListJobs200Response | ListJobsDefaultResponse > ;
}
// @public
export interface ListJobs200Response extends HttpResponse {
// (undocumented)
2023-10-28 01:34:00 +03:00
body: PagedRouterJobOutput;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface ListJobsDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface ListJobsDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & ListJobsDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type ListJobsParameters = ListJobsQueryParam & RequestParameters;
// @public (undocumented)
export interface ListJobsQueryParam {
// (undocumented)
queryParameters?: ListJobsQueryParamProperties;
}
// @public (undocumented)
export interface ListJobsQueryParamProperties {
channelId?: string;
classificationPolicyId?: string;
maxpagesize?: number;
queueId?: string;
scheduledAfter?: Date | string;
scheduledBefore?: Date | string;
status?: string;
}
// @public (undocumented)
export interface ListQueues {
get(options?: ListQueuesParameters): StreamableMethod< ListQueues200Response | ListQueuesDefaultResponse > ;
}
// @public
export interface ListQueues200Response extends HttpResponse {
// (undocumented)
2023-10-28 01:34:00 +03:00
body: PagedRouterQueueOutput;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface ListQueuesDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface ListQueuesDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & ListQueuesDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type ListQueuesParameters = ListQueuesQueryParam & RequestParameters;
// @public (undocumented)
export interface ListQueuesQueryParam {
// (undocumented)
queryParameters?: ListQueuesQueryParamProperties;
}
// @public (undocumented)
export interface ListQueuesQueryParamProperties {
maxpagesize?: number;
}
// @public (undocumented)
export interface ListWorkers {
get(options?: ListWorkersParameters): StreamableMethod< ListWorkers200Response | ListWorkersDefaultResponse > ;
}
// @public
export interface ListWorkers200Response extends HttpResponse {
// (undocumented)
2023-10-28 01:34:00 +03:00
body: PagedRouterWorkerOutput;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface ListWorkersDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface ListWorkersDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & ListWorkersDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export type ListWorkersParameters = ListWorkersQueryParam & RequestParameters;
// @public (undocumented)
export interface ListWorkersQueryParam {
// (undocumented)
queryParameters?: ListWorkersQueryParamProperties;
}
// @public (undocumented)
export interface ListWorkersQueryParamProperties {
channelId?: string;
hasCapacity?: boolean;
maxpagesize?: number;
queueId?: string;
state?: string;
}
// @public
export interface LongestIdleMode extends DistributionModeParent {
2023-11-15 05:16:29 +03:00
kind: "longestIdle";
2023-10-06 07:29:22 +03:00
}
// @public
export interface LongestIdleModeOutput extends DistributionModeOutputParent {
2023-11-15 05:16:29 +03:00
kind: "longestIdle";
2023-10-06 07:29:22 +03:00
}
// @public
export interface ManualReclassifyExceptionAction extends ExceptionActionParent {
2023-11-15 05:16:29 +03:00
kind: "manualReclassify";
2023-10-06 07:29:22 +03:00
priority?: number;
queueId?: string;
workerSelectors?: Array< RouterWorkerSelector > ;
}
// @public
export interface ManualReclassifyExceptionActionOutput extends ExceptionActionOutputParent {
2023-11-15 05:16:29 +03:00
kind: "manualReclassify";
2023-10-06 07:29:22 +03:00
priority?: number;
queueId?: string;
workerSelectors?: Array< RouterWorkerSelectorOutput > ;
}
// @public
2023-10-28 01:34:00 +03:00
export interface OAuth2WebhookClientCredential {
2023-10-06 07:29:22 +03:00
clientId?: string;
clientSecret?: string;
}
// @public
2023-10-28 01:34:00 +03:00
export interface OAuth2WebhookClientCredentialOutput {
2023-10-06 07:29:22 +03:00
clientId?: string;
clientSecret?: string;
}
// @public
2023-10-28 01:34:00 +03:00
export type PagedClassificationPolicyOutput = Paged< ClassificationPolicyOutput > ;
2023-10-06 07:29:22 +03:00
// @public
2023-10-28 01:34:00 +03:00
export type PagedDistributionPolicyOutput = Paged< DistributionPolicyOutput > ;
2023-10-06 07:29:22 +03:00
// @public
2023-10-28 01:34:00 +03:00
export type PagedExceptionPolicyOutput = Paged< ExceptionPolicyOutput > ;
2023-10-06 07:29:22 +03:00
// @public
2023-10-28 01:34:00 +03:00
export type PagedRouterJobOutput = Paged< RouterJobOutput > ;
2023-10-06 07:29:22 +03:00
// @public
2023-10-28 01:34:00 +03:00
export type PagedRouterQueueOutput = Paged< RouterQueueOutput > ;
2023-10-06 07:29:22 +03:00
// @public
2023-10-28 01:34:00 +03:00
export type PagedRouterWorkerOutput = Paged< RouterWorkerOutput > ;
2023-10-06 07:29:22 +03:00
// @public
export function paginate< TResponse extends PathUncheckedResponse > (client: Client, initialResponse: TResponse, options?: PagingOptions< TResponse > ): PagedAsyncIterableIterator< PaginateReturn < TResponse > >;
// @public
export type PaginateReturn< TResult > = TResult extends {
body: {
value?: infer TPage;
};
} ? GetArrayType< TPage > : Array< unknown > ;
// @public
export interface PagingOptions< TResponse > {
customGetPage?: GetPage< PaginateReturn < TResponse > []>;
}
// @public
export interface PassThroughQueueSelectorAttachment extends QueueSelectorAttachmentParent {
key: string;
2023-11-15 05:16:29 +03:00
kind: "passThrough";
2023-10-06 07:29:22 +03:00
labelOperator: string;
}
// @public
export interface PassThroughQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
key: string;
2023-11-15 05:16:29 +03:00
kind: "passThrough";
2023-10-06 07:29:22 +03:00
labelOperator: string;
}
// @public
export interface PassThroughWorkerSelectorAttachment extends WorkerSelectorAttachmentParent {
expiresAfterSeconds?: number;
key: string;
2023-11-15 05:16:29 +03:00
kind: "passThrough";
2023-10-06 07:29:22 +03:00
labelOperator: string;
}
// @public
export interface PassThroughWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
expiresAfterSeconds?: number;
key: string;
2023-11-15 05:16:29 +03:00
kind: "passThrough";
2023-10-06 07:29:22 +03:00
labelOperator: string;
}
// @public
2023-10-28 01:34:00 +03:00
export interface QueueAndMatchMode extends JobMatchingModeParent {
2023-11-15 05:16:29 +03:00
kind: "queueAndMatch";
2023-10-06 07:29:22 +03:00
}
// @public
2023-10-28 01:34:00 +03:00
export interface QueueAndMatchModeOutput extends JobMatchingModeOutputParent {
2023-11-15 05:16:29 +03:00
kind: "queueAndMatch";
2023-10-06 07:29:22 +03:00
}
// @public
export interface QueueLengthExceptionTrigger extends ExceptionTriggerParent {
2023-11-15 05:16:29 +03:00
kind: "queueLength";
2023-10-06 07:29:22 +03:00
threshold: number;
}
// @public
export interface QueueLengthExceptionTriggerOutput extends ExceptionTriggerOutputParent {
2023-11-15 05:16:29 +03:00
kind: "queueLength";
2023-10-06 07:29:22 +03:00
threshold: number;
}
// @public
2024-03-06 03:58:08 +03:00
export type QueueSelectorAttachment = QueueSelectorAttachmentParent | ConditionalQueueSelectorAttachment | PassThroughQueueSelectorAttachment | RuleEngineQueueSelectorAttachment | StaticQueueSelectorAttachment | WeightedAllocationQueueSelectorAttachment;
2023-10-06 07:29:22 +03:00
// @public
2024-03-06 03:58:08 +03:00
export type QueueSelectorAttachmentOutput = QueueSelectorAttachmentOutputParent | ConditionalQueueSelectorAttachmentOutput | PassThroughQueueSelectorAttachmentOutput | RuleEngineQueueSelectorAttachmentOutput | StaticQueueSelectorAttachmentOutput | WeightedAllocationQueueSelectorAttachmentOutput;
2023-10-06 07:29:22 +03:00
// @public
export interface QueueSelectorAttachmentOutputParent {
// (undocumented)
kind: string;
}
// @public
export interface QueueSelectorAttachmentParent {
// (undocumented)
kind: string;
}
// @public
export interface QueueWeightedAllocation {
queueSelectors: Array< RouterQueueSelector > ;
weight: number;
}
// @public
export interface QueueWeightedAllocationOutput {
queueSelectors: Array< RouterQueueSelectorOutput > ;
weight: number;
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface Reclassify {
post(options?: ReclassifyParameters): StreamableMethod< Reclassify200Response | ReclassifyDefaultResponse > ;
2023-10-06 07:29:22 +03:00
}
// @public
2023-11-10 10:30:59 +03:00
export interface Reclassify200Response extends HttpResponse {
// (undocumented)
body: ReclassifyJobResultOutput;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: "200";
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface ReclassifyBodyParam {
body?: ReclassifyJobOptions;
2023-10-06 07:29:22 +03:00
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface ReclassifyDefaultHeaders {
2023-10-06 07:29:22 +03:00
"x-ms-error-code"?: string;
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface ReclassifyDefaultResponse extends HttpResponse {
2023-10-06 07:29:22 +03:00
// (undocumented)
body: ErrorResponse;
// (undocumented)
2023-11-10 10:30:59 +03:00
headers: RawHttpHeaders & ReclassifyDefaultHeaders;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: string;
}
2023-11-10 10:30:59 +03:00
// @public
export interface ReclassifyExceptionAction extends ExceptionActionParent {
classificationPolicyId?: string;
kind: "reclassify";
labelsToUpsert?: Record< string , unknown > ;
}
// @public
export interface ReclassifyExceptionActionOutput extends ExceptionActionOutputParent {
classificationPolicyId?: string;
kind: "reclassify";
labelsToUpsert?: Record< string , any > ;
}
// @public
export interface ReclassifyJobOptions {
}
// @public
export interface ReclassifyJobResultOutput {
}
2023-10-06 07:29:22 +03:00
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export type ReclassifyParameters = ReclassifyBodyParam & RequestParameters;
2023-10-06 07:29:22 +03:00
// @public
export interface RoundRobinMode extends DistributionModeParent {
2023-11-15 05:16:29 +03:00
kind: "roundRobin";
2023-10-06 07:29:22 +03:00
}
// @public
export interface RoundRobinModeOutput extends DistributionModeOutputParent {
2023-11-15 05:16:29 +03:00
kind: "roundRobin";
2023-10-06 07:29:22 +03:00
}
2023-10-28 01:34:00 +03:00
// @public
export interface RouterChannel {
capacityCostPerJob: number;
channelId: string;
maxNumberOfJobs?: number;
}
// @public
export interface RouterChannelOutput {
capacityCostPerJob: number;
channelId: string;
maxNumberOfJobs?: number;
}
2023-10-06 07:29:22 +03:00
// @public
export interface RouterConditionalRequestHeadersOutput {
}
// @public
export interface RouterJob {
channelId?: string;
channelReference?: string;
classificationPolicyId?: string;
dispositionCode?: string;
labels?: Record< string , unknown > ;
matchingMode?: JobMatchingMode;
2023-10-28 01:34:00 +03:00
notes?: Array< RouterJobNote > ;
2023-10-06 07:29:22 +03:00
priority?: number;
queueId?: string;
requestedWorkerSelectors?: Array< RouterWorkerSelector > ;
tags?: Record< string , unknown > ;
}
// @public
export interface RouterJobAssignment {
assignedAt: Date | string;
closedAt?: Date | string;
completedAt?: Date | string;
workerId?: string;
}
// @public
export interface RouterJobAssignmentOutput {
assignedAt: string;
2023-11-10 10:30:59 +03:00
readonly assignmentId: string;
2023-10-06 07:29:22 +03:00
closedAt?: string;
completedAt?: string;
workerId?: string;
}
// @public
2023-10-28 01:34:00 +03:00
export interface RouterJobNote {
addedAt?: Date | string;
message: string;
}
// @public
export interface RouterJobNoteOutput {
addedAt?: string;
message: string;
2023-10-06 07:29:22 +03:00
}
// @public
export interface RouterJobOffer {
capacityCost: number;
expiresAt?: Date | string;
jobId: string;
offeredAt?: Date | string;
}
// @public
export interface RouterJobOfferOutput {
capacityCost: number;
expiresAt?: string;
jobId: string;
offeredAt?: string;
2023-11-10 10:30:59 +03:00
readonly offerId: string;
2023-10-06 07:29:22 +03:00
}
// @public
export interface RouterJobOutput {
readonly assignments?: Record< string , RouterJobAssignmentOutput > ;
readonly attachedWorkerSelectors?: Array< RouterWorkerSelectorOutput > ;
channelId?: string;
channelReference?: string;
classificationPolicyId?: string;
dispositionCode?: string;
readonly enqueuedAt?: string;
2023-10-28 01:34:00 +03:00
readonly etag: string;
2023-10-06 07:29:22 +03:00
readonly id: string;
labels?: Record< string , any > ;
matchingMode?: JobMatchingModeOutput;
2023-10-28 01:34:00 +03:00
notes?: Array< RouterJobNoteOutput > ;
2023-10-06 07:29:22 +03:00
priority?: number;
queueId?: string;
requestedWorkerSelectors?: Array< RouterWorkerSelectorOutput > ;
readonly scheduledAt?: string;
readonly status?: string;
tags?: Record< string , any > ;
}
// @public
export interface RouterJobPositionDetailsOutput {
estimatedWaitTimeMinutes: number;
jobId: string;
position: number;
queueId: string;
queueLength: number;
}
// @public
export type RouterJobResourceMergeAndPatch = Partial< RouterJob > ;
// @public
export interface RouterQueue {
distributionPolicyId?: string;
exceptionPolicyId?: string;
labels?: Record< string , unknown > ;
name?: string;
}
// @public
export interface RouterQueueOutput {
distributionPolicyId?: string;
2023-10-28 01:34:00 +03:00
readonly etag: string;
2023-10-06 07:29:22 +03:00
exceptionPolicyId?: string;
readonly id: string;
labels?: Record< string , any > ;
name?: string;
}
// @public
export type RouterQueueResourceMergeAndPatch = Partial< RouterQueue > ;
// @public
export interface RouterQueueSelector {
key: string;
labelOperator: string;
value?: unknown;
}
// @public
export interface RouterQueueSelectorOutput {
key: string;
labelOperator: string;
value?: any;
}
// @public
export interface RouterQueueStatisticsOutput {
estimatedWaitTimeMinutes?: Record< string , number > ;
length: number;
longestJobWaitTimeMinutes?: number;
queueId: string;
}
// @public
2024-03-06 03:58:08 +03:00
export type RouterRule = RouterRuleParent | DirectMapRouterRule | ExpressionRouterRule | FunctionRouterRule | StaticRouterRule | WebhookRouterRule;
2023-10-06 07:29:22 +03:00
// @public
2024-03-06 03:58:08 +03:00
export type RouterRuleOutput = RouterRuleOutputParent | DirectMapRouterRuleOutput | ExpressionRouterRuleOutput | FunctionRouterRuleOutput | StaticRouterRuleOutput | WebhookRouterRuleOutput;
2023-10-06 07:29:22 +03:00
// @public
export interface RouterRuleOutputParent {
// (undocumented)
kind: string;
}
// @public
export interface RouterRuleParent {
// (undocumented)
kind: string;
}
// @public
export interface RouterWorker {
availableForOffers?: boolean;
2023-10-28 01:34:00 +03:00
capacity?: number;
channels?: Array< RouterChannel > ;
2023-10-06 07:29:22 +03:00
labels?: Record< string , unknown > ;
2024-03-06 03:58:08 +03:00
maxConcurrentOffers?: number;
2023-10-28 01:34:00 +03:00
queues?: string[];
2023-10-06 07:29:22 +03:00
tags?: Record< string , unknown > ;
}
// @public
export interface RouterWorkerAssignment {
assignedAt: Date | string;
assignmentId: string;
capacityCost: number;
jobId: string;
}
// @public
export interface RouterWorkerAssignmentOutput {
assignedAt: string;
assignmentId: string;
capacityCost: number;
jobId: string;
}
// @public
export interface RouterWorkerOutput {
readonly assignedJobs?: Array< RouterWorkerAssignmentOutput > ;
availableForOffers?: boolean;
2023-10-28 01:34:00 +03:00
capacity?: number;
channels?: Array< RouterChannelOutput > ;
readonly etag: string;
2023-10-06 07:29:22 +03:00
readonly id: string;
labels?: Record< string , any > ;
readonly loadRatio?: number;
2024-03-06 03:58:08 +03:00
maxConcurrentOffers?: number;
2023-10-06 07:29:22 +03:00
readonly offers?: Array< RouterJobOfferOutput > ;
2023-10-28 01:34:00 +03:00
queues?: string[];
2023-10-06 07:29:22 +03:00
readonly state?: string;
tags?: Record< string , any > ;
}
// @public
export type RouterWorkerResourceMergeAndPatch = Partial< RouterWorker > ;
// @public
export interface RouterWorkerSelector {
expedite?: boolean;
expiresAfterSeconds?: number;
key: string;
labelOperator: string;
value?: unknown;
}
// @public
export interface RouterWorkerSelectorOutput {
expedite?: boolean;
expiresAfterSeconds?: number;
readonly expiresAt?: string;
key: string;
labelOperator: string;
readonly status?: string;
value?: any;
}
// @public (undocumented)
export interface Routes {
2023-10-28 01:34:00 +03:00
(path: "/routing/classificationPolicies/{classificationPolicyId}", classificationPolicyId: string): UpsertClassificationPolicy;
2023-10-06 07:29:22 +03:00
(path: "/routing/classificationPolicies"): ListClassificationPolicies;
2023-10-28 01:34:00 +03:00
(path: "/routing/distributionPolicies/{distributionPolicyId}", distributionPolicyId: string): UpsertDistributionPolicy;
2023-10-06 07:29:22 +03:00
(path: "/routing/distributionPolicies"): ListDistributionPolicies;
2023-10-28 01:34:00 +03:00
(path: "/routing/exceptionPolicies/{exceptionPolicyId}", exceptionPolicyId: string): UpsertExceptionPolicy;
2023-10-06 07:29:22 +03:00
(path: "/routing/exceptionPolicies"): ListExceptionPolicies;
2023-10-28 01:34:00 +03:00
(path: "/routing/queues/{queueId}", queueId: string): UpsertQueue;
2023-10-06 07:29:22 +03:00
(path: "/routing/queues"): ListQueues;
2023-10-28 01:34:00 +03:00
(path: "/routing/jobs/{jobId}", jobId: string): UpsertJob;
2023-11-10 10:30:59 +03:00
(path: "/routing/jobs/{jobId}:reclassify", jobId: string): Reclassify;
(path: "/routing/jobs/{jobId}:cancel", jobId: string): Cancel;
(path: "/routing/jobs/{jobId}/assignments/{assignmentId}:complete", jobId: string, assignmentId: string): Complete;
(path: "/routing/jobs/{jobId}/assignments/{assignmentId}:close", jobId: string, assignmentId: string): Close;
2023-10-06 07:29:22 +03:00
(path: "/routing/jobs"): ListJobs;
2023-10-28 01:34:00 +03:00
(path: "/routing/jobs/{jobId}/position", jobId: string): GetInQueuePosition;
2023-11-10 10:30:59 +03:00
(path: "/routing/jobs/{jobId}/assignments/{assignmentId}:unassign", jobId: string, assignmentId: string): Unassign;
(path: "/routing/workers/{workerId}/offers/{offerId}:accept", workerId: string, offerId: string): Accept;
(path: "/routing/workers/{workerId}/offers/{offerId}:decline", workerId: string, offerId: string): Decline;
2023-10-28 01:34:00 +03:00
(path: "/routing/queues/{queueId}/statistics", queueId: string): GetQueueStatistics;
2023-10-06 07:29:22 +03:00
(path: "/routing/workers/{workerId}", workerId: string): UpsertWorker;
(path: "/routing/workers"): ListWorkers;
}
// @public
export interface RuleEngineQueueSelectorAttachment extends QueueSelectorAttachmentParent {
2023-11-15 05:16:29 +03:00
kind: "ruleEngine";
2023-10-06 07:29:22 +03:00
rule: RouterRule;
}
// @public
export interface RuleEngineQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
2023-11-15 05:16:29 +03:00
kind: "ruleEngine";
2023-10-06 07:29:22 +03:00
rule: RouterRuleOutput;
}
// @public
export interface RuleEngineWorkerSelectorAttachment extends WorkerSelectorAttachmentParent {
2023-11-15 05:16:29 +03:00
kind: "ruleEngine";
2023-10-06 07:29:22 +03:00
rule: RouterRule;
}
// @public
export interface RuleEngineWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
2023-11-15 05:16:29 +03:00
kind: "ruleEngine";
2023-10-06 07:29:22 +03:00
rule: RouterRuleOutput;
}
// @public
2023-10-28 01:34:00 +03:00
export interface ScheduleAndSuspendMode extends JobMatchingModeParent {
2023-11-15 05:16:29 +03:00
kind: "scheduleAndSuspend";
2023-10-06 07:29:22 +03:00
scheduleAt: Date | string;
}
// @public
2023-10-28 01:34:00 +03:00
export interface ScheduleAndSuspendModeOutput extends JobMatchingModeOutputParent {
2023-11-15 05:16:29 +03:00
kind: "scheduleAndSuspend";
2023-10-06 07:29:22 +03:00
scheduleAt: string;
}
// @public
export interface ScoringRuleOptions {
batchSize?: number;
descendingOrder?: boolean;
2023-10-28 01:34:00 +03:00
isBatchScoringEnabled?: boolean;
2023-10-06 07:29:22 +03:00
scoringParameters?: string[];
}
// @public
export interface ScoringRuleOptionsOutput {
batchSize?: number;
descendingOrder?: boolean;
2023-10-28 01:34:00 +03:00
isBatchScoringEnabled?: boolean;
2023-10-06 07:29:22 +03:00
scoringParameters?: string[];
}
// @public
export interface StaticQueueSelectorAttachment extends QueueSelectorAttachmentParent {
kind: "static";
queueSelector: RouterQueueSelector;
}
// @public
export interface StaticQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
kind: "static";
queueSelector: RouterQueueSelectorOutput;
}
// @public
export interface StaticRouterRule extends RouterRuleParent {
2023-11-15 05:16:29 +03:00
kind: "static";
2023-10-06 07:29:22 +03:00
value?: unknown;
}
// @public
export interface StaticRouterRuleOutput extends RouterRuleOutputParent {
2023-11-15 05:16:29 +03:00
kind: "static";
2023-10-06 07:29:22 +03:00
value?: any;
}
// @public
export interface StaticWorkerSelectorAttachment extends WorkerSelectorAttachmentParent {
kind: "static";
workerSelector: RouterWorkerSelector;
}
// @public
export interface StaticWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
kind: "static";
workerSelector: RouterWorkerSelectorOutput;
}
// @public
2023-10-28 01:34:00 +03:00
export interface SuspendMode extends JobMatchingModeParent {
kind: "suspend";
2023-10-06 07:29:22 +03:00
}
// @public
2023-10-28 01:34:00 +03:00
export interface SuspendModeOutput extends JobMatchingModeOutputParent {
kind: "suspend";
2023-10-06 07:29:22 +03:00
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface Unassign {
post(options?: UnassignParameters): StreamableMethod< Unassign200Response | UnassignDefaultResponse > ;
2023-10-06 07:29:22 +03:00
}
// @public
2023-11-10 10:30:59 +03:00
export interface Unassign200Response extends HttpResponse {
2023-10-06 07:29:22 +03:00
// (undocumented)
body: UnassignJobResultOutput;
// (undocumented)
status: "200";
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface UnassignBodyParam {
2023-10-28 01:34:00 +03:00
body?: UnassignJobOptions;
2023-10-06 07:29:22 +03:00
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface UnassignDefaultHeaders {
2023-10-06 07:29:22 +03:00
"x-ms-error-code"?: string;
}
// @public (undocumented)
2023-11-10 10:30:59 +03:00
export interface UnassignDefaultResponse extends HttpResponse {
2023-10-06 07:29:22 +03:00
// (undocumented)
body: ErrorResponse;
// (undocumented)
2023-11-10 10:30:59 +03:00
headers: RawHttpHeaders & UnassignDefaultHeaders;
2023-10-06 07:29:22 +03:00
// (undocumented)
status: string;
}
// @public
2023-10-28 01:34:00 +03:00
export interface UnassignJobOptions {
2023-10-06 07:29:22 +03:00
suspendMatching?: boolean;
}
// @public
export interface UnassignJobResultOutput {
jobId: string;
unassignmentCount: number;
}
2023-11-10 10:30:59 +03:00
// @public (undocumented)
export type UnassignParameters = UnassignBodyParam & RequestParameters;
2023-10-06 07:29:22 +03:00
// @public (undocumented)
export interface UpsertClassificationPolicy {
delete(options?: DeleteClassificationPolicyParameters): StreamableMethod< DeleteClassificationPolicy204Response | DeleteClassificationPolicyDefaultResponse > ;
get(options?: GetClassificationPolicyParameters): StreamableMethod< GetClassificationPolicy200Response | GetClassificationPolicyDefaultResponse > ;
patch(options: UpsertClassificationPolicyParameters): StreamableMethod< UpsertClassificationPolicy200Response | UpsertClassificationPolicy201Response | UpsertClassificationPolicyDefaultResponse > ;
}
// @public (undocumented)
export interface UpsertClassificationPolicy200Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface UpsertClassificationPolicy200Response extends HttpResponse {
// (undocumented)
body: ClassificationPolicyOutput;
// (undocumented)
headers: RawHttpHeaders & UpsertClassificationPolicy200Headers;
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface UpsertClassificationPolicy201Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface UpsertClassificationPolicy201Response extends HttpResponse {
// (undocumented)
body: ClassificationPolicyOutput;
// (undocumented)
headers: RawHttpHeaders & UpsertClassificationPolicy201Headers;
// (undocumented)
status: "201";
}
// @public (undocumented)
export interface UpsertClassificationPolicyBodyParam {
body: ClassificationPolicyResourceMergeAndPatch;
}
// @public (undocumented)
export interface UpsertClassificationPolicyDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface UpsertClassificationPolicyDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & UpsertClassificationPolicyDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export interface UpsertClassificationPolicyHeaderParam {
// (undocumented)
headers?: RawHttpHeadersInput & UpsertClassificationPolicyHeaders;
}
// @public (undocumented)
export interface UpsertClassificationPolicyHeaders {
"If-Match"?: string;
"If-Unmodified-Since"?: string;
}
// @public (undocumented)
export interface UpsertClassificationPolicyMediaTypesParam {
contentType: "application/merge-patch+json";
}
// @public (undocumented)
export type UpsertClassificationPolicyParameters = UpsertClassificationPolicyHeaderParam & UpsertClassificationPolicyMediaTypesParam & UpsertClassificationPolicyBodyParam & RequestParameters;
// @public (undocumented)
export interface UpsertDistributionPolicy {
delete(options?: DeleteDistributionPolicyParameters): StreamableMethod< DeleteDistributionPolicy204Response | DeleteDistributionPolicyDefaultResponse > ;
get(options?: GetDistributionPolicyParameters): StreamableMethod< GetDistributionPolicy200Response | GetDistributionPolicyDefaultResponse > ;
patch(options: UpsertDistributionPolicyParameters): StreamableMethod< UpsertDistributionPolicy200Response | UpsertDistributionPolicy201Response | UpsertDistributionPolicyDefaultResponse > ;
}
// @public (undocumented)
export interface UpsertDistributionPolicy200Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface UpsertDistributionPolicy200Response extends HttpResponse {
// (undocumented)
body: DistributionPolicyOutput;
// (undocumented)
headers: RawHttpHeaders & UpsertDistributionPolicy200Headers;
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface UpsertDistributionPolicy201Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface UpsertDistributionPolicy201Response extends HttpResponse {
// (undocumented)
body: DistributionPolicyOutput;
// (undocumented)
headers: RawHttpHeaders & UpsertDistributionPolicy201Headers;
// (undocumented)
status: "201";
}
// @public (undocumented)
export interface UpsertDistributionPolicyBodyParam {
body: DistributionPolicyResourceMergeAndPatch;
}
// @public (undocumented)
export interface UpsertDistributionPolicyDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface UpsertDistributionPolicyDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & UpsertDistributionPolicyDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export interface UpsertDistributionPolicyHeaderParam {
// (undocumented)
headers?: RawHttpHeadersInput & UpsertDistributionPolicyHeaders;
}
// @public (undocumented)
export interface UpsertDistributionPolicyHeaders {
"If-Match"?: string;
"If-Unmodified-Since"?: string;
}
// @public (undocumented)
export interface UpsertDistributionPolicyMediaTypesParam {
contentType: "application/merge-patch+json";
}
// @public (undocumented)
export type UpsertDistributionPolicyParameters = UpsertDistributionPolicyHeaderParam & UpsertDistributionPolicyMediaTypesParam & UpsertDistributionPolicyBodyParam & RequestParameters;
// @public (undocumented)
export interface UpsertExceptionPolicy {
delete(options?: DeleteExceptionPolicyParameters): StreamableMethod< DeleteExceptionPolicy204Response | DeleteExceptionPolicyDefaultResponse > ;
get(options?: GetExceptionPolicyParameters): StreamableMethod< GetExceptionPolicy200Response | GetExceptionPolicyDefaultResponse > ;
patch(options: UpsertExceptionPolicyParameters): StreamableMethod< UpsertExceptionPolicy200Response | UpsertExceptionPolicy201Response | UpsertExceptionPolicyDefaultResponse > ;
}
// @public (undocumented)
export interface UpsertExceptionPolicy200Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface UpsertExceptionPolicy200Response extends HttpResponse {
// (undocumented)
body: ExceptionPolicyOutput;
// (undocumented)
headers: RawHttpHeaders & UpsertExceptionPolicy200Headers;
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface UpsertExceptionPolicy201Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface UpsertExceptionPolicy201Response extends HttpResponse {
// (undocumented)
body: ExceptionPolicyOutput;
// (undocumented)
headers: RawHttpHeaders & UpsertExceptionPolicy201Headers;
// (undocumented)
status: "201";
}
// @public (undocumented)
export interface UpsertExceptionPolicyBodyParam {
body: ExceptionPolicyResourceMergeAndPatch;
}
// @public (undocumented)
export interface UpsertExceptionPolicyDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface UpsertExceptionPolicyDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & UpsertExceptionPolicyDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export interface UpsertExceptionPolicyHeaderParam {
// (undocumented)
headers?: RawHttpHeadersInput & UpsertExceptionPolicyHeaders;
}
// @public (undocumented)
export interface UpsertExceptionPolicyHeaders {
"If-Match"?: string;
"If-Unmodified-Since"?: string;
}
// @public (undocumented)
export interface UpsertExceptionPolicyMediaTypesParam {
contentType: "application/merge-patch+json";
}
// @public (undocumented)
export type UpsertExceptionPolicyParameters = UpsertExceptionPolicyHeaderParam & UpsertExceptionPolicyMediaTypesParam & UpsertExceptionPolicyBodyParam & RequestParameters;
// @public (undocumented)
export interface UpsertJob {
delete(options?: DeleteJobParameters): StreamableMethod< DeleteJob204Response | DeleteJobDefaultResponse > ;
get(options?: GetJobParameters): StreamableMethod< GetJob200Response | GetJobDefaultResponse > ;
patch(options: UpsertJobParameters): StreamableMethod< UpsertJob200Response | UpsertJob201Response | UpsertJobDefaultResponse > ;
}
// @public (undocumented)
export interface UpsertJob200Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface UpsertJob200Response extends HttpResponse {
// (undocumented)
body: RouterJobOutput;
// (undocumented)
headers: RawHttpHeaders & UpsertJob200Headers;
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface UpsertJob201Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface UpsertJob201Response extends HttpResponse {
// (undocumented)
body: RouterJobOutput;
// (undocumented)
headers: RawHttpHeaders & UpsertJob201Headers;
// (undocumented)
status: "201";
}
// @public (undocumented)
export interface UpsertJobBodyParam {
body: RouterJobResourceMergeAndPatch;
}
// @public (undocumented)
export interface UpsertJobDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface UpsertJobDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & UpsertJobDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export interface UpsertJobHeaderParam {
// (undocumented)
headers?: RawHttpHeadersInput & UpsertJobHeaders;
}
// @public (undocumented)
export interface UpsertJobHeaders {
"If-Match"?: string;
"If-Unmodified-Since"?: string;
}
// @public (undocumented)
export interface UpsertJobMediaTypesParam {
contentType: "application/merge-patch+json";
}
// @public (undocumented)
export type UpsertJobParameters = UpsertJobHeaderParam & UpsertJobMediaTypesParam & UpsertJobBodyParam & RequestParameters;
// @public (undocumented)
export interface UpsertQueue {
delete(options?: DeleteQueueParameters): StreamableMethod< DeleteQueue204Response | DeleteQueueDefaultResponse > ;
get(options?: GetQueueParameters): StreamableMethod< GetQueue200Response | GetQueueDefaultResponse > ;
patch(options: UpsertQueueParameters): StreamableMethod< UpsertQueue200Response | UpsertQueue201Response | UpsertQueueDefaultResponse > ;
}
// @public (undocumented)
export interface UpsertQueue200Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface UpsertQueue200Response extends HttpResponse {
// (undocumented)
body: RouterQueueOutput;
// (undocumented)
headers: RawHttpHeaders & UpsertQueue200Headers;
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface UpsertQueue201Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface UpsertQueue201Response extends HttpResponse {
// (undocumented)
body: RouterQueueOutput;
// (undocumented)
headers: RawHttpHeaders & UpsertQueue201Headers;
// (undocumented)
status: "201";
}
// @public (undocumented)
export interface UpsertQueueBodyParam {
body: RouterQueueResourceMergeAndPatch;
}
// @public (undocumented)
export interface UpsertQueueDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface UpsertQueueDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & UpsertQueueDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export interface UpsertQueueHeaderParam {
// (undocumented)
headers?: RawHttpHeadersInput & UpsertQueueHeaders;
}
// @public (undocumented)
export interface UpsertQueueHeaders {
"If-Match"?: string;
"If-Unmodified-Since"?: string;
}
// @public (undocumented)
export interface UpsertQueueMediaTypesParam {
contentType: "application/merge-patch+json";
}
// @public (undocumented)
export type UpsertQueueParameters = UpsertQueueHeaderParam & UpsertQueueMediaTypesParam & UpsertQueueBodyParam & RequestParameters;
// @public (undocumented)
export interface UpsertWorker {
delete(options?: DeleteWorkerParameters): StreamableMethod< DeleteWorker204Response | DeleteWorkerDefaultResponse > ;
get(options?: GetWorkerParameters): StreamableMethod< GetWorker200Response | GetWorkerDefaultResponse > ;
patch(options: UpsertWorkerParameters): StreamableMethod< UpsertWorker200Response | UpsertWorker201Response | UpsertWorkerDefaultResponse > ;
}
// @public (undocumented)
export interface UpsertWorker200Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface UpsertWorker200Response extends HttpResponse {
// (undocumented)
body: RouterWorkerOutput;
// (undocumented)
headers: RawHttpHeaders & UpsertWorker200Headers;
// (undocumented)
status: "200";
}
// @public (undocumented)
export interface UpsertWorker201Headers {
"last-modified"?: string;
etag?: string;
}
// @public
export interface UpsertWorker201Response extends HttpResponse {
// (undocumented)
body: RouterWorkerOutput;
// (undocumented)
headers: RawHttpHeaders & UpsertWorker201Headers;
// (undocumented)
status: "201";
}
// @public (undocumented)
export interface UpsertWorkerBodyParam {
body: RouterWorkerResourceMergeAndPatch;
}
// @public (undocumented)
export interface UpsertWorkerDefaultHeaders {
"x-ms-error-code"?: string;
}
// @public (undocumented)
export interface UpsertWorkerDefaultResponse extends HttpResponse {
// (undocumented)
body: ErrorResponse;
// (undocumented)
headers: RawHttpHeaders & UpsertWorkerDefaultHeaders;
// (undocumented)
status: string;
}
// @public (undocumented)
export interface UpsertWorkerHeaderParam {
// (undocumented)
headers?: RawHttpHeadersInput & UpsertWorkerHeaders;
}
// @public (undocumented)
export interface UpsertWorkerHeaders {
"If-Match"?: string;
"If-Unmodified-Since"?: string;
}
// @public (undocumented)
export interface UpsertWorkerMediaTypesParam {
contentType: "application/merge-patch+json";
}
// @public (undocumented)
export type UpsertWorkerParameters = UpsertWorkerHeaderParam & UpsertWorkerMediaTypesParam & UpsertWorkerBodyParam & RequestParameters;
// @public
export interface WaitTimeExceptionTrigger extends ExceptionTriggerParent {
2023-11-15 05:16:29 +03:00
kind: "waitTime";
2023-10-06 07:29:22 +03:00
thresholdSeconds: number;
}
// @public
export interface WaitTimeExceptionTriggerOutput extends ExceptionTriggerOutputParent {
2023-11-15 05:16:29 +03:00
kind: "waitTime";
2023-10-06 07:29:22 +03:00
thresholdSeconds: number;
}
// @public
export interface WebhookRouterRule extends RouterRuleParent {
authorizationServerUri?: string;
2023-10-28 01:34:00 +03:00
clientCredential?: OAuth2WebhookClientCredential;
2023-11-15 05:16:29 +03:00
kind: "webhook";
2023-10-06 07:29:22 +03:00
webhookUri?: string;
}
// @public
export interface WebhookRouterRuleOutput extends RouterRuleOutputParent {
authorizationServerUri?: string;
2023-10-28 01:34:00 +03:00
clientCredential?: OAuth2WebhookClientCredentialOutput;
2023-11-15 05:16:29 +03:00
kind: "webhook";
2023-10-06 07:29:22 +03:00
webhookUri?: string;
}
// @public
export interface WeightedAllocationQueueSelectorAttachment extends QueueSelectorAttachmentParent {
allocations: Array< QueueWeightedAllocation > ;
2023-11-15 05:16:29 +03:00
kind: "weightedAllocation";
2023-10-06 07:29:22 +03:00
}
// @public
export interface WeightedAllocationQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
allocations: Array< QueueWeightedAllocationOutput > ;
2023-11-15 05:16:29 +03:00
kind: "weightedAllocation";
2023-10-06 07:29:22 +03:00
}
// @public
export interface WeightedAllocationWorkerSelectorAttachment extends WorkerSelectorAttachmentParent {
allocations: Array< WorkerWeightedAllocation > ;
2023-11-15 05:16:29 +03:00
kind: "weightedAllocation";
2023-10-06 07:29:22 +03:00
}
// @public
export interface WeightedAllocationWorkerSelectorAttachmentOutput extends WorkerSelectorAttachmentOutputParent {
allocations: Array< WorkerWeightedAllocationOutput > ;
2023-11-15 05:16:29 +03:00
kind: "weightedAllocation";
2023-10-06 07:29:22 +03:00
}
// @public
2024-03-06 03:58:08 +03:00
export type WorkerSelectorAttachment = WorkerSelectorAttachmentParent | ConditionalWorkerSelectorAttachment | PassThroughWorkerSelectorAttachment | RuleEngineWorkerSelectorAttachment | StaticWorkerSelectorAttachment | WeightedAllocationWorkerSelectorAttachment;
2023-10-06 07:29:22 +03:00
// @public
2024-03-06 03:58:08 +03:00
export type WorkerSelectorAttachmentOutput = WorkerSelectorAttachmentOutputParent | ConditionalWorkerSelectorAttachmentOutput | PassThroughWorkerSelectorAttachmentOutput | RuleEngineWorkerSelectorAttachmentOutput | StaticWorkerSelectorAttachmentOutput | WeightedAllocationWorkerSelectorAttachmentOutput;
2023-10-06 07:29:22 +03:00
// @public
export interface WorkerSelectorAttachmentOutputParent {
// (undocumented)
kind: string;
}
// @public
export interface WorkerSelectorAttachmentParent {
// (undocumented)
kind: string;
}
// @public
export interface WorkerWeightedAllocation {
weight: number;
workerSelectors: Array< RouterWorkerSelector > ;
}
// @public
export interface WorkerWeightedAllocationOutput {
weight: number;
workerSelectors: Array< RouterWorkerSelectorOutput > ;
}
// (No @packageDocumentation comment for this package)
```