@software-hardware-integration-lab/sdk-shield 3.0.0 → 3.5.2-beta.1e7cfc5
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/LICENSE +21 -0
- package/README.md +109 -0
- package/bin/index.d.ts +11 -0
- package/bin/index.js +175 -0
- package/bin/sdk/api/auth/id/index.d.ts +55 -0
- package/bin/sdk/api/auth/id/index.js +26 -0
- package/bin/sdk/api/auth/index.d.ts +19 -0
- package/bin/sdk/api/auth/index.js +7 -0
- package/bin/sdk/api/core/health/index.d.ts +26 -0
- package/bin/sdk/api/core/health/index.js +12 -0
- package/bin/sdk/api/core/index.d.ts +24 -0
- package/bin/sdk/api/core/index.js +11 -0
- package/bin/sdk/api/core/systemRequirements/index.d.ts +27 -0
- package/bin/sdk/api/core/systemRequirements/index.js +10 -0
- package/bin/sdk/api/defend/device/index.d.ts +26 -0
- package/bin/sdk/api/defend/device/index.js +12 -0
- package/bin/sdk/api/defend/device/item/index.d.ts +19 -0
- package/bin/sdk/api/defend/device/item/index.js +7 -0
- package/bin/sdk/api/defend/device/item/type/index.d.ts +26 -0
- package/bin/sdk/api/defend/device/item/type/index.js +12 -0
- package/bin/sdk/api/defend/device/item/type/item/index.d.ts +38 -0
- package/bin/sdk/api/defend/device/item/type/item/index.js +14 -0
- package/bin/sdk/api/defend/device/item/type/privileged/assign/index.d.ts +106 -0
- package/bin/sdk/api/defend/device/item/type/privileged/assign/index.js +59 -0
- package/bin/sdk/api/defend/device/item/type/privileged/index.d.ts +19 -0
- package/bin/sdk/api/defend/device/item/type/privileged/index.js +7 -0
- package/bin/sdk/api/defend/device/type/index.d.ts +26 -0
- package/bin/sdk/api/defend/device/type/index.js +12 -0
- package/bin/sdk/api/defend/device/type/item/index.d.ts +80 -0
- package/bin/sdk/api/defend/device/type/item/index.js +35 -0
- package/bin/sdk/api/defend/device/type/privileged/index.d.ts +80 -0
- package/bin/sdk/api/defend/device/type/privileged/index.js +35 -0
- package/bin/sdk/api/defend/index.d.ts +34 -0
- package/bin/sdk/api/defend/index.js +19 -0
- package/bin/sdk/api/defend/intermediary/index.d.ts +26 -0
- package/bin/sdk/api/defend/intermediary/index.js +12 -0
- package/bin/sdk/api/defend/intermediary/item/index.d.ts +19 -0
- package/bin/sdk/api/defend/intermediary/item/index.js +7 -0
- package/bin/sdk/api/defend/intermediary/item/type/index.d.ts +21 -0
- package/bin/sdk/api/defend/intermediary/item/type/index.js +8 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/index.d.ts +19 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/index.js +7 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/eighta921026Ec064e08Af198812e161e61f/assign/index.d.ts +125 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/eighta921026Ec064e08Af198812e161e61f/assign/index.js +64 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/eighta921026Ec064e08Af198812e161e61f/assign/item/index.d.ts +27 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/eighta921026Ec064e08Af198812e161e61f/assign/item/index.js +10 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/eighta921026Ec064e08Af198812e161e61f/index.d.ts +47 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/eighta921026Ec064e08Af198812e161e61f/index.js +21 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/index.d.ts +19 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/index.js +8 -0
- package/bin/sdk/api/defend/intermediary/type/index.d.ts +21 -0
- package/bin/sdk/api/defend/intermediary/type/index.js +8 -0
- package/bin/sdk/api/defend/intermediary/type/item/index.d.ts +19 -0
- package/bin/sdk/api/defend/intermediary/type/item/index.js +7 -0
- package/bin/sdk/api/defend/intermediary/type/item/offering/eighta921026Ec064e08Af198812e161e61f/index.d.ts +40 -0
- package/bin/sdk/api/defend/intermediary/type/item/offering/eighta921026Ec064e08Af198812e161e61f/index.js +10 -0
- package/bin/sdk/api/defend/intermediary/type/item/offering/index.d.ts +19 -0
- package/bin/sdk/api/defend/intermediary/type/item/offering/index.js +7 -0
- package/bin/sdk/api/defend/marketplace/index.d.ts +19 -0
- package/bin/sdk/api/defend/marketplace/index.js +7 -0
- package/bin/sdk/api/defend/marketplace/type/index.d.ts +21 -0
- package/bin/sdk/api/defend/marketplace/type/index.js +8 -0
- package/bin/sdk/api/defend/marketplace/type/item/index.d.ts +19 -0
- package/bin/sdk/api/defend/marketplace/type/item/index.js +7 -0
- package/bin/sdk/api/defend/marketplace/type/item/offering/index.d.ts +21 -0
- package/bin/sdk/api/defend/marketplace/type/item/offering/index.js +8 -0
- package/bin/sdk/api/defend/marketplace/type/item/offering/item/index.d.ts +54 -0
- package/bin/sdk/api/defend/marketplace/type/item/offering/item/index.js +29 -0
- package/bin/sdk/api/defend/user/index.d.ts +26 -0
- package/bin/sdk/api/defend/user/index.js +12 -0
- package/bin/sdk/api/defend/user/item/index.d.ts +19 -0
- package/bin/sdk/api/defend/user/item/index.js +7 -0
- package/bin/sdk/api/defend/user/item/type/index.d.ts +21 -0
- package/bin/sdk/api/defend/user/item/type/index.js +8 -0
- package/bin/sdk/api/defend/user/item/type/item/index.d.ts +38 -0
- package/bin/sdk/api/defend/user/item/type/item/index.js +14 -0
- package/bin/sdk/api/defend/user/type/index.d.ts +26 -0
- package/bin/sdk/api/defend/user/type/index.js +12 -0
- package/bin/sdk/api/defend/user/type/item/index.d.ts +80 -0
- package/bin/sdk/api/defend/user/type/item/index.js +35 -0
- package/bin/sdk/api/defend/user/type/privileged/index.d.ts +80 -0
- package/bin/sdk/api/defend/user/type/privileged/index.js +35 -0
- package/bin/sdk/api/deploy/analyze/index.d.ts +19 -0
- package/bin/sdk/api/deploy/analyze/index.js +7 -0
- package/bin/sdk/api/deploy/analyze/invoke/index.d.ts +48 -0
- package/bin/sdk/api/deploy/analyze/invoke/index.js +22 -0
- package/bin/sdk/api/deploy/breakGlass/index.d.ts +63 -0
- package/bin/sdk/api/deploy/breakGlass/index.js +30 -0
- package/bin/sdk/api/deploy/compare/index.d.ts +36 -0
- package/bin/sdk/api/deploy/compare/index.js +16 -0
- package/bin/sdk/api/deploy/compare/invoke/index.d.ts +29 -0
- package/bin/sdk/api/deploy/compare/invoke/index.js +12 -0
- package/bin/sdk/api/deploy/component/architecture/index.d.ts +27 -0
- package/bin/sdk/api/deploy/component/architecture/index.js +10 -0
- package/bin/sdk/api/deploy/component/configurationCategory/index.d.ts +27 -0
- package/bin/sdk/api/deploy/component/configurationCategory/index.js +10 -0
- package/bin/sdk/api/deploy/component/configurationItem/index.d.ts +38 -0
- package/bin/sdk/api/deploy/component/configurationItem/index.js +17 -0
- package/bin/sdk/api/deploy/component/configurationItem/item/docs/index.d.ts +27 -0
- package/bin/sdk/api/deploy/component/configurationItem/item/docs/index.js +10 -0
- package/bin/sdk/api/deploy/component/configurationItem/item/index.d.ts +19 -0
- package/bin/sdk/api/deploy/component/configurationItem/item/index.js +7 -0
- package/bin/sdk/api/deploy/component/index.d.ts +29 -0
- package/bin/sdk/api/deploy/component/index.js +16 -0
- package/bin/sdk/api/deploy/errors/index.d.ts +55 -0
- package/bin/sdk/api/deploy/errors/index.js +26 -0
- package/bin/sdk/api/deploy/index.d.ts +214 -0
- package/bin/sdk/api/deploy/index.js +130 -0
- package/bin/sdk/api/deploy/progress/index.d.ts +42 -0
- package/bin/sdk/api/deploy/progress/index.js +15 -0
- package/bin/sdk/api/deploy/remediate/index.d.ts +69 -0
- package/bin/sdk/api/deploy/remediate/index.js +34 -0
- package/bin/sdk/api/deploy/remove/index.d.ts +37 -0
- package/bin/sdk/api/deploy/remove/index.js +13 -0
- package/bin/sdk/api/deploy/restore/index.d.ts +21 -0
- package/bin/sdk/api/deploy/restore/index.js +8 -0
- package/bin/sdk/api/deploy/restore/item/index.d.ts +28 -0
- package/bin/sdk/api/deploy/restore/item/index.js +11 -0
- package/bin/sdk/api/deploy/skip/index.d.ts +61 -0
- package/bin/sdk/api/deploy/skip/index.js +28 -0
- package/bin/sdk/api/deploy/skip/item/index.d.ts +41 -0
- package/bin/sdk/api/deploy/skip/item/index.js +18 -0
- package/bin/sdk/api/deploy/validate/index.d.ts +29 -0
- package/bin/sdk/api/deploy/validate/index.js +13 -0
- package/bin/sdk/api/discover/architectureReport/correlation/index.d.ts +38 -0
- package/bin/sdk/api/discover/architectureReport/correlation/index.js +17 -0
- package/bin/sdk/api/discover/architectureReport/correlation/item/data/index.d.ts +27 -0
- package/bin/sdk/api/discover/architectureReport/correlation/item/data/index.js +10 -0
- package/bin/sdk/api/discover/architectureReport/correlation/item/index.d.ts +19 -0
- package/bin/sdk/api/discover/architectureReport/correlation/item/index.js +7 -0
- package/bin/sdk/api/discover/architectureReport/index.d.ts +19 -0
- package/bin/sdk/api/discover/architectureReport/index.js +8 -0
- package/bin/sdk/api/discover/cache/index.d.ts +19 -0
- package/bin/sdk/api/discover/cache/index.js +7 -0
- package/bin/sdk/api/discover/cache/reset/index.d.ts +25 -0
- package/bin/sdk/api/discover/cache/reset/index.js +7 -0
- package/bin/sdk/api/discover/index.d.ts +44 -0
- package/bin/sdk/api/discover/index.js +27 -0
- package/bin/sdk/api/discover/licenseReport/correlation/index.d.ts +38 -0
- package/bin/sdk/api/discover/licenseReport/correlation/index.js +17 -0
- package/bin/sdk/api/discover/licenseReport/correlation/item/data/index.d.ts +27 -0
- package/bin/sdk/api/discover/licenseReport/correlation/item/data/index.js +10 -0
- package/bin/sdk/api/discover/licenseReport/correlation/item/index.d.ts +19 -0
- package/bin/sdk/api/discover/licenseReport/correlation/item/index.js +7 -0
- package/bin/sdk/api/discover/licenseReport/index.d.ts +19 -0
- package/bin/sdk/api/discover/licenseReport/index.js +8 -0
- package/bin/sdk/api/discover/progress/index.d.ts +27 -0
- package/bin/sdk/api/discover/progress/index.js +10 -0
- package/bin/sdk/api/discover/report/index.d.ts +25 -0
- package/bin/sdk/api/discover/report/index.js +7 -0
- package/bin/sdk/api/discover/status/index.d.ts +27 -0
- package/bin/sdk/api/discover/status/index.js +10 -0
- package/bin/sdk/api/index.d.ts +44 -0
- package/bin/sdk/api/index.js +29 -0
- package/bin/sdk/api/update/check/channel/index.d.ts +21 -0
- package/bin/sdk/api/update/check/channel/index.js +8 -0
- package/bin/sdk/api/update/check/channel/item/index.d.ts +51 -0
- package/bin/sdk/api/update/check/channel/item/index.js +24 -0
- package/bin/sdk/api/update/check/index.d.ts +60 -0
- package/bin/sdk/api/update/check/index.js +30 -0
- package/bin/sdk/api/update/index.d.ts +45 -0
- package/bin/sdk/api/update/index.js +25 -0
- package/bin/sdk/api/update/install/channel/index.d.ts +21 -0
- package/bin/sdk/api/update/install/channel/index.js +8 -0
- package/bin/sdk/api/update/install/channel/item/index.d.ts +25 -0
- package/bin/sdk/api/update/install/channel/item/index.js +7 -0
- package/bin/sdk/api/update/install/index.d.ts +34 -0
- package/bin/sdk/api/update/install/index.js +13 -0
- package/bin/sdk/api/update/upload/index.d.ts +27 -0
- package/bin/sdk/api/update/upload/index.js +9 -0
- package/bin/sdk/models/architectureReport/index.d.ts +49 -0
- package/bin/sdk/models/architectureReport/index.js +25 -0
- package/bin/sdk/models/core/index.d.ts +137 -0
- package/bin/sdk/models/core/index.js +71 -0
- package/bin/sdk/models/deploy/index.d.ts +677 -0
- package/bin/sdk/models/deploy/index.js +364 -0
- package/bin/sdk/models/discover/architectureReport/index.d.ts +61 -0
- package/bin/sdk/models/discover/architectureReport/index.js +31 -0
- package/bin/sdk/models/discover/index.d.ts +29 -0
- package/bin/sdk/models/discover/index.js +15 -0
- package/bin/sdk/models/index.d.ts +165 -0
- package/bin/sdk/models/index.js +88 -0
- package/bin/sdk/models/licenseReport/index.d.ts +49 -0
- package/bin/sdk/models/licenseReport/index.js +25 -0
- package/bin/sdk/models/managedObject/index.d.ts +287 -0
- package/bin/sdk/models/managedObject/index.js +140 -0
- package/bin/sdk/models/objectPage/index.d.ts +174 -0
- package/bin/sdk/models/objectPage/index.js +103 -0
- package/bin/sdk/models/objectPage/intermediary/index.d.ts +60 -0
- package/bin/sdk/models/objectPage/intermediary/index.js +36 -0
- package/bin/sdk/shieldClient.d.ts +24 -0
- package/bin/sdk/shieldClient.js +35 -0
- package/package.json +205 -5
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type CorrelationRequestBuilder } from './correlation/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /Api/Discover/LicenseReport
|
|
5
|
+
*/
|
|
6
|
+
export interface LicenseReportRequestBuilder extends BaseRequestBuilder<LicenseReportRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* The Correlation property
|
|
9
|
+
*/
|
|
10
|
+
get correlation(): CorrelationRequestBuilder;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export declare const LicenseReportRequestBuilderUriTemplate = "{+baseurl}/Api/Discover/LicenseReport";
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the navigation properties in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
export declare const LicenseReportRequestBuilderNavigationMetadata: Record<Exclude<keyof LicenseReportRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CorrelationRequestBuilderNavigationMetadata, CorrelationRequestBuilderRequestsMetadata } from './correlation/index.js';
|
|
2
|
+
export const LicenseReportRequestBuilderUriTemplate = "{+baseurl}/Api/Discover/LicenseReport";
|
|
3
|
+
export const LicenseReportRequestBuilderNavigationMetadata = {
|
|
4
|
+
correlation: {
|
|
5
|
+
requestsMetadata: CorrelationRequestBuilderRequestsMetadata,
|
|
6
|
+
navigationMetadata: CorrelationRequestBuilderNavigationMetadata,
|
|
7
|
+
},
|
|
8
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type ProgressBar } from '../../../models/core/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /Api/Discover/Progress
|
|
5
|
+
*/
|
|
6
|
+
export interface ProgressRequestBuilder extends BaseRequestBuilder<ProgressRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Provides a detailed breakdown of the current progress of the discover module and it progress.This endpoint requires the `Discover.Read`, or the `Everything.ReadWrite` scope (permission).
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<ProgressBar>}
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProgressBar | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Provides a detailed breakdown of the current progress of the discover module and it progress.This endpoint requires the `Discover.Read`, or the `Everything.ReadWrite` scope (permission).
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const ProgressRequestBuilderUriTemplate = "{+baseurl}/Api/Discover/Progress";
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the requests in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const ProgressRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createProgressBarFromDiscriminatorValue } from '../../../models/core/index.js';
|
|
2
|
+
export const ProgressRequestBuilderUriTemplate = "{+baseurl}/Api/Discover/Progress";
|
|
3
|
+
export const ProgressRequestBuilderRequestsMetadata = {
|
|
4
|
+
get: {
|
|
5
|
+
uriTemplate: ProgressRequestBuilderUriTemplate,
|
|
6
|
+
responseBodyContentType: "application/json",
|
|
7
|
+
adapterMethodName: "send",
|
|
8
|
+
responseBodyFactory: createProgressBarFromDiscriminatorValue,
|
|
9
|
+
},
|
|
10
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Builds and executes requests for operations under /Api/Discover/Report
|
|
4
|
+
*/
|
|
5
|
+
export interface ReportRequestBuilder extends BaseRequestBuilder<ReportRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Starts the Discover module's report collection engine to create a license report and upload it to the data gateway.This endpoint requires the `Discover.Action.Run`, or the `Everything.ReadWrite` scope (permission).
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
*/
|
|
10
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
11
|
+
/**
|
|
12
|
+
* Starts the Discover module's report collection engine to create a license report and upload it to the data gateway.This endpoint requires the `Discover.Action.Run`, or the `Everything.ReadWrite` scope (permission).
|
|
13
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
14
|
+
* @returns {RequestInformation}
|
|
15
|
+
*/
|
|
16
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Uri template for the request builder.
|
|
20
|
+
*/
|
|
21
|
+
export declare const ReportRequestBuilderUriTemplate = "{+baseurl}/Api/Discover/Report";
|
|
22
|
+
/**
|
|
23
|
+
* Metadata for all the requests in the request builder.
|
|
24
|
+
*/
|
|
25
|
+
export declare const ReportRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type ExecutionStatus } from '../../../models/discover/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /Api/Discover/Status
|
|
5
|
+
*/
|
|
6
|
+
export interface StatusRequestBuilder extends BaseRequestBuilder<StatusRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Provides a detailed breakdown of the current state of the discover module and it progress.This endpoint requires the `Discover.Read`, or the `Everything.ReadWrite` scope (permission).
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<ExecutionStatus>}
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ExecutionStatus | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Provides a detailed breakdown of the current state of the discover module and it progress.This endpoint requires the `Discover.Read`, or the `Everything.ReadWrite` scope (permission).
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const StatusRequestBuilderUriTemplate = "{+baseurl}/Api/Discover/Status";
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the requests in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const StatusRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createExecutionStatusFromDiscriminatorValue } from '../../../models/discover/index.js';
|
|
2
|
+
export const StatusRequestBuilderUriTemplate = "{+baseurl}/Api/Discover/Status";
|
|
3
|
+
export const StatusRequestBuilderRequestsMetadata = {
|
|
4
|
+
get: {
|
|
5
|
+
uriTemplate: StatusRequestBuilderUriTemplate,
|
|
6
|
+
responseBodyContentType: "application/json",
|
|
7
|
+
adapterMethodName: "send",
|
|
8
|
+
responseBodyFactory: createExecutionStatusFromDiscriminatorValue,
|
|
9
|
+
},
|
|
10
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type AuthRequestBuilder } from './auth/index.js';
|
|
2
|
+
import { type CoreRequestBuilder } from './core/index.js';
|
|
3
|
+
import { type DefendRequestBuilder } from './defend/index.js';
|
|
4
|
+
import { type DeployRequestBuilder } from './deploy/index.js';
|
|
5
|
+
import { type DiscoverRequestBuilder } from './discover/index.js';
|
|
6
|
+
import { type UpdateRequestBuilder } from './update/index.js';
|
|
7
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
8
|
+
/**
|
|
9
|
+
* Builds and executes requests for operations under /Api
|
|
10
|
+
*/
|
|
11
|
+
export interface ApiRequestBuilder extends BaseRequestBuilder<ApiRequestBuilder> {
|
|
12
|
+
/**
|
|
13
|
+
* The Auth property
|
|
14
|
+
*/
|
|
15
|
+
get auth(): AuthRequestBuilder;
|
|
16
|
+
/**
|
|
17
|
+
* The Core property
|
|
18
|
+
*/
|
|
19
|
+
get core(): CoreRequestBuilder;
|
|
20
|
+
/**
|
|
21
|
+
* The Defend property
|
|
22
|
+
*/
|
|
23
|
+
get defend(): DefendRequestBuilder;
|
|
24
|
+
/**
|
|
25
|
+
* The Deploy property
|
|
26
|
+
*/
|
|
27
|
+
get deploy(): DeployRequestBuilder;
|
|
28
|
+
/**
|
|
29
|
+
* The Discover property
|
|
30
|
+
*/
|
|
31
|
+
get discover(): DiscoverRequestBuilder;
|
|
32
|
+
/**
|
|
33
|
+
* The Update property
|
|
34
|
+
*/
|
|
35
|
+
get update(): UpdateRequestBuilder;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Uri template for the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const ApiRequestBuilderUriTemplate = "{+baseurl}/Api";
|
|
41
|
+
/**
|
|
42
|
+
* Metadata for all the navigation properties in the request builder.
|
|
43
|
+
*/
|
|
44
|
+
export declare const ApiRequestBuilderNavigationMetadata: Record<Exclude<keyof ApiRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AuthRequestBuilderNavigationMetadata } from './auth/index.js';
|
|
2
|
+
import { CoreRequestBuilderNavigationMetadata } from './core/index.js';
|
|
3
|
+
import { DefendRequestBuilderNavigationMetadata } from './defend/index.js';
|
|
4
|
+
import { DeployRequestBuilderNavigationMetadata, DeployRequestBuilderRequestsMetadata } from './deploy/index.js';
|
|
5
|
+
import { DiscoverRequestBuilderNavigationMetadata } from './discover/index.js';
|
|
6
|
+
import { UpdateRequestBuilderNavigationMetadata, UpdateRequestBuilderRequestsMetadata } from './update/index.js';
|
|
7
|
+
export const ApiRequestBuilderUriTemplate = "{+baseurl}/Api";
|
|
8
|
+
export const ApiRequestBuilderNavigationMetadata = {
|
|
9
|
+
auth: {
|
|
10
|
+
navigationMetadata: AuthRequestBuilderNavigationMetadata,
|
|
11
|
+
},
|
|
12
|
+
core: {
|
|
13
|
+
navigationMetadata: CoreRequestBuilderNavigationMetadata,
|
|
14
|
+
},
|
|
15
|
+
defend: {
|
|
16
|
+
navigationMetadata: DefendRequestBuilderNavigationMetadata,
|
|
17
|
+
},
|
|
18
|
+
deploy: {
|
|
19
|
+
requestsMetadata: DeployRequestBuilderRequestsMetadata,
|
|
20
|
+
navigationMetadata: DeployRequestBuilderNavigationMetadata,
|
|
21
|
+
},
|
|
22
|
+
discover: {
|
|
23
|
+
navigationMetadata: DiscoverRequestBuilderNavigationMetadata,
|
|
24
|
+
},
|
|
25
|
+
update: {
|
|
26
|
+
requestsMetadata: UpdateRequestBuilderRequestsMetadata,
|
|
27
|
+
navigationMetadata: UpdateRequestBuilderNavigationMetadata,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type UpdateChannelNameItemRequestBuilder } from './item/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /Api/Update/Check/Channel
|
|
5
|
+
*/
|
|
6
|
+
export interface ChannelRequestBuilder extends BaseRequestBuilder<ChannelRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Gets an item from the ApiSdk.Api.Update.Check.Channel.item collection
|
|
9
|
+
* @param updateChannelName Name of the update channel that should be used when querying or downloading updates.
|
|
10
|
+
* @returns {UpdateChannelNameItemRequestBuilder}
|
|
11
|
+
*/
|
|
12
|
+
byUpdateChannelName(updateChannelName: string): UpdateChannelNameItemRequestBuilder;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Uri template for the request builder.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ChannelRequestBuilderUriTemplate = "{+baseurl}/Api/Update/Check/Channel";
|
|
18
|
+
/**
|
|
19
|
+
* Metadata for all the navigation properties in the request builder.
|
|
20
|
+
*/
|
|
21
|
+
export declare const ChannelRequestBuilderNavigationMetadata: Record<Exclude<keyof ChannelRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UpdateChannelNameItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
2
|
+
export const ChannelRequestBuilderUriTemplate = "{+baseurl}/Api/Update/Check/Channel";
|
|
3
|
+
export const ChannelRequestBuilderNavigationMetadata = {
|
|
4
|
+
byUpdateChannelName: {
|
|
5
|
+
requestsMetadata: UpdateChannelNameItemRequestBuilderRequestsMetadata,
|
|
6
|
+
pathParametersMappings: ["Update%20Channel%20Name"],
|
|
7
|
+
},
|
|
8
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5
|
+
* @returns {UpdateChannelNameGetResponse}
|
|
6
|
+
*/
|
|
7
|
+
export declare function createUpdateChannelNameGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
8
|
+
/**
|
|
9
|
+
* The deserialization information for the current model
|
|
10
|
+
* @param UpdateChannelNameGetResponse The instance to deserialize into.
|
|
11
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoUpdateChannelNameGetResponse(updateChannelNameGetResponse?: Partial<UpdateChannelNameGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
/**
|
|
15
|
+
* Serializes information the current object
|
|
16
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
17
|
+
* @param UpdateChannelNameGetResponse The instance to serialize from.
|
|
18
|
+
* @param writer Serialization writer to use to serialize this model
|
|
19
|
+
*/
|
|
20
|
+
export declare function serializeUpdateChannelNameGetResponse(writer: SerializationWriter, updateChannelNameGetResponse?: Partial<UpdateChannelNameGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
21
|
+
export interface UpdateChannelNameGetResponse extends AdditionalDataHolder, Parsable {
|
|
22
|
+
/**
|
|
23
|
+
* Follows symantec versioning as laid out here: https://semver.org/. This number is the version of the application package.
|
|
24
|
+
*/
|
|
25
|
+
appVersion?: string | null;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Builds and executes requests for operations under /Api/Update/Check/Channel/{Update Channel Name}
|
|
29
|
+
*/
|
|
30
|
+
export interface UpdateChannelNameItemRequestBuilder extends BaseRequestBuilder<UpdateChannelNameItemRequestBuilder> {
|
|
31
|
+
/**
|
|
32
|
+
* Checks with the SHI Data Gateway in the specified update channel and compares the reported version to the version that is locally installed. If there is a difference, a new update is marked as available. Always returns the latest version available on data gateway, even if that version is installed locally.This endpoint requires the `Update.Read`, `Update.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
33
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
* @returns {Promise<UpdateChannelNameGetResponse>}
|
|
35
|
+
*/
|
|
36
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UpdateChannelNameGetResponse | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* Checks with the SHI Data Gateway in the specified update channel and compares the reported version to the version that is locally installed. If there is a difference, a new update is marked as available. Always returns the latest version available on data gateway, even if that version is installed locally.This endpoint requires the `Update.Read`, `Update.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
39
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
|
+
* @returns {RequestInformation}
|
|
41
|
+
*/
|
|
42
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Uri template for the request builder.
|
|
46
|
+
*/
|
|
47
|
+
export declare const UpdateChannelNameItemRequestBuilderUriTemplate = "{+baseurl}/Api/Update/Check/Channel/{Update%20Channel%20Name}";
|
|
48
|
+
/**
|
|
49
|
+
* Metadata for all the requests in the request builder.
|
|
50
|
+
*/
|
|
51
|
+
export declare const UpdateChannelNameItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export function createUpdateChannelNameGetResponseFromDiscriminatorValue(parseNode) {
|
|
2
|
+
return deserializeIntoUpdateChannelNameGetResponse;
|
|
3
|
+
}
|
|
4
|
+
export function deserializeIntoUpdateChannelNameGetResponse(updateChannelNameGetResponse = {}) {
|
|
5
|
+
return {
|
|
6
|
+
"appVersion": n => { updateChannelNameGetResponse.appVersion = n.getStringValue(); },
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export function serializeUpdateChannelNameGetResponse(writer, updateChannelNameGetResponse = {}, isSerializingDerivedType = false) {
|
|
10
|
+
if (!updateChannelNameGetResponse || isSerializingDerivedType) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
writer.writeStringValue("appVersion", updateChannelNameGetResponse.appVersion);
|
|
14
|
+
writer.writeAdditionalData(updateChannelNameGetResponse.additionalData);
|
|
15
|
+
}
|
|
16
|
+
export const UpdateChannelNameItemRequestBuilderUriTemplate = "{+baseurl}/Api/Update/Check/Channel/{Update%20Channel%20Name}";
|
|
17
|
+
export const UpdateChannelNameItemRequestBuilderRequestsMetadata = {
|
|
18
|
+
get: {
|
|
19
|
+
uriTemplate: UpdateChannelNameItemRequestBuilderUriTemplate,
|
|
20
|
+
responseBodyContentType: "application/json",
|
|
21
|
+
adapterMethodName: "send",
|
|
22
|
+
responseBodyFactory: createUpdateChannelNameGetResponseFromDiscriminatorValue,
|
|
23
|
+
},
|
|
24
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { type ChannelRequestBuilder } from './channel/index.js';
|
|
2
|
+
import { type AdditionalDataHolder, type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
export interface CheckGetResponse extends AdditionalDataHolder, Parsable {
|
|
4
|
+
/**
|
|
5
|
+
* Follows symantec versioning as laid out here: https://semver.org/. This number is the version of the application package.
|
|
6
|
+
*/
|
|
7
|
+
appVersion?: string | null;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Builds and executes requests for operations under /Api/Update/Check
|
|
11
|
+
*/
|
|
12
|
+
export interface CheckRequestBuilder extends BaseRequestBuilder<CheckRequestBuilder> {
|
|
13
|
+
/**
|
|
14
|
+
* The Channel property
|
|
15
|
+
*/
|
|
16
|
+
get channel(): ChannelRequestBuilder;
|
|
17
|
+
/**
|
|
18
|
+
* Checks with data gateway and compares the reported version to the version that is locally installed. If there is a difference, a new update is marked as available. Always returns the latest version available on data gateway, even if that version is installed locally.This endpoint requires the `Update.Read`, `Update.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @returns {Promise<CheckGetResponse>}
|
|
21
|
+
*/
|
|
22
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CheckGetResponse | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* Checks with data gateway and compares the reported version to the version that is locally installed. If there is a difference, a new update is marked as available. Always returns the latest version available on data gateway, even if that version is installed locally.This endpoint requires the `Update.Read`, `Update.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
25
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
|
+
* @returns {RequestInformation}
|
|
27
|
+
*/
|
|
28
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
32
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
33
|
+
* @returns {CheckGetResponse}
|
|
34
|
+
*/
|
|
35
|
+
export declare function createCheckGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
36
|
+
/**
|
|
37
|
+
* The deserialization information for the current model
|
|
38
|
+
* @param CheckGetResponse The instance to deserialize into.
|
|
39
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
40
|
+
*/
|
|
41
|
+
export declare function deserializeIntoCheckGetResponse(checkGetResponse?: Partial<CheckGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
42
|
+
/**
|
|
43
|
+
* Serializes information the current object
|
|
44
|
+
* @param CheckGetResponse The instance to serialize from.
|
|
45
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
46
|
+
* @param writer Serialization writer to use to serialize this model
|
|
47
|
+
*/
|
|
48
|
+
export declare function serializeCheckGetResponse(writer: SerializationWriter, checkGetResponse?: Partial<CheckGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
49
|
+
/**
|
|
50
|
+
* Uri template for the request builder.
|
|
51
|
+
*/
|
|
52
|
+
export declare const CheckRequestBuilderUriTemplate = "{+baseurl}/Api/Update/Check";
|
|
53
|
+
/**
|
|
54
|
+
* Metadata for all the navigation properties in the request builder.
|
|
55
|
+
*/
|
|
56
|
+
export declare const CheckRequestBuilderNavigationMetadata: Record<Exclude<keyof CheckRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
57
|
+
/**
|
|
58
|
+
* Metadata for all the requests in the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export declare const CheckRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ChannelRequestBuilderNavigationMetadata } from './channel/index.js';
|
|
2
|
+
export function createCheckGetResponseFromDiscriminatorValue(parseNode) {
|
|
3
|
+
return deserializeIntoCheckGetResponse;
|
|
4
|
+
}
|
|
5
|
+
export function deserializeIntoCheckGetResponse(checkGetResponse = {}) {
|
|
6
|
+
return {
|
|
7
|
+
"appVersion": n => { checkGetResponse.appVersion = n.getStringValue(); },
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export function serializeCheckGetResponse(writer, checkGetResponse = {}, isSerializingDerivedType = false) {
|
|
11
|
+
if (!checkGetResponse || isSerializingDerivedType) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
writer.writeStringValue("appVersion", checkGetResponse.appVersion);
|
|
15
|
+
writer.writeAdditionalData(checkGetResponse.additionalData);
|
|
16
|
+
}
|
|
17
|
+
export const CheckRequestBuilderUriTemplate = "{+baseurl}/Api/Update/Check";
|
|
18
|
+
export const CheckRequestBuilderNavigationMetadata = {
|
|
19
|
+
channel: {
|
|
20
|
+
navigationMetadata: ChannelRequestBuilderNavigationMetadata,
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
export const CheckRequestBuilderRequestsMetadata = {
|
|
24
|
+
get: {
|
|
25
|
+
uriTemplate: CheckRequestBuilderUriTemplate,
|
|
26
|
+
responseBodyContentType: "application/json",
|
|
27
|
+
adapterMethodName: "send",
|
|
28
|
+
responseBodyFactory: createCheckGetResponseFromDiscriminatorValue,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type CheckRequestBuilder } from './check/index.js';
|
|
2
|
+
import { type InstallRequestBuilder } from './install/index.js';
|
|
3
|
+
import { type UploadRequestBuilder } from './upload/index.js';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Builds and executes requests for operations under /Api/Update
|
|
7
|
+
*/
|
|
8
|
+
export interface UpdateRequestBuilder extends BaseRequestBuilder<UpdateRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* The Check property
|
|
11
|
+
*/
|
|
12
|
+
get check(): CheckRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* The Install property
|
|
15
|
+
*/
|
|
16
|
+
get install(): InstallRequestBuilder;
|
|
17
|
+
/**
|
|
18
|
+
* The Upload property
|
|
19
|
+
*/
|
|
20
|
+
get upload(): UploadRequestBuilder;
|
|
21
|
+
/**
|
|
22
|
+
* Provides the state of the update engine. Where `true` means there is an update detected and `false` means there isn't an update available. This endpoint is available to all authorization levels.
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns {Promise<boolean>}
|
|
25
|
+
*/
|
|
26
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<boolean | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Provides the state of the update engine. Where `true` means there is an update detected and `false` means there isn't an update available. This endpoint is available to all authorization levels.
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns {RequestInformation}
|
|
31
|
+
*/
|
|
32
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Uri template for the request builder.
|
|
36
|
+
*/
|
|
37
|
+
export declare const UpdateRequestBuilderUriTemplate = "{+baseurl}/Api/Update";
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the navigation properties in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
export declare const UpdateRequestBuilderNavigationMetadata: Record<Exclude<keyof UpdateRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
42
|
+
/**
|
|
43
|
+
* Metadata for all the requests in the request builder.
|
|
44
|
+
*/
|
|
45
|
+
export declare const UpdateRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CheckRequestBuilderNavigationMetadata, CheckRequestBuilderRequestsMetadata } from './check/index.js';
|
|
2
|
+
import { InstallRequestBuilderNavigationMetadata, InstallRequestBuilderRequestsMetadata } from './install/index.js';
|
|
3
|
+
import { UploadRequestBuilderRequestsMetadata } from './upload/index.js';
|
|
4
|
+
export const UpdateRequestBuilderUriTemplate = "{+baseurl}/Api/Update";
|
|
5
|
+
export const UpdateRequestBuilderNavigationMetadata = {
|
|
6
|
+
check: {
|
|
7
|
+
requestsMetadata: CheckRequestBuilderRequestsMetadata,
|
|
8
|
+
navigationMetadata: CheckRequestBuilderNavigationMetadata,
|
|
9
|
+
},
|
|
10
|
+
install: {
|
|
11
|
+
requestsMetadata: InstallRequestBuilderRequestsMetadata,
|
|
12
|
+
navigationMetadata: InstallRequestBuilderNavigationMetadata,
|
|
13
|
+
},
|
|
14
|
+
upload: {
|
|
15
|
+
requestsMetadata: UploadRequestBuilderRequestsMetadata,
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
export const UpdateRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
uriTemplate: UpdateRequestBuilderUriTemplate,
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
adapterMethodName: "sendPrimitive",
|
|
23
|
+
responseBodyFactory: "boolean",
|
|
24
|
+
},
|
|
25
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type UpdateChannelNameItemRequestBuilder } from './item/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /Api/Update/Install/Channel
|
|
5
|
+
*/
|
|
6
|
+
export interface ChannelRequestBuilder extends BaseRequestBuilder<ChannelRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Gets an item from the ApiSdk.Api.Update.Install.Channel.item collection
|
|
9
|
+
* @param updateChannelName Name of the update channel that should be used when querying or downloading updates.
|
|
10
|
+
* @returns {UpdateChannelNameItemRequestBuilder}
|
|
11
|
+
*/
|
|
12
|
+
byUpdateChannelName(updateChannelName: string): UpdateChannelNameItemRequestBuilder;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Uri template for the request builder.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ChannelRequestBuilderUriTemplate = "{+baseurl}/Api/Update/Install/Channel";
|
|
18
|
+
/**
|
|
19
|
+
* Metadata for all the navigation properties in the request builder.
|
|
20
|
+
*/
|
|
21
|
+
export declare const ChannelRequestBuilderNavigationMetadata: Record<Exclude<keyof ChannelRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UpdateChannelNameItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
2
|
+
export const ChannelRequestBuilderUriTemplate = "{+baseurl}/Api/Update/Install/Channel";
|
|
3
|
+
export const ChannelRequestBuilderNavigationMetadata = {
|
|
4
|
+
byUpdateChannelName: {
|
|
5
|
+
requestsMetadata: UpdateChannelNameItemRequestBuilderRequestsMetadata,
|
|
6
|
+
pathParametersMappings: ["Update%20Channel%20Name"],
|
|
7
|
+
},
|
|
8
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Builds and executes requests for operations under /Api/Update/Install/Channel/{Update Channel Name}
|
|
4
|
+
*/
|
|
5
|
+
export interface UpdateChannelNameItemRequestBuilder extends BaseRequestBuilder<UpdateChannelNameItemRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Installs the latest version that is available from SHI Data Gateway in the specified channel. Even if that version is the same that is installed.This endpoint requires the `Update.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
*/
|
|
10
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
11
|
+
/**
|
|
12
|
+
* Installs the latest version that is available from SHI Data Gateway in the specified channel. Even if that version is the same that is installed.This endpoint requires the `Update.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
13
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
14
|
+
* @returns {RequestInformation}
|
|
15
|
+
*/
|
|
16
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Uri template for the request builder.
|
|
20
|
+
*/
|
|
21
|
+
export declare const UpdateChannelNameItemRequestBuilderUriTemplate = "{+baseurl}/Api/Update/Install/Channel/{Update%20Channel%20Name}";
|
|
22
|
+
/**
|
|
23
|
+
* Metadata for all the requests in the request builder.
|
|
24
|
+
*/
|
|
25
|
+
export declare const UpdateChannelNameItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export const UpdateChannelNameItemRequestBuilderUriTemplate = "{+baseurl}/Api/Update/Install/Channel/{Update%20Channel%20Name}";
|
|
2
|
+
export const UpdateChannelNameItemRequestBuilderRequestsMetadata = {
|
|
3
|
+
post: {
|
|
4
|
+
uriTemplate: UpdateChannelNameItemRequestBuilderUriTemplate,
|
|
5
|
+
adapterMethodName: "sendNoResponseContent",
|
|
6
|
+
},
|
|
7
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type ChannelRequestBuilder } from './channel/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /Api/Update/Install
|
|
5
|
+
*/
|
|
6
|
+
export interface InstallRequestBuilder extends BaseRequestBuilder<InstallRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* The Channel property
|
|
9
|
+
*/
|
|
10
|
+
get channel(): ChannelRequestBuilder;
|
|
11
|
+
/**
|
|
12
|
+
* Installs the latest version that is available from SHI Data Gateway. Even if that version is the same that is installed.This endpoint requires the `Update.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
13
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
14
|
+
*/
|
|
15
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
16
|
+
/**
|
|
17
|
+
* Installs the latest version that is available from SHI Data Gateway. Even if that version is the same that is installed.This endpoint requires the `Update.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
18
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
19
|
+
* @returns {RequestInformation}
|
|
20
|
+
*/
|
|
21
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Uri template for the request builder.
|
|
25
|
+
*/
|
|
26
|
+
export declare const InstallRequestBuilderUriTemplate = "{+baseurl}/Api/Update/Install";
|
|
27
|
+
/**
|
|
28
|
+
* Metadata for all the navigation properties in the request builder.
|
|
29
|
+
*/
|
|
30
|
+
export declare const InstallRequestBuilderNavigationMetadata: Record<Exclude<keyof InstallRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
31
|
+
/**
|
|
32
|
+
* Metadata for all the requests in the request builder.
|
|
33
|
+
*/
|
|
34
|
+
export declare const InstallRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ChannelRequestBuilderNavigationMetadata } from './channel/index.js';
|
|
2
|
+
export const InstallRequestBuilderUriTemplate = "{+baseurl}/Api/Update/Install";
|
|
3
|
+
export const InstallRequestBuilderNavigationMetadata = {
|
|
4
|
+
channel: {
|
|
5
|
+
navigationMetadata: ChannelRequestBuilderNavigationMetadata,
|
|
6
|
+
},
|
|
7
|
+
};
|
|
8
|
+
export const InstallRequestBuilderRequestsMetadata = {
|
|
9
|
+
post: {
|
|
10
|
+
uriTemplate: InstallRequestBuilderUriTemplate,
|
|
11
|
+
adapterMethodName: "sendNoResponseContent",
|
|
12
|
+
},
|
|
13
|
+
};
|