@microsoft/msgraph-sdk-security 1.0.0-preview.63 → 1.0.0-preview.65
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 +1 -0
- package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityApplyHold/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityApplyHold/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityRemoveHold/index.d.ts +1 -0
- package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityRemoveHold/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityRemoveHold/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityApplyHold/index.d.ts +1 -0
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityApplyHold/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityApplyHold/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityRemoveHold/index.d.ts +1 -0
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityRemoveHold/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityRemoveHold/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/tags/microsoftGraphSecurityAsHierarchy/index.d.ts +1 -0
- package/security/cases/ediscoveryCases/item/tags/microsoftGraphSecurityAsHierarchy/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/tags/microsoftGraphSecurityAsHierarchy/index.js.map +1 -1
- package/security/dataSecurityAndGovernance/index.d.ts +5 -0
- package/security/dataSecurityAndGovernance/index.d.ts.map +1 -1
- package/security/dataSecurityAndGovernance/index.js +6 -0
- package/security/dataSecurityAndGovernance/index.js.map +1 -1
- 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 +5 -0
- package/security/index.d.ts.map +1 -1
- package/security/index.js +6 -0
- package/security/index.js.map +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -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,KAAK,iCAAiC,EAAE,KAAK,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAI3S,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS,MAAM,WAAW,0CAA2C,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC3G;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAC;IAC9C;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;CAC7C;AACD;;GAEG;AACH,MAAM,WAAW,yCAA0C,SAAQ,kBAAkB,CAAC,yCAAyC,CAAC;IAC5H;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,0CAA0C,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IAClL;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,0CAA0C,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrK;AACD;;;;GAIG;AAEH,wBAAgB,sEAAsE,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,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,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AA+C7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,sEAAsE,CAAC,SAAgC;IACnH,OAAO,yDAAyD,CAAC;AACrE,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,yDAAyD,CAAC,6CAA8G,EAAE;IACtL,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,0CAA0C,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACtG,oBAAoB,EAAE,CAAC,CAAC,EAAE,GAAG,0CAA0C,CAAC,kBAAkB,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QAClH,QAAQ,EAAE,CAAC,CAAC,EAAE,GAAG,0CAA0C,CAAC,MAAM,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QAC1F,mBAAmB,EAAE,CAAC,CAAC,EAAE,GAAG,0CAA0C,CAAC,iBAAiB,GAAG,CAAC,CAAC,2BAA2B,CAAmB,4CAA4C,CAAC,CAAC,CAAC,CAAC;QAC3L,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Configuration, 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 {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Get the number of the resource
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get the number of the resource
|
|
22
|
+
*/
|
|
23
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Filter items by property values
|
|
26
|
+
*/
|
|
27
|
+
filter?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Search items by search phrases
|
|
30
|
+
*/
|
|
31
|
+
search?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Uri template for the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/$count{?%24filter,%24search}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,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;;;;;OAKG;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;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,iGAAiG,CAAC;AAQ7I;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const CountRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/$count{?%24filter,%24search}";
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"filter": "%24filter",
|
|
15
|
+
"search": "%24search",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the requests in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export const CountRequestBuilderRequestsMetadata = {
|
|
21
|
+
get: {
|
|
22
|
+
uriTemplate: CountRequestBuilderUriTemplate,
|
|
23
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
24
|
+
errorMappings: {
|
|
25
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitive",
|
|
28
|
+
responseBodyFactory: "number",
|
|
29
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/* tslint:enable */
|
|
33
|
+
/* eslint-enable */
|
|
34
|
+
//# 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,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,8FAA8F,CAAC;AAC7I;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { type SensitivityLabel, type SensitivityLabelCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder } from './computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js';
|
|
3
|
+
import { type ComputeRightsAndInheritanceRequestBuilder } from './computeRightsAndInheritance/index.js';
|
|
4
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
5
|
+
import { type SensitivityLabelItemRequestBuilder } from './item/index.js';
|
|
6
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
7
|
+
/**
|
|
8
|
+
* Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity.
|
|
9
|
+
*/
|
|
10
|
+
export interface SensitivityLabelsRequestBuilder extends BaseRequestBuilder<SensitivityLabelsRequestBuilder> {
|
|
11
|
+
/**
|
|
12
|
+
* Provides operations to call the computeRightsAndInheritance method.
|
|
13
|
+
*/
|
|
14
|
+
get computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder;
|
|
15
|
+
/**
|
|
16
|
+
* Provides operations to count the resources in the collection.
|
|
17
|
+
*/
|
|
18
|
+
get count(): CountRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity.
|
|
21
|
+
* @param sensitivityLabelId The unique identifier of sensitivityLabel
|
|
22
|
+
* @returns {SensitivityLabelItemRequestBuilder}
|
|
23
|
+
*/
|
|
24
|
+
bySensitivityLabelId(sensitivityLabelId: string): SensitivityLabelItemRequestBuilder;
|
|
25
|
+
/**
|
|
26
|
+
* Provides operations to call the computeInheritance method.
|
|
27
|
+
* @param contentFormats Usage: contentFormats={contentFormats}
|
|
28
|
+
* @param labelIds Usage: labelIds={labelIds}
|
|
29
|
+
* @param locale Usage: locale='{locale}'
|
|
30
|
+
* @returns {ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder}
|
|
31
|
+
*/
|
|
32
|
+
computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats: string | undefined, labelIds: string | undefined, locale: string | undefined): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder;
|
|
33
|
+
/**
|
|
34
|
+
* List the sensitivity labels available for the entire tenant.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns {Promise<SensitivityLabelCollectionResponse>}
|
|
37
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/tenantdatasecurityandgovernance-list-sensitivitylabels?view=graph-rest-1.0|Find more info here}
|
|
39
|
+
*/
|
|
40
|
+
get(requestConfiguration?: RequestConfiguration<SensitivityLabelsRequestBuilderGetQueryParameters> | undefined): Promise<SensitivityLabelCollectionResponse | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* Create new navigation property to sensitivityLabels for security
|
|
43
|
+
* @param body The request body
|
|
44
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
45
|
+
* @returns {Promise<SensitivityLabel>}
|
|
46
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
47
|
+
*/
|
|
48
|
+
post(body: SensitivityLabel, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SensitivityLabel | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* List the sensitivity labels available for the entire tenant.
|
|
51
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
52
|
+
* @returns {RequestInformation}
|
|
53
|
+
*/
|
|
54
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SensitivityLabelsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
55
|
+
/**
|
|
56
|
+
* Create new navigation property to sensitivityLabels for security
|
|
57
|
+
* @param body The request body
|
|
58
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
59
|
+
* @returns {RequestInformation}
|
|
60
|
+
*/
|
|
61
|
+
toPostRequestInformation(body: SensitivityLabel, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* List the sensitivity labels available for the entire tenant.
|
|
65
|
+
*/
|
|
66
|
+
export interface SensitivityLabelsRequestBuilderGetQueryParameters {
|
|
67
|
+
/**
|
|
68
|
+
* Include count of items
|
|
69
|
+
*/
|
|
70
|
+
count?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Expand related entities
|
|
73
|
+
*/
|
|
74
|
+
expand?: string[];
|
|
75
|
+
/**
|
|
76
|
+
* Filter items by property values
|
|
77
|
+
*/
|
|
78
|
+
filter?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Order items by property values
|
|
81
|
+
*/
|
|
82
|
+
orderby?: string[];
|
|
83
|
+
/**
|
|
84
|
+
* Search items by search phrases
|
|
85
|
+
*/
|
|
86
|
+
search?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Select properties to be returned
|
|
89
|
+
*/
|
|
90
|
+
select?: string[];
|
|
91
|
+
/**
|
|
92
|
+
* Skip the first n items
|
|
93
|
+
*/
|
|
94
|
+
skip?: number;
|
|
95
|
+
/**
|
|
96
|
+
* Show only the first n items
|
|
97
|
+
*/
|
|
98
|
+
top?: number;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Uri template for the request builder.
|
|
102
|
+
*/
|
|
103
|
+
export declare const SensitivityLabelsRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
104
|
+
/**
|
|
105
|
+
* Metadata for all the navigation properties in the request builder.
|
|
106
|
+
*/
|
|
107
|
+
export declare const SensitivityLabelsRequestBuilderNavigationMetadata: Record<Exclude<keyof SensitivityLabelsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
108
|
+
/**
|
|
109
|
+
* Metadata for all the requests in the request builder.
|
|
110
|
+
*/
|
|
111
|
+
export declare const SensitivityLabelsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
112
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2I,KAAK,gBAAgB,EAAE,KAAK,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAIjQ,OAAO,EAA4F,KAAK,wEAAwE,EAAE,MAAM,uEAAuE,CAAC;AAEhQ,OAAO,EAA6D,KAAK,yCAAyC,EAAE,MAAM,wCAAwC,CAAC;AAEnK,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAA4G,KAAK,kCAAkC,EAAE,MAAM,iBAAiB,CAAC;AAEpL,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,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,2BAA2B,IAAI,yCAAyC,CAAC;IAC7E;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,oBAAoB,CAAC,kBAAkB,EAAE,MAAM,GAAI,kCAAkC,CAAC;IACvF;;;;;;OAMG;IACF,0DAA0D,CAAC,cAAc,EAAE,MAAM,GAAG,SAAS,EAAE,QA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,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAgB5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAuB7D,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createSensitivityLabelCollectionResponseFromDiscriminatorValue, createSensitivityLabelFromDiscriminatorValue, serializeSensitivityLabel } 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 { ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderRequestsMetadata } from './computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { ComputeRightsAndInheritanceRequestBuilderRequestsMetadata } from './computeRightsAndInheritance/index.js';
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
14
|
+
// @ts-ignore
|
|
15
|
+
import { SensitivityLabelItemRequestBuilderNavigationMetadata, SensitivityLabelItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
16
|
+
/**
|
|
17
|
+
* Uri template for the request builder.
|
|
18
|
+
*/
|
|
19
|
+
export const SensitivityLabelsRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
20
|
+
/**
|
|
21
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
22
|
+
*/
|
|
23
|
+
const SensitivityLabelsRequestBuilderGetQueryParametersMapper = {
|
|
24
|
+
"count": "%24count",
|
|
25
|
+
"expand": "%24expand",
|
|
26
|
+
"filter": "%24filter",
|
|
27
|
+
"orderby": "%24orderby",
|
|
28
|
+
"search": "%24search",
|
|
29
|
+
"select": "%24select",
|
|
30
|
+
"skip": "%24skip",
|
|
31
|
+
"top": "%24top",
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Metadata for all the navigation properties in the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export const SensitivityLabelsRequestBuilderNavigationMetadata = {
|
|
37
|
+
bySensitivityLabelId: {
|
|
38
|
+
requestsMetadata: SensitivityLabelItemRequestBuilderRequestsMetadata,
|
|
39
|
+
navigationMetadata: SensitivityLabelItemRequestBuilderNavigationMetadata,
|
|
40
|
+
pathParametersMappings: ["sensitivityLabel%2Did"],
|
|
41
|
+
},
|
|
42
|
+
computeInheritanceWithLabelIdsWithLocaleWithContentFormats: {
|
|
43
|
+
requestsMetadata: ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderRequestsMetadata,
|
|
44
|
+
pathParametersMappings: ["contentFormats", "labelIds", "locale"],
|
|
45
|
+
},
|
|
46
|
+
computeRightsAndInheritance: {
|
|
47
|
+
requestsMetadata: ComputeRightsAndInheritanceRequestBuilderRequestsMetadata,
|
|
48
|
+
},
|
|
49
|
+
count: {
|
|
50
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Metadata for all the requests in the request builder.
|
|
55
|
+
*/
|
|
56
|
+
export const SensitivityLabelsRequestBuilderRequestsMetadata = {
|
|
57
|
+
get: {
|
|
58
|
+
uriTemplate: SensitivityLabelsRequestBuilderUriTemplate,
|
|
59
|
+
responseBodyContentType: "application/json",
|
|
60
|
+
errorMappings: {
|
|
61
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
62
|
+
},
|
|
63
|
+
adapterMethodName: "send",
|
|
64
|
+
responseBodyFactory: createSensitivityLabelCollectionResponseFromDiscriminatorValue,
|
|
65
|
+
queryParametersMapper: SensitivityLabelsRequestBuilderGetQueryParametersMapper,
|
|
66
|
+
},
|
|
67
|
+
post: {
|
|
68
|
+
uriTemplate: SensitivityLabelsRequestBuilderUriTemplate,
|
|
69
|
+
responseBodyContentType: "application/json",
|
|
70
|
+
errorMappings: {
|
|
71
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
72
|
+
},
|
|
73
|
+
adapterMethodName: "send",
|
|
74
|
+
responseBodyFactory: createSensitivityLabelFromDiscriminatorValue,
|
|
75
|
+
requestBodyContentType: "application/json",
|
|
76
|
+
requestBodySerializer: serializeSensitivityLabel,
|
|
77
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
/* tslint:enable */
|
|
81
|
+
/* eslint-enable */
|
|
82
|
+
//# 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,8DAA8D,EAAE,4CAA4C,EAAE,yBAAyB,EAAkE,MAAM,wCAAwC,CAAC;AACjQ,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,wFAAwF,EAAiF,MAAM,uEAAuE,CAAC;AAChQ,aAAa;AACb,OAAO,EAAE,yDAAyD,EAAkD,MAAM,wCAAwC,CAAC;AACnK,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,oDAAoD,EAAE,kDAAkD,EAA2C,MAAM,iBAAiB,CAAC;AAiGpL;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,8IAA8I,CAAC;AACzM;;GAEG;AACH,MAAM,uDAAuD,GAA2B;IACpF,OAAO,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import { type SensitivityLabel } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type RightsRequestBuilder } from './rights/index.js';
|
|
3
|
+
import { type SublabelsRequestBuilder } from './sublabels/index.js';
|
|
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 sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface SensitivityLabelItemRequestBuilder extends BaseRequestBuilder<SensitivityLabelItemRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity.
|
|
11
|
+
*/
|
|
12
|
+
get rights(): RightsRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity.
|
|
15
|
+
*/
|
|
16
|
+
get sublabels(): SublabelsRequestBuilder;
|
|
17
|
+
/**
|
|
18
|
+
* Delete navigation property sensitivityLabels for security
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
21
|
+
*/
|
|
22
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Get a sensitivity label available for the entire tenant.
|
|
25
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
|
+
* @returns {Promise<SensitivityLabel>}
|
|
27
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
28
|
+
* @see {@link https://learn.microsoft.com/graph/api/sensitivitylabel-get?view=graph-rest-1.0|Find more info here}
|
|
29
|
+
*/
|
|
30
|
+
get(requestConfiguration?: RequestConfiguration<SensitivityLabelItemRequestBuilderGetQueryParameters> | undefined): Promise<SensitivityLabel | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Update the navigation property sensitivityLabels in security
|
|
33
|
+
* @param body The request body
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns {Promise<SensitivityLabel>}
|
|
36
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
37
|
+
*/
|
|
38
|
+
patch(body: SensitivityLabel, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SensitivityLabel | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* Delete navigation property sensitivityLabels for security
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns {RequestInformation}
|
|
43
|
+
*/
|
|
44
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
/**
|
|
46
|
+
* Get a sensitivity label available for the entire tenant.
|
|
47
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
48
|
+
* @returns {RequestInformation}
|
|
49
|
+
*/
|
|
50
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SensitivityLabelItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
51
|
+
/**
|
|
52
|
+
* Update the navigation property sensitivityLabels in security
|
|
53
|
+
* @param body The request body
|
|
54
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
55
|
+
* @returns {RequestInformation}
|
|
56
|
+
*/
|
|
57
|
+
toPatchRequestInformation(body: SensitivityLabel, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Get a sensitivity label available for the entire tenant.
|
|
61
|
+
*/
|
|
62
|
+
export interface SensitivityLabelItemRequestBuilderGetQueryParameters {
|
|
63
|
+
/**
|
|
64
|
+
* Expand related entities
|
|
65
|
+
*/
|
|
66
|
+
expand?: string[];
|
|
67
|
+
/**
|
|
68
|
+
* Select properties to be returned
|
|
69
|
+
*/
|
|
70
|
+
select?: string[];
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Uri template for the request builder.
|
|
74
|
+
*/
|
|
75
|
+
export declare const SensitivityLabelItemRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}{?%24expand,%24select}";
|
|
76
|
+
/**
|
|
77
|
+
* Metadata for all the navigation properties in the request builder.
|
|
78
|
+
*/
|
|
79
|
+
export declare const SensitivityLabelItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SensitivityLabelItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
80
|
+
/**
|
|
81
|
+
* Metadata for all the requests in the request builder.
|
|
82
|
+
*/
|
|
83
|
+
export declare const SensitivityLabelItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
84
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2E,KAAK,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAIxJ,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAAsF,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAExJ,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,kCAAmC,SAAQ,kBAAkB,CAAC,kCAAkC,CAAC;IAC9G;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,SAAS,IAAI,uBAAuB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
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createSensitivityLabelFromDiscriminatorValue, serializeSensitivityLabel } 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 { RightsRequestBuilderRequestsMetadata } from './rights/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { SublabelsRequestBuilderNavigationMetadata, SublabelsRequestBuilderRequestsMetadata } from './sublabels/index.js';
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const SensitivityLabelItemRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}{?%24expand,%24select}";
|
|
16
|
+
/**
|
|
17
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
18
|
+
*/
|
|
19
|
+
const SensitivityLabelItemRequestBuilderGetQueryParametersMapper = {
|
|
20
|
+
"expand": "%24expand",
|
|
21
|
+
"select": "%24select",
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Metadata for all the navigation properties in the request builder.
|
|
25
|
+
*/
|
|
26
|
+
export const SensitivityLabelItemRequestBuilderNavigationMetadata = {
|
|
27
|
+
rights: {
|
|
28
|
+
requestsMetadata: RightsRequestBuilderRequestsMetadata,
|
|
29
|
+
},
|
|
30
|
+
sublabels: {
|
|
31
|
+
requestsMetadata: SublabelsRequestBuilderRequestsMetadata,
|
|
32
|
+
navigationMetadata: SublabelsRequestBuilderNavigationMetadata,
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Metadata for all the requests in the request builder.
|
|
37
|
+
*/
|
|
38
|
+
export const SensitivityLabelItemRequestBuilderRequestsMetadata = {
|
|
39
|
+
delete: {
|
|
40
|
+
uriTemplate: SensitivityLabelItemRequestBuilderUriTemplate,
|
|
41
|
+
responseBodyContentType: "application/json",
|
|
42
|
+
errorMappings: {
|
|
43
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
44
|
+
},
|
|
45
|
+
adapterMethodName: "sendNoResponseContent",
|
|
46
|
+
},
|
|
47
|
+
get: {
|
|
48
|
+
uriTemplate: SensitivityLabelItemRequestBuilderUriTemplate,
|
|
49
|
+
responseBodyContentType: "application/json",
|
|
50
|
+
errorMappings: {
|
|
51
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
52
|
+
},
|
|
53
|
+
adapterMethodName: "send",
|
|
54
|
+
responseBodyFactory: createSensitivityLabelFromDiscriminatorValue,
|
|
55
|
+
queryParametersMapper: SensitivityLabelItemRequestBuilderGetQueryParametersMapper,
|
|
56
|
+
},
|
|
57
|
+
patch: {
|
|
58
|
+
uriTemplate: SensitivityLabelItemRequestBuilderUriTemplate,
|
|
59
|
+
responseBodyContentType: "application/json",
|
|
60
|
+
errorMappings: {
|
|
61
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
62
|
+
},
|
|
63
|
+
adapterMethodName: "send",
|
|
64
|
+
responseBodyFactory: createSensitivityLabelFromDiscriminatorValue,
|
|
65
|
+
requestBodyContentType: "application/json",
|
|
66
|
+
requestBodySerializer: serializeSensitivityLabel,
|
|
67
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
/* tslint:enable */
|
|
71
|
+
/* eslint-enable */
|
|
72
|
+
//# sourceMappingURL=index.js.map
|