@microsoft/msgraph-sdk-identityprotection 1.0.0-preview.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +11 -0
- package/identityProtection/index.d.ts +79 -0
- package/identityProtection/index.d.ts.map +1 -0
- package/identityProtection/index.js +77 -0
- package/identityProtection/riskDetections/count/index.d.ts +40 -0
- package/identityProtection/riskDetections/count/index.d.ts.map +1 -0
- package/identityProtection/riskDetections/count/index.js +35 -0
- package/identityProtection/riskDetections/index.d.ts +96 -0
- package/identityProtection/riskDetections/index.d.ts.map +1 -0
- package/identityProtection/riskDetections/index.js +70 -0
- package/identityProtection/riskDetections/item/index.d.ts +67 -0
- package/identityProtection/riskDetections/item/index.d.ts.map +1 -0
- package/identityProtection/riskDetections/item/index.js +56 -0
- package/identityProtection/riskyServicePrincipals/confirmCompromised/index.d.ts +59 -0
- package/identityProtection/riskyServicePrincipals/confirmCompromised/index.d.ts.map +1 -0
- package/identityProtection/riskyServicePrincipals/confirmCompromised/index.js +58 -0
- package/identityProtection/riskyServicePrincipals/count/index.d.ts +40 -0
- package/identityProtection/riskyServicePrincipals/count/index.d.ts.map +1 -0
- package/identityProtection/riskyServicePrincipals/count/index.js +35 -0
- package/identityProtection/riskyServicePrincipals/dismiss/index.d.ts +59 -0
- package/identityProtection/riskyServicePrincipals/dismiss/index.d.ts.map +1 -0
- package/identityProtection/riskyServicePrincipals/dismiss/index.js +58 -0
- package/identityProtection/riskyServicePrincipals/index.d.ts +106 -0
- package/identityProtection/riskyServicePrincipals/index.d.ts.map +1 -0
- package/identityProtection/riskyServicePrincipals/index.js +81 -0
- package/identityProtection/riskyServicePrincipals/item/history/count/index.d.ts +40 -0
- package/identityProtection/riskyServicePrincipals/item/history/count/index.d.ts.map +1 -0
- package/identityProtection/riskyServicePrincipals/item/history/count/index.js +35 -0
- package/identityProtection/riskyServicePrincipals/item/history/index.d.ts +96 -0
- package/identityProtection/riskyServicePrincipals/item/history/index.d.ts.map +1 -0
- package/identityProtection/riskyServicePrincipals/item/history/index.js +70 -0
- package/identityProtection/riskyServicePrincipals/item/history/item/index.d.ts +66 -0
- package/identityProtection/riskyServicePrincipals/item/history/item/index.d.ts.map +1 -0
- package/identityProtection/riskyServicePrincipals/item/history/item/index.js +56 -0
- package/identityProtection/riskyServicePrincipals/item/index.d.ts +76 -0
- package/identityProtection/riskyServicePrincipals/item/index.d.ts.map +1 -0
- package/identityProtection/riskyServicePrincipals/item/index.js +67 -0
- package/identityProtection/riskyUsers/confirmCompromised/index.d.ts +59 -0
- package/identityProtection/riskyUsers/confirmCompromised/index.d.ts.map +1 -0
- package/identityProtection/riskyUsers/confirmCompromised/index.js +58 -0
- package/identityProtection/riskyUsers/count/index.d.ts +40 -0
- package/identityProtection/riskyUsers/count/index.d.ts.map +1 -0
- package/identityProtection/riskyUsers/count/index.js +35 -0
- package/identityProtection/riskyUsers/dismiss/index.d.ts +59 -0
- package/identityProtection/riskyUsers/dismiss/index.d.ts.map +1 -0
- package/identityProtection/riskyUsers/dismiss/index.js +58 -0
- package/identityProtection/riskyUsers/index.d.ts +106 -0
- package/identityProtection/riskyUsers/index.d.ts.map +1 -0
- package/identityProtection/riskyUsers/index.js +81 -0
- package/identityProtection/riskyUsers/item/history/count/index.d.ts +40 -0
- package/identityProtection/riskyUsers/item/history/count/index.d.ts.map +1 -0
- package/identityProtection/riskyUsers/item/history/count/index.js +35 -0
- package/identityProtection/riskyUsers/item/history/index.d.ts +96 -0
- package/identityProtection/riskyUsers/item/history/index.d.ts.map +1 -0
- package/identityProtection/riskyUsers/item/history/index.js +70 -0
- package/identityProtection/riskyUsers/item/history/item/index.d.ts +66 -0
- package/identityProtection/riskyUsers/item/history/item/index.d.ts.map +1 -0
- package/identityProtection/riskyUsers/item/history/item/index.js +56 -0
- package/identityProtection/riskyUsers/item/index.d.ts +76 -0
- package/identityProtection/riskyUsers/item/index.d.ts.map +1 -0
- package/identityProtection/riskyUsers/item/index.js +67 -0
- package/identityProtection/servicePrincipalRiskDetections/count/index.d.ts +40 -0
- package/identityProtection/servicePrincipalRiskDetections/count/index.d.ts.map +1 -0
- package/identityProtection/servicePrincipalRiskDetections/count/index.js +35 -0
- package/identityProtection/servicePrincipalRiskDetections/index.d.ts +96 -0
- package/identityProtection/servicePrincipalRiskDetections/index.d.ts.map +1 -0
- package/identityProtection/servicePrincipalRiskDetections/index.js +70 -0
- package/identityProtection/servicePrincipalRiskDetections/item/index.d.ts +67 -0
- package/identityProtection/servicePrincipalRiskDetections/item/index.d.ts.map +1 -0
- package/identityProtection/servicePrincipalRiskDetections/item/index.js +56 -0
- package/identityProtectionServiceClient.d.ts +25 -0
- package/identityProtectionServiceClient.d.ts.map +1 -0
- package/identityProtectionServiceClient.js +49 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DismissRequestBuilderUriTemplate = exports.DismissRequestBuilderRequestsMetadata = exports.serializeDismissPostRequestBody = exports.deserializeIntoDismissPostRequestBody = exports.createDismissPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* 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 a dismissPostRequestBody
|
|
12
|
+
*/
|
|
13
|
+
function createDismissPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
14
|
+
return deserializeIntoDismissPostRequestBody;
|
|
15
|
+
}
|
|
16
|
+
exports.createDismissPostRequestBodyFromDiscriminatorValue = createDismissPostRequestBodyFromDiscriminatorValue;
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
20
|
+
*/
|
|
21
|
+
function deserializeIntoDismissPostRequestBody(dismissPostRequestBody = {}) {
|
|
22
|
+
return {
|
|
23
|
+
"backingStoreEnabled": n => { dismissPostRequestBody.backingStoreEnabled = true; },
|
|
24
|
+
"userIds": n => { dismissPostRequestBody.userIds = n.getCollectionOfPrimitiveValues(); },
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
exports.deserializeIntoDismissPostRequestBody = deserializeIntoDismissPostRequestBody;
|
|
28
|
+
/**
|
|
29
|
+
* Serializes information the current object
|
|
30
|
+
* @param writer Serialization writer to use to serialize this model
|
|
31
|
+
*/
|
|
32
|
+
function serializeDismissPostRequestBody(writer, dismissPostRequestBody = {}) {
|
|
33
|
+
writer.writeCollectionOfPrimitiveValues("userIds", dismissPostRequestBody.userIds);
|
|
34
|
+
writer.writeAdditionalData(dismissPostRequestBody.additionalData);
|
|
35
|
+
}
|
|
36
|
+
exports.serializeDismissPostRequestBody = serializeDismissPostRequestBody;
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
exports.DismissRequestBuilderRequestsMetadata = {
|
|
41
|
+
post: {
|
|
42
|
+
responseBodyContentType: "application/json",
|
|
43
|
+
errorMappings: {
|
|
44
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
45
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
},
|
|
47
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
48
|
+
requestBodyContentType: "application/json",
|
|
49
|
+
requestBodySerializer: serializeDismissPostRequestBody,
|
|
50
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Uri template for the request builder.
|
|
55
|
+
*/
|
|
56
|
+
exports.DismissRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers/dismiss";
|
|
57
|
+
/* tslint:enable */
|
|
58
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { type RiskyUser, type RiskyUserCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type ConfirmCompromisedRequestBuilder } from './confirmCompromised/';
|
|
3
|
+
import { type CountRequestBuilder } from './count/';
|
|
4
|
+
import { type DismissRequestBuilder } from './dismiss/';
|
|
5
|
+
import { type RiskyUserItemRequestBuilder } from './item/';
|
|
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 riskyUsers property of the microsoft.graph.identityProtectionRoot entity.
|
|
9
|
+
*/
|
|
10
|
+
export interface RiskyUsersRequestBuilder extends BaseRequestBuilder<RiskyUsersRequestBuilder> {
|
|
11
|
+
/**
|
|
12
|
+
* Provides operations to call the confirmCompromised method.
|
|
13
|
+
*/
|
|
14
|
+
get confirmCompromised(): ConfirmCompromisedRequestBuilder;
|
|
15
|
+
/**
|
|
16
|
+
* Provides operations to count the resources in the collection.
|
|
17
|
+
*/
|
|
18
|
+
get count(): CountRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Provides operations to call the dismiss method.
|
|
21
|
+
*/
|
|
22
|
+
get dismiss(): DismissRequestBuilder;
|
|
23
|
+
/**
|
|
24
|
+
* Provides operations to manage the riskyUsers property of the microsoft.graph.identityProtectionRoot entity.
|
|
25
|
+
* @param riskyUserId The unique identifier of riskyUser
|
|
26
|
+
* @returns a RiskyUserItemRequestBuilder
|
|
27
|
+
*/
|
|
28
|
+
byRiskyUserId(riskyUserId: string): RiskyUserItemRequestBuilder;
|
|
29
|
+
/**
|
|
30
|
+
* Get a list of the riskyUser objects and their properties.
|
|
31
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
+
* @returns a Promise of RiskyUserCollectionResponse
|
|
33
|
+
* @see {@link https://learn.microsoft.com/graph/api/riskyuser-list?view=graph-rest-1.0|Find more info here}
|
|
34
|
+
*/
|
|
35
|
+
get(requestConfiguration?: RequestConfiguration<RiskyUsersRequestBuilderGetQueryParameters> | undefined): Promise<RiskyUserCollectionResponse | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Create new navigation property to riskyUsers for identityProtection
|
|
38
|
+
* @param body The request body
|
|
39
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
|
+
* @returns a Promise of RiskyUser
|
|
41
|
+
*/
|
|
42
|
+
post(body: RiskyUser, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RiskyUser | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* Get a list of the riskyUser objects and their properties.
|
|
45
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
+
* @returns a RequestInformation
|
|
47
|
+
*/
|
|
48
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RiskyUsersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
49
|
+
/**
|
|
50
|
+
* Create new navigation property to riskyUsers for identityProtection
|
|
51
|
+
* @param body The request body
|
|
52
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
53
|
+
* @returns a RequestInformation
|
|
54
|
+
*/
|
|
55
|
+
toPostRequestInformation(body: RiskyUser, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Get a list of the riskyUser objects and their properties.
|
|
59
|
+
*/
|
|
60
|
+
export interface RiskyUsersRequestBuilderGetQueryParameters {
|
|
61
|
+
/**
|
|
62
|
+
* Include count of items
|
|
63
|
+
*/
|
|
64
|
+
count?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Expand related entities
|
|
67
|
+
*/
|
|
68
|
+
expand?: string[];
|
|
69
|
+
/**
|
|
70
|
+
* Filter items by property values
|
|
71
|
+
*/
|
|
72
|
+
filter?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Order items by property values
|
|
75
|
+
*/
|
|
76
|
+
orderby?: string[];
|
|
77
|
+
/**
|
|
78
|
+
* Search items by search phrases
|
|
79
|
+
*/
|
|
80
|
+
search?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Select properties to be returned
|
|
83
|
+
*/
|
|
84
|
+
select?: string[];
|
|
85
|
+
/**
|
|
86
|
+
* Skip the first n items
|
|
87
|
+
*/
|
|
88
|
+
skip?: number;
|
|
89
|
+
/**
|
|
90
|
+
* Show only the first n items
|
|
91
|
+
*/
|
|
92
|
+
top?: number;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Metadata for all the navigation properties in the request builder.
|
|
96
|
+
*/
|
|
97
|
+
export declare const RiskyUsersRequestBuilderNavigationMetadata: Record<Exclude<keyof RiskyUsersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
98
|
+
/**
|
|
99
|
+
* Metadata for all the requests in the request builder.
|
|
100
|
+
*/
|
|
101
|
+
export declare const RiskyUsersRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
102
|
+
/**
|
|
103
|
+
* Uri template for the request builder.
|
|
104
|
+
*/
|
|
105
|
+
export declare const RiskyUsersRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
106
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsH,KAAK,SAAS,EAAE,KAAK,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAEtN,OAAO,EAAiG,KAAK,gCAAgC,EAAE,MAAM,uBAAuB,CAAC;AAC7K,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA2E,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACjI,OAAO,EAAsI,KAAK,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAC/L,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,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;OAEG;IACH,IAAI,kBAAkB,IAAI,gCAAgC,CAAC;IAC3D;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;;;OAIG;IACF,aAAa,CAAC,WAAW,EAAE,MAAM,GAAI,2BAA2B,CAAC;IAClE;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IAC7J;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACzH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACnJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpI;AACD;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;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,0CAA0C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAmB9J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAuBtD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,0HAA0H,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RiskyUsersRequestBuilderUriTemplate = exports.RiskyUsersRequestBuilderRequestsMetadata = exports.RiskyUsersRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const confirmCompromised_1 = require("./confirmCompromised/");
|
|
10
|
+
const count_1 = require("./count/");
|
|
11
|
+
const dismiss_1 = require("./dismiss/");
|
|
12
|
+
const item_1 = require("./item/");
|
|
13
|
+
/**
|
|
14
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
15
|
+
*/
|
|
16
|
+
const RiskyUsersRequestBuilderGetQueryParametersMapper = {
|
|
17
|
+
"count": "%24count",
|
|
18
|
+
"expand": "%24expand",
|
|
19
|
+
"filter": "%24filter",
|
|
20
|
+
"orderby": "%24orderby",
|
|
21
|
+
"search": "%24search",
|
|
22
|
+
"select": "%24select",
|
|
23
|
+
"skip": "%24skip",
|
|
24
|
+
"top": "%24top",
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Metadata for all the navigation properties in the request builder.
|
|
28
|
+
*/
|
|
29
|
+
exports.RiskyUsersRequestBuilderNavigationMetadata = {
|
|
30
|
+
byRiskyUserId: {
|
|
31
|
+
uriTemplate: item_1.RiskyUserItemRequestBuilderUriTemplate,
|
|
32
|
+
requestsMetadata: item_1.RiskyUserItemRequestBuilderRequestsMetadata,
|
|
33
|
+
navigationMetadata: item_1.RiskyUserItemRequestBuilderNavigationMetadata,
|
|
34
|
+
pathParametersMappings: ["riskyUser%2Did"],
|
|
35
|
+
},
|
|
36
|
+
confirmCompromised: {
|
|
37
|
+
uriTemplate: confirmCompromised_1.ConfirmCompromisedRequestBuilderUriTemplate,
|
|
38
|
+
requestsMetadata: confirmCompromised_1.ConfirmCompromisedRequestBuilderRequestsMetadata,
|
|
39
|
+
},
|
|
40
|
+
count: {
|
|
41
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
42
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
43
|
+
},
|
|
44
|
+
dismiss: {
|
|
45
|
+
uriTemplate: dismiss_1.DismissRequestBuilderUriTemplate,
|
|
46
|
+
requestsMetadata: dismiss_1.DismissRequestBuilderRequestsMetadata,
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Metadata for all the requests in the request builder.
|
|
51
|
+
*/
|
|
52
|
+
exports.RiskyUsersRequestBuilderRequestsMetadata = {
|
|
53
|
+
get: {
|
|
54
|
+
responseBodyContentType: "application/json",
|
|
55
|
+
errorMappings: {
|
|
56
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
},
|
|
59
|
+
adapterMethodName: "sendAsync",
|
|
60
|
+
responseBodyFactory: models_1.createRiskyUserCollectionResponseFromDiscriminatorValue,
|
|
61
|
+
queryParametersMapper: RiskyUsersRequestBuilderGetQueryParametersMapper,
|
|
62
|
+
},
|
|
63
|
+
post: {
|
|
64
|
+
responseBodyContentType: "application/json",
|
|
65
|
+
errorMappings: {
|
|
66
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
67
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
68
|
+
},
|
|
69
|
+
adapterMethodName: "sendAsync",
|
|
70
|
+
responseBodyFactory: models_1.createRiskyUserFromDiscriminatorValue,
|
|
71
|
+
requestBodyContentType: "application/json",
|
|
72
|
+
requestBodySerializer: models_1.serializeRiskyUser,
|
|
73
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Uri template for the request builder.
|
|
78
|
+
*/
|
|
79
|
+
exports.RiskyUsersRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
80
|
+
/* tslint:enable */
|
|
81
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of Integer
|
|
10
|
+
*/
|
|
11
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Get the number of the resource
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the number of the resource
|
|
21
|
+
*/
|
|
22
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Filter items by property values
|
|
25
|
+
*/
|
|
26
|
+
filter?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Search items by search phrases
|
|
29
|
+
*/
|
|
30
|
+
search?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
|
+
/**
|
|
37
|
+
* Uri template for the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers/{riskyUser%2Did}/history/$count{?%24search,%24filter}";
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,mGAAmG,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
|
+
*/
|
|
11
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
12
|
+
"filter": "%24filter",
|
|
13
|
+
"search": "%24search",
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Metadata for all the requests in the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
21
|
+
errorMappings: {
|
|
22
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
23
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
26
|
+
responseBodyFactory: "number",
|
|
27
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers/{riskyUser%2Did}/history/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type RiskyUserHistoryItem, type RiskyUserHistoryItemCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type RiskyUserHistoryItemItemRequestBuilder } from './item/';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the history property of the microsoft.graph.riskyUser entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface HistoryRequestBuilder extends BaseRequestBuilder<HistoryRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the history property of the microsoft.graph.riskyUser entity.
|
|
15
|
+
* @param riskyUserHistoryItemId The unique identifier of riskyUserHistoryItem
|
|
16
|
+
* @returns a RiskyUserHistoryItemItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byRiskyUserHistoryItemId(riskyUserHistoryItemId: string): RiskyUserHistoryItemItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Read the properties and relationships of a riskyUserHistoryItem object.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of RiskyUserHistoryItemCollectionResponse
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/riskyuser-get-riskyuserhistoryitem?view=graph-rest-1.0|Find more info here}
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<HistoryRequestBuilderGetQueryParameters> | undefined): Promise<RiskyUserHistoryItemCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create new navigation property to history for identityProtection
|
|
28
|
+
* @param body The request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns a Promise of RiskyUserHistoryItem
|
|
31
|
+
*/
|
|
32
|
+
post(body: RiskyUserHistoryItem, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RiskyUserHistoryItem | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Read the properties and relationships of a riskyUserHistoryItem object.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<HistoryRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Create new navigation property to history for identityProtection
|
|
41
|
+
* @param body The request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns a RequestInformation
|
|
44
|
+
*/
|
|
45
|
+
toPostRequestInformation(body: RiskyUserHistoryItem, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Read the properties and relationships of a riskyUserHistoryItem object.
|
|
49
|
+
*/
|
|
50
|
+
export interface HistoryRequestBuilderGetQueryParameters {
|
|
51
|
+
/**
|
|
52
|
+
* Include count of items
|
|
53
|
+
*/
|
|
54
|
+
count?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Expand related entities
|
|
57
|
+
*/
|
|
58
|
+
expand?: string[];
|
|
59
|
+
/**
|
|
60
|
+
* Filter items by property values
|
|
61
|
+
*/
|
|
62
|
+
filter?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Order items by property values
|
|
65
|
+
*/
|
|
66
|
+
orderby?: string[];
|
|
67
|
+
/**
|
|
68
|
+
* Search items by search phrases
|
|
69
|
+
*/
|
|
70
|
+
search?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Select properties to be returned
|
|
73
|
+
*/
|
|
74
|
+
select?: string[];
|
|
75
|
+
/**
|
|
76
|
+
* Skip the first n items
|
|
77
|
+
*/
|
|
78
|
+
skip?: number;
|
|
79
|
+
/**
|
|
80
|
+
* Show only the first n items
|
|
81
|
+
*/
|
|
82
|
+
top?: number;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Metadata for all the navigation properties in the request builder.
|
|
86
|
+
*/
|
|
87
|
+
export declare const HistoryRequestBuilderNavigationMetadata: Record<Exclude<keyof HistoryRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
88
|
+
/**
|
|
89
|
+
* Metadata for all the requests in the request builder.
|
|
90
|
+
*/
|
|
91
|
+
export declare const HistoryRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
92
|
+
/**
|
|
93
|
+
* Uri template for the request builder.
|
|
94
|
+
*/
|
|
95
|
+
export declare const HistoryRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers/{riskyUser%2Did}/history{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
96
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuJ,KAAK,oBAAoB,EAAE,KAAK,sCAAsC,EAAE,MAAM,gCAAgC,CAAC;AAE7Q,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA6G,KAAK,sCAAsC,EAAE,MAAM,SAAS,CAAC;AACjL,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,wBAAwB,CAAC,sBAAsB,EAAE,MAAM,GAAI,sCAAsC,CAAC;IACnG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sCAAsC,GAAG,SAAS,CAAC,CAAC;IACrK;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAC/I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/I;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;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,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAuBnD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,mJAAmJ,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HistoryRequestBuilderUriTemplate = exports.HistoryRequestBuilderRequestsMetadata = exports.HistoryRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const count_1 = require("./count/");
|
|
10
|
+
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
|
+
*/
|
|
14
|
+
const HistoryRequestBuilderGetQueryParametersMapper = {
|
|
15
|
+
"count": "%24count",
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"filter": "%24filter",
|
|
18
|
+
"orderby": "%24orderby",
|
|
19
|
+
"search": "%24search",
|
|
20
|
+
"select": "%24select",
|
|
21
|
+
"skip": "%24skip",
|
|
22
|
+
"top": "%24top",
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the navigation properties in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
exports.HistoryRequestBuilderNavigationMetadata = {
|
|
28
|
+
byRiskyUserHistoryItemId: {
|
|
29
|
+
uriTemplate: item_1.RiskyUserHistoryItemItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.RiskyUserHistoryItemItemRequestBuilderRequestsMetadata,
|
|
31
|
+
pathParametersMappings: ["riskyUserHistoryItem%2Did"],
|
|
32
|
+
},
|
|
33
|
+
count: {
|
|
34
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
35
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the requests in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
exports.HistoryRequestBuilderRequestsMetadata = {
|
|
42
|
+
get: {
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "sendAsync",
|
|
49
|
+
responseBodyFactory: models_1.createRiskyUserHistoryItemCollectionResponseFromDiscriminatorValue,
|
|
50
|
+
queryParametersMapper: HistoryRequestBuilderGetQueryParametersMapper,
|
|
51
|
+
},
|
|
52
|
+
post: {
|
|
53
|
+
responseBodyContentType: "application/json",
|
|
54
|
+
errorMappings: {
|
|
55
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
56
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
},
|
|
58
|
+
adapterMethodName: "sendAsync",
|
|
59
|
+
responseBodyFactory: models_1.createRiskyUserHistoryItemFromDiscriminatorValue,
|
|
60
|
+
requestBodyContentType: "application/json",
|
|
61
|
+
requestBodySerializer: models_1.serializeRiskyUserHistoryItem,
|
|
62
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Uri template for the request builder.
|
|
67
|
+
*/
|
|
68
|
+
exports.HistoryRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers/{riskyUser%2Did}/history{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
69
|
+
/* tslint:enable */
|
|
70
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { type RiskyUserHistoryItem } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the history property of the microsoft.graph.riskyUser entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface RiskyUserHistoryItemItemRequestBuilder extends BaseRequestBuilder<RiskyUserHistoryItemItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property history for identityProtection
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
*/
|
|
11
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* The activity related to user risk level change
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of RiskyUserHistoryItem
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<RiskyUserHistoryItemItemRequestBuilderGetQueryParameters> | undefined): Promise<RiskyUserHistoryItem | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Update the navigation property history in identityProtection
|
|
20
|
+
* @param body The request body
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of RiskyUserHistoryItem
|
|
23
|
+
*/
|
|
24
|
+
patch(body: RiskyUserHistoryItem, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RiskyUserHistoryItem | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Delete navigation property history for identityProtection
|
|
27
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
28
|
+
* @returns a RequestInformation
|
|
29
|
+
*/
|
|
30
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
31
|
+
/**
|
|
32
|
+
* The activity related to user risk level change
|
|
33
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
* @returns a RequestInformation
|
|
35
|
+
*/
|
|
36
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RiskyUserHistoryItemItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
37
|
+
/**
|
|
38
|
+
* Update the navigation property history in identityProtection
|
|
39
|
+
* @param body The request body
|
|
40
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
|
+
* @returns a RequestInformation
|
|
42
|
+
*/
|
|
43
|
+
toPatchRequestInformation(body: RiskyUserHistoryItem, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The activity related to user risk level change
|
|
47
|
+
*/
|
|
48
|
+
export interface RiskyUserHistoryItemItemRequestBuilderGetQueryParameters {
|
|
49
|
+
/**
|
|
50
|
+
* Expand related entities
|
|
51
|
+
*/
|
|
52
|
+
expand?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Select properties to be returned
|
|
55
|
+
*/
|
|
56
|
+
select?: string[];
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Metadata for all the requests in the request builder.
|
|
60
|
+
*/
|
|
61
|
+
export declare const RiskyUserHistoryItemItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
62
|
+
/**
|
|
63
|
+
* Uri template for the request builder.
|
|
64
|
+
*/
|
|
65
|
+
export declare const RiskyUserHistoryItemItemRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers/{riskyUser%2Did}/history/{riskyUserHistoryItem%2Did}{?%24select,%24expand}";
|
|
66
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmF,KAAK,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE5J,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,sCAAuC,SAAQ,kBAAkB,CAAC,sCAAsC,CAAC;IACtH;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wDAAwD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IACpK;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAChJ;;;;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,wDAAwD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;GAEG;AACH,MAAM,WAAW,wDAAwD;IACrE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBA+BpE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iDAAiD,wHAAwH,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RiskyUserHistoryItemItemRequestBuilderUriTemplate = exports.RiskyUserHistoryItemItemRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
|
+
*/
|
|
12
|
+
const RiskyUserHistoryItemItemRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.RiskyUserHistoryItemItemRequestBuilderRequestsMetadata = {
|
|
20
|
+
delete: {
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
errorMappings: {
|
|
23
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
27
|
+
},
|
|
28
|
+
get: {
|
|
29
|
+
responseBodyContentType: "application/json",
|
|
30
|
+
errorMappings: {
|
|
31
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
32
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
33
|
+
},
|
|
34
|
+
adapterMethodName: "sendAsync",
|
|
35
|
+
responseBodyFactory: models_1.createRiskyUserHistoryItemFromDiscriminatorValue,
|
|
36
|
+
queryParametersMapper: RiskyUserHistoryItemItemRequestBuilderGetQueryParametersMapper,
|
|
37
|
+
},
|
|
38
|
+
patch: {
|
|
39
|
+
responseBodyContentType: "application/json",
|
|
40
|
+
errorMappings: {
|
|
41
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
},
|
|
44
|
+
adapterMethodName: "sendAsync",
|
|
45
|
+
responseBodyFactory: models_1.createRiskyUserHistoryItemFromDiscriminatorValue,
|
|
46
|
+
requestBodyContentType: "application/json",
|
|
47
|
+
requestBodySerializer: models_1.serializeRiskyUserHistoryItem,
|
|
48
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Uri template for the request builder.
|
|
53
|
+
*/
|
|
54
|
+
exports.RiskyUserHistoryItemItemRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers/{riskyUser%2Did}/history/{riskyUserHistoryItem%2Did}{?%24select,%24expand}";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* eslint-enable */
|