@microsoft/msgraph-sdk-security 1.0.0-preview.62 → 1.0.0-preview.64
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 +2 -2
- package/security/auditLog/index.d.ts +78 -0
- package/security/auditLog/index.d.ts.map +1 -0
- package/security/auditLog/index.js +67 -0
- package/security/auditLog/index.js.map +1 -0
- package/security/auditLog/queries/count/index.d.ts +41 -0
- package/security/auditLog/queries/count/index.d.ts.map +1 -0
- package/security/auditLog/queries/count/index.js +34 -0
- package/security/auditLog/queries/count/index.js.map +1 -0
- package/security/auditLog/queries/index.d.ts +99 -0
- package/security/auditLog/queries/index.d.ts.map +1 -0
- package/security/auditLog/queries/index.js +71 -0
- package/security/auditLog/queries/index.js.map +1 -0
- package/security/auditLog/queries/item/index.d.ts +79 -0
- package/security/auditLog/queries/item/index.d.ts.map +1 -0
- package/security/auditLog/queries/item/index.js +67 -0
- package/security/auditLog/queries/item/index.js.map +1 -0
- package/security/auditLog/queries/item/records/count/index.d.ts +41 -0
- package/security/auditLog/queries/item/records/count/index.d.ts.map +1 -0
- package/security/auditLog/queries/item/records/count/index.js +34 -0
- package/security/auditLog/queries/item/records/count/index.js.map +1 -0
- package/security/auditLog/queries/item/records/index.d.ts +97 -0
- package/security/auditLog/queries/item/records/index.d.ts.map +1 -0
- package/security/auditLog/queries/item/records/index.js +70 -0
- package/security/auditLog/queries/item/records/index.js.map +1 -0
- package/security/auditLog/queries/item/records/item/index.d.ts +69 -0
- package/security/auditLog/queries/item/records/item/index.d.ts.map +1 -0
- package/security/auditLog/queries/item/records/item/index.js +56 -0
- package/security/auditLog/queries/item/records/item/index.js.map +1 -0
- package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityApplyHold/index.d.ts +5 -5
- package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityApplyHold/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityApplyHold/index.js +8 -4
- package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityApplyHold/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityRemoveHold/index.d.ts +5 -5
- package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityRemoveHold/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityRemoveHold/index.js +8 -4
- package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityRemoveHold/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityApplyHold/index.d.ts +5 -5
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityApplyHold/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityApplyHold/index.js +8 -4
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityApplyHold/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityRemoveHold/index.d.ts +5 -5
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityRemoveHold/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityRemoveHold/index.js +8 -4
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityRemoveHold/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/reviewSets/item/microsoftGraphSecurityAddToReviewSet/index.d.ts +4 -5
- package/security/cases/ediscoveryCases/item/reviewSets/item/microsoftGraphSecurityAddToReviewSet/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/reviewSets/item/microsoftGraphSecurityAddToReviewSet/index.js +12 -8
- package/security/cases/ediscoveryCases/item/reviewSets/item/microsoftGraphSecurityAddToReviewSet/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/reviewSets/item/microsoftGraphSecurityExport/index.d.ts +4 -5
- package/security/cases/ediscoveryCases/item/reviewSets/item/microsoftGraphSecurityExport/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/reviewSets/item/microsoftGraphSecurityExport/index.js +11 -7
- package/security/cases/ediscoveryCases/item/reviewSets/item/microsoftGraphSecurityExport/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/reviewSets/item/queries/item/microsoftGraphSecurityApplyTags/index.d.ts +4 -5
- package/security/cases/ediscoveryCases/item/reviewSets/item/queries/item/microsoftGraphSecurityApplyTags/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/reviewSets/item/queries/item/microsoftGraphSecurityApplyTags/index.js +9 -5
- package/security/cases/ediscoveryCases/item/reviewSets/item/queries/item/microsoftGraphSecurityApplyTags/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/reviewSets/item/queries/item/microsoftGraphSecurityExport/index.d.ts +4 -5
- package/security/cases/ediscoveryCases/item/reviewSets/item/queries/item/microsoftGraphSecurityExport/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/reviewSets/item/queries/item/microsoftGraphSecurityExport/index.js +11 -7
- package/security/cases/ediscoveryCases/item/reviewSets/item/queries/item/microsoftGraphSecurityExport/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportReport/index.d.ts +4 -5
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportReport/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportReport/index.js +14 -10
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportReport/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportResult/index.d.ts +4 -5
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportResult/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportResult/index.js +16 -12
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportResult/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityPurgeData/index.d.ts +4 -5
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityPurgeData/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityPurgeData/index.js +9 -5
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityPurgeData/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/tags/microsoftGraphSecurityAsHierarchy/index.d.ts +5 -1
- package/security/cases/ediscoveryCases/item/tags/microsoftGraphSecurityAsHierarchy/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/tags/microsoftGraphSecurityAsHierarchy/index.js +8 -4
- package/security/cases/ediscoveryCases/item/tags/microsoftGraphSecurityAsHierarchy/index.js.map +1 -1
- package/security/dataSecurityAndGovernance/index.d.ts +88 -0
- package/security/dataSecurityAndGovernance/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/index.js +78 -0
- package/security/dataSecurityAndGovernance/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/processContentAsync/index.d.ts +85 -0
- package/security/dataSecurityAndGovernance/processContentAsync/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/processContentAsync/index.js +98 -0
- package/security/dataSecurityAndGovernance/processContentAsync/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/protectionScopes/compute/index.d.ts +101 -0
- package/security/dataSecurityAndGovernance/protectionScopes/compute/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/protectionScopes/compute/index.js +106 -0
- package/security/dataSecurityAndGovernance/protectionScopes/compute/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/protectionScopes/index.d.ts +78 -0
- package/security/dataSecurityAndGovernance/protectionScopes/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/protectionScopes/index.js +66 -0
- package/security/dataSecurityAndGovernance/protectionScopes/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts +30 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js +28 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.d.ts +73 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.js +72 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/count/index.d.ts +41 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/count/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/count/index.js +34 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/count/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/index.d.ts +112 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/index.js +82 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/index.d.ts +84 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/index.js +72 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.d.ts +43 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.js +36 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts +30 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js +28 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.d.ts +73 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.js +72 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.d.ts +41 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.js +34 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.d.ts +111 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.js +82 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.d.ts +78 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.js +66 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.d.ts +42 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.d.ts.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.js +36 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.js.map +1 -0
- package/security/identities/sensors/microsoftGraphSecurityGetDeploymentAccessKey/index.d.ts +1 -0
- package/security/identities/sensors/microsoftGraphSecurityGetDeploymentAccessKey/index.d.ts.map +1 -1
- package/security/identities/sensors/microsoftGraphSecurityGetDeploymentAccessKey/index.js.map +1 -1
- package/security/identities/sensors/microsoftGraphSecurityGetDeploymentPackageUri/index.d.ts +1 -0
- package/security/identities/sensors/microsoftGraphSecurityGetDeploymentPackageUri/index.d.ts.map +1 -1
- package/security/identities/sensors/microsoftGraphSecurityGetDeploymentPackageUri/index.js.map +1 -1
- package/security/identities/sensors/microsoftGraphSecurityRegenerateDeploymentAccessKey/index.d.ts +1 -0
- package/security/identities/sensors/microsoftGraphSecurityRegenerateDeploymentAccessKey/index.d.ts.map +1 -1
- package/security/identities/sensors/microsoftGraphSecurityRegenerateDeploymentAccessKey/index.js.map +1 -1
- package/security/index.d.ts +10 -0
- package/security/index.d.ts.map +1 -1
- package/security/index.js +12 -0
- package/security/index.js.map +1 -1
- package/security/microsoftGraphSecurityRunHuntingQuery/index.d.ts +4 -5
- package/security/microsoftGraphSecurityRunHuntingQuery/index.d.ts.map +1 -1
- package/security/microsoftGraphSecurityRunHuntingQuery/index.js +9 -5
- package/security/microsoftGraphSecurityRunHuntingQuery/index.js.map +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { PolicyPivotProperty, type BaseCollectionPaginationCountResponse, type DeviceMetadata, type IntegratedApplicationMetadata, type PolicyLocation, type PolicyTenantScope, UserActivityTypes } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
export interface ComputePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
4
|
+
/**
|
|
5
|
+
* The activities property
|
|
6
|
+
*/
|
|
7
|
+
activities?: UserActivityTypes[] | null;
|
|
8
|
+
/**
|
|
9
|
+
* Stores model information.
|
|
10
|
+
*/
|
|
11
|
+
backingStoreEnabled?: boolean | null;
|
|
12
|
+
/**
|
|
13
|
+
* The deviceMetadata property
|
|
14
|
+
*/
|
|
15
|
+
deviceMetadata?: DeviceMetadata | null;
|
|
16
|
+
/**
|
|
17
|
+
* The integratedAppMetadata property
|
|
18
|
+
*/
|
|
19
|
+
integratedAppMetadata?: IntegratedApplicationMetadata | null;
|
|
20
|
+
/**
|
|
21
|
+
* The locations property
|
|
22
|
+
*/
|
|
23
|
+
locations?: PolicyLocation[] | null;
|
|
24
|
+
/**
|
|
25
|
+
* The pivotOn property
|
|
26
|
+
*/
|
|
27
|
+
pivotOn?: PolicyPivotProperty | null;
|
|
28
|
+
}
|
|
29
|
+
export interface ComputePostResponse extends BaseCollectionPaginationCountResponse, Parsable {
|
|
30
|
+
/**
|
|
31
|
+
* The value property
|
|
32
|
+
*/
|
|
33
|
+
value?: PolicyTenantScope[] | null;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Provides operations to call the compute method.
|
|
37
|
+
*/
|
|
38
|
+
export interface ComputeRequestBuilder extends BaseRequestBuilder<ComputeRequestBuilder> {
|
|
39
|
+
/**
|
|
40
|
+
* Invoke action compute
|
|
41
|
+
* @param body The request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns {Promise<ComputePostResponse>}
|
|
44
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
45
|
+
*/
|
|
46
|
+
post(body: ComputePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ComputePostResponse | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* Invoke action compute
|
|
49
|
+
* @param body The request body
|
|
50
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
|
+
* @returns {RequestInformation}
|
|
52
|
+
*/
|
|
53
|
+
toPostRequestInformation(body: ComputePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
57
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
58
|
+
* @returns {ComputePostRequestBody}
|
|
59
|
+
*/
|
|
60
|
+
export declare function createComputePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
61
|
+
/**
|
|
62
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
63
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
64
|
+
* @returns {ComputePostResponse}
|
|
65
|
+
*/
|
|
66
|
+
export declare function createComputePostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
67
|
+
/**
|
|
68
|
+
* The deserialization information for the current model
|
|
69
|
+
* @param ComputePostRequestBody The instance to deserialize into.
|
|
70
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
71
|
+
*/
|
|
72
|
+
export declare function deserializeIntoComputePostRequestBody(computePostRequestBody?: Partial<ComputePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
73
|
+
/**
|
|
74
|
+
* The deserialization information for the current model
|
|
75
|
+
* @param ComputePostResponse The instance to deserialize into.
|
|
76
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
77
|
+
*/
|
|
78
|
+
export declare function deserializeIntoComputePostResponse(computePostResponse?: Partial<ComputePostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
79
|
+
/**
|
|
80
|
+
* Serializes information the current object
|
|
81
|
+
* @param ComputePostRequestBody The instance to serialize from.
|
|
82
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
83
|
+
* @param writer Serialization writer to use to serialize this model
|
|
84
|
+
*/
|
|
85
|
+
export declare function serializeComputePostRequestBody(writer: SerializationWriter, computePostRequestBody?: Partial<ComputePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
86
|
+
/**
|
|
87
|
+
* Serializes information the current object
|
|
88
|
+
* @param ComputePostResponse The instance to serialize from.
|
|
89
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
90
|
+
* @param writer Serialization writer to use to serialize this model
|
|
91
|
+
*/
|
|
92
|
+
export declare function serializeComputePostResponse(writer: SerializationWriter, computePostResponse?: Partial<ComputePostResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
93
|
+
/**
|
|
94
|
+
* Uri template for the request builder.
|
|
95
|
+
*/
|
|
96
|
+
export declare const ComputeRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance/protectionScopes/compute";
|
|
97
|
+
/**
|
|
98
|
+
* Metadata for all the requests in the request builder.
|
|
99
|
+
*/
|
|
100
|
+
export declare const ComputeRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
101
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0P,mBAAmB,EAAmM,KAAK,qCAAqC,E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AO,MAAM,gCAAgC,2EAA2E,CAAC;AACzH;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAanD,CAAC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createDeviceMetadataFromDiscriminatorValue, createIntegratedApplicationMetadataFromDiscriminatorValue, createPolicyLocationFromDiscriminatorValue, createPolicyTenantScopeFromDiscriminatorValue, deserializeIntoBaseCollectionPaginationCountResponse, PolicyPivotPropertyObject, serializeBaseCollectionPaginationCountResponse, serializeDeviceMetadata, serializeIntegratedApplicationMetadata, serializePolicyLocation, serializePolicyTenantScope, UserActivityTypesObject } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns {ComputePostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createComputePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoComputePostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
19
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20
|
+
* @returns {ComputePostResponse}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function createComputePostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoComputePostResponse;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The deserialization information for the current model
|
|
28
|
+
* @param ComputePostRequestBody The instance to deserialize into.
|
|
29
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
30
|
+
*/
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
export function deserializeIntoComputePostRequestBody(computePostRequestBody = {}) {
|
|
33
|
+
return {
|
|
34
|
+
"activities": n => { computePostRequestBody.activities = n.getCollectionOfEnumValues(UserActivityTypesObject); },
|
|
35
|
+
"backingStoreEnabled": n => { computePostRequestBody.backingStoreEnabled = true; },
|
|
36
|
+
"deviceMetadata": n => { computePostRequestBody.deviceMetadata = n.getObjectValue(createDeviceMetadataFromDiscriminatorValue); },
|
|
37
|
+
"integratedAppMetadata": n => { computePostRequestBody.integratedAppMetadata = n.getObjectValue(createIntegratedApplicationMetadataFromDiscriminatorValue); },
|
|
38
|
+
"locations": n => { computePostRequestBody.locations = n.getCollectionOfObjectValues(createPolicyLocationFromDiscriminatorValue); },
|
|
39
|
+
"pivotOn": n => { computePostRequestBody.pivotOn = n.getEnumValue(PolicyPivotPropertyObject); },
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The deserialization information for the current model
|
|
44
|
+
* @param ComputePostResponse The instance to deserialize into.
|
|
45
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
46
|
+
*/
|
|
47
|
+
// @ts-ignore
|
|
48
|
+
export function deserializeIntoComputePostResponse(computePostResponse = {}) {
|
|
49
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(computePostResponse)), { "value": n => { computePostResponse.value = n.getCollectionOfObjectValues(createPolicyTenantScopeFromDiscriminatorValue); } });
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Serializes information the current object
|
|
53
|
+
* @param ComputePostRequestBody The instance to serialize from.
|
|
54
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
55
|
+
* @param writer Serialization writer to use to serialize this model
|
|
56
|
+
*/
|
|
57
|
+
// @ts-ignore
|
|
58
|
+
export function serializeComputePostRequestBody(writer, computePostRequestBody = {}, isSerializingDerivedType = false) {
|
|
59
|
+
if (!computePostRequestBody || isSerializingDerivedType) {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
writer.writeEnumValue("activities", computePostRequestBody.activities);
|
|
63
|
+
writer.writeObjectValue("deviceMetadata", computePostRequestBody.deviceMetadata, serializeDeviceMetadata);
|
|
64
|
+
writer.writeObjectValue("integratedAppMetadata", computePostRequestBody.integratedAppMetadata, serializeIntegratedApplicationMetadata);
|
|
65
|
+
writer.writeCollectionOfObjectValues("locations", computePostRequestBody.locations, serializePolicyLocation);
|
|
66
|
+
writer.writeEnumValue("pivotOn", computePostRequestBody.pivotOn);
|
|
67
|
+
writer.writeAdditionalData(computePostRequestBody.additionalData);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Serializes information the current object
|
|
71
|
+
* @param ComputePostResponse The instance to serialize from.
|
|
72
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
73
|
+
* @param writer Serialization writer to use to serialize this model
|
|
74
|
+
*/
|
|
75
|
+
// @ts-ignore
|
|
76
|
+
export function serializeComputePostResponse(writer, computePostResponse = {}, isSerializingDerivedType = false) {
|
|
77
|
+
if (!computePostResponse || isSerializingDerivedType) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
serializeBaseCollectionPaginationCountResponse(writer, computePostResponse, isSerializingDerivedType);
|
|
81
|
+
writer.writeCollectionOfObjectValues("value", computePostResponse.value, serializePolicyTenantScope);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Uri template for the request builder.
|
|
85
|
+
*/
|
|
86
|
+
export const ComputeRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance/protectionScopes/compute";
|
|
87
|
+
/**
|
|
88
|
+
* Metadata for all the requests in the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export const ComputeRequestBuilderRequestsMetadata = {
|
|
91
|
+
post: {
|
|
92
|
+
uriTemplate: ComputeRequestBuilderUriTemplate,
|
|
93
|
+
responseBodyContentType: "application/json",
|
|
94
|
+
errorMappings: {
|
|
95
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
96
|
+
},
|
|
97
|
+
adapterMethodName: "send",
|
|
98
|
+
responseBodyFactory: createComputePostResponseFromDiscriminatorValue,
|
|
99
|
+
requestBodyContentType: "application/json",
|
|
100
|
+
requestBodySerializer: serializeComputePostRequestBody,
|
|
101
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
/* tslint:enable */
|
|
105
|
+
/* eslint-enable */
|
|
106
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,yDAAyD,EAAE,0CAA0C,EAAE,6CAA6C,EAAE,oDAAoD,EAAuB,yBAAyB,EAAE,8CAA8C,EAAE,uBAAuB,EAAE,sCAAsC,EAAE,uBAAuB,EAAE,0BAA0B,EAAuK,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACpsB,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAwD7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,kDAAkD,CAAC,SAAgC;IAC/F,OAAO,qCAAqC,CAAC;AACjD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,+CAA+C,CAAC,SAAgC;IAC5F,OAAO,kCAAkC,CAAC;AAC9C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,qCAAqC,CAAC,yBAAsE,EAAE;IAC1H,OAAO;QACH,YAAY,EAAE,CAAC,CAAC,EAAE,GAAG,sBAAsB,CAAC,UAAU,GAAG,CAAC,CAAC,yBAAyB,CAAoB,u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antProtectionScopeContainer } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type ComputeRequestBuilder } from './compute/index.js';
|
|
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 protectionScopes property of the microsoft.graph.tenantDataSecurityAndGovernance entity.
|
|
6
|
+
*/
|
|
7
|
+
export interface ProtectionScopesRequestBuilder extends BaseRequestBuilder<ProtectionScopesRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to call the compute method.
|
|
10
|
+
*/
|
|
11
|
+
get compute(): ComputeRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Delete navigation property protectionScopes for security
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
16
|
+
*/
|
|
17
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Container for actions related to computing tenant-wide data protection scopes.
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns {Promise<TenantProtectionScopeContainer>}
|
|
22
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<ProtectionScopesRequestBuilderGetQueryParameters> | undefined): Promise<TenantProtectionScopeContainer | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Update the navigation property protectionScopes in security
|
|
27
|
+
* @param body The request body
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns {Promise<TenantProtectionScopeContainer>}
|
|
30
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
31
|
+
*/
|
|
32
|
+
patch(body: TenantProtectionScopeContainer, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TenantProtectionScopeContainer | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Delete navigation property protectionScopes for security
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns {RequestInformation}
|
|
37
|
+
*/
|
|
38
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Container for actions related to computing tenant-wide data protection scopes.
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns {RequestInformation}
|
|
43
|
+
*/
|
|
44
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProtectionScopesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
|
+
/**
|
|
46
|
+
* Update the navigation property protectionScopes in security
|
|
47
|
+
* @param body The request body
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns {RequestInformation}
|
|
50
|
+
*/
|
|
51
|
+
toPatchRequestInformation(body: TenantProtectionScopeContainer, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Container for actions related to computing tenant-wide data protection scopes.
|
|
55
|
+
*/
|
|
56
|
+
export interface ProtectionScopesRequestBuilderGetQueryParameters {
|
|
57
|
+
/**
|
|
58
|
+
* Expand related entities
|
|
59
|
+
*/
|
|
60
|
+
expand?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Select properties to be returned
|
|
63
|
+
*/
|
|
64
|
+
select?: string[];
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const ProtectionScopesRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance/protectionScopes{?%24expand,%24select}";
|
|
70
|
+
/**
|
|
71
|
+
* Metadata for all the navigation properties in the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const ProtectionScopesRequestBuilderNavigationMetadata: Record<Exclude<keyof ProtectionScopesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
74
|
+
/**
|
|
75
|
+
* Metadata for all the requests in the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const ProtectionScopesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
78
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuG,KAAK,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AAIlM,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,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,8BAA+B,SAAQ,kBAAkB,CAAC,8BAA8B,CAAC;IACtG;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,gDAAgD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IACtK;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,8BAA8B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IACpK;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,gDAAgD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACzJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,8BAA8B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1J;AACD;;GAEG;AACH,MAAM,WAAW,gDAAgD;IAC7D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,yCAAyC,yFAAyF,CAAC;AAQhJ;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,8BAA8B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI1K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBA+B5D,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createTenantProtectionScopeContainerFromDiscriminatorValue, serializeTenantProtectionScopeContainer } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { ComputeRequestBuilderRequestsMetadata } from './compute/index.js';
|
|
10
|
+
/**
|
|
11
|
+
* Uri template for the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const ProtectionScopesRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance/protectionScopes{?%24expand,%24select}";
|
|
14
|
+
/**
|
|
15
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
16
|
+
*/
|
|
17
|
+
const ProtectionScopesRequestBuilderGetQueryParametersMapper = {
|
|
18
|
+
"expand": "%24expand",
|
|
19
|
+
"select": "%24select",
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Metadata for all the navigation properties in the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export const ProtectionScopesRequestBuilderNavigationMetadata = {
|
|
25
|
+
compute: {
|
|
26
|
+
requestsMetadata: ComputeRequestBuilderRequestsMetadata,
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the requests in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export const ProtectionScopesRequestBuilderRequestsMetadata = {
|
|
33
|
+
delete: {
|
|
34
|
+
uriTemplate: ProtectionScopesRequestBuilderUriTemplate,
|
|
35
|
+
responseBodyContentType: "application/json",
|
|
36
|
+
errorMappings: {
|
|
37
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
38
|
+
},
|
|
39
|
+
adapterMethodName: "sendNoResponseContent",
|
|
40
|
+
},
|
|
41
|
+
get: {
|
|
42
|
+
uriTemplate: ProtectionScopesRequestBuilderUriTemplate,
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
46
|
+
},
|
|
47
|
+
adapterMethodName: "send",
|
|
48
|
+
responseBodyFactory: createTenantProtectionScopeContainerFromDiscriminatorValue,
|
|
49
|
+
queryParametersMapper: ProtectionScopesRequestBuilderGetQueryParametersMapper,
|
|
50
|
+
},
|
|
51
|
+
patch: {
|
|
52
|
+
uriTemplate: ProtectionScopesRequestBuilderUriTemplate,
|
|
53
|
+
responseBodyContentType: "application/json",
|
|
54
|
+
errorMappings: {
|
|
55
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
56
|
+
},
|
|
57
|
+
adapterMethodName: "send",
|
|
58
|
+
responseBodyFactory: createTenantProtectionScopeContainerFromDiscriminatorValue,
|
|
59
|
+
requestBodyContentType: "application/json",
|
|
60
|
+
requestBodySerializer: serializeTenantProtectionScopeContainer,
|
|
61
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
/* tslint:enable */
|
|
65
|
+
/* eslint-enable */
|
|
66
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0DAA0D,EAAE,uCAAuC,EAAuC,MAAM,wCAAwC,CAAC;AAClM,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AAkEvG;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,sFAAsF,CAAC;AAChJ;;GAEG;AACH,MAAM,sDAAsD,GAA2B;IACnF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAkH;IAC3K,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;KAC1D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAqB;IAC5E,MAAM,EAAE;QACJ,WAAW,EAAE,yCAAyC;QACtD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,yCAAyC;QACtD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0DAA0D;QAChF,qBAAqB,EAAE,sDAAsD;KAChF;IACD,KAAK,EAAE;QACH,WAAW,EAAE,yCAAyC;QACtD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0DAA0D;QAChF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,uCAAuC;QAC9D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type SensitivityLabel } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to call the computeInheritance method.
|
|
5
|
+
*/
|
|
6
|
+
export interface ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder<ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<SensitivityLabel>}
|
|
11
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
12
|
+
* @see {@link https://learn.microsoft.com/graph/api/sensitivitylabel-computeinheritance?view=graph-rest-1.0|Find more info here}
|
|
13
|
+
*/
|
|
14
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SensitivityLabel | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts.
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns {RequestInformation}
|
|
19
|
+
*/
|
|
20
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Uri template for the request builder.
|
|
24
|
+
*/
|
|
25
|
+
export declare const ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})";
|
|
26
|
+
/**
|
|
27
|
+
* Metadata for all the requests in the request builder.
|
|
28
|
+
*/
|
|
29
|
+
export declare const ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
30
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgD,KAAK,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAI7H,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,wEAAyE,SAAQ,kBAAkB,CAAC,wEAAwE,CAAC;IAC1L;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,mFAAmF,8JAA8J,CAAC;AAC/P;;GAEG;AACH,eAAO,MAAM,wFAAwF,EAAE,gBAUtG,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createSensitivityLabelFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})";
|
|
12
|
+
/**
|
|
13
|
+
* Metadata for all the requests in the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderRequestsMetadata = {
|
|
16
|
+
get: {
|
|
17
|
+
uriTemplate: ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderUriTemplate,
|
|
18
|
+
responseBodyContentType: "application/json",
|
|
19
|
+
errorMappings: {
|
|
20
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "send",
|
|
23
|
+
responseBodyFactory: createSensitivityLabelFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
/* tslint:enable */
|
|
27
|
+
/* eslint-enable */
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAyB,MAAM,wCAAwC,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAuB7H;;GAEG;AACH,MAAM,CAAC,MAAM,mFAAmF,GAAG,2JAA2J,CAAC;AAC/P;;GAEG;AACH,MAAM,CAAC,MAAM,wFAAwF,GAAqB;IACtH,GAAG,EAAE;QACD,WAAW,EAAE,mFAAmF;QAChG,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.d.ts
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { type ComputeRightsAndInheritanceResult, type ProtectedContent } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
export interface ComputeRightsAndInheritancePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
4
|
+
/**
|
|
5
|
+
* Stores model information.
|
|
6
|
+
*/
|
|
7
|
+
backingStoreEnabled?: boolean | null;
|
|
8
|
+
/**
|
|
9
|
+
* The delegatedUserEmail property
|
|
10
|
+
*/
|
|
11
|
+
delegatedUserEmail?: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* The locale property
|
|
14
|
+
*/
|
|
15
|
+
locale?: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* The protectedContents property
|
|
18
|
+
*/
|
|
19
|
+
protectedContents?: ProtectedContent[] | null;
|
|
20
|
+
/**
|
|
21
|
+
* The supportedContentFormats property
|
|
22
|
+
*/
|
|
23
|
+
supportedContentFormats?: string[] | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Provides operations to call the computeRightsAndInheritance method.
|
|
27
|
+
*/
|
|
28
|
+
export interface ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder<ComputeRightsAndInheritanceRequestBuilder> {
|
|
29
|
+
/**
|
|
30
|
+
* Computes the rights and inheritance for sensitivity labels based on the input content and labels.
|
|
31
|
+
* @param body The request body
|
|
32
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
|
+
* @returns {Promise<ComputeRightsAndInheritanceResult>}
|
|
34
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
35
|
+
* @see {@link https://learn.microsoft.com/graph/api/sensitivitylabel-computerightsandinheritance?view=graph-rest-1.0|Find more info here}
|
|
36
|
+
*/
|
|
37
|
+
post(body: ComputeRightsAndInheritancePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ComputeRightsAndInheritanceResult | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Computes the rights and inheritance for sensitivity labels based on the input content and labels.
|
|
40
|
+
* @param body The request body
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns {RequestInformation}
|
|
43
|
+
*/
|
|
44
|
+
toPostRequestInformation(body: ComputeRightsAndInheritancePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
48
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
49
|
+
* @returns {ComputeRightsAndInheritancePostRequestBody}
|
|
50
|
+
*/
|
|
51
|
+
export declare function createComputeRightsAndInheritancePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
52
|
+
/**
|
|
53
|
+
* The deserialization information for the current model
|
|
54
|
+
* @param ComputeRightsAndInheritancePostRequestBody The instance to deserialize into.
|
|
55
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
56
|
+
*/
|
|
57
|
+
export declare function deserializeIntoComputeRightsAndInheritancePostRequestBody(computeRightsAndInheritancePostRequestBody?: Partial<ComputeRightsAndInheritancePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
58
|
+
/**
|
|
59
|
+
* Serializes information the current object
|
|
60
|
+
* @param ComputeRightsAndInheritancePostRequestBody The instance to serialize from.
|
|
61
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
62
|
+
* @param writer Serialization writer to use to serialize this model
|
|
63
|
+
*/
|
|
64
|
+
export declare function serializeComputeRightsAndInheritancePostRequestBody(writer: SerializationWriter, computeRightsAndInheritancePostRequestBody?: Partial<ComputeRightsAndInheritancePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
65
|
+
/**
|
|
66
|
+
* Uri template for the request builder.
|
|
67
|
+
*/
|
|
68
|
+
export declare const ComputeRightsAndInheritanceRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance";
|
|
69
|
+
/**
|
|
70
|
+
* Metadata for all the requests in the request builder.
|
|
71
|
+
*/
|
|
72
|
+
export declare const ComputeRightsAndInheritanceRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
73
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsL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,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAE9L;AACD;;;;GAIG;AAEH,wBAAgB,yDAAyD,CAAC,0CAA0C,GAAE,OAAO,CAAC,0CAA0C,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAQtO;AACD;;;;;GAKG;AAEH,wBAAgB,mDAAmD,CAAC,MAAM,EAAE,mBAAmB,EAAE,0CAA0C,GAAE,OAAO,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAO1Q;AACD;;GAEG;AACH,eAAO,MAAM,oDAAoD,gGAAgG,CAAC;AAClK;;GAEG;AACH,eAAO,MAAM,yDAAyD,EAAE,gBAavE,CAAC"}
|
package/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createComputeRightsAndInheritanceResultFromDiscriminatorValue, createProtectedContentFromDiscriminatorValue, serializeProtectedContent } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns {ComputeRightsAndInheritancePostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createComputeRightsAndInheritancePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoComputeRightsAndInheritancePostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @param ComputeRightsAndInheritancePostRequestBody The instance to deserialize into.
|
|
20
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function deserializeIntoComputeRightsAndInheritancePostRequestBody(computeRightsAndInheritancePostRequestBody = {}) {
|
|
24
|
+
return {
|
|
25
|
+
"backingStoreEnabled": n => { computeRightsAndInheritancePostRequestBody.backingStoreEnabled = true; },
|
|
26
|
+
"delegatedUserEmail": n => { computeRightsAndInheritancePostRequestBody.delegatedUserEmail = n.getStringValue(); },
|
|
27
|
+
"locale": n => { computeRightsAndInheritancePostRequestBody.locale = n.getStringValue(); },
|
|
28
|
+
"protectedContents": n => { computeRightsAndInheritancePostRequestBody.protectedContents = n.getCollectionOfObjectValues(createProtectedContentFromDiscriminatorValue); },
|
|
29
|
+
"supportedContentFormats": n => { computeRightsAndInheritancePostRequestBody.supportedContentFormats = n.getCollectionOfPrimitiveValues(); },
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Serializes information the current object
|
|
34
|
+
* @param ComputeRightsAndInheritancePostRequestBody The instance to serialize from.
|
|
35
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
36
|
+
* @param writer Serialization writer to use to serialize this model
|
|
37
|
+
*/
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
export function serializeComputeRightsAndInheritancePostRequestBody(writer, computeRightsAndInheritancePostRequestBody = {}, isSerializingDerivedType = false) {
|
|
40
|
+
if (!computeRightsAndInheritancePostRequestBody || isSerializingDerivedType) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
writer.writeStringValue("delegatedUserEmail", computeRightsAndInheritancePostRequestBody.delegatedUserEmail);
|
|
44
|
+
writer.writeStringValue("locale", computeRightsAndInheritancePostRequestBody.locale);
|
|
45
|
+
writer.writeCollectionOfObjectValues("protectedContents", computeRightsAndInheritancePostRequestBody.protectedContents, serializeProtectedContent);
|
|
46
|
+
writer.writeCollectionOfPrimitiveValues("supportedContentFormats", computeRightsAndInheritancePostRequestBody.supportedContentFormats);
|
|
47
|
+
writer.writeAdditionalData(computeRightsAndInheritancePostRequestBody.additionalData);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Uri template for the request builder.
|
|
51
|
+
*/
|
|
52
|
+
export const ComputeRightsAndInheritanceRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance";
|
|
53
|
+
/**
|
|
54
|
+
* Metadata for all the requests in the request builder.
|
|
55
|
+
*/
|
|
56
|
+
export const ComputeRightsAndInheritanceRequestBuilderRequestsMetadata = {
|
|
57
|
+
post: {
|
|
58
|
+
uriTemplate: ComputeRightsAndInheritanceRequestBuilderUriTemplate,
|
|
59
|
+
responseBodyContentType: "application/json",
|
|
60
|
+
errorMappings: {
|
|
61
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
62
|
+
},
|
|
63
|
+
adapterMethodName: "send",
|
|
64
|
+
responseBodyFactory: createComputeRightsAndInheritanceResultFromDiscriminatorValue,
|
|
65
|
+
requestBodyContentType: "application/json",
|
|
66
|
+
requestBodySerializer: serializeComputeRightsAndInheritancePostRequestBody,
|
|
67
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
/* tslint:enable */
|
|
71
|
+
/* eslint-enable */
|
|
72
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6DAA6D,EAAE,4CAA4C,EAA8C,yBAAyB,EAAiE,MAAM,wCAAwC,CAAC;AAC3S,aAAa;AACb,OAAO,EAAE,sCAA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