@microsoft/msgraph-sdk-security 1.0.0-preview.82 → 1.0.0-preview.86
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/alerts_v2/index.d.ts +5 -0
- package/security/alerts_v2/index.d.ts.map +1 -1
- package/security/alerts_v2/index.js +5 -0
- package/security/alerts_v2/index.js.map +1 -1
- package/security/alerts_v2/microsoftGraphSecurityMoveAlerts/index.d.ts +73 -0
- package/security/alerts_v2/microsoftGraphSecurityMoveAlerts/index.d.ts.map +1 -0
- package/security/alerts_v2/microsoftGraphSecurityMoveAlerts/index.js +72 -0
- package/security/alerts_v2/microsoftGraphSecurityMoveAlerts/index.js.map +1 -0
- package/security/attackSimulation/simulations/item/index.d.ts +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 +64 -0
- package/security/auditLog/queries/item/index.d.ts.map +1 -0
- package/security/auditLog/queries/item/index.js +55 -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 +82 -0
- package/security/auditLog/queries/item/records/index.d.ts.map +1 -0
- package/security/auditLog/queries/item/records/index.js +58 -0
- package/security/auditLog/queries/item/records/index.js.map +1 -0
- package/security/auditLog/queries/item/records/item/index.d.ts +42 -0
- package/security/auditLog/queries/item/records/item/index.d.ts.map +1 -0
- package/security/auditLog/queries/item/records/item/index.js +36 -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 +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 +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 +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 +1 -1
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityRemoveHold/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportResult/index.js +3 -2
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportResult/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/collaboration/analyzedEmails/count/index.d.ts +41 -0
- package/security/collaboration/analyzedEmails/count/index.d.ts.map +1 -0
- package/security/collaboration/analyzedEmails/count/index.js +34 -0
- package/security/collaboration/analyzedEmails/count/index.js.map +1 -0
- package/security/collaboration/analyzedEmails/index.d.ts +103 -0
- package/security/collaboration/analyzedEmails/index.d.ts.map +1 -0
- package/security/collaboration/analyzedEmails/index.js +75 -0
- package/security/collaboration/analyzedEmails/index.js.map +1 -0
- package/security/collaboration/analyzedEmails/item/index.d.ts +70 -0
- package/security/collaboration/analyzedEmails/item/index.d.ts.map +1 -0
- package/security/collaboration/analyzedEmails/item/index.js +56 -0
- package/security/collaboration/analyzedEmails/item/index.js.map +1 -0
- package/security/collaboration/analyzedEmails/microsoftGraphSecurityRemediate/index.d.ts +80 -0
- package/security/collaboration/analyzedEmails/microsoftGraphSecurityRemediate/index.d.ts.map +1 -0
- package/security/collaboration/analyzedEmails/microsoftGraphSecurityRemediate/index.js +76 -0
- package/security/collaboration/analyzedEmails/microsoftGraphSecurityRemediate/index.js.map +1 -0
- package/security/collaboration/index.d.ts +78 -0
- package/security/collaboration/index.d.ts.map +1 -0
- package/security/collaboration/index.js +67 -0
- package/security/collaboration/index.js.map +1 -0
- package/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.js +1 -1
- package/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.js.map +1 -1
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.js +1 -1
- package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.js.map +1 -1
- package/security/identities/sensorCandidates/microsoftGraphSecurityActivate/index.d.ts +1 -0
- package/security/identities/sensorCandidates/microsoftGraphSecurityActivate/index.d.ts.map +1 -1
- package/security/identities/sensorCandidates/microsoftGraphSecurityActivate/index.js +1 -1
- package/security/identities/sensorCandidates/microsoftGraphSecurityActivate/index.js.map +1 -1
- 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/incidents/index.d.ts +5 -0
- package/security/incidents/index.d.ts.map +1 -1
- package/security/incidents/index.js +5 -0
- package/security/incidents/index.js.map +1 -1
- package/security/incidents/microsoftGraphSecurityMergeIncidents/index.d.ts +69 -0
- package/security/incidents/microsoftGraphSecurityMergeIncidents/index.d.ts.map +1 -0
- package/security/incidents/microsoftGraphSecurityMergeIncidents/index.js +70 -0
- package/security/incidents/microsoftGraphSecurityMergeIncidents/index.js.map +1 -0
- 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/labels/retentionLabels/item/index.d.ts +4 -3
- package/security/labels/retentionLabels/item/index.d.ts.map +1 -1
- package/security/labels/retentionLabels/item/index.js.map +1 -1
- package/tsconfig.json +0 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -21,7 +21,7 @@ export function createApplyHoldPostRequestBodyFromDiscriminatorValue(parseNode)
|
|
|
21
21
|
export function deserializeIntoApplyHoldPostRequestBody(applyHoldPostRequestBody = {}) {
|
|
22
22
|
return {
|
|
23
23
|
"backingStoreEnabled": n => { applyHoldPostRequestBody.backingStoreEnabled = true; },
|
|
24
|
-
"ids": n => { applyHoldPostRequestBody.ids = n.getCollectionOfPrimitiveValues(); },
|
|
24
|
+
"ids": n => { applyHoldPostRequestBody.ids = n.getCollectionOfPrimitiveValues("string"); },
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
@@ -1 +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;AAc7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,oDAAoD,CAAC,SAAgC;IACjG,OAAO,uCAAuC,CAAC;AACnD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,uCAAuC,CAAC,2BAA0E,EAAE;IAChI,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,wBAAwB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACpF,KAAK,EAAE,CAAC,CAAC,EAAE,GAAG,wBAAwB,CAAC,GAAG,GAAG,CAAC,CAAC,8BAA8B,
|
|
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,EA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MicrosoftGraphSecurityRemoveHoldRequestBuilder extends BaseRequ
|
|
|
20
20
|
* @param body The request body
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-removehold?view=graph-rest-1.0|Find more info here}
|
|
23
24
|
*/
|
|
24
25
|
post(body: RemoveHoldPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
25
26
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,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;;;;GAIG;AAEH,wBAAgB,qDAAqD,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,CAE7K;AACD;;;;GAIG;AAEH,wBAAgB,wCAAwC,CAAC,yBAAyB,GAAE,OAAO,CAAC,yBAAyB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKnL;AACD;;GAEG;AACH,MAAM,WAAW,8CAA+C,SAAQ,kBAAkB,CAAC,8CAA8C,CAAC;IACtI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,oBAAoB,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,OAAO,CAAC,yBAAyB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAIvN;AACD;;GAEG;AACH,eAAO,MAAM,yDAAyD,gIAAgI,CAAC;AACvM;;GAEG;AACH,eAAO,MAAM,8DAA8D,EAAE,gBAY5E,CAAC"}
|
|
@@ -21,7 +21,7 @@ export function createRemoveHoldPostRequestBodyFromDiscriminatorValue(parseNode)
|
|
|
21
21
|
export function deserializeIntoRemoveHoldPostRequestBody(removeHoldPostRequestBody = {}) {
|
|
22
22
|
return {
|
|
23
23
|
"backingStoreEnabled": n => { removeHoldPostRequestBody.backingStoreEnabled = true; },
|
|
24
|
-
"ids": n => { removeHoldPostRequestBody.ids = n.getCollectionOfPrimitiveValues(); },
|
|
24
|
+
"ids": n => { removeHoldPostRequestBody.ids = n.getCollectionOfPrimitiveValues("string"); },
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
@@ -1 +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;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,qDAAqD,CAAC,SAAgC;IAClG,OAAO,wCAAwC,CAAC;AACpD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,wCAAwC,CAAC,4BAA4E,EAAE;IACnI,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,yBAAyB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACrF,KAAK,EAAE,CAAC,CAAC,EAAE,GAAG,yBAAyB,CAAC,GAAG,GAAG,CAAC,CAAC,8BAA8B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"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wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -31,7 +31,7 @@ export function deserializeIntoExportResultPostRequestBody(exportResultPostReque
|
|
|
31
31
|
"exportCriteria": n => { exportResultPostRequestBody.exportCriteria = n.getCollectionOfEnumValues(ExportCriteriaObject); },
|
|
32
32
|
"exportFormat": n => { exportResultPostRequestBody.exportFormat = n.getEnumValue(ExportFormatObject); },
|
|
33
33
|
"exportLocation": n => { exportResultPostRequestBody.exportLocation = n.getCollectionOfEnumValues(ExportLocationObject); },
|
|
34
|
-
"exportSingleItems": n => { exportResultPostRequestBody.exportSingleItems = n.getBooleanValue(); },
|
|
34
|
+
"exportSingleItems": n => { var _a; exportResultPostRequestBody.exportSingleItems = (_a = n.getBooleanValue()) !== null && _a !== void 0 ? _a : false; },
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
@@ -42,6 +42,7 @@ export function deserializeIntoExportResultPostRequestBody(exportResultPostReque
|
|
|
42
42
|
*/
|
|
43
43
|
// @ts-ignore
|
|
44
44
|
export function serializeExportResultPostRequestBody(writer, exportResultPostRequestBody = {}, isSerializingDerivedType = false) {
|
|
45
|
+
var _a;
|
|
45
46
|
if (!exportResultPostRequestBody || isSerializingDerivedType) {
|
|
46
47
|
return;
|
|
47
48
|
}
|
|
@@ -53,7 +54,7 @@ export function serializeExportResultPostRequestBody(writer, exportResultPostReq
|
|
|
53
54
|
writer.writeEnumValue("exportCriteria", exportResultPostRequestBody.exportCriteria);
|
|
54
55
|
writer.writeEnumValue("exportFormat", exportResultPostRequestBody.exportFormat);
|
|
55
56
|
writer.writeEnumValue("exportLocation", exportResultPostRequestBody.exportLocation);
|
|
56
|
-
writer.writeBooleanValue("exportSingleItems", exportResultPostRequestBody.exportSingleItems);
|
|
57
|
+
writer.writeBooleanValue("exportSingleItems", (_a = exportResultPostRequestBody.exportSingleItems) !== null && _a !== void 0 ? _a : false);
|
|
57
58
|
writer.writeAdditionalData(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chy/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export interface MicrosoftGraphSecurityAsHierarchyRequestBuilder extends BaseReq
|
|
|
28
28
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
29
|
* @returns {Promise<AsHierarchyGetResponse>}
|
|
30
30
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
31
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-ediscoveryreviewtag-ashierarchy?view=graph-rest-1.0|Find more info here}
|
|
31
32
|
*/
|
|
32
33
|
get(requestConfiguration?: RequestConfiguration<MicrosoftGraphSecurityAsHierarchyRequestBuilderGetQueryParameters> | undefined): Promise<AsHierarchyGetResponse | undefined>;
|
|
33
34
|
/**
|
package/security/cases/ediscoveryCases/item/tags/microsoftGraphSecurityAsHierarchy/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwG,KAAK,qCAAqC,EAAE,MAAM,wCAAwC,CAAC;AAI1M,OAAO,EAAiF,KAAK,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAE1K,OAAO,EAAE,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;AAElO,MAAM,WAAW,sBAAuB,SAAQ,qCAAqC,EAAE,QAAQ;IAC3F;;OAEG;IACH,KAAK,CAAC,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAC;CACxC;AACD;;;;GAIG;AAEH,wBAAgB,kDAAkD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IA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IACxI;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iEAAiE,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IAC/K;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iEAAiE,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7K;AACD;;GAEG;AACH,MAAM,WAAW,iEAAiE;IAC9E;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;;;;GAKG;AAEH,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,mBAAmB,EAAE,sBAAsB,GAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAI9M;AACD;;GAEG;AACH,eAAO,MAAM,0DAA0D,6LAA6L,CAAC;AAcrQ;;GAEG;AACH,eAAO,MAAM,+DAA+D,EAAE,gBAW7E,CAAC"}
|
package/security/cases/ediscoveryCases/item/tags/microsoftGraphSecurityAsHierarchy/index.js.map
CHANGED
|
@@ -1 +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,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CAAC,CAAC,CAAC,CAAC,IACxJ;AACL,CAAC;AAyDD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,+BAA+B,CAAC,MAA2B,EAAE,yBAA6E,EAAE,EAAE,2BAAoC,KAAK;IACnM,IAAI,CAAC,sBAAsB,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IACpE,8CAA8C,CAAC,MAAM,EAAE,sBAAsB,EAAE,wBAAwB,CAAC,CAAA;IACxG,MAAM,CAAC,6BAA6B,CAAsB,OAAO,EAAE,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,CAAC,CAAC;AACnI,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,0DAA0D,GAAG,0LAA0L,CAAC;AACrQ;;GAEG;AACH,MAAM,uEAAuE,GAA2B;IACpG,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,+DAA+D,GAAqB;IAC7F,GAAG,EAAE;QACD,WAAW,EAAE,0DAA0D;QACvE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kDAAkD;QACxE,qBAAqB,EAAE,uEAAuE;KACjG;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns {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/collaboration/analyzedEmails/$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,kFAAkF,CAAC;AAQ9H;;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/collaboration/analyzedEmails/$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,+EAA+E,CAAC;AAC9H;;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,103 @@
|
|
|
1
|
+
import { type AnalyzedEmail, type AnalyzedEmailCollectionResponse } from '@microsoft/msgraph-sdk/models/security/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type AnalyzedEmailItemRequestBuilder } from './item/index.js';
|
|
4
|
+
import { type MicrosoftGraphSecurityRemediateRequestBuilder } from './microsoftGraphSecurityRemediate/index.js';
|
|
5
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
6
|
+
/**
|
|
7
|
+
* Provides operations to manage the analyzedEmails property of the microsoft.graph.security.collaborationRoot entity.
|
|
8
|
+
*/
|
|
9
|
+
export interface AnalyzedEmailsRequestBuilder extends BaseRequestBuilder<AnalyzedEmailsRequestBuilder> {
|
|
10
|
+
/**
|
|
11
|
+
* Provides operations to count the resources in the collection.
|
|
12
|
+
*/
|
|
13
|
+
get count(): CountRequestBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Provides operations to call the remediate method.
|
|
16
|
+
*/
|
|
17
|
+
get microsoftGraphSecurityRemediate(): MicrosoftGraphSecurityRemediateRequestBuilder;
|
|
18
|
+
/**
|
|
19
|
+
* Provides operations to manage the analyzedEmails property of the microsoft.graph.security.collaborationRoot entity.
|
|
20
|
+
* @param analyzedEmailId The unique identifier of analyzedEmail
|
|
21
|
+
* @returns {AnalyzedEmailItemRequestBuilder}
|
|
22
|
+
*/
|
|
23
|
+
byAnalyzedEmailId(analyzedEmailId: string): AnalyzedEmailItemRequestBuilder;
|
|
24
|
+
/**
|
|
25
|
+
* Get a list of analyzedEmail objects and their properties. This API allows Security Operations teams to have direct access to hunt (query) for threats, IOCs, attack vectors, and evidences for a tenant. It is a powerful, near real-time tool to help Security Operations teams investigate and respond to threats. It consists of email metadata, verdict information, related underlying entities (attachments/URL), filters, and more.
|
|
26
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
|
+
* @returns {Promise<AnalyzedEmailCollectionResponse>}
|
|
28
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-collaborationroot-list-analyzedemails?view=graph-rest-1.0|Find more info here}
|
|
30
|
+
*/
|
|
31
|
+
get(requestConfiguration?: RequestConfiguration<AnalyzedEmailsRequestBuilderGetQueryParameters> | undefined): Promise<AnalyzedEmailCollectionResponse | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* Create new navigation property to analyzedEmails for security
|
|
34
|
+
* @param body The request body
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns {Promise<AnalyzedEmail>}
|
|
37
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
+
*/
|
|
39
|
+
post(body: AnalyzedEmail, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AnalyzedEmail | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Get a list of analyzedEmail objects and their properties. This API allows Security Operations teams to have direct access to hunt (query) for threats, IOCs, attack vectors, and evidences for a tenant. It is a powerful, near real-time tool to help Security Operations teams investigate and respond to threats. It consists of email metadata, verdict information, related underlying entities (attachments/URL), filters, and more.
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns {RequestInformation}
|
|
44
|
+
*/
|
|
45
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AnalyzedEmailsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
46
|
+
/**
|
|
47
|
+
* Create new navigation property to analyzedEmails for security
|
|
48
|
+
* @param body The request body
|
|
49
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
50
|
+
* @returns {RequestInformation}
|
|
51
|
+
*/
|
|
52
|
+
toPostRequestInformation(body: AnalyzedEmail, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Get a list of analyzedEmail objects and their properties. This API allows Security Operations teams to have direct access to hunt (query) for threats, IOCs, attack vectors, and evidences for a tenant. It is a powerful, near real-time tool to help Security Operations teams investigate and respond to threats. It consists of email metadata, verdict information, related underlying entities (attachments/URL), filters, and more.
|
|
56
|
+
*/
|
|
57
|
+
export interface AnalyzedEmailsRequestBuilderGetQueryParameters {
|
|
58
|
+
/**
|
|
59
|
+
* Include count of items
|
|
60
|
+
*/
|
|
61
|
+
count?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Expand related entities
|
|
64
|
+
*/
|
|
65
|
+
expand?: string[];
|
|
66
|
+
/**
|
|
67
|
+
* Filter items by property values
|
|
68
|
+
*/
|
|
69
|
+
filter?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Order items by property values
|
|
72
|
+
*/
|
|
73
|
+
orderby?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* Search items by search phrases
|
|
76
|
+
*/
|
|
77
|
+
search?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Select properties to be returned
|
|
80
|
+
*/
|
|
81
|
+
select?: string[];
|
|
82
|
+
/**
|
|
83
|
+
* Skip the first n items
|
|
84
|
+
*/
|
|
85
|
+
skip?: number;
|
|
86
|
+
/**
|
|
87
|
+
* Show only the first n items
|
|
88
|
+
*/
|
|
89
|
+
top?: number;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Uri template for the request builder.
|
|
93
|
+
*/
|
|
94
|
+
export declare const AnalyzedEmailsRequestBuilderUriTemplate = "{+baseurl}/security/collaboration/analyzedEmails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
95
|
+
/**
|
|
96
|
+
* Metadata for all the navigation properties in the request builder.
|
|
97
|
+
*/
|
|
98
|
+
export declare const AnalyzedEmailsRequestBuilderNavigationMetadata: Record<Exclude<keyof AnalyzedEmailsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
99
|
+
/**
|
|
100
|
+
* Metadata for all the requests in the request builder.
|
|
101
|
+
*/
|
|
102
|
+
export declare const AnalyzedEmailsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
103
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAkI,KAAK,aAAa,EAAE,KAAK,+BAA+B,EAAE,MAAM,iDAAiD,CAAC;AAE3P,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAmD,KAAK,+BAA+B,EAAE,MAAM,iBAAiB,CAAC;AAExH,OAAO,EAAiE,KAAK,6CAA6C,EAAE,MAAM,4CAA4C,CAAC;AAE/K,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,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,+BAA+B,IAAI,6CAA6C,CAAC;IACrF;;;;OAIG;IACF,iBAAiB,CAAC,eAAe,EAAE,MAAM,GAAI,+BAA+B,CAAC;IAC9E;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,8CAA8C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IACrK;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IACjI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,8CAA8C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACvJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxI;AACD;;GAEG;AACH,MAAM,WAAW,8CAA8C;IAC3D;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,kIAAkI,CAAC;AAcvL;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWtK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAuB1D,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
// @ts-ignore
|
|
7
|
+
import { createAnalyzedEmailCollectionResponseFromDiscriminatorValue, createAnalyzedEmailFromDiscriminatorValue, serializeAnalyzedEmail } from '@microsoft/msgraph-sdk/models/security/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { AnalyzedEmailItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
import { MicrosoftGraphSecurityRemediateRequestBuilderRequestsMetadata } from './microsoftGraphSecurityRemediate/index.js';
|
|
14
|
+
/**
|
|
15
|
+
* Uri template for the request builder.
|
|
16
|
+
*/
|
|
17
|
+
export const AnalyzedEmailsRequestBuilderUriTemplate = "{+baseurl}/security/collaboration/analyzedEmails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
18
|
+
/**
|
|
19
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
20
|
+
*/
|
|
21
|
+
const AnalyzedEmailsRequestBuilderGetQueryParametersMapper = {
|
|
22
|
+
"count": "%24count",
|
|
23
|
+
"expand": "%24expand",
|
|
24
|
+
"filter": "%24filter",
|
|
25
|
+
"orderby": "%24orderby",
|
|
26
|
+
"search": "%24search",
|
|
27
|
+
"select": "%24select",
|
|
28
|
+
"skip": "%24skip",
|
|
29
|
+
"top": "%24top",
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Metadata for all the navigation properties in the request builder.
|
|
33
|
+
*/
|
|
34
|
+
export const AnalyzedEmailsRequestBuilderNavigationMetadata = {
|
|
35
|
+
byAnalyzedEmailId: {
|
|
36
|
+
requestsMetadata: AnalyzedEmailItemRequestBuilderRequestsMetadata,
|
|
37
|
+
pathParametersMappings: ["analyzedEmail%2Did"],
|
|
38
|
+
},
|
|
39
|
+
count: {
|
|
40
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
41
|
+
},
|
|
42
|
+
microsoftGraphSecurityRemediate: {
|
|
43
|
+
requestsMetadata: MicrosoftGraphSecurityRemediateRequestBuilderRequestsMetadata,
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Metadata for all the requests in the request builder.
|
|
48
|
+
*/
|
|
49
|
+
export const AnalyzedEmailsRequestBuilderRequestsMetadata = {
|
|
50
|
+
get: {
|
|
51
|
+
uriTemplate: AnalyzedEmailsRequestBuilderUriTemplate,
|
|
52
|
+
responseBodyContentType: "application/json",
|
|
53
|
+
errorMappings: {
|
|
54
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
55
|
+
},
|
|
56
|
+
adapterMethodName: "send",
|
|
57
|
+
responseBodyFactory: createAnalyzedEmailCollectionResponseFromDiscriminatorValue,
|
|
58
|
+
queryParametersMapper: AnalyzedEmailsRequestBuilderGetQueryParametersMapper,
|
|
59
|
+
},
|
|
60
|
+
post: {
|
|
61
|
+
uriTemplate: AnalyzedEmailsRequestBuilderUriTemplate,
|
|
62
|
+
responseBodyContentType: "application/json",
|
|
63
|
+
errorMappings: {
|
|
64
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
65
|
+
},
|
|
66
|
+
adapterMethodName: "send",
|
|
67
|
+
responseBodyFactory: createAnalyzedEmailFromDiscriminatorValue,
|
|
68
|
+
requestBodyContentType: "application/json",
|
|
69
|
+
requestBodySerializer: serializeAnalyzedEmail,
|
|
70
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
/* tslint:enable */
|
|
74
|
+
/* eslint-enable */
|
|
75
|
+
//# 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;AAC7H,aAAa;AACb,OAAO,EAAE,2DAA2D,EAAE,yCAAyC,EAAE,sBAAsB,EAA4D,MAAM,iDAAiD,CAAC;AAC3P,aAAa;AACb,OAAO,EAAE,mCAA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AAE,sBAAsB;QAC7C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { type AnalyzedEmail } from '@microsoft/msgraph-sdk/models/security/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the analyzedEmails property of the microsoft.graph.security.collaborationRoot entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface AnalyzedEmailItemRequestBuilder extends BaseRequestBuilder<AnalyzedEmailItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property analyzedEmails for security
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Read the properties and relationships of an analyzedEmail object.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {Promise<AnalyzedEmail>}
|
|
17
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
18
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-analyzedemail-get?view=graph-rest-1.0|Find more info here}
|
|
19
|
+
*/
|
|
20
|
+
get(requestConfiguration?: RequestConfiguration<AnalyzedEmailItemRequestBuilderGetQueryParameters> | undefined): Promise<AnalyzedEmail | undefined>;
|
|
21
|
+
/**
|
|
22
|
+
* Update the navigation property analyzedEmails in security
|
|
23
|
+
* @param body The request body
|
|
24
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
|
+
* @returns {Promise<AnalyzedEmail>}
|
|
26
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
27
|
+
*/
|
|
28
|
+
patch(body: AnalyzedEmail, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AnalyzedEmail | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* Delete navigation property analyzedEmails for security
|
|
31
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
+
* @returns {RequestInformation}
|
|
33
|
+
*/
|
|
34
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
|
+
/**
|
|
36
|
+
* Read the properties and relationships of an analyzedEmail object.
|
|
37
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
|
+
* @returns {RequestInformation}
|
|
39
|
+
*/
|
|
40
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AnalyzedEmailItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
41
|
+
/**
|
|
42
|
+
* Update the navigation property analyzedEmails in security
|
|
43
|
+
* @param body The request body
|
|
44
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
45
|
+
* @returns {RequestInformation}
|
|
46
|
+
*/
|
|
47
|
+
toPatchRequestInformation(body: AnalyzedEmail, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Read the properties and relationships of an analyzedEmail object.
|
|
51
|
+
*/
|
|
52
|
+
export interface AnalyzedEmailItemRequestBuilderGetQueryParameters {
|
|
53
|
+
/**
|
|
54
|
+
* Expand related entities
|
|
55
|
+
*/
|
|
56
|
+
expand?: string[];
|
|
57
|
+
/**
|
|
58
|
+
* Select properties to be returned
|
|
59
|
+
*/
|
|
60
|
+
select?: string[];
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Uri template for the request builder.
|
|
64
|
+
*/
|
|
65
|
+
export declare const AnalyzedEmailItemRequestBuilderUriTemplate = "{+baseurl}/security/collaboration/analyzedEmails/{analyzedEmail%2Did}{?%24expand,%24select}";
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const AnalyzedEmailItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
70
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAqE,KAAK,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAExJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IAClI;;;;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,iDAAiD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC1J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzI;AACD;;GAEG;AACH,MAAM,WAAW,iDAAiD;IAC9D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,gGAAgG,CAAC;AAQxJ;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBA+B7D,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
// @ts-ignore
|
|
7
|
+
import { createAnalyzedEmailFromDiscriminatorValue, serializeAnalyzedEmail } from '@microsoft/msgraph-sdk/models/security/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const AnalyzedEmailItemRequestBuilderUriTemplate = "{+baseurl}/security/collaboration/analyzedEmails/{analyzedEmail%2Did}{?%24expand,%24select}";
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const AnalyzedEmailItemRequestBuilderGetQueryParametersMapper = {
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"select": "%24select",
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Metadata for all the requests in the request builder.
|
|
21
|
+
*/
|
|
22
|
+
export const AnalyzedEmailItemRequestBuilderRequestsMetadata = {
|
|
23
|
+
delete: {
|
|
24
|
+
uriTemplate: AnalyzedEmailItemRequestBuilderUriTemplate,
|
|
25
|
+
responseBodyContentType: "application/json",
|
|
26
|
+
errorMappings: {
|
|
27
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
28
|
+
},
|
|
29
|
+
adapterMethodName: "sendNoResponseContent",
|
|
30
|
+
},
|
|
31
|
+
get: {
|
|
32
|
+
uriTemplate: AnalyzedEmailItemRequestBuilderUriTemplate,
|
|
33
|
+
responseBodyContentType: "application/json",
|
|
34
|
+
errorMappings: {
|
|
35
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
36
|
+
},
|
|
37
|
+
adapterMethodName: "send",
|
|
38
|
+
responseBodyFactory: createAnalyzedEmailFromDiscriminatorValue,
|
|
39
|
+
queryParametersMapper: AnalyzedEmailItemRequestBuilderGetQueryParametersMapper,
|
|
40
|
+
},
|
|
41
|
+
patch: {
|
|
42
|
+
uriTemplate: AnalyzedEmailItemRequestBuilderUriTemplate,
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
46
|
+
},
|
|
47
|
+
adapterMethodName: "send",
|
|
48
|
+
responseBodyFactory: createAnalyzedEmailFromDiscriminatorValue,
|
|
49
|
+
requestBodyContentType: "application/json",
|
|
50
|
+
requestBodySerializer: serializeAnalyzedEmail,
|
|
51
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
/* tslint:enable */
|
|
55
|
+
/* eslint-enable */
|
|
56
|
+
//# 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;AAC7H,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAE,sBAAsB,EAAsB,MAAM,iDAAiD,CAAC;AA+DxJ;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,6FAA6F,CAAC;AACxJ;;GAEG;AACH,MAAM,uDAAuD,GAA2B;IACpF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAqB;IAC7E,MAAM,EAAE;QACJ,WAAW,EAAE,0CAA0C;QACvD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,0CAA0C;QACvD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,yCAAyC;QAC/D,qBAAqB,EAAE,uDAAuD;KACjF;IACD,KAAK,EAAE;QACH,WAAW,EAAE,0CAA0C;QACvD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,yCAAyC;QAC/D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,sBAAsB;QAC7C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { type AnalyzedEmail, type RemediationAction, type RemediationSeverity } from '@microsoft/msgraph-sdk/models/security/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
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns {RemediatePostRequestBody}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createRemediatePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @param RemediatePostRequestBody The instance to deserialize into.
|
|
12
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
13
|
+
*/
|
|
14
|
+
export declare function deserializeIntoRemediatePostRequestBody(remediatePostRequestBody?: Partial<RemediatePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
15
|
+
/**
|
|
16
|
+
* Provides operations to call the remediate method.
|
|
17
|
+
*/
|
|
18
|
+
export interface MicrosoftGraphSecurityRemediateRequestBuilder extends BaseRequestBuilder<MicrosoftGraphSecurityRemediateRequestBuilder> {
|
|
19
|
+
/**
|
|
20
|
+
* Remove a potential threat from end users' mailboxes. Remediation means to take prescribed action against a threat. This API can trigger email purge actions like move to junk, move to deleted items, soft delete, hard delete, or move to Inbox. This API enables scenarios and use cases such as SOAR integration, playbooks, and automations. For more information read email remediation, trigger action and track actions. If there is false positives admins can take move to inbox action.
|
|
21
|
+
* @param body The request body
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-analyzedemail-remediate?view=graph-rest-1.0|Find more info here}
|
|
25
|
+
*/
|
|
26
|
+
post(body: RemediatePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Remove a potential threat from end users' mailboxes. Remediation means to take prescribed action against a threat. This API can trigger email purge actions like move to junk, move to deleted items, soft delete, hard delete, or move to Inbox. This API enables scenarios and use cases such as SOAR integration, playbooks, and automations. For more information read email remediation, trigger action and track actions. If there is false positives admins can take move to inbox action.
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {RequestInformation}
|
|
32
|
+
*/
|
|
33
|
+
toPostRequestInformation(body: RemediatePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
|
+
}
|
|
35
|
+
export interface RemediatePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
36
|
+
/**
|
|
37
|
+
* The action property
|
|
38
|
+
*/
|
|
39
|
+
action?: RemediationAction | null;
|
|
40
|
+
/**
|
|
41
|
+
* The analyzedEmails property
|
|
42
|
+
*/
|
|
43
|
+
analyzedEmails?: AnalyzedEmail[] | null;
|
|
44
|
+
/**
|
|
45
|
+
* Stores model information.
|
|
46
|
+
*/
|
|
47
|
+
backingStoreEnabled?: boolean | null;
|
|
48
|
+
/**
|
|
49
|
+
* The description property
|
|
50
|
+
*/
|
|
51
|
+
description?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* The displayName property
|
|
54
|
+
*/
|
|
55
|
+
displayName?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* The remediateSendersCopy property
|
|
58
|
+
*/
|
|
59
|
+
remediateSendersCopy?: boolean | null;
|
|
60
|
+
/**
|
|
61
|
+
* The severity property
|
|
62
|
+
*/
|
|
63
|
+
severity?: RemediationSeverity | null;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Serializes information the current object
|
|
67
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
68
|
+
* @param RemediatePostRequestBody The instance to serialize from.
|
|
69
|
+
* @param writer Serialization writer to use to serialize this model
|
|
70
|
+
*/
|
|
71
|
+
export declare function serializeRemediatePostRequestBody(writer: SerializationWriter, remediatePostRequestBody?: Partial<RemediatePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
72
|
+
/**
|
|
73
|
+
* Uri template for the request builder.
|
|
74
|
+
*/
|
|
75
|
+
export declare const MicrosoftGraphSecurityRemediateRequestBuilderUriTemplate = "{+baseurl}/security/collaboration/analyzedEmails/microsoft.graph.security.remediate";
|
|
76
|
+
/**
|
|
77
|
+
* Metadata for all the requests in the request builder.
|
|
78
|
+
*/
|
|
79
|
+
export declare const MicrosoftGraphSecurityRemediateRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
80
|
+
//# sourceMappingURL=index.d.ts.map
|