@microsoft/msgraph-sdk-informationprotection 1.0.0-preview.10

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.
Files changed (44) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/index.d.ts +11 -0
  4. package/index.d.ts.map +1 -0
  5. package/index.js +20 -0
  6. package/informationProtection/bitlocker/index.d.ts +50 -0
  7. package/informationProtection/bitlocker/index.d.ts.map +1 -0
  8. package/informationProtection/bitlocker/index.js +47 -0
  9. package/informationProtection/bitlocker/recoveryKeys/count/index.d.ts +40 -0
  10. package/informationProtection/bitlocker/recoveryKeys/count/index.d.ts.map +1 -0
  11. package/informationProtection/bitlocker/recoveryKeys/count/index.js +35 -0
  12. package/informationProtection/bitlocker/recoveryKeys/index.d.ts +82 -0
  13. package/informationProtection/bitlocker/recoveryKeys/index.d.ts.map +1 -0
  14. package/informationProtection/bitlocker/recoveryKeys/index.js +58 -0
  15. package/informationProtection/bitlocker/recoveryKeys/item/index.d.ts +42 -0
  16. package/informationProtection/bitlocker/recoveryKeys/item/index.d.ts.map +1 -0
  17. package/informationProtection/bitlocker/recoveryKeys/item/index.js +36 -0
  18. package/informationProtection/index.d.ts +69 -0
  19. package/informationProtection/index.d.ts.map +1 -0
  20. package/informationProtection/index.js +65 -0
  21. package/informationProtection/threatAssessmentRequests/count/index.d.ts +40 -0
  22. package/informationProtection/threatAssessmentRequests/count/index.d.ts.map +1 -0
  23. package/informationProtection/threatAssessmentRequests/count/index.js +35 -0
  24. package/informationProtection/threatAssessmentRequests/index.d.ts +97 -0
  25. package/informationProtection/threatAssessmentRequests/index.d.ts.map +1 -0
  26. package/informationProtection/threatAssessmentRequests/index.js +71 -0
  27. package/informationProtection/threatAssessmentRequests/item/index.d.ts +76 -0
  28. package/informationProtection/threatAssessmentRequests/item/index.d.ts.map +1 -0
  29. package/informationProtection/threatAssessmentRequests/item/index.js +67 -0
  30. package/informationProtection/threatAssessmentRequests/item/results/count/index.d.ts +40 -0
  31. package/informationProtection/threatAssessmentRequests/item/results/count/index.d.ts.map +1 -0
  32. package/informationProtection/threatAssessmentRequests/item/results/count/index.js +35 -0
  33. package/informationProtection/threatAssessmentRequests/item/results/index.d.ts +95 -0
  34. package/informationProtection/threatAssessmentRequests/item/results/index.d.ts.map +1 -0
  35. package/informationProtection/threatAssessmentRequests/item/results/index.js +70 -0
  36. package/informationProtection/threatAssessmentRequests/item/results/item/index.d.ts +66 -0
  37. package/informationProtection/threatAssessmentRequests/item/results/item/index.d.ts.map +1 -0
  38. package/informationProtection/threatAssessmentRequests/item/results/item/index.js +56 -0
  39. package/informationProtectionServiceClient.d.ts +25 -0
  40. package/informationProtectionServiceClient.d.ts.map +1 -0
  41. package/informationProtectionServiceClient.js +49 -0
  42. package/package.json +48 -0
  43. package/tsconfig.json +15 -0
  44. package/tsconfig.tsbuildinfo +1 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Microsoft Graph
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # `@microsoft/msgraph-sdk-informationProtection`
2
+
3
+ > TODO: description
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ const msgraphSdkJavascriptInformationProtection = require('@microsoft/msgraph-sdk-informationProtection');
9
+
10
+ // TODO: DEMONSTRATE API
11
+ ```
package/index.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ import type { InformationProtectionRequestBuilder } from "./informationProtection";
2
+ declare module "@microsoft/msgraph-sdk" {
3
+ interface GraphServiceClient {
4
+ /**
5
+ * Provides operations to manage the informationProtection singleton.
6
+ */
7
+ get informationProtection(): InformationProtectionRequestBuilder;
8
+ }
9
+ }
10
+ export * from "./informationProtectionServiceClient";
11
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAGnF,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAU,kBAAkB;QAC1B;;WAEG;QACH,IAAI,qBAAqB,IAAI,mCAAmC,CAAC;KAClE;CACF;AAED,cAAc,sCAAsC,CAAC"}
package/index.js ADDED
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ const msgraph_sdk_1 = require("@microsoft/msgraph-sdk");
18
+ const informationProtectionServiceClient_1 = require("./informationProtectionServiceClient");
19
+ (0, msgraph_sdk_1.extendGraphServiceClient)(informationProtectionServiceClient_1.InformationProtectionServiceClientNavigationMetadata);
20
+ __exportStar(require("./informationProtectionServiceClient"), exports);
@@ -0,0 +1,50 @@
1
+ import { type Bitlocker } from '@microsoft/msgraph-sdk/models/';
2
+ import { type RecoveryKeysRequestBuilder } from './recoveryKeys/';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Provides operations to manage the bitlocker property of the microsoft.graph.informationProtection entity.
6
+ */
7
+ export interface BitlockerRequestBuilder extends BaseRequestBuilder<BitlockerRequestBuilder> {
8
+ /**
9
+ * Provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity.
10
+ */
11
+ get recoveryKeys(): RecoveryKeysRequestBuilder;
12
+ /**
13
+ * Get bitlocker from informationProtection
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a Promise of Bitlocker
16
+ */
17
+ get(requestConfiguration?: RequestConfiguration<BitlockerRequestBuilderGetQueryParameters> | undefined): Promise<Bitlocker | undefined>;
18
+ /**
19
+ * Get bitlocker from informationProtection
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns a RequestInformation
22
+ */
23
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<BitlockerRequestBuilderGetQueryParameters> | undefined): RequestInformation;
24
+ }
25
+ /**
26
+ * Get bitlocker from informationProtection
27
+ */
28
+ export interface BitlockerRequestBuilderGetQueryParameters {
29
+ /**
30
+ * Expand related entities
31
+ */
32
+ expand?: string[];
33
+ /**
34
+ * Select properties to be returned
35
+ */
36
+ select?: string[];
37
+ }
38
+ /**
39
+ * Metadata for all the navigation properties in the request builder.
40
+ */
41
+ export declare const BitlockerRequestBuilderNavigationMetadata: Record<Exclude<keyof BitlockerRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
42
+ /**
43
+ * Metadata for all the requests in the request builder.
44
+ */
45
+ export declare const BitlockerRequestBuilderRequestsMetadata: RequestsMetadata;
46
+ /**
47
+ * Uri template for the request builder.
48
+ */
49
+ export declare const BitlockerRequestBuilderUriTemplate = "{+baseurl}/informationProtection/bitlocker{?%24select,%24expand}";
50
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAEvG,OAAO,EAAmI,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AACnM,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,YAAY,IAAI,0BAA0B,CAAC;IAC/C;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAM5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAWrD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,qEAAqE,CAAC"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BitlockerRequestBuilderUriTemplate = exports.BitlockerRequestBuilderRequestsMetadata = exports.BitlockerRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const recoveryKeys_1 = require("./recoveryKeys/");
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const BitlockerRequestBuilderGetQueryParametersMapper = {
14
+ "expand": "%24expand",
15
+ "select": "%24select",
16
+ };
17
+ /**
18
+ * Metadata for all the navigation properties in the request builder.
19
+ */
20
+ exports.BitlockerRequestBuilderNavigationMetadata = {
21
+ recoveryKeys: {
22
+ uriTemplate: recoveryKeys_1.RecoveryKeysRequestBuilderUriTemplate,
23
+ requestsMetadata: recoveryKeys_1.RecoveryKeysRequestBuilderRequestsMetadata,
24
+ navigationMetadata: recoveryKeys_1.RecoveryKeysRequestBuilderNavigationMetadata,
25
+ },
26
+ };
27
+ /**
28
+ * Metadata for all the requests in the request builder.
29
+ */
30
+ exports.BitlockerRequestBuilderRequestsMetadata = {
31
+ get: {
32
+ responseBodyContentType: "application/json",
33
+ errorMappings: {
34
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ },
37
+ adapterMethodName: "sendAsync",
38
+ responseBodyFactory: models_1.createBitlockerFromDiscriminatorValue,
39
+ queryParametersMapper: BitlockerRequestBuilderGetQueryParametersMapper,
40
+ },
41
+ };
42
+ /**
43
+ * Uri template for the request builder.
44
+ */
45
+ exports.BitlockerRequestBuilderUriTemplate = "{+baseurl}/informationProtection/bitlocker{?%24select,%24expand}";
46
+ /* tslint:enable */
47
+ /* eslint-enable */
@@ -0,0 +1,40 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/informationProtection/bitlocker/recoveryKeys/$count{?%24search,%24filter}";
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,yFAAyF,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/informationProtection/bitlocker/recoveryKeys/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,82 @@
1
+ import { type BitlockerRecoveryKeyCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type BitlockerRecoveryKeyItemRequestBuilder } from './item/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity.
7
+ */
8
+ export interface RecoveryKeysRequestBuilder extends BaseRequestBuilder<RecoveryKeysRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity.
15
+ * @param bitlockerRecoveryKeyId The unique identifier of bitlockerRecoveryKey
16
+ * @returns a BitlockerRecoveryKeyItemRequestBuilder
17
+ */
18
+ byBitlockerRecoveryKeyId(bitlockerRecoveryKeyId: string): BitlockerRecoveryKeyItemRequestBuilder;
19
+ /**
20
+ * Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of BitlockerRecoveryKeyCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/bitlocker-list-recoverykeys?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<RecoveryKeysRequestBuilderGetQueryParameters> | undefined): Promise<BitlockerRecoveryKeyCollectionResponse | undefined>;
26
+ /**
27
+ * Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey.
28
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
+ * @returns a RequestInformation
30
+ */
31
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<RecoveryKeysRequestBuilderGetQueryParameters> | undefined): RequestInformation;
32
+ }
33
+ /**
34
+ * Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey.
35
+ */
36
+ export interface RecoveryKeysRequestBuilderGetQueryParameters {
37
+ /**
38
+ * Include count of items
39
+ */
40
+ count?: boolean;
41
+ /**
42
+ * Expand related entities
43
+ */
44
+ expand?: string[];
45
+ /**
46
+ * Filter items by property values
47
+ */
48
+ filter?: string;
49
+ /**
50
+ * Order items by property values
51
+ */
52
+ orderby?: string[];
53
+ /**
54
+ * Search items by search phrases
55
+ */
56
+ search?: string;
57
+ /**
58
+ * Select properties to be returned
59
+ */
60
+ select?: string[];
61
+ /**
62
+ * Skip the first n items
63
+ */
64
+ skip?: number;
65
+ /**
66
+ * Show only the first n items
67
+ */
68
+ top?: number;
69
+ }
70
+ /**
71
+ * Metadata for all the navigation properties in the request builder.
72
+ */
73
+ export declare const RecoveryKeysRequestBuilderNavigationMetadata: Record<Exclude<keyof RecoveryKeysRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
74
+ /**
75
+ * Metadata for all the requests in the request builder.
76
+ */
77
+ export declare const RecoveryKeysRequestBuilderRequestsMetadata: RequestsMetadata;
78
+ /**
79
+ * Uri template for the request builder.
80
+ */
81
+ export declare const RecoveryKeysRequestBuilderUriTemplate = "{+baseurl}/informationProtection/bitlocker/recoveryKeys{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
82
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsE,KAAK,sCAAsC,EAAE,MAAM,gCAAgC,CAAC;AAEjK,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA6G,KAAK,sCAAsC,EAAE,MAAM,SAAS,CAAC;AACjL,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,wBAAwB,CAAC,sBAAsB,EAAE,MAAM,GAAI,sCAAsC,CAAC;IACnG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sCAAsC,GAAG,SAAS,CAAC,CAAC;IAC1K;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxJ;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAWxD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,yIAAyI,CAAC"}
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RecoveryKeysRequestBuilderUriTemplate = exports.RecoveryKeysRequestBuilderRequestsMetadata = exports.RecoveryKeysRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const item_1 = require("./item/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const RecoveryKeysRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.RecoveryKeysRequestBuilderNavigationMetadata = {
28
+ byBitlockerRecoveryKeyId: {
29
+ uriTemplate: item_1.BitlockerRecoveryKeyItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.BitlockerRecoveryKeyItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["bitlockerRecoveryKey%2Did"],
32
+ },
33
+ count: {
34
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
+ },
37
+ };
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.RecoveryKeysRequestBuilderRequestsMetadata = {
42
+ get: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createBitlockerRecoveryKeyCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: RecoveryKeysRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ };
53
+ /**
54
+ * Uri template for the request builder.
55
+ */
56
+ exports.RecoveryKeysRequestBuilderUriTemplate = "{+baseurl}/informationProtection/bitlocker/recoveryKeys{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
57
+ /* tslint:enable */
58
+ /* eslint-enable */
@@ -0,0 +1,42 @@
1
+ import { type BitlockerRecoveryKey } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity.
5
+ */
6
+ export interface BitlockerRecoveryKeyItemRequestBuilder extends BaseRequestBuilder<BitlockerRecoveryKeyItemRequestBuilder> {
7
+ /**
8
+ * Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation doesn't return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. For more information on audit logs for bitlocker recovery keys, see the KeyManagement category filter of Microsoft Entra audit logs.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns a Promise of BitlockerRecoveryKey
11
+ * @see {@link https://learn.microsoft.com/graph/api/bitlockerrecoverykey-get?view=graph-rest-1.0|Find more info here}
12
+ */
13
+ get(requestConfiguration?: RequestConfiguration<BitlockerRecoveryKeyItemRequestBuilderGetQueryParameters> | undefined): Promise<BitlockerRecoveryKey | undefined>;
14
+ /**
15
+ * Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation doesn't return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. For more information on audit logs for bitlocker recovery keys, see the KeyManagement category filter of Microsoft Entra audit logs.
16
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
+ * @returns a RequestInformation
18
+ */
19
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<BitlockerRecoveryKeyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
20
+ }
21
+ /**
22
+ * Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation doesn't return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. For more information on audit logs for bitlocker recovery keys, see the KeyManagement category filter of Microsoft Entra audit logs.
23
+ */
24
+ export interface BitlockerRecoveryKeyItemRequestBuilderGetQueryParameters {
25
+ /**
26
+ * Expand related entities
27
+ */
28
+ expand?: string[];
29
+ /**
30
+ * Select properties to be returned
31
+ */
32
+ select?: string[];
33
+ }
34
+ /**
35
+ * Metadata for all the requests in the request builder.
36
+ */
37
+ export declare const BitlockerRecoveryKeyItemRequestBuilderRequestsMetadata: RequestsMetadata;
38
+ /**
39
+ * Uri template for the request builder.
40
+ */
41
+ export declare const BitlockerRecoveryKeyItemRequestBuilderUriTemplate = "{+baseurl}/informationProtection/bitlocker/recoveryKeys/{bitlockerRecoveryKey%2Did}{?%24select,%24expand}";
42
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoD,KAAK,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE7H,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,sCAAuC,SAAQ,kBAAkB,CAAC,sCAAsC,CAAC;IACtH;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wDAAwD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IACpK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wDAAwD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpK;AACD;;GAEG;AACH,MAAM,WAAW,wDAAwD;IACrE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBAWpE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iDAAiD,8GAA8G,CAAC"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BitlockerRecoveryKeyItemRequestBuilderUriTemplate = exports.BitlockerRecoveryKeyItemRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
+ */
12
+ const BitlockerRecoveryKeyItemRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.BitlockerRecoveryKeyItemRequestBuilderRequestsMetadata = {
20
+ get: {
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ },
26
+ adapterMethodName: "sendAsync",
27
+ responseBodyFactory: models_1.createBitlockerRecoveryKeyFromDiscriminatorValue,
28
+ queryParametersMapper: BitlockerRecoveryKeyItemRequestBuilderGetQueryParametersMapper,
29
+ },
30
+ };
31
+ /**
32
+ * Uri template for the request builder.
33
+ */
34
+ exports.BitlockerRecoveryKeyItemRequestBuilderUriTemplate = "{+baseurl}/informationProtection/bitlocker/recoveryKeys/{bitlockerRecoveryKey%2Did}{?%24select,%24expand}";
35
+ /* tslint:enable */
36
+ /* eslint-enable */
@@ -0,0 +1,69 @@
1
+ import { type InformationProtection } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BitlockerRequestBuilder } from './bitlocker/';
3
+ import { type ThreatAssessmentRequestsRequestBuilder } from './threatAssessmentRequests/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the informationProtection singleton.
7
+ */
8
+ export interface InformationProtectionRequestBuilder extends BaseRequestBuilder<InformationProtectionRequestBuilder> {
9
+ /**
10
+ * Provides operations to manage the bitlocker property of the microsoft.graph.informationProtection entity.
11
+ */
12
+ get bitlocker(): BitlockerRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the threatAssessmentRequests property of the microsoft.graph.informationProtection entity.
15
+ */
16
+ get threatAssessmentRequests(): ThreatAssessmentRequestsRequestBuilder;
17
+ /**
18
+ * Get informationProtection
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns a Promise of InformationProtection
21
+ */
22
+ get(requestConfiguration?: RequestConfiguration<InformationProtectionRequestBuilderGetQueryParameters> | undefined): Promise<InformationProtection | undefined>;
23
+ /**
24
+ * Update informationProtection
25
+ * @param body The request body
26
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
+ * @returns a Promise of InformationProtection
28
+ */
29
+ patch(body: InformationProtection, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<InformationProtection | undefined>;
30
+ /**
31
+ * Get informationProtection
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @returns a RequestInformation
34
+ */
35
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<InformationProtectionRequestBuilderGetQueryParameters> | undefined): RequestInformation;
36
+ /**
37
+ * Update informationProtection
38
+ * @param body The request body
39
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
+ * @returns a RequestInformation
41
+ */
42
+ toPatchRequestInformation(body: InformationProtection, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
43
+ }
44
+ /**
45
+ * Get informationProtection
46
+ */
47
+ export interface InformationProtectionRequestBuilderGetQueryParameters {
48
+ /**
49
+ * Expand related entities
50
+ */
51
+ expand?: string[];
52
+ /**
53
+ * Select properties to be returned
54
+ */
55
+ select?: string[];
56
+ }
57
+ /**
58
+ * Metadata for all the navigation properties in the request builder.
59
+ */
60
+ export declare const InformationProtectionRequestBuilderNavigationMetadata: Record<Exclude<keyof InformationProtectionRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
61
+ /**
62
+ * Metadata for all the requests in the request builder.
63
+ */
64
+ export declare const InformationProtectionRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ export declare const InformationProtectionRequestBuilderUriTemplate = "{+baseurl}/informationProtection{?%24select,%24expand}";
69
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqF,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE/J,OAAO,EAA0H,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACpL,OAAO,EAAuK,KAAK,sCAAsC,EAAE,MAAM,6BAA6B,CAAC;AAC/P,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,mCAAoC,SAAQ,kBAAkB,CAAC,mCAAmC,CAAC;IAChH;;OAEG;IACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;IACzC;;OAEG;IACH,IAAI,wBAAwB,IAAI,sCAAsC,CAAC;IACvE;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IAClK;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qDAAqD;IAClE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mCAAmC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWpL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,gBAuBjE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,2DAA2D,CAAC"}
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InformationProtectionRequestBuilderUriTemplate = exports.InformationProtectionRequestBuilderRequestsMetadata = exports.InformationProtectionRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const bitlocker_1 = require("./bitlocker/");
10
+ const threatAssessmentRequests_1 = require("./threatAssessmentRequests/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const InformationProtectionRequestBuilderGetQueryParametersMapper = {
15
+ "expand": "%24expand",
16
+ "select": "%24select",
17
+ };
18
+ /**
19
+ * Metadata for all the navigation properties in the request builder.
20
+ */
21
+ exports.InformationProtectionRequestBuilderNavigationMetadata = {
22
+ bitlocker: {
23
+ uriTemplate: bitlocker_1.BitlockerRequestBuilderUriTemplate,
24
+ requestsMetadata: bitlocker_1.BitlockerRequestBuilderRequestsMetadata,
25
+ navigationMetadata: bitlocker_1.BitlockerRequestBuilderNavigationMetadata,
26
+ },
27
+ threatAssessmentRequests: {
28
+ uriTemplate: threatAssessmentRequests_1.ThreatAssessmentRequestsRequestBuilderUriTemplate,
29
+ requestsMetadata: threatAssessmentRequests_1.ThreatAssessmentRequestsRequestBuilderRequestsMetadata,
30
+ navigationMetadata: threatAssessmentRequests_1.ThreatAssessmentRequestsRequestBuilderNavigationMetadata,
31
+ },
32
+ };
33
+ /**
34
+ * Metadata for all the requests in the request builder.
35
+ */
36
+ exports.InformationProtectionRequestBuilderRequestsMetadata = {
37
+ get: {
38
+ responseBodyContentType: "application/json",
39
+ errorMappings: {
40
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
41
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ },
43
+ adapterMethodName: "sendAsync",
44
+ responseBodyFactory: models_1.createInformationProtectionFromDiscriminatorValue,
45
+ queryParametersMapper: InformationProtectionRequestBuilderGetQueryParametersMapper,
46
+ },
47
+ patch: {
48
+ responseBodyContentType: "application/json",
49
+ errorMappings: {
50
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
51
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
52
+ },
53
+ adapterMethodName: "sendAsync",
54
+ responseBodyFactory: models_1.createInformationProtectionFromDiscriminatorValue,
55
+ requestBodyContentType: "application/json",
56
+ requestBodySerializer: models_1.serializeInformationProtection,
57
+ requestInformationContentSetMethod: "setContentFromParsable",
58
+ },
59
+ };
60
+ /**
61
+ * Uri template for the request builder.
62
+ */
63
+ exports.InformationProtectionRequestBuilderUriTemplate = "{+baseurl}/informationProtection{?%24select,%24expand}";
64
+ /* tslint:enable */
65
+ /* eslint-enable */