Skip to content

Commit

Permalink
[ACS JobRouter] Jobrouter jobmatchingmodes (Azure#30838)
Browse files Browse the repository at this point in the history
* Update with new swagger

* changes for job matching modes

* rename to JobRouterClient

* update samples
  • Loading branch information
sarkar-rajarshi authored Jun 21, 2023
1 parent 482bdd5 commit 6f4abdd
Show file tree
Hide file tree
Showing 99 changed files with 23,178 additions and 13,669 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

### Added
- Preview release of the package.
- Add RouterClient
- Add JobRouterClient
8 changes: 4 additions & 4 deletions sdk/communication/azure-communication-jobrouter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ Alternatively, you can also use Active Directory authentication using DefaultAzu

```python
from azure.communication.jobrouter import (
RouterClient,
RouterAdministrationClient
JobRouterClient,
JobRouterAdministrationClient
)

connection_string = "endpoint=ENDPOINT;accessKey=KEY"
router_client = RouterClient.from_connection_string(conn_str = connection_string)
router_admin_client = RouterAdministrationClient.from_connection_string(conn_str = connection_string)
router_client = JobRouterClient.from_connection_string(conn_str = connection_string)
router_admin_client = JobRouterAdministrationClient.from_connection_string(conn_str = connection_string)
```

### Distribution Policy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
from ._version import VERSION
from ._router_client import RouterClient
from ._router_administration_client import RouterAdministrationClient
from ._router_client import JobRouterClient
from ._router_administration_client import JobRouterAdministrationClient
from ._generated.models import (
ClassificationPolicy,
ClassificationPolicyItem,
JobQueue,
JobQueueItem,
RouterQueue,
RouterQueueItem,
LabelOperator,
QueueSelector,
RouterQueueSelector,
StaticQueueSelectorAttachment,
ConditionalQueueSelectorAttachment,
RuleEngineQueueSelectorAttachment,
PassThroughQueueSelectorAttachment,
QueueWeightedAllocation,
WeightedAllocationQueueSelectorAttachment,
WorkerSelector,
RouterWorkerSelector,
StaticWorkerSelectorAttachment,
ConditionalWorkerSelectorAttachment,
RuleEngineWorkerSelectorAttachment,
Expand All @@ -40,22 +40,21 @@
ReclassifyExceptionAction,
ManualReclassifyExceptionAction,
CancelExceptionAction,
QueueStatistics,
RouterQueueStatistics,
ChannelConfiguration,
WorkerStateSelector,
RouterWorkerStateSelector,
RouterWorkerState,
RouterJobStatus,
JobAssignment,
RouterJobAssignment,
AcceptJobOfferResult,
DeclineJobOfferRequest,
UnassignJobResult,
JobPositionDetails,
JobStateSelector,
WorkerAssignment,
JobOffer,
RouterJobPositionDetails,
RouterJobStatusSelector,
RouterWorkerAssignment,
RouterJobOffer,
ScoringRuleOptions,
ScoringRuleParameterSelector,
JobRouterError,
RouterWorker,
RouterWorkerItem,
QueueAssignment,
Expand All @@ -66,28 +65,31 @@
CloseJobResult,
RouterJob,
RouterJobItem,
JobMatchingMode,
JobMatchModeType,
ScheduleAndSuspendMode,
)


__all__ = [
# Clients
'RouterClient',
'RouterAdministrationClient',
'JobRouterClient',
'JobRouterAdministrationClient',

# Generated models
'ClassificationPolicy',
'ClassificationPolicyItem',
'JobQueue',
'JobQueueItem',
'RouterQueue',
'RouterQueueItem',
'LabelOperator',
'QueueSelector',
'RouterQueueSelector',
'StaticQueueSelectorAttachment',
'ConditionalQueueSelectorAttachment',
'RuleEngineQueueSelectorAttachment',
'PassThroughQueueSelectorAttachment',
'QueueWeightedAllocation',
'WeightedAllocationQueueSelectorAttachment',
'WorkerSelector',
'RouterWorkerSelector',
'StaticWorkerSelectorAttachment',
'ConditionalWorkerSelectorAttachment',
'RuleEngineWorkerSelectorAttachment',
Expand All @@ -114,24 +116,26 @@
'ManualReclassifyExceptionAction',
'CancelExceptionAction',
'RouterJob',
'QueueStatistics',
'RouterQueueStatistics',
'ChannelConfiguration',
'WorkerStateSelector',
'RouterWorkerStateSelector',
'RouterWorkerState',
'RouterJobStatus',
'JobAssignment',
'RouterJobAssignment',
'AcceptJobOfferResult',
'DeclineJobOfferRequest',
'UnassignJobResult',
'JobPositionDetails',
'JobStateSelector',
'WorkerAssignment',
'JobOffer',
'RouterJobPositionDetails',
'RouterJobStatusSelector',
'RouterWorkerAssignment',
'RouterJobOffer',
'ScoringRuleOptions',
'ScoringRuleParameterSelector',
'JobRouterError',
'RouterWorker',
'RouterWorkerItem',
'JobMatchingMode',
'JobMatchModeType',
'ScheduleAndSuspendMode',

# Created models

Expand Down
Loading

0 comments on commit 6f4abdd

Please # to comment.