Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ff55a39
Adding Job router to EG SDK
osaghaso May 24, 2023
14b24ee
Adding Job router to EG SDK
osaghaso May 24, 2023
fc65f88
Adding examples
osaghaso May 24, 2023
1858dae
Adding examples
osaghaso May 24, 2023
29c9ac4
Adding examples
osaghaso May 26, 2023
1fbbebb
Adding Job router to EG SDK
osaghaso May 26, 2023
15e25e5
adding x-ms-enum to dispostionCode
osaghaso May 30, 2023
d12b667
adding x-ms-enum to dispostionCode
osaghaso May 30, 2023
48d861e
adding x-ms-enum to dispostionCode
osaghaso May 30, 2023
4ec656b
adding x-ms-enum to dispostionCode
osaghaso May 30, 2023
d00bd25
Merge remote-tracking branch 'origin/main' into user/osaghaso/adding_…
osaghaso Sep 20, 2023
d7b1d8b
addressing comments
osaghaso Sep 20, 2023
ed9efc5
adding the disposition code comments
osaghaso Sep 27, 2023
bb5300b
addressing feedback from SDK Review
osaghaso Sep 27, 2023
24a7296
addressing feedback from SDK Review
osaghaso Sep 27, 2023
98e46f3
addressing feedback from SDK Review
osaghaso Sep 28, 2023
b97bd38
addressing feedback from SDK Review
osaghaso Sep 28, 2023
1c8f698
adding the disposition code comments
osaghaso Sep 28, 2023
06557e6
addressing comments
osaghaso Sep 28, 2023
3531de9
addressing comments
osaghaso Sep 28, 2023
04b8677
addressing comments
osaghaso Sep 28, 2023
9d81545
addressing comments
osaghaso Oct 3, 2023
6c1e015
addressing comments
osaghaso Oct 3, 2023
e2d3c56
addressing comments
osaghaso Oct 5, 2023
08ac2c7
addressing comments
osaghaso Oct 5, 2023
1f6c7e6
addressing comments
osaghaso Oct 5, 2023
ea4a9fb
addressing comments
osaghaso Oct 5, 2023
d1992a1
reference examples
osaghaso Oct 6, 2023
3b0a69f
reference examples
osaghaso Oct 6, 2023
ada294c
reference examples
osaghaso Oct 6, 2023
62cd056
running prettier
osaghaso Oct 6, 2023
ad70273
running prettier
osaghaso Oct 6, 2023
1097f1c
running prettier
osaghaso Oct 6, 2023
02e9ba1
running prettier
osaghaso Oct 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"id": "b6d8687a-5a1a-42ae-b8b5-ff7ec338c872",
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "job/{job-id}/channel/{channel-id}/disposition/{disposition-code}",
"data": {
"note": "Cancelled due to <reason>",
"dispositionCode": "100",
"jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712",
"channelReference": "test-abc",
"channelId": "FooVoiceChannelId",
"labels": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"tags": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"queueId": ""
},
"type": "Microsoft.Communication.RouterJobCancelled",
"specVersion": "1.0",
"time": "2022-02-17T00:55:25.1736293Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"id": "b6d8687a-5a1a-42ae-b8b5-ff7ec338c872",
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "job/{job-id}/channel/{channel-id}/classificationpolicy/{classificationpolicy-id}",
"data": {
"errors": [
{
"code": null,
"message": "Classification failed due to <reason>",
"target": null,
"innerError": null,
"details": null
}
],
"jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712",
"channelReference": "test-abc",
"channelId": "FooVoiceChannelId",
"classificationPolicyId": "test-policy",
"labels": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"tags": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
}
},
"type": "Microsoft.Communication.RouterJobClassificationFailed",
"specVersion": "1.0",
"time": "2022-02-17T00:55:25.1736293Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"id": "b6d8687a-5a1a-42ae-b8b5-ff7ec338c872",
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "job/{job-id}/channel/{channel-id}/queue/{queue-id}",
"data": {
"queueDetails": {
"id": "625fec06-ab81-4e60-b780-f364ed96ade1",
"name": "Queue 1",
"labels": {
"Language": "en",
"Product": "Office",
"Geo": "NA"
}
},
"jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712",
"channelReference": "test-abc",
"channelId": "FooVoiceChannelId",
"classificationPolicyId": "test-policy",
"queueId": "625fec06-ab81-4e60-b780-f364ed96ade1",
"priority": 5,
"labels": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"tags": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"attachedWorkerSelectors": [
{
"key": "string",
"labelOperator": "equal",
"value": 5,
"ttl": "P3Y6M4DT12H30M5S"
}
]
},
"type": "Microsoft.Communication.RouterJobClassified",
"specVersion": "1.0",
"time": "2022-02-17T00:55:25.1736293Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"id": "b6d8687a-5a1a-42ae-b8b5-ff7ec338c872",
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "job/{job-id}/channel/{channel-id}/assignment/{assignment-id}",
"data": {
"jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712",
"channelReference": "test-abc",
"channelId": "FooVoiceChannelId",
"queueId": "",
"dispositionCode": "",
"workerId": "",
"assignmentId": "",
"labels": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"tags": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
}
},
"type": "Microsoft.Communication.RouterJobClosed",
"specVersion": "1.0",
"time": "2022-02-17T00:55:25.1736293Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"id": "b6d8687a-5a1a-42ae-b8b5-ff7ec338c872",
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "job/{job-id}/channel/{channel-id}/assignment/{assignment-id}",
"data": {
"jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712",
"channelReference": "test-abc",
"channelId": "FooVoiceChannelId",
"queueId": "queue-id",
"assignmentId": "6f1df17b-570b-4ae5-9cf5-fe6ff64cc712",
"labels": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"tags": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"workerId": ""
},
"type": "Microsoft.Communication.RouterJobCompleted",
"specVersion": "1.0",
"time": "2022-02-17T00:55:25.1736293Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": "acdf8fa5-8ab4-4a65-874a-c1d2a4a97f2e",
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "job/{job-id}/channel/{channel-id}",
"data": {
"jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712",
"channelReference": "test-abc",
"channelId": "FooVoiceChannelId",
"labels": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"tags": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"queueId": ""
},
"type": "Microsoft.Communication.RouterJobDeleted",
"specVersion": "1.0",
"time": "2022-02-17T00:55:25.1736293Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"id": "1027db4a-17fe-4a7f-ae67-276c3120a29f",
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "job/{job-id}/channel/{channel-id}/exceptionrule/{rulekey}",
"data": {
"ruleKey": "r100",
"exceptionRuleId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712",
"jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712",
"channelReference": "test-abc",
"channelId": "FooVoiceChannelId",
"labels": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"tags": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
}
},
"type": "Microsoft.Communication.RouterJobExceptionTriggered",
"specVersion": "1.0",
"time": "2022-02-17T00:55:25.1736293Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"id": "b6d8687a-5a1a-42ae-b8b5-ff7ec338c872",
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "job/{job-id}/channel/{channel-id}/queue/{queue-id}",
"data": {
"jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712",
"channelReference": "test-abc",
"channelId": "FooVoiceChannelId",
"queueId": "625fec06-ab81-4e60-b780-f364ed96ade1",
"priority": 1,
"labels": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"tags": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"requestedWorkerSelectors": [
{
"key": "string",
"labelOperator": "equal",
"value": 5,
"ttl": "P3Y6M4DT12H30M5S"
}
],
"attachedWorkerSelectors": [
{
"key": "string",
"labelOperator": "equal",
"value": 5,
"ttl": "P3Y6M4DT12H30M5S"
}
]
},
"type": "Microsoft.Communication.RouterJobQueued",
"specVersion": "1.0",
"time": "2022-02-17T00:55:25.1736293Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"id": "acdf8fa5-8ab4-4a65-874a-c1d2a4a97f2e",
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "job/{job-id}/channel/{channel-id}",
"data": {
"jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712",
"channelReference": "test-abc",
"jobStatus": "PendingClassification",
"channelId": "FooVoiceChannelId",
"classificationPolicyId": "test-policy",
"queueId": "queue-id",
"priority": 0,
"labels": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"tags": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"requestedWorkerSelectors": [
{
"key": "string",
"labelOperator": "equal",
"value": 5,
"ttl": "P3Y6M4DT12H30M5S"
}
],
"scheduledOn": "3/28/2007 7:13:50 PM +00:00",
"unavailableForMatching": false
},
"type": "Microsoft.Communication.RouterJobReceived",
"specVersion": "1.0",
"time": "2022-02-17T00:55:25.1736293Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"id": "acdf8fa5-8ab4-4a65-874a-c1d2a4a97f2e",
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "job/{job-id}/channel/{channel-id}",
"data": {
"jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712",
"channelId": "FooVoiceChannelId",
"channelReference": "test-abc",
"queueId": "queue-id",
"priority": 1,
"labels": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"tags": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"requestedWorkerSelectors": [
{
"key": "string",
"labelOperator": "equal",
"value": 5,
"ttl": "P3Y6M4DT12H30M5S"
}
],
"attachedWorkerSelectors": [
{
"key": "string",
"labelOperator": "equal",
"value": 5,
"ttl": "P3Y6M4DT12H30M5S"
}
],
"scheduledOn": "2022-02-17T00:55:25.1736293Z",
"failureReason": "Expired Job"
},
"type": "Microsoft.Communication.RouterJobSchedulingFailed",
"specVersion": "1.0",
"time": "2022-02-17T00:55:25.1736293Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"id": "acdf8fa5-8ab4-4a65-874a-c1d2a4a97f2e",
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "job/{job-id}/channel/{channel-id}/assignment/{assignment-id}",
"data": {
"jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712",
"assignmentId": "",
"workerId": "",
"channelId": "FooVoiceChannelId",
"channelReference": "test-abc",
"queueId": "queue-id",
"labels": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
},
"tags": {
"Locale": "en-us",
"Segment": "Enterprise",
"Token": "FooToken"
}
},
"type": "Microsoft.Communication.RouterJobUnassigned",
"specVersion": "1.0",
"time": "2022-02-17T00:55:25.1736293Z"
}
Loading