Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dae93b2

Browse files
Update to latest typespec (Azure#27806)
### Packages impacted by this PR ### Issues associated with this PR ### Describe the problem that is addressed by this PR ### What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen? ### Are there test cases added in this PR? _(If not, why?)_ ### Provide a list of related PRs _(if any)_ ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ### Checklists - [ ] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [ ] Added a changelog (if necessary) --------- Co-authored-by: Marc Ma <[email protected]>
1 parent 5b4eadf commit dae93b2

File tree

78 files changed

+4021
-9260
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+4021
-9260
lines changed

sdk/communication/communication-job-router-rest/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Key links:
88

99
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-job-router-rest)
1010
- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/communication-job-router)
11+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-job-router-rest/samples)
1112

1213
## Getting started
1314

@@ -103,7 +104,7 @@ const result = await routerClient.path("/routing/distributionPolicies/{id}", id)
103104
name: "distribution-policy-123",
104105
offerExpiresAfterSeconds: 30,
105106
mode: {
106-
kind: "longest-idle",
107+
kind: "longestIdle",
107108
minConcurrentOffers: 1,
108109
maxConcurrentOffers: 3,
109110
},
@@ -136,7 +137,7 @@ const result = await routerClient.path("/routing/classificationPolicies/{id}", c
136137
workerSelector: { key: "english", labelOperator: "greaterThan", value: 5 }
137138
}],
138139
prioritizationRule: {
139-
kind: "expression-rule",
140+
kind: "expression",
140141
language: "powerFx",
141142
expression: "If(job.department = \"xbox\", 2, 1)"
142143
}

sdk/communication/communication-job-router-rest/recordings/browsers/jobrouterclient_classification_policy_operations/recording_should_create_a_classification_policy.json

Lines changed: 63 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)