Skip to content

Commit 11364d6

Browse files
author
SDKAuto
committed
CodeGen from PR 34329 in Azure/azure-rest-api-specs
Merge f4e16d577be09de3313e5c8e60489ec62274d75d into 4a748a953cb8408283e3b5e9fd8773e012ca74ae
1 parent a02a535 commit 11364d6

34 files changed

+2351
-3293
lines changed

sdk/orbital/arm-orbital/CHANGELOG.md

Lines changed: 60 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,67 @@
11
# Release History
2-
3-
## 2.0.1 (Unreleased)
4-
2+
3+
## 3.0.0 (2025-05-06)
4+
55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
7+
- Added operation OperationsResults.get
8+
- Added Interface AzureResourceManagerArmResponseAvailableContactsListResult
9+
- Added Interface OperationsListNextOptionalParams
10+
- Added Type Alias OperationsListNextResponse
11+
- Interface ContactProfilesCreateOrUpdateHeaders has a new optional parameter retryAfter
12+
- Interface ContactProfilesDeleteHeaders has a new optional parameter retryAfter
13+
- Interface ContactProfilesUpdateTagsHeaders has a new optional parameter retryAfter
14+
- Interface ContactsCreateHeaders has a new optional parameter retryAfter
15+
- Interface ContactsDeleteHeaders has a new optional parameter retryAfter
16+
- Interface SpacecraftsCreateOrUpdateHeaders has a new optional parameter retryAfter
17+
- Interface SpacecraftsDeleteHeaders has a new optional parameter retryAfter
18+
- Interface SpacecraftsListAvailableContactsHeaders has a new optional parameter retryAfter
19+
- Interface SpacecraftsListAvailableContactsNextHeaders has a new optional parameter retryAfter
20+
- Interface SpacecraftsUpdateTagsHeaders has a new optional parameter retryAfter
21+
- Add parameters of OperationsResultsGetHeaders to TypeAlias OperationsResultsGetResponse
1022

11-
### Other Changes
23+
### Breaking Changes
1224

25+
- Removed operation OperationsResults.beginGet
26+
- Removed operation OperationsResults.beginGetAndWait
27+
- Operation ContactProfiles.beginCreateOrUpdate has a new signature
28+
- Operation ContactProfiles.beginCreateOrUpdateAndWait has a new signature
29+
- Operation Spacecrafts.beginCreateOrUpdate has a new signature
30+
- Operation Spacecrafts.beginCreateOrUpdateAndWait has a new signature
31+
- Operation Spacecrafts.beginListAvailableContactsAndWait has a new signature
32+
- Interface ContactProfilesCreateOrUpdateOptionalParams no longer has parameter autoTrackingConfiguration
33+
- Interface ContactProfilesCreateOrUpdateOptionalParams no longer has parameter eventHubUri
34+
- Interface ContactProfilesCreateOrUpdateOptionalParams no longer has parameter minimumElevationDegrees
35+
- Interface ContactProfilesCreateOrUpdateOptionalParams no longer has parameter minimumViableContactDuration
36+
- Interface ContactProfilesCreateOrUpdateOptionalParams no longer has parameter provisioningState
37+
- Interface ContactProfilesCreateOrUpdateOptionalParams no longer has parameter tags
38+
- Interface ContactProfilesCreateOrUpdateOptionalParams no longer has parameter thirdPartyConfigurations
39+
- Interface OperationsResultsGetOptionalParams no longer has parameter resumeFrom
40+
- Interface OperationsResultsGetOptionalParams no longer has parameter updateIntervalInMs
41+
- Interface SpacecraftsCreateOrUpdateOptionalParams no longer has parameter noradId
42+
- Interface SpacecraftsCreateOrUpdateOptionalParams no longer has parameter provisioningState
43+
- Interface SpacecraftsCreateOrUpdateOptionalParams no longer has parameter tags
44+
- Parameter value of interface AvailableContactsListResult is now required
45+
- Parameter value of interface AvailableGroundStationListResult is now required
46+
- Parameter value of interface ContactListResult is now required
47+
- Parameter value of interface ContactProfileListResult is now required
48+
- Parameter value of interface SpacecraftListResult is now required
49+
- Type of parameter spacecraft of interface AvailableContacts is changed from AvailableContactsSpacecraft to ResourceReference
50+
- Type of parameter contactProfile of interface Contact is changed from ContactsPropertiesContactProfile to ResourceReference
51+
- Type of parameter provisioningState of interface Contact is changed from ContactsPropertiesProvisioningState to ProvisioningState
52+
- Type of parameter contactProfile of interface ContactParameters is changed from ContactParametersContactProfile to ResourceReference
53+
- Type of parameter provisioningState of interface ContactProfile is changed from ContactProfilesPropertiesProvisioningState to ProvisioningState
54+
- Type of parameter properties of interface OperationResult is changed from Record<string, unknown> to {
55+
[propertyName: string]: any;
56+
}
57+
- Type of parameter value of interface OperationResult is changed from Record<string, unknown>[] to {
58+
[propertyName: string]: any;
59+
}[]
60+
- Removed Enum KnownCapability
61+
- Removed Enum KnownContactProfilesPropertiesProvisioningState
62+
- Removed Enum KnownContactsPropertiesProvisioningState
63+
64+
1365
## 2.0.0 (2023-03-08)
1466

1567
### Features Added
@@ -90,4 +142,4 @@
90142

91143
## 1.0.0 (2022-06-02)
92144

93-
The package of @azure/arm-orbital is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
145+
The package of @azure/arm-orbital is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).

sdk/orbital/arm-orbital/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

sdk/orbital/arm-orbital/README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ npm install @azure/identity
4444
```
4545

4646
You will also need to **register a new AAD application and grant access to AzureOrbital** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
4847

4948
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
5049

@@ -64,17 +63,14 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
6463
import { InteractiveBrowserCredential } from "@azure/identity";
6564
import { AzureOrbital } from "@azure/arm-orbital";
6665

67-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6866
const credential = new InteractiveBrowserCredential({
6967
tenantId: "<YOUR_TENANT_ID>",
70-
clientId: "<YOUR_CLIENT_ID>",
71-
});
68+
clientId: "<YOUR_CLIENT_ID>"
69+
});
7270
const client = new AzureOrbital(credential, subscriptionId);
7371
```
7472

75-
7673
### JavaScript Bundle
77-
7874
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
7975

8076
## Key concepts
@@ -110,7 +106,6 @@ If you'd like to contribute to this library, please read the [contributing guide
110106
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
111107

112108

113-
114109
[azure_cli]: https://learn.microsoft.com/cli/azure
115110
[azure_sub]: https://azure.microsoft.com/free/
116111
[azure_sub]: https://azure.microsoft.com/free/

sdk/orbital/arm-orbital/_meta.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "4f4044394791773e6e7e82a9bd90d3935caaca1b",
2+
"commit": "14ddb11bf9f301e56ffae91fddb70d797b8918ca",
33
"readme": "specification/orbital/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\orbital\\resource-manager\\readme.md --use=@autorest/[email protected].0-rc.9 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/orbital/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
7-
"use": "@autorest/[email protected].0-rc.9"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.26",
7+
"use": "@autorest/typescript@^6.0.12"
88
}

sdk/orbital/arm-orbital/api-extractor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
}
2929
}
3030
}
31-
}
31+
}

sdk/orbital/arm-orbital/package.json

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for AzureOrbital.",
6-
"version": "2.0.1",
6+
"version": "3.0.0",
77
"engines": {
88
"node": ">=18.0.0"
99
},
1010
"dependencies": {
1111
"@azure/abort-controller": "^2.1.2",
1212
"@azure/core-auth": "^1.9.0",
13-
"@azure/core-client": "^1.9.2",
14-
"@azure/core-lro": "^2.5.0",
13+
"@azure/core-client": "^1.9.4",
14+
"@azure/core-lro": "^2.5.4",
1515
"@azure/core-paging": "^1.6.2",
16-
"@azure/core-rest-pipeline": "^1.19.0",
16+
"@azure/core-rest-pipeline": "^1.20.0",
1717
"tslib": "^2.8.1"
1818
},
1919
"keywords": [
@@ -28,18 +28,19 @@
2828
"main": "./dist/commonjs/index.js",
2929
"module": "./dist/esm/index.js",
3030
"types": "./dist/commonjs/index.d.ts",
31+
"type": "module",
3132
"devDependencies": {
3233
"@azure-tools/test-credential": "^2.0.0",
3334
"@azure-tools/test-recorder": "^4.1.0",
3435
"@azure-tools/test-utils-vitest": "^1.0.0",
3536
"@azure/dev-tool": "^1.0.0",
36-
"@azure/identity": "^4.6.0",
37-
"@azure/logger": "^1.1.4",
37+
"@azure/identity": "^4.9.1",
38+
"@azure/logger": "^1.2.0",
3839
"@types/node": "^18.0.0",
3940
"@vitest/browser": "^3.0.9",
4041
"@vitest/coverage-istanbul": "^3.0.9",
4142
"dotenv": "^16.0.0",
42-
"playwright": "^1.50.1",
43+
"playwright": "^1.52.0",
4344
"typescript": "~5.8.2",
4445
"vitest": "^3.0.9"
4546
},
@@ -60,16 +61,16 @@
6061
"build:node": "echo skipped",
6162
"build:samples": "echo skipped.",
6263
"build:test": "echo skipped",
63-
"check-format": "echo skipped",
64+
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
6465
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
6566
"execute:samples": "echo skipped",
6667
"extract-api": "dev-tool run extract-api",
67-
"format": "echo skipped",
68+
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
6869
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
6970
"integration-test:browser": "echo skipped",
7071
"integration-test:node": "dev-tool run test:vitest --esm",
7172
"lint": "echo skipped",
72-
"minify": "echo skipped",
73+
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
7374
"pack": "npm pack 2>&1",
7475
"prepack": "npm run build",
7576
"test": "npm run integration-test",
@@ -90,16 +91,9 @@
9091
]
9192
},
9293
"autoPublish": true,
94+
"browser": "./dist/browser/index.js",
95+
"react-native": "./dist/react-native/index.js",
9396
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/orbital/arm-orbital",
94-
"//sampleConfiguration": {
95-
"productName": "",
96-
"productSlugs": [
97-
"azure"
98-
],
99-
"disableDocsMs": true,
100-
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-orbital?view=azure-node-preview"
101-
},
102-
"type": "module",
10397
"tshy": {
10498
"project": "./tsconfig.src.json",
10599
"exports": {
@@ -116,8 +110,6 @@
116110
],
117111
"selfLink": false
118112
},
119-
"browser": "./dist/browser/index.js",
120-
"react-native": "./dist/react-native/index.js",
121113
"exports": {
122114
"./package.json": "./package.json",
123115
".": {
@@ -139,4 +131,4 @@
139131
}
140132
}
141133
}
142-
}
134+
}

0 commit comments

Comments
 (0)