@azure-rest/purview-scanning 1.0.0-alpha.20250612.1 → 1.0.0-alpha.20250617.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "client",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "An isomorphic rest level client library for the Azure Purview Scanning service.",
6
- "version": "1.0.0-alpha.20250612.1",
6
+ "version": "1.0.0-alpha.20250617.1",
7
7
  "keywords": [
8
8
  "node",
9
9
  "azure",
@@ -37,7 +37,7 @@
37
37
  ]
38
38
  },
39
39
  "engines": {
40
- "node": ">=18.0.0"
40
+ "node": ">=20.0.0"
41
41
  },
42
42
  "//sampleConfiguration": {
43
43
  "productName": "Azure Purview Scanning rest",
@@ -59,8 +59,8 @@
59
59
  "extract-api": "dev-tool run vendored rimraf review && dev-tool run extract-api",
60
60
  "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
61
61
  "generate:client": "autorest --typescript swagger/README.md && npm run format",
62
- "lint": "eslint package.json api-extractor.json src test",
63
- "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
62
+ "lint": "eslint package.json src test",
63
+ "lint:fix": "eslint package.json src test --fix --fix-type [problem,suggestion]",
64
64
  "pack": "npm pack 2>&1",
65
65
  "test": "npm run test:node && npm run test:browser",
66
66
  "test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
@@ -86,7 +86,7 @@
86
86
  "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
87
87
  "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
88
88
  "@azure/identity": "^4.7.0",
89
- "@types/node": "^18.0.0",
89
+ "@types/node": "^20.0.0",
90
90
  "@vitest/browser": "^3.0.9",
91
91
  "@vitest/coverage-istanbul": "^3.0.9",
92
92
  "dotenv": "^16.0.0",
@@ -2401,8 +2401,7 @@ function createClient(endpoint: string, credentials: TokenCredential, { apiVersi
2401
2401
  export default createClient;
2402
2402
 
2403
2403
  // @public
2404
- type Credential_2 = AccountKeyAuthAzureKeyVaultCredential | BasicAuthAzureKeyVaultCredential | RoleARNCredential | ServicePrincipalAzureKeyVaultCredential | SqlAuthAzureKeyVaultCredential | ConsumerKeyAuthAzureKeyVaultCredential | DelegatedAuthAzureKeyVaultCredential | ManagedIdentityAzureKeyVaultCredential;
2405
- export { Credential_2 as Credential }
2404
+ export type Credential = AccountKeyAuthAzureKeyVaultCredential | BasicAuthAzureKeyVaultCredential | RoleARNCredential | ServicePrincipalAzureKeyVaultCredential | SqlAuthAzureKeyVaultCredential | ConsumerKeyAuthAzureKeyVaultCredential | DelegatedAuthAzureKeyVaultCredential | ManagedIdentityAzureKeyVaultCredential;
2406
2405
 
2407
2406
  // @public
2408
2407
  export interface CredentialCreateOrReplace200Response extends HttpResponse {
@@ -2422,7 +2421,7 @@ export interface CredentialCreateOrReplace201Response extends HttpResponse {
2422
2421
 
2423
2422
  // @public (undocumented)
2424
2423
  export interface CredentialCreateOrReplaceBodyParam {
2425
- body: Credential_2;
2424
+ body: Credential;
2426
2425
  }
2427
2426
 
2428
2427
  // @public (undocumented)
@@ -4372,11 +4371,10 @@ export interface MitiScanPropertiesOutput extends ScanPropertiesOutput {
4372
4371
  }
4373
4372
 
4374
4373
  // @public
4375
- interface Notification_2 {
4374
+ export interface Notification {
4376
4375
  code?: number;
4377
4376
  message?: string;
4378
4377
  }
4379
- export { Notification_2 as Notification }
4380
4378
 
4381
4379
  // @public
4382
4380
  export interface NotificationOutput {
@@ -5131,7 +5129,7 @@ export type Scan = AzureSubscriptionCredentialScan | AzureSubscriptionMsiScan |
5131
5129
 
5132
5130
  // @public
5133
5131
  export interface ScanDiagnostics {
5134
- notifications?: Array<Notification_2>;
5132
+ notifications?: Array<Notification>;
5135
5133
  }
5136
5134
 
5137
5135
  // @public