@microsoft/msgraph-sdk-auditlogs 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/auditLogs/directoryAudits/count/index.d.ts +40 -0
- package/auditLogs/directoryAudits/count/index.d.ts.map +1 -0
- package/auditLogs/directoryAudits/count/index.js +35 -0
- package/auditLogs/directoryAudits/index.d.ts +96 -0
- package/auditLogs/directoryAudits/index.d.ts.map +1 -0
- package/auditLogs/directoryAudits/index.js +70 -0
- package/auditLogs/directoryAudits/item/index.d.ts +67 -0
- package/auditLogs/directoryAudits/item/index.d.ts.map +1 -0
- package/auditLogs/directoryAudits/item/index.js +56 -0
- package/auditLogs/index.d.ts +74 -0
- package/auditLogs/index.d.ts.map +1 -0
- package/auditLogs/index.js +71 -0
- package/auditLogs/provisioning/count/index.d.ts +40 -0
- package/auditLogs/provisioning/count/index.d.ts.map +1 -0
- package/auditLogs/provisioning/count/index.js +35 -0
- package/auditLogs/provisioning/index.d.ts +96 -0
- package/auditLogs/provisioning/index.d.ts.map +1 -0
- package/auditLogs/provisioning/index.js +70 -0
- package/auditLogs/provisioning/item/index.d.ts +66 -0
- package/auditLogs/provisioning/item/index.d.ts.map +1 -0
- package/auditLogs/provisioning/item/index.js +56 -0
- package/auditLogs/signIns/count/index.d.ts +40 -0
- package/auditLogs/signIns/count/index.d.ts.map +1 -0
- package/auditLogs/signIns/count/index.js +35 -0
- package/auditLogs/signIns/index.d.ts +96 -0
- package/auditLogs/signIns/index.d.ts.map +1 -0
- package/auditLogs/signIns/index.js +70 -0
- package/auditLogs/signIns/item/index.d.ts +67 -0
- package/auditLogs/signIns/item/index.d.ts.map +1 -0
- package/auditLogs/signIns/item/index.js +56 -0
- package/auditLogsServiceClient.d.ts +25 -0
- package/auditLogsServiceClient.d.ts.map +1 -0
- package/auditLogsServiceClient.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,96 @@
|
|
|
1
|
+
import { type ProvisioningObjectSummary, type ProvisioningObjectSummaryCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type ProvisioningObjectSummaryItemRequestBuilder } 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 provisioning property of the microsoft.graph.auditLogRoot entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface ProvisioningRequestBuilder extends BaseRequestBuilder<ProvisioningRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the provisioning property of the microsoft.graph.auditLogRoot entity.
|
|
15
|
+
* @param provisioningObjectSummaryId The unique identifier of provisioningObjectSummary
|
|
16
|
+
* @returns a ProvisioningObjectSummaryItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byProvisioningObjectSummaryId(provisioningObjectSummaryId: string): ProvisioningObjectSummaryItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of ProvisioningObjectSummaryCollectionResponse
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/provisioningobjectsummary-list?view=graph-rest-1.0|Find more info here}
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<ProvisioningRequestBuilderGetQueryParameters> | undefined): Promise<ProvisioningObjectSummaryCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create new navigation property to provisioning for auditLogs
|
|
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 ProvisioningObjectSummary
|
|
31
|
+
*/
|
|
32
|
+
post(body: ProvisioningObjectSummary, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProvisioningObjectSummary | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProvisioningRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Create new navigation property to provisioning for auditLogs
|
|
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: ProvisioningObjectSummary, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
|
|
49
|
+
*/
|
|
50
|
+
export interface ProvisioningRequestBuilderGetQueryParameters {
|
|
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 ProvisioningRequestBuilderNavigationMetadata: Record<Exclude<keyof ProvisioningRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
88
|
+
/**
|
|
89
|
+
* Metadata for all the requests in the request builder.
|
|
90
|
+
*/
|
|
91
|
+
export declare const ProvisioningRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
92
|
+
/**
|
|
93
|
+
* Uri template for the request builder.
|
|
94
|
+
*/
|
|
95
|
+
export declare const ProvisioningRequestBuilderUriTemplate = "{+baseurl}/auditLogs/provisioning{?%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,EAAsK,KAAK,yBAAyB,EAAE,KAAK,2CAA2C,EAAE,MAAM,gCAAgC,CAAC;AAEtS,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAuH,KAAK,2CAA2C,EAAE,MAAM,SAAS,CAAC;AAChM,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,6BAA6B,CAAC,2BAA2B,EAAE,MAAM,GAAI,2CAA2C,CAAC;IAClH;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2CAA2C,GAAG,SAAS,CAAC,CAAC;IAC/K;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpJ;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAuBxD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,mHAAmH,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProvisioningRequestBuilderUriTemplate = exports.ProvisioningRequestBuilderRequestsMetadata = exports.ProvisioningRequestBuilderNavigationMetadata = 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 ProvisioningRequestBuilderGetQueryParametersMapper = {
|
|
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.ProvisioningRequestBuilderNavigationMetadata = {
|
|
28
|
+
byProvisioningObjectSummaryId: {
|
|
29
|
+
uriTemplate: item_1.ProvisioningObjectSummaryItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.ProvisioningObjectSummaryItemRequestBuilderRequestsMetadata,
|
|
31
|
+
pathParametersMappings: ["provisioningObjectSummary%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.ProvisioningRequestBuilderRequestsMetadata = {
|
|
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.createProvisioningObjectSummaryCollectionResponseFromDiscriminatorValue,
|
|
50
|
+
queryParametersMapper: ProvisioningRequestBuilderGetQueryParametersMapper,
|
|
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.createProvisioningObjectSummaryFromDiscriminatorValue,
|
|
60
|
+
requestBodyContentType: "application/json",
|
|
61
|
+
requestBodySerializer: models_1.serializeProvisioningObjectSummary,
|
|
62
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Uri template for the request builder.
|
|
67
|
+
*/
|
|
68
|
+
exports.ProvisioningRequestBuilderUriTemplate = "{+baseurl}/auditLogs/provisioning{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
69
|
+
/* tslint:enable */
|
|
70
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { type ProvisioningObjectSummary } 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 provisioning property of the microsoft.graph.auditLogRoot entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface ProvisioningObjectSummaryItemRequestBuilder extends BaseRequestBuilder<ProvisioningObjectSummaryItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property provisioning for auditLogs
|
|
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
|
+
* Get provisioning from auditLogs
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of ProvisioningObjectSummary
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<ProvisioningObjectSummaryItemRequestBuilderGetQueryParameters> | undefined): Promise<ProvisioningObjectSummary | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Update the navigation property provisioning in auditLogs
|
|
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 ProvisioningObjectSummary
|
|
23
|
+
*/
|
|
24
|
+
patch(body: ProvisioningObjectSummary, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProvisioningObjectSummary | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Delete navigation property provisioning for auditLogs
|
|
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
|
+
* Get provisioning from auditLogs
|
|
33
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
* @returns a RequestInformation
|
|
35
|
+
*/
|
|
36
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProvisioningObjectSummaryItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
37
|
+
/**
|
|
38
|
+
* Update the navigation property provisioning in auditLogs
|
|
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: ProvisioningObjectSummary, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Get provisioning from auditLogs
|
|
47
|
+
*/
|
|
48
|
+
export interface ProvisioningObjectSummaryItemRequestBuilderGetQueryParameters {
|
|
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 ProvisioningObjectSummaryItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
62
|
+
/**
|
|
63
|
+
* Uri template for the request builder.
|
|
64
|
+
*/
|
|
65
|
+
export declare const ProvisioningObjectSummaryItemRequestBuilderUriTemplate = "{+baseurl}/auditLogs/provisioning/{provisioningObjectSummary%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,EAA6F,KAAK,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3K,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,2CAA4C,SAAQ,kBAAkB,CAAC,2CAA2C,CAAC;IAChI;;;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,6DAA6D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IAC9K;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IAC1J;;;;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,6DAA6D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACtK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,6DAA6D;IAC1E;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,2DAA2D,EAAE,gBA+BzE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sDAAsD,6FAA6F,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProvisioningObjectSummaryItemRequestBuilderUriTemplate = exports.ProvisioningObjectSummaryItemRequestBuilderRequestsMetadata = 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 ProvisioningObjectSummaryItemRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.ProvisioningObjectSummaryItemRequestBuilderRequestsMetadata = {
|
|
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.createProvisioningObjectSummaryFromDiscriminatorValue,
|
|
36
|
+
queryParametersMapper: ProvisioningObjectSummaryItemRequestBuilderGetQueryParametersMapper,
|
|
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.createProvisioningObjectSummaryFromDiscriminatorValue,
|
|
46
|
+
requestBodyContentType: "application/json",
|
|
47
|
+
requestBodySerializer: models_1.serializeProvisioningObjectSummary,
|
|
48
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Uri template for the request builder.
|
|
53
|
+
*/
|
|
54
|
+
exports.ProvisioningObjectSummaryItemRequestBuilderUriTemplate = "{+baseurl}/auditLogs/provisioning/{provisioningObjectSummary%2Did}{?%24select,%24expand}";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* 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}/auditLogs/signIns/$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,8DAA8D,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}/auditLogs/signIns/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type SignIn, type SignInCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type SignInItemRequestBuilder } 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 signIns property of the microsoft.graph.auditLogRoot entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface SignInsRequestBuilder extends BaseRequestBuilder<SignInsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity.
|
|
15
|
+
* @param signInId The unique identifier of signIn
|
|
16
|
+
* @returns a SignInItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
bySignInId(signInId: string): SignInItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve the Microsoft Entra user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of SignInCollectionResponse
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/signin-list?view=graph-rest-1.0|Find more info here}
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<SignInsRequestBuilderGetQueryParameters> | undefined): Promise<SignInCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create new navigation property to signIns for auditLogs
|
|
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 SignIn
|
|
31
|
+
*/
|
|
32
|
+
post(body: SignIn, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SignIn | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Retrieve the Microsoft Entra user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SignInsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Create new navigation property to signIns for auditLogs
|
|
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: SignIn, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Retrieve the Microsoft Entra user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available.
|
|
49
|
+
*/
|
|
50
|
+
export interface SignInsRequestBuilderGetQueryParameters {
|
|
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 SignInsRequestBuilderNavigationMetadata: Record<Exclude<keyof SignInsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
88
|
+
/**
|
|
89
|
+
* Metadata for all the requests in the request builder.
|
|
90
|
+
*/
|
|
91
|
+
export declare const SignInsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
92
|
+
/**
|
|
93
|
+
* Uri template for the request builder.
|
|
94
|
+
*/
|
|
95
|
+
export declare const SignInsRequestBuilderUriTemplate = "{+baseurl}/auditLogs/signIns{?%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,EAA6G,KAAK,MAAM,EAAE,KAAK,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAEvM,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAiF,KAAK,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACvI,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,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAI,wBAAwB,CAAC;IACzD;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IACvJ;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjI;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,8GAA8G,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SignInsRequestBuilderUriTemplate = exports.SignInsRequestBuilderRequestsMetadata = exports.SignInsRequestBuilderNavigationMetadata = 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 SignInsRequestBuilderGetQueryParametersMapper = {
|
|
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.SignInsRequestBuilderNavigationMetadata = {
|
|
28
|
+
bySignInId: {
|
|
29
|
+
uriTemplate: item_1.SignInItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.SignInItemRequestBuilderRequestsMetadata,
|
|
31
|
+
pathParametersMappings: ["signIn%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.SignInsRequestBuilderRequestsMetadata = {
|
|
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.createSignInCollectionResponseFromDiscriminatorValue,
|
|
50
|
+
queryParametersMapper: SignInsRequestBuilderGetQueryParametersMapper,
|
|
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.createSignInFromDiscriminatorValue,
|
|
60
|
+
requestBodyContentType: "application/json",
|
|
61
|
+
requestBodySerializer: models_1.serializeSignIn,
|
|
62
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Uri template for the request builder.
|
|
67
|
+
*/
|
|
68
|
+
exports.SignInsRequestBuilderUriTemplate = "{+baseurl}/auditLogs/signIns{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
69
|
+
/* tslint:enable */
|
|
70
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { type SignIn } 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 signIns property of the microsoft.graph.auditLogRoot entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface SignInItemRequestBuilder extends BaseRequestBuilder<SignInItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property signIns for auditLogs
|
|
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
|
+
* Retrieve a specific Microsoft Entra user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of SignIn
|
|
16
|
+
* @see {@link https://learn.microsoft.com/graph/api/signin-get?view=graph-rest-1.0|Find more info here}
|
|
17
|
+
*/
|
|
18
|
+
get(requestConfiguration?: RequestConfiguration<SignInItemRequestBuilderGetQueryParameters> | undefined): Promise<SignIn | undefined>;
|
|
19
|
+
/**
|
|
20
|
+
* Update the navigation property signIns in auditLogs
|
|
21
|
+
* @param body The request body
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @returns a Promise of SignIn
|
|
24
|
+
*/
|
|
25
|
+
patch(body: SignIn, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SignIn | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Delete navigation property signIns for auditLogs
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns a RequestInformation
|
|
30
|
+
*/
|
|
31
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
32
|
+
/**
|
|
33
|
+
* Retrieve a specific Microsoft Entra user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs.
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns a RequestInformation
|
|
36
|
+
*/
|
|
37
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SignInItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
38
|
+
/**
|
|
39
|
+
* Update the navigation property signIns in auditLogs
|
|
40
|
+
* @param body The request body
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns a RequestInformation
|
|
43
|
+
*/
|
|
44
|
+
toPatchRequestInformation(body: SignIn, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Retrieve a specific Microsoft Entra user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs.
|
|
48
|
+
*/
|
|
49
|
+
export interface SignInItemRequestBuilderGetQueryParameters {
|
|
50
|
+
/**
|
|
51
|
+
* Expand related entities
|
|
52
|
+
*/
|
|
53
|
+
expand?: string[];
|
|
54
|
+
/**
|
|
55
|
+
* Select properties to be returned
|
|
56
|
+
*/
|
|
57
|
+
select?: string[];
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Metadata for all the requests in the request builder.
|
|
61
|
+
*/
|
|
62
|
+
export declare const SignInItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
63
|
+
/**
|
|
64
|
+
* Uri template for the request builder.
|
|
65
|
+
*/
|
|
66
|
+
export declare const SignInItemRequestBuilderUriTemplate = "{+baseurl}/auditLogs/signIns/{signIn%2Did}{?%24select,%24expand}";
|
|
67
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuD,KAAK,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAElH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxI;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpH;;;;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,0CAA0C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACnJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,MAAM,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClI;AACD;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBA+BtD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,qEAAqE,CAAC"}
|