@azure-rest/communication-job-router 1.1.0-beta.1 → 1.1.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -0
- package/LICENSE +21 -0
- package/README.md +168 -115
- package/dist/browser/azureCommunicationRoutingServiceClient.d.ts +14 -0
- package/dist/browser/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
- package/dist/browser/azureCommunicationRoutingServiceClient.js +41 -0
- package/dist/browser/azureCommunicationRoutingServiceClient.js.map +1 -0
- package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
- package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
- package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.js +29 -0
- package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.js.map +1 -0
- package/dist/browser/clientDefinitions.d.ts +159 -0
- package/dist/browser/clientDefinitions.d.ts.map +1 -0
- package/dist/browser/clientDefinitions.js +4 -0
- package/dist/browser/clientDefinitions.js.map +1 -0
- package/dist/browser/index.d.ts +11 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +13 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/isUnexpected.d.ts +35 -0
- package/dist/browser/isUnexpected.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/isUnexpected.js +5 -6
- package/dist/browser/isUnexpected.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/logger.js +1 -1
- package/{dist-esm/src → dist/browser}/logger.js.map +1 -1
- package/dist/browser/models.d.ts +562 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/models.js +4 -0
- package/dist/browser/models.js.map +1 -0
- package/dist/browser/outputModels.d.ts +683 -0
- package/dist/browser/outputModels.d.ts.map +1 -0
- package/dist/browser/outputModels.js +4 -0
- package/dist/browser/outputModels.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/paginateHelper.d.ts +68 -0
- package/dist/browser/paginateHelper.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/paginateHelper.js +70 -3
- package/dist/browser/paginateHelper.js.map +1 -0
- package/dist/browser/parameters.d.ts +245 -0
- package/dist/browser/parameters.d.ts.map +1 -0
- package/dist/browser/parameters.js +4 -0
- package/dist/browser/parameters.js.map +1 -0
- package/dist/browser/responses.d.ts +616 -0
- package/dist/browser/responses.d.ts.map +1 -0
- package/dist/browser/responses.js +4 -0
- package/dist/browser/responses.js.map +1 -0
- package/dist/commonjs/azureCommunicationRoutingServiceClient.d.ts +14 -0
- package/dist/commonjs/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
- package/dist/commonjs/azureCommunicationRoutingServiceClient.js +44 -0
- package/dist/commonjs/azureCommunicationRoutingServiceClient.js.map +1 -0
- package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
- package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
- package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.js +33 -0
- package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.js.map +1 -0
- package/dist/commonjs/clientDefinitions.d.ts +159 -0
- package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
- package/dist/commonjs/clientDefinitions.js +5 -0
- package/dist/commonjs/clientDefinitions.js.map +1 -0
- package/dist/commonjs/index.d.ts +11 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +16 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/isUnexpected.d.ts +35 -0
- package/dist/commonjs/isUnexpected.d.ts.map +1 -0
- package/dist/commonjs/isUnexpected.js +104 -0
- package/dist/commonjs/isUnexpected.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models.d.ts +562 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/outputModels.d.ts +683 -0
- package/dist/commonjs/outputModels.d.ts.map +1 -0
- package/dist/commonjs/outputModels.js +5 -0
- package/dist/commonjs/outputModels.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/paginateHelper.d.ts +68 -0
- package/dist/commonjs/paginateHelper.d.ts.map +1 -0
- package/dist/commonjs/paginateHelper.js +140 -0
- package/dist/commonjs/paginateHelper.js.map +1 -0
- package/dist/commonjs/parameters.d.ts +245 -0
- package/dist/commonjs/parameters.d.ts.map +1 -0
- package/dist/commonjs/parameters.js +5 -0
- package/dist/commonjs/parameters.js.map +1 -0
- package/dist/commonjs/responses.d.ts +616 -0
- package/dist/commonjs/responses.d.ts.map +1 -0
- package/dist/commonjs/responses.js +5 -0
- package/dist/commonjs/responses.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/azureCommunicationRoutingServiceClient.d.ts +14 -0
- package/dist/esm/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
- package/dist/esm/azureCommunicationRoutingServiceClient.js +41 -0
- package/dist/esm/azureCommunicationRoutingServiceClient.js.map +1 -0
- package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
- package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
- package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.js +29 -0
- package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.js.map +1 -0
- package/dist/esm/clientDefinitions.d.ts +159 -0
- package/dist/esm/clientDefinitions.d.ts.map +1 -0
- package/dist/esm/clientDefinitions.js +4 -0
- package/dist/esm/clientDefinitions.js.map +1 -0
- package/dist/esm/index.d.ts +11 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +13 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isUnexpected.d.ts +35 -0
- package/dist/esm/isUnexpected.d.ts.map +1 -0
- package/dist/esm/isUnexpected.js +101 -0
- package/dist/esm/isUnexpected.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models.d.ts +562 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/outputModels.d.ts +683 -0
- package/dist/esm/outputModels.d.ts.map +1 -0
- package/dist/esm/outputModels.js +4 -0
- package/dist/esm/outputModels.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/paginateHelper.d.ts +68 -0
- package/dist/esm/paginateHelper.d.ts.map +1 -0
- package/dist/esm/paginateHelper.js +137 -0
- package/dist/esm/paginateHelper.js.map +1 -0
- package/dist/esm/parameters.d.ts +245 -0
- package/dist/esm/parameters.d.ts.map +1 -0
- package/dist/esm/parameters.js +4 -0
- package/dist/esm/parameters.js.map +1 -0
- package/dist/esm/responses.d.ts +616 -0
- package/dist/esm/responses.d.ts.map +1 -0
- package/dist/esm/responses.js +4 -0
- package/dist/esm/responses.js.map +1 -0
- package/dist/react-native/azureCommunicationRoutingServiceClient.d.ts +14 -0
- package/dist/react-native/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
- package/dist/react-native/azureCommunicationRoutingServiceClient.js +41 -0
- package/dist/react-native/azureCommunicationRoutingServiceClient.js.map +1 -0
- package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
- package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
- package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.js +29 -0
- package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.js.map +1 -0
- package/dist/react-native/clientDefinitions.d.ts +159 -0
- package/dist/react-native/clientDefinitions.d.ts.map +1 -0
- package/dist/react-native/clientDefinitions.js +4 -0
- package/dist/react-native/clientDefinitions.js.map +1 -0
- package/dist/react-native/index.d.ts +11 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/isUnexpected.d.ts +35 -0
- package/dist/react-native/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/isUnexpected.js +101 -0
- package/dist/react-native/isUnexpected.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models.d.ts +562 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/outputModels.d.ts +683 -0
- package/dist/react-native/outputModels.d.ts.map +1 -0
- package/dist/react-native/outputModels.js +4 -0
- package/dist/react-native/outputModels.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/paginateHelper.d.ts +68 -0
- package/dist/react-native/paginateHelper.d.ts.map +1 -0
- package/dist/react-native/paginateHelper.js +137 -0
- package/dist/react-native/paginateHelper.js.map +1 -0
- package/dist/react-native/parameters.d.ts +245 -0
- package/dist/react-native/parameters.d.ts.map +1 -0
- package/dist/react-native/parameters.js +4 -0
- package/dist/react-native/parameters.js.map +1 -0
- package/dist/react-native/responses.d.ts +616 -0
- package/dist/react-native/responses.d.ts.map +1 -0
- package/dist/react-native/responses.js +4 -0
- package/dist/react-native/responses.js.map +1 -0
- package/package.json +84 -75
- package/review/{communication-job-router.api.md → communication-job-router-node.api.md} +168 -55
- package/dist/index.js +0 -229
- package/dist/index.js.map +0 -1
- package/dist-esm/src/azureCommunicationRoutingServiceClient.js +0 -42
- package/dist-esm/src/azureCommunicationRoutingServiceClient.js.map +0 -1
- package/dist-esm/src/clientDefinitions.js +0 -4
- package/dist-esm/src/clientDefinitions.js.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/isUnexpected.js.map +0 -1
- package/dist-esm/src/models.js +0 -4
- package/dist-esm/src/models.js.map +0 -1
- package/dist-esm/src/outputModels.js +0 -4
- package/dist-esm/src/outputModels.js.map +0 -1
- package/dist-esm/src/paginateHelper.js.map +0 -1
- package/dist-esm/src/parameters.js +0 -4
- package/dist-esm/src/parameters.js.map +0 -1
- package/dist-esm/src/responses.js +0 -4
- package/dist-esm/src/responses.js.map +0 -1
- package/types/communication-job-router.d.ts +0 -2677
|
@@ -4,19 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
import { Client } from '@azure-rest/core-client';
|
|
8
|
-
import { ClientOptions } from '@azure-rest/core-client';
|
|
9
|
-
import { ErrorResponse } from '@azure-rest/core-client';
|
|
10
|
-
import { HttpResponse } from '@azure-rest/core-client';
|
|
11
|
-
import { KeyCredential } from '@azure/core-auth';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { StreamableMethod } from '@azure-rest/core-client';
|
|
19
|
-
import { TokenCredential } from '@azure/core-auth';
|
|
7
|
+
import type { Client } from '@azure-rest/core-client';
|
|
8
|
+
import type { ClientOptions } from '@azure-rest/core-client';
|
|
9
|
+
import type { ErrorResponse } from '@azure-rest/core-client';
|
|
10
|
+
import type { HttpResponse } from '@azure-rest/core-client';
|
|
11
|
+
import type { KeyCredential } from '@azure/core-auth';
|
|
12
|
+
import type { PathUncheckedResponse } from '@azure-rest/core-client';
|
|
13
|
+
import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
14
|
+
import type { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
|
|
15
|
+
import type { RequestParameters } from '@azure-rest/core-client';
|
|
16
|
+
import type { StreamableMethod } from '@azure-rest/core-client';
|
|
17
|
+
import type { TokenCredential } from '@azure/core-auth';
|
|
20
18
|
|
|
21
19
|
// @public (undocumented)
|
|
22
20
|
export interface Accept {
|
|
@@ -61,6 +59,11 @@ export type AzureCommunicationRoutingServiceClient = Client & {
|
|
|
61
59
|
path: Routes;
|
|
62
60
|
};
|
|
63
61
|
|
|
62
|
+
// @public
|
|
63
|
+
export interface AzureCommunicationRoutingServiceClientOptions extends ClientOptions {
|
|
64
|
+
apiVersion?: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
64
67
|
// @public
|
|
65
68
|
export interface BestWorkerMode extends DistributionModeParent {
|
|
66
69
|
kind: "bestWorker";
|
|
@@ -487,6 +490,12 @@ export interface DirectMapRouterRuleOutput extends RouterRuleOutputParent {
|
|
|
487
490
|
// @public
|
|
488
491
|
export type DistributionMode = DistributionModeParent | BestWorkerMode | LongestIdleMode | RoundRobinMode;
|
|
489
492
|
|
|
493
|
+
// @public
|
|
494
|
+
export type DistributionModeKind = string;
|
|
495
|
+
|
|
496
|
+
// @public
|
|
497
|
+
export type DistributionModeKindOutput = string;
|
|
498
|
+
|
|
490
499
|
// @public
|
|
491
500
|
export type DistributionModeOutput = DistributionModeOutputParent | BestWorkerModeOutput | LongestIdleModeOutput | RoundRobinModeOutput;
|
|
492
501
|
|
|
@@ -494,7 +503,7 @@ export type DistributionModeOutput = DistributionModeOutputParent | BestWorkerMo
|
|
|
494
503
|
export interface DistributionModeOutputParent {
|
|
495
504
|
bypassSelectors?: boolean;
|
|
496
505
|
// (undocumented)
|
|
497
|
-
kind:
|
|
506
|
+
kind: DistributionModeKindOutput;
|
|
498
507
|
maxConcurrentOffers?: number;
|
|
499
508
|
minConcurrentOffers?: number;
|
|
500
509
|
}
|
|
@@ -503,7 +512,7 @@ export interface DistributionModeOutputParent {
|
|
|
503
512
|
export interface DistributionModeParent {
|
|
504
513
|
bypassSelectors?: boolean;
|
|
505
514
|
// (undocumented)
|
|
506
|
-
kind:
|
|
515
|
+
kind: DistributionModeKind;
|
|
507
516
|
maxConcurrentOffers?: number;
|
|
508
517
|
minConcurrentOffers?: number;
|
|
509
518
|
}
|
|
@@ -530,6 +539,12 @@ export type DistributionPolicyResourceMergeAndPatch = Partial<DistributionPolicy
|
|
|
530
539
|
// @public
|
|
531
540
|
export type ExceptionAction = ExceptionActionParent | CancelExceptionAction | ManualReclassifyExceptionAction | ReclassifyExceptionAction;
|
|
532
541
|
|
|
542
|
+
// @public
|
|
543
|
+
export type ExceptionActionKind = string;
|
|
544
|
+
|
|
545
|
+
// @public
|
|
546
|
+
export type ExceptionActionKindOutput = string;
|
|
547
|
+
|
|
533
548
|
// @public
|
|
534
549
|
export type ExceptionActionOutput = ExceptionActionOutputParent | CancelExceptionActionOutput | ManualReclassifyExceptionActionOutput | ReclassifyExceptionActionOutput;
|
|
535
550
|
|
|
@@ -537,14 +552,14 @@ export type ExceptionActionOutput = ExceptionActionOutputParent | CancelExceptio
|
|
|
537
552
|
export interface ExceptionActionOutputParent {
|
|
538
553
|
id?: string;
|
|
539
554
|
// (undocumented)
|
|
540
|
-
kind:
|
|
555
|
+
kind: ExceptionActionKindOutput;
|
|
541
556
|
}
|
|
542
557
|
|
|
543
558
|
// @public
|
|
544
559
|
export interface ExceptionActionParent {
|
|
545
560
|
id?: string;
|
|
546
561
|
// (undocumented)
|
|
547
|
-
kind:
|
|
562
|
+
kind: ExceptionActionKind;
|
|
548
563
|
}
|
|
549
564
|
|
|
550
565
|
// @public
|
|
@@ -581,33 +596,45 @@ export interface ExceptionRuleOutput {
|
|
|
581
596
|
// @public
|
|
582
597
|
export type ExceptionTrigger = ExceptionTriggerParent | QueueLengthExceptionTrigger | WaitTimeExceptionTrigger;
|
|
583
598
|
|
|
599
|
+
// @public
|
|
600
|
+
export type ExceptionTriggerKind = string;
|
|
601
|
+
|
|
602
|
+
// @public
|
|
603
|
+
export type ExceptionTriggerKindOutput = string;
|
|
604
|
+
|
|
584
605
|
// @public
|
|
585
606
|
export type ExceptionTriggerOutput = ExceptionTriggerOutputParent | QueueLengthExceptionTriggerOutput | WaitTimeExceptionTriggerOutput;
|
|
586
607
|
|
|
587
608
|
// @public
|
|
588
609
|
export interface ExceptionTriggerOutputParent {
|
|
589
610
|
// (undocumented)
|
|
590
|
-
kind:
|
|
611
|
+
kind: ExceptionTriggerKindOutput;
|
|
591
612
|
}
|
|
592
613
|
|
|
593
614
|
// @public
|
|
594
615
|
export interface ExceptionTriggerParent {
|
|
595
616
|
// (undocumented)
|
|
596
|
-
kind:
|
|
617
|
+
kind: ExceptionTriggerKind;
|
|
597
618
|
}
|
|
598
619
|
|
|
599
620
|
// @public
|
|
600
621
|
export interface ExpressionRouterRule extends RouterRuleParent {
|
|
601
622
|
expression: string;
|
|
602
623
|
kind: "expression";
|
|
603
|
-
language?:
|
|
624
|
+
language?: ExpressionRouterRuleLanguage;
|
|
604
625
|
}
|
|
605
626
|
|
|
627
|
+
// @public
|
|
628
|
+
export type ExpressionRouterRuleLanguage = string;
|
|
629
|
+
|
|
630
|
+
// @public
|
|
631
|
+
export type ExpressionRouterRuleLanguageOutput = string;
|
|
632
|
+
|
|
606
633
|
// @public
|
|
607
634
|
export interface ExpressionRouterRuleOutput extends RouterRuleOutputParent {
|
|
608
635
|
expression: string;
|
|
609
636
|
kind: "expression";
|
|
610
|
-
language?:
|
|
637
|
+
language?: ExpressionRouterRuleLanguageOutput;
|
|
611
638
|
}
|
|
612
639
|
|
|
613
640
|
// @public
|
|
@@ -809,7 +836,7 @@ export interface GetJobDefaultResponse extends HttpResponse {
|
|
|
809
836
|
export type GetJobParameters = RequestParameters;
|
|
810
837
|
|
|
811
838
|
// @public
|
|
812
|
-
export type GetPage<TPage> = (pageLink: string
|
|
839
|
+
export type GetPage<TPage> = (pageLink: string) => Promise<{
|
|
813
840
|
page: TPage;
|
|
814
841
|
nextPageLink?: string;
|
|
815
842
|
}>;
|
|
@@ -1015,21 +1042,33 @@ export function isUnexpected(response: ListWorkers200Response | ListWorkersDefau
|
|
|
1015
1042
|
// @public
|
|
1016
1043
|
export type JobMatchingMode = JobMatchingModeParent | ScheduleAndSuspendMode | QueueAndMatchMode | SuspendMode;
|
|
1017
1044
|
|
|
1045
|
+
// @public
|
|
1046
|
+
export type JobMatchingModeKind = string;
|
|
1047
|
+
|
|
1048
|
+
// @public
|
|
1049
|
+
export type JobMatchingModeKindOutput = string;
|
|
1050
|
+
|
|
1018
1051
|
// @public
|
|
1019
1052
|
export type JobMatchingModeOutput = JobMatchingModeOutputParent | ScheduleAndSuspendModeOutput | QueueAndMatchModeOutput | SuspendModeOutput;
|
|
1020
1053
|
|
|
1021
1054
|
// @public
|
|
1022
1055
|
export interface JobMatchingModeOutputParent {
|
|
1023
1056
|
// (undocumented)
|
|
1024
|
-
kind:
|
|
1057
|
+
kind: JobMatchingModeKindOutput;
|
|
1025
1058
|
}
|
|
1026
1059
|
|
|
1027
1060
|
// @public
|
|
1028
1061
|
export interface JobMatchingModeParent {
|
|
1029
1062
|
// (undocumented)
|
|
1030
|
-
kind:
|
|
1063
|
+
kind: JobMatchingModeKind;
|
|
1031
1064
|
}
|
|
1032
1065
|
|
|
1066
|
+
// @public
|
|
1067
|
+
export type LabelOperator = string;
|
|
1068
|
+
|
|
1069
|
+
// @public
|
|
1070
|
+
export type LabelOperatorOutput = string;
|
|
1071
|
+
|
|
1033
1072
|
// @public (undocumented)
|
|
1034
1073
|
export interface ListClassificationPolicies {
|
|
1035
1074
|
get(options?: ListClassificationPoliciesParameters): StreamableMethod<ListClassificationPolicies200Response | ListClassificationPoliciesDefaultResponse>;
|
|
@@ -1201,7 +1240,7 @@ export interface ListJobsQueryParamProperties {
|
|
|
1201
1240
|
queueId?: string;
|
|
1202
1241
|
scheduledAfter?: Date | string;
|
|
1203
1242
|
scheduledBefore?: Date | string;
|
|
1204
|
-
status?:
|
|
1243
|
+
status?: RouterJobStatusSelector;
|
|
1205
1244
|
}
|
|
1206
1245
|
|
|
1207
1246
|
// @public (undocumented)
|
|
@@ -1289,7 +1328,7 @@ export interface ListWorkersQueryParamProperties {
|
|
|
1289
1328
|
hasCapacity?: boolean;
|
|
1290
1329
|
maxpagesize?: number;
|
|
1291
1330
|
queueId?: string;
|
|
1292
|
-
state?:
|
|
1331
|
+
state?: RouterWorkerStateSelector;
|
|
1293
1332
|
}
|
|
1294
1333
|
|
|
1295
1334
|
// @public
|
|
@@ -1331,22 +1370,52 @@ export interface OAuth2WebhookClientCredentialOutput {
|
|
|
1331
1370
|
}
|
|
1332
1371
|
|
|
1333
1372
|
// @public
|
|
1334
|
-
export
|
|
1373
|
+
export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
|
|
1374
|
+
[Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
|
|
1375
|
+
byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
|
|
1376
|
+
next(): Promise<IteratorResult<TElement>>;
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
// @public
|
|
1380
|
+
export interface PagedClassificationPolicyOutput {
|
|
1381
|
+
nextLink?: string;
|
|
1382
|
+
value: Array<ClassificationPolicyOutput>;
|
|
1383
|
+
}
|
|
1335
1384
|
|
|
1336
1385
|
// @public
|
|
1337
|
-
export
|
|
1386
|
+
export interface PagedDistributionPolicyOutput {
|
|
1387
|
+
nextLink?: string;
|
|
1388
|
+
value: Array<DistributionPolicyOutput>;
|
|
1389
|
+
}
|
|
1338
1390
|
|
|
1339
1391
|
// @public
|
|
1340
|
-
export
|
|
1392
|
+
export interface PagedExceptionPolicyOutput {
|
|
1393
|
+
nextLink?: string;
|
|
1394
|
+
value: Array<ExceptionPolicyOutput>;
|
|
1395
|
+
}
|
|
1341
1396
|
|
|
1342
1397
|
// @public
|
|
1343
|
-
export
|
|
1398
|
+
export interface PagedRouterJobOutput {
|
|
1399
|
+
nextLink?: string;
|
|
1400
|
+
value: Array<RouterJobOutput>;
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
// @public
|
|
1404
|
+
export interface PagedRouterQueueOutput {
|
|
1405
|
+
nextLink?: string;
|
|
1406
|
+
value: Array<RouterQueueOutput>;
|
|
1407
|
+
}
|
|
1344
1408
|
|
|
1345
1409
|
// @public
|
|
1346
|
-
export
|
|
1410
|
+
export interface PagedRouterWorkerOutput {
|
|
1411
|
+
nextLink?: string;
|
|
1412
|
+
value: Array<RouterWorkerOutput>;
|
|
1413
|
+
}
|
|
1347
1414
|
|
|
1348
1415
|
// @public
|
|
1349
|
-
export
|
|
1416
|
+
export interface PageSettings {
|
|
1417
|
+
continuationToken?: string;
|
|
1418
|
+
}
|
|
1350
1419
|
|
|
1351
1420
|
// @public
|
|
1352
1421
|
export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
|
|
@@ -1367,14 +1436,14 @@ export interface PagingOptions<TResponse> {
|
|
|
1367
1436
|
export interface PassThroughQueueSelectorAttachment extends QueueSelectorAttachmentParent {
|
|
1368
1437
|
key: string;
|
|
1369
1438
|
kind: "passThrough";
|
|
1370
|
-
labelOperator:
|
|
1439
|
+
labelOperator: LabelOperator;
|
|
1371
1440
|
}
|
|
1372
1441
|
|
|
1373
1442
|
// @public
|
|
1374
1443
|
export interface PassThroughQueueSelectorAttachmentOutput extends QueueSelectorAttachmentOutputParent {
|
|
1375
1444
|
key: string;
|
|
1376
1445
|
kind: "passThrough";
|
|
1377
|
-
labelOperator:
|
|
1446
|
+
labelOperator: LabelOperatorOutput;
|
|
1378
1447
|
}
|
|
1379
1448
|
|
|
1380
1449
|
// @public
|
|
@@ -1382,7 +1451,7 @@ export interface PassThroughWorkerSelectorAttachment extends WorkerSelectorAttac
|
|
|
1382
1451
|
expiresAfterSeconds?: number;
|
|
1383
1452
|
key: string;
|
|
1384
1453
|
kind: "passThrough";
|
|
1385
|
-
labelOperator:
|
|
1454
|
+
labelOperator: LabelOperator;
|
|
1386
1455
|
}
|
|
1387
1456
|
|
|
1388
1457
|
// @public
|
|
@@ -1390,7 +1459,7 @@ export interface PassThroughWorkerSelectorAttachmentOutput extends WorkerSelecto
|
|
|
1390
1459
|
expiresAfterSeconds?: number;
|
|
1391
1460
|
key: string;
|
|
1392
1461
|
kind: "passThrough";
|
|
1393
|
-
labelOperator:
|
|
1462
|
+
labelOperator: LabelOperatorOutput;
|
|
1394
1463
|
}
|
|
1395
1464
|
|
|
1396
1465
|
// @public
|
|
@@ -1418,19 +1487,25 @@ export interface QueueLengthExceptionTriggerOutput extends ExceptionTriggerOutpu
|
|
|
1418
1487
|
// @public
|
|
1419
1488
|
export type QueueSelectorAttachment = QueueSelectorAttachmentParent | ConditionalQueueSelectorAttachment | PassThroughQueueSelectorAttachment | RuleEngineQueueSelectorAttachment | StaticQueueSelectorAttachment | WeightedAllocationQueueSelectorAttachment;
|
|
1420
1489
|
|
|
1490
|
+
// @public
|
|
1491
|
+
export type QueueSelectorAttachmentKind = string;
|
|
1492
|
+
|
|
1493
|
+
// @public
|
|
1494
|
+
export type QueueSelectorAttachmentKindOutput = string;
|
|
1495
|
+
|
|
1421
1496
|
// @public
|
|
1422
1497
|
export type QueueSelectorAttachmentOutput = QueueSelectorAttachmentOutputParent | ConditionalQueueSelectorAttachmentOutput | PassThroughQueueSelectorAttachmentOutput | RuleEngineQueueSelectorAttachmentOutput | StaticQueueSelectorAttachmentOutput | WeightedAllocationQueueSelectorAttachmentOutput;
|
|
1423
1498
|
|
|
1424
1499
|
// @public
|
|
1425
1500
|
export interface QueueSelectorAttachmentOutputParent {
|
|
1426
1501
|
// (undocumented)
|
|
1427
|
-
kind:
|
|
1502
|
+
kind: QueueSelectorAttachmentKindOutput;
|
|
1428
1503
|
}
|
|
1429
1504
|
|
|
1430
1505
|
// @public
|
|
1431
1506
|
export interface QueueSelectorAttachmentParent {
|
|
1432
1507
|
// (undocumented)
|
|
1433
|
-
kind:
|
|
1508
|
+
kind: QueueSelectorAttachmentKind;
|
|
1434
1509
|
}
|
|
1435
1510
|
|
|
1436
1511
|
// @public
|
|
@@ -1527,10 +1602,6 @@ export interface RouterChannelOutput {
|
|
|
1527
1602
|
maxNumberOfJobs?: number;
|
|
1528
1603
|
}
|
|
1529
1604
|
|
|
1530
|
-
// @public
|
|
1531
|
-
export interface RouterConditionalRequestHeadersOutput {
|
|
1532
|
-
}
|
|
1533
|
-
|
|
1534
1605
|
// @public
|
|
1535
1606
|
export interface RouterJob {
|
|
1536
1607
|
channelId?: string;
|
|
@@ -1610,7 +1681,7 @@ export interface RouterJobOutput {
|
|
|
1610
1681
|
queueId?: string;
|
|
1611
1682
|
requestedWorkerSelectors?: Array<RouterWorkerSelectorOutput>;
|
|
1612
1683
|
readonly scheduledAt?: string;
|
|
1613
|
-
readonly status?:
|
|
1684
|
+
readonly status?: RouterJobStatusOutput;
|
|
1614
1685
|
tags?: Record<string, any>;
|
|
1615
1686
|
}
|
|
1616
1687
|
|
|
@@ -1626,6 +1697,15 @@ export interface RouterJobPositionDetailsOutput {
|
|
|
1626
1697
|
// @public
|
|
1627
1698
|
export type RouterJobResourceMergeAndPatch = Partial<RouterJob>;
|
|
1628
1699
|
|
|
1700
|
+
// @public
|
|
1701
|
+
export type RouterJobStatus = string;
|
|
1702
|
+
|
|
1703
|
+
// @public
|
|
1704
|
+
export type RouterJobStatusOutput = string;
|
|
1705
|
+
|
|
1706
|
+
// @public
|
|
1707
|
+
export type RouterJobStatusSelector = string;
|
|
1708
|
+
|
|
1629
1709
|
// @public
|
|
1630
1710
|
export interface RouterQueue {
|
|
1631
1711
|
distributionPolicyId?: string;
|
|
@@ -1650,14 +1730,14 @@ export type RouterQueueResourceMergeAndPatch = Partial<RouterQueue>;
|
|
|
1650
1730
|
// @public
|
|
1651
1731
|
export interface RouterQueueSelector {
|
|
1652
1732
|
key: string;
|
|
1653
|
-
labelOperator:
|
|
1733
|
+
labelOperator: LabelOperator;
|
|
1654
1734
|
value?: unknown;
|
|
1655
1735
|
}
|
|
1656
1736
|
|
|
1657
1737
|
// @public
|
|
1658
1738
|
export interface RouterQueueSelectorOutput {
|
|
1659
1739
|
key: string;
|
|
1660
|
-
labelOperator:
|
|
1740
|
+
labelOperator: LabelOperatorOutput;
|
|
1661
1741
|
value?: any;
|
|
1662
1742
|
}
|
|
1663
1743
|
|
|
@@ -1672,19 +1752,25 @@ export interface RouterQueueStatisticsOutput {
|
|
|
1672
1752
|
// @public
|
|
1673
1753
|
export type RouterRule = RouterRuleParent | DirectMapRouterRule | ExpressionRouterRule | FunctionRouterRule | StaticRouterRule | WebhookRouterRule;
|
|
1674
1754
|
|
|
1755
|
+
// @public
|
|
1756
|
+
export type RouterRuleKind = string;
|
|
1757
|
+
|
|
1758
|
+
// @public
|
|
1759
|
+
export type RouterRuleKindOutput = string;
|
|
1760
|
+
|
|
1675
1761
|
// @public
|
|
1676
1762
|
export type RouterRuleOutput = RouterRuleOutputParent | DirectMapRouterRuleOutput | ExpressionRouterRuleOutput | FunctionRouterRuleOutput | StaticRouterRuleOutput | WebhookRouterRuleOutput;
|
|
1677
1763
|
|
|
1678
1764
|
// @public
|
|
1679
1765
|
export interface RouterRuleOutputParent {
|
|
1680
1766
|
// (undocumented)
|
|
1681
|
-
kind:
|
|
1767
|
+
kind: RouterRuleKindOutput;
|
|
1682
1768
|
}
|
|
1683
1769
|
|
|
1684
1770
|
// @public
|
|
1685
1771
|
export interface RouterRuleParent {
|
|
1686
1772
|
// (undocumented)
|
|
1687
|
-
kind:
|
|
1773
|
+
kind: RouterRuleKind;
|
|
1688
1774
|
}
|
|
1689
1775
|
|
|
1690
1776
|
// @public
|
|
@@ -1727,7 +1813,7 @@ export interface RouterWorkerOutput {
|
|
|
1727
1813
|
maxConcurrentOffers?: number;
|
|
1728
1814
|
readonly offers?: Array<RouterJobOfferOutput>;
|
|
1729
1815
|
queues?: string[];
|
|
1730
|
-
readonly state?:
|
|
1816
|
+
readonly state?: RouterWorkerStateOutput;
|
|
1731
1817
|
tags?: Record<string, any>;
|
|
1732
1818
|
}
|
|
1733
1819
|
|
|
@@ -1739,7 +1825,7 @@ export interface RouterWorkerSelector {
|
|
|
1739
1825
|
expedite?: boolean;
|
|
1740
1826
|
expiresAfterSeconds?: number;
|
|
1741
1827
|
key: string;
|
|
1742
|
-
labelOperator:
|
|
1828
|
+
labelOperator: LabelOperator;
|
|
1743
1829
|
value?: unknown;
|
|
1744
1830
|
}
|
|
1745
1831
|
|
|
@@ -1749,11 +1835,26 @@ export interface RouterWorkerSelectorOutput {
|
|
|
1749
1835
|
expiresAfterSeconds?: number;
|
|
1750
1836
|
readonly expiresAt?: string;
|
|
1751
1837
|
key: string;
|
|
1752
|
-
labelOperator:
|
|
1753
|
-
readonly status?:
|
|
1838
|
+
labelOperator: LabelOperatorOutput;
|
|
1839
|
+
readonly status?: RouterWorkerSelectorStatusOutput;
|
|
1754
1840
|
value?: any;
|
|
1755
1841
|
}
|
|
1756
1842
|
|
|
1843
|
+
// @public
|
|
1844
|
+
export type RouterWorkerSelectorStatus = string;
|
|
1845
|
+
|
|
1846
|
+
// @public
|
|
1847
|
+
export type RouterWorkerSelectorStatusOutput = string;
|
|
1848
|
+
|
|
1849
|
+
// @public
|
|
1850
|
+
export type RouterWorkerState = string;
|
|
1851
|
+
|
|
1852
|
+
// @public
|
|
1853
|
+
export type RouterWorkerStateOutput = string;
|
|
1854
|
+
|
|
1855
|
+
// @public
|
|
1856
|
+
export type RouterWorkerStateSelector = string;
|
|
1857
|
+
|
|
1757
1858
|
// @public (undocumented)
|
|
1758
1859
|
export interface Routes {
|
|
1759
1860
|
(path: "/routing/classificationPolicies/{classificationPolicyId}", classificationPolicyId: string): UpsertClassificationPolicy;
|
|
@@ -1820,7 +1921,7 @@ export interface ScoringRuleOptions {
|
|
|
1820
1921
|
batchSize?: number;
|
|
1821
1922
|
descendingOrder?: boolean;
|
|
1822
1923
|
isBatchScoringEnabled?: boolean;
|
|
1823
|
-
scoringParameters?:
|
|
1924
|
+
scoringParameters?: ScoringRuleParameterSelector[];
|
|
1824
1925
|
}
|
|
1825
1926
|
|
|
1826
1927
|
// @public
|
|
@@ -1828,9 +1929,15 @@ export interface ScoringRuleOptionsOutput {
|
|
|
1828
1929
|
batchSize?: number;
|
|
1829
1930
|
descendingOrder?: boolean;
|
|
1830
1931
|
isBatchScoringEnabled?: boolean;
|
|
1831
|
-
scoringParameters?:
|
|
1932
|
+
scoringParameters?: ScoringRuleParameterSelectorOutput[];
|
|
1832
1933
|
}
|
|
1833
1934
|
|
|
1935
|
+
// @public
|
|
1936
|
+
export type ScoringRuleParameterSelector = string;
|
|
1937
|
+
|
|
1938
|
+
// @public
|
|
1939
|
+
export type ScoringRuleParameterSelectorOutput = string;
|
|
1940
|
+
|
|
1834
1941
|
// @public
|
|
1835
1942
|
export interface StaticQueueSelectorAttachment extends QueueSelectorAttachmentParent {
|
|
1836
1943
|
kind: "static";
|
|
@@ -2453,19 +2560,25 @@ export interface WeightedAllocationWorkerSelectorAttachmentOutput extends Worker
|
|
|
2453
2560
|
// @public
|
|
2454
2561
|
export type WorkerSelectorAttachment = WorkerSelectorAttachmentParent | ConditionalWorkerSelectorAttachment | PassThroughWorkerSelectorAttachment | RuleEngineWorkerSelectorAttachment | StaticWorkerSelectorAttachment | WeightedAllocationWorkerSelectorAttachment;
|
|
2455
2562
|
|
|
2563
|
+
// @public
|
|
2564
|
+
export type WorkerSelectorAttachmentKind = string;
|
|
2565
|
+
|
|
2566
|
+
// @public
|
|
2567
|
+
export type WorkerSelectorAttachmentKindOutput = string;
|
|
2568
|
+
|
|
2456
2569
|
// @public
|
|
2457
2570
|
export type WorkerSelectorAttachmentOutput = WorkerSelectorAttachmentOutputParent | ConditionalWorkerSelectorAttachmentOutput | PassThroughWorkerSelectorAttachmentOutput | RuleEngineWorkerSelectorAttachmentOutput | StaticWorkerSelectorAttachmentOutput | WeightedAllocationWorkerSelectorAttachmentOutput;
|
|
2458
2571
|
|
|
2459
2572
|
// @public
|
|
2460
2573
|
export interface WorkerSelectorAttachmentOutputParent {
|
|
2461
2574
|
// (undocumented)
|
|
2462
|
-
kind:
|
|
2575
|
+
kind: WorkerSelectorAttachmentKindOutput;
|
|
2463
2576
|
}
|
|
2464
2577
|
|
|
2465
2578
|
// @public
|
|
2466
2579
|
export interface WorkerSelectorAttachmentParent {
|
|
2467
2580
|
// (undocumented)
|
|
2468
|
-
kind:
|
|
2581
|
+
kind: WorkerSelectorAttachmentKind;
|
|
2469
2582
|
}
|
|
2470
2583
|
|
|
2471
2584
|
// @public
|