1.0.0 (2023-12-05)
Breaking Changes
RouterAdministrationClient
-
listQueues
returnsPagedIterable<RouterQueue>
rather thanPagedIterable<RouterQueueItem>
-
listDistributionPolicies
returnsPagedIterable<DistributionPolicy>
rather thanPagedIterable<DistributionPolicyItem>
-
listClassificationPolicies
returnsPagedIterable<ClassificationPolicy>
rather thanPagedIterable<ClassificationPolicyItem>
-
listExceptionPolicies
returnsPagedIterable<ExceptionPolicy>
rather thanPagedIterable<ExceptionPolicyItem>
-
Response objects of create, update, get and list methods are changed to return BinaryData.
-
update, get, list and delete methods are updated to take RequestOptions in request instead of entity options classes like UpdateClassificationPolicyOptions.
RouterClient
-
listJobs
returnsPagedIterable<RouterJob>
rather thanPagedIterable<RouterJobItem>
-
listWorkers
returnsPagedIterable<RouterWorker>
rather thanPagedIterable<RouterJobWorker>
-
Response objects of create, update, get and list methods are changed to return BinaryData.
-
update, get, list and delete methods are updated to take RequestOptions in request instead of entity options classes like UpdateWorkerOptions.
RouterJobNote
- Changed constructor from
RouterJobNote()
toRouterJobNote(string message)
- Removed setter from
Message
RouterWorker && CreateWorkerOptions
- Rename property
QueueAssignments
->Queues
Queues
- ChangedMap<String, RouterQueueAssignment>
->List<String>
- Rename property
TotalCapacity
->Capacity
- Rename property
ChannelConfigurations
->Channels
Channels
- ChangedMap<String, ChannelConfiguration>
->List<RouterChannel>
ClassificationPolicy && CreateClassificationPolicyOptions
- Property
List<QueueSelectorAttachment> QueueSelectors
changed toList<QueueSelectorAttachment> QueueSelectorAttachments
- Property
List<WorkerSelectorAttachment> WorkerSelectors
changed toList<WorkerSelectorAttachment> WorkerSelectorAttachments
ExceptionPolicy && CreateExceptionPolicyOptions
- Property
ExceptionRules
- Changed fromMap<String, ExceptionRule>
->List<ExceptionRule>
ExceptionRule
Actions
- ChangedMap<String, ExceptionAction>
->List<ExceptionAction>
CancelExceptionAction
- Changed constructor from
CancelExceptionAction(String note = null, String dispositionCode = null)
toCancelExceptionAction()
ReclassifyExceptionAction
- Changed constructor from
ReclassifyExceptionAction(String classificationPolicyId, Map<String, LabelValue> labelsToUpsert = null)
toReclassifyExceptionAction()
- Removed setter from
LabelsToUpsert
BestWorkerMode
- Removed constructor
BestWorkerMode(RouterRule scoringRule = null, List<ScoringRuleParameterSelector> scoringParameterSelectors = null, bool allowScoringBatchOfWorkers = false, int? batchSize = null, bool descendingOrder = true, bool bypassSelectors = false)
ScoringRuleOptions
- Rename property
AllowScoringBatchOfWorkers
->IsBatchScoringEnabled
FunctionRouterRuleCredential
- Removed properties
AppKey
andFunctionKey
OAuth2WebhookClientCredential
- Removed property
ClientSecret
RouterQueueStatistics
- Changed
Map<String, Double> EstimatedWaitTimeMinutes
toMap<Integer, TimeSpan> EstimatedWaitTimes
LabelOperator
- Renamed
GreaterThanEqual
toGreaterThanOrEqual
- Renamed
LessThanEqual
toLessThanOrEqual
Renames
ChannelConfiguration
->RouterChannel
Oauth2ClientCredential
->OAuth2WebhookClientCredential
LabelValue
->RouterValue
Deletions
ClassificationPolicyItem
DistributionPolicyItem
ExceptionPolicyItem
RouterQueueItem
RouterWorkerItem
RouterJobItem
RouterQueueAssignment
UpdateClassificationPolicyOptions
UpdateDistributionPolicyOptions
UpdateExceptionPolicyOptions
UpdateQueueOptions
UpdateWorkerOptions
UpdateJobOptions
Other Changes
ClassificationPolicy
- Add
ETag
- Added setters to
FallbackQueueId
,Name
, andPrioritizationRule
DistributionPolicy
- Add
ETag
- Added setters to
Mode
andName
ExceptionPolicy
- Added
ETag
- Added setter to
Name
ExceptionRule
- Added
Id
ExceptionAction
- Added
Id
. Property is read-only. If not provided, it will be generated by the service.
ReclassifyExceptionAction
- Added setter to
ClassificationPolicyId
RouterChannel
- Added
ChannelId
RouterJob
- Added
ETag
- Added setters for
ChannelId
,ChannelReference
,ClassificationPolicyId
,DispositionCode
,MatchingMode
,Priority
,QueueId
RouterQueue
- Added
ETag
- Added setters for
DistributionPolicyId
,ExceptionPolicyId
andName
RouterWorker
- Added
ETag
BestWorkerMode
- Added setters to
ScoringRule
andScoringRuleOptions