@microsoft/msgraph-sdk-auditlogs 1.0.0-preview.12 → 1.0.0-preview.14

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.
Files changed (34) hide show
  1. package/auditLogs/directoryAudits/count/index.d.ts +7 -6
  2. package/auditLogs/directoryAudits/count/index.d.ts.map +1 -1
  3. package/auditLogs/directoryAudits/count/index.js +7 -7
  4. package/auditLogs/directoryAudits/index.d.ts +11 -9
  5. package/auditLogs/directoryAudits/index.d.ts.map +1 -1
  6. package/auditLogs/directoryAudits/index.js +9 -11
  7. package/auditLogs/directoryAudits/item/index.d.ts +12 -9
  8. package/auditLogs/directoryAudits/item/index.d.ts.map +1 -1
  9. package/auditLogs/directoryAudits/item/index.js +11 -11
  10. package/auditLogs/index.d.ts +10 -8
  11. package/auditLogs/index.d.ts.map +1 -1
  12. package/auditLogs/index.js +9 -12
  13. package/auditLogs/provisioning/count/index.d.ts +7 -6
  14. package/auditLogs/provisioning/count/index.d.ts.map +1 -1
  15. package/auditLogs/provisioning/count/index.js +7 -7
  16. package/auditLogs/provisioning/index.d.ts +11 -9
  17. package/auditLogs/provisioning/index.d.ts.map +1 -1
  18. package/auditLogs/provisioning/index.js +9 -11
  19. package/auditLogs/provisioning/item/index.d.ts +12 -9
  20. package/auditLogs/provisioning/item/index.d.ts.map +1 -1
  21. package/auditLogs/provisioning/item/index.js +11 -11
  22. package/auditLogs/signIns/count/index.d.ts +7 -6
  23. package/auditLogs/signIns/count/index.d.ts.map +1 -1
  24. package/auditLogs/signIns/count/index.js +7 -7
  25. package/auditLogs/signIns/index.d.ts +11 -9
  26. package/auditLogs/signIns/index.d.ts.map +1 -1
  27. package/auditLogs/signIns/index.js +9 -11
  28. package/auditLogs/signIns/item/index.d.ts +12 -9
  29. package/auditLogs/signIns/item/index.d.ts.map +1 -1
  30. package/auditLogs/signIns/item/index.js +11 -11
  31. package/auditLogsServiceClient.d.ts.map +1 -1
  32. package/auditLogsServiceClient.js +1 -2
  33. package/package.json +3 -3
  34. package/tsconfig.tsbuildinfo +1 -1
@@ -6,13 +6,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
6
6
  /**
7
7
  * Get the number of the resource
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of Integer
9
+ * @returns {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  */
11
12
  get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
13
  /**
13
14
  * Get the number of the resource
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a RequestInformation
16
+ * @returns {RequestInformation}
16
17
  */
17
18
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
19
  }
@@ -30,11 +31,11 @@ export interface CountRequestBuilderGetQueryParameters {
30
31
  search?: string;
31
32
  }
32
33
  /**
33
- * Metadata for all the requests in the request builder.
34
+ * Uri template for the request builder.
34
35
  */
35
- export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/auditLogs/directoryAudits/$count{?%24filter,%24search}";
36
37
  /**
37
- * Uri template for the request builder.
38
+ * Metadata for all the requests in the request builder.
38
39
  */
39
- export declare const CountRequestBuilderUriTemplate = "{+baseurl}/auditLogs/directoryAudits/$count{?%24search,%24filter}";
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
40
41
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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,MAA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nB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,sEAAsE,CAAC;AAQlH;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
3
+ exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/auditLogs/directoryAudits/$count{?%24filter,%24search}";
8
12
  /**
9
13
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
14
  */
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
17
21
  */
18
22
  exports.CountRequestBuilderRequestsMetadata = {
19
23
  get: {
24
+ uriTemplate: exports.CountRequestBuilderUriTemplate,
20
25
  responseBodyContentType: "text/plain;q=0.9",
21
26
  errorMappings: {
22
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
27
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
28
  },
25
29
  adapterMethodName: "sendPrimitiveAsync",
26
30
  responseBodyFactory: "number",
27
31
  queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
32
  },
29
33
  };
30
- /**
31
- * Uri template for the request builder.
32
- */
33
- exports.CountRequestBuilderUriTemplate = "{+baseurl}/auditLogs/directoryAudits/$count{?%24search,%24filter}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface DirectoryAuditsRequestBuilder extends BaseRequestBuilder<Direct
13
13
  /**
14
14
  * Provides operations to manage the directoryAudits property of the microsoft.graph.auditLogRoot entity.
15
15
  * @param directoryAuditId The unique identifier of directoryAudit
16
- * @returns a DirectoryAuditItemRequestBuilder
16
+ * @returns {DirectoryAuditItemRequestBuilder}
17
17
  */
18
18
  byDirectoryAuditId(directoryAuditId: string): DirectoryAuditItemRequestBuilder;
19
19
  /**
20
20
  * Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of DirectoryAuditCollectionResponse
22
+ * @returns {Promise<DirectoryAuditCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  * @see {@link https://learn.microsoft.com/graph/api/directoryaudit-list?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<DirectoryAuditsRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryAuditCollectionResponse | undefined>;
@@ -27,20 +28,21 @@ export interface DirectoryAuditsRequestBuilder extends BaseRequestBuilder<Direct
27
28
  * Create new navigation property to directoryAudits for auditLogs
28
29
  * @param body The request body
29
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
- * @returns a Promise of DirectoryAudit
31
+ * @returns {Promise<DirectoryAudit>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  */
32
34
  post(body: DirectoryAudit, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DirectoryAudit | undefined>;
33
35
  /**
34
36
  * Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
35
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
- * @returns a RequestInformation
38
+ * @returns {RequestInformation}
37
39
  */
38
40
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DirectoryAuditsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
41
  /**
40
42
  * Create new navigation property to directoryAudits for auditLogs
41
43
  * @param body The request body
42
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
- * @returns a RequestInformation
45
+ * @returns {RequestInformation}
44
46
  */
45
47
  toPostRequestInformation(body: DirectoryAudit, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
48
  }
@@ -81,6 +83,10 @@ export interface DirectoryAuditsRequestBuilderGetQueryParameters {
81
83
  */
82
84
  top?: number;
83
85
  }
86
+ /**
87
+ * Uri template for the request builder.
88
+ */
89
+ export declare const DirectoryAuditsRequestBuilderUriTemplate = "{+baseurl}/auditLogs/directoryAudits{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
84
90
  /**
85
91
  * Metadata for all the navigation properties in the request builder.
86
92
  */
@@ -89,8 +95,4 @@ export declare const DirectoryAuditsRequestBuilderNavigationMetadata: Record<Exc
89
95
  * Metadata for all the requests in the request builder.
90
96
  */
91
97
  export declare const DirectoryAuditsRequestBuilderRequestsMetadata: RequestsMetadata;
92
- /**
93
- * Uri template for the request builder.
94
- */
95
- export declare const DirectoryAuditsRequestBuilderUriTemplate = "{+baseurl}/auditLogs/directoryAudits{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
96
98
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqI,KAAK,cAAc,EAAE,KAAK,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAE/O,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAiG,KAAK,gCAAgC,EAAE,MAAM,SAAS,CAAC;AAC/J,OA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AE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACxJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzI;AACD;;GAEG;AACH,MAAM,WAAW,+CAA+C;IAC5D;;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,wCAAwC,sHAAsH,CAAC;AAc5K;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,6BAA6B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQxK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAuB3D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DirectoryAuditsRequestBuilderUriTemplate = exports.DirectoryAuditsRequestBuilderRequestsMetadata = exports.DirectoryAuditsRequestBuilderNavigationMetadata = void 0;
3
+ exports.DirectoryAuditsRequestBuilderRequestsMetadata = exports.DirectoryAuditsRequestBuilderNavigationMetadata = exports.DirectoryAuditsRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const count_1 = require("./count/");
10
10
  const item_1 = require("./item/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.DirectoryAuditsRequestBuilderUriTemplate = "{+baseurl}/auditLogs/directoryAudits{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
11
15
  /**
12
16
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
17
  */
@@ -26,12 +30,10 @@ const DirectoryAuditsRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.DirectoryAuditsRequestBuilderNavigationMetadata = {
28
32
  byDirectoryAuditId: {
29
- uriTemplate: item_1.DirectoryAuditItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.DirectoryAuditItemRequestBuilderRequestsMetadata,
31
34
  pathParametersMappings: ["directoryAudit%2Did"],
32
35
  },
33
36
  count: {
34
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
37
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
38
  },
37
39
  };
@@ -40,20 +42,20 @@ exports.DirectoryAuditsRequestBuilderNavigationMetadata = {
40
42
  */
41
43
  exports.DirectoryAuditsRequestBuilderRequestsMetadata = {
42
44
  get: {
45
+ uriTemplate: exports.DirectoryAuditsRequestBuilderUriTemplate,
43
46
  responseBodyContentType: "application/json",
44
47
  errorMappings: {
45
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
49
  },
48
50
  adapterMethodName: "sendAsync",
49
51
  responseBodyFactory: models_1.createDirectoryAuditCollectionResponseFromDiscriminatorValue,
50
52
  queryParametersMapper: DirectoryAuditsRequestBuilderGetQueryParametersMapper,
51
53
  },
52
54
  post: {
55
+ uriTemplate: exports.DirectoryAuditsRequestBuilderUriTemplate,
53
56
  responseBodyContentType: "application/json",
54
57
  errorMappings: {
55
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
59
  },
58
60
  adapterMethodName: "sendAsync",
59
61
  responseBodyFactory: models_1.createDirectoryAuditFromDiscriminatorValue,
@@ -62,9 +64,5 @@ exports.DirectoryAuditsRequestBuilderRequestsMetadata = {
62
64
  requestInformationContentSetMethod: "setContentFromParsable",
63
65
  },
64
66
  };
65
- /**
66
- * Uri template for the request builder.
67
- */
68
- exports.DirectoryAuditsRequestBuilderUriTemplate = "{+baseurl}/auditLogs/directoryAudits{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
67
  /* tslint:enable */
70
68
  /* eslint-enable */
@@ -7,12 +7,14 @@ export interface DirectoryAuditItemRequestBuilder extends BaseRequestBuilder<Dir
7
7
  /**
8
8
  * Delete navigation property directoryAudits for auditLogs
9
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
10
11
  */
11
12
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
13
  /**
13
14
  * Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a Promise of DirectoryAudit
16
+ * @returns {Promise<DirectoryAudit>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
18
  * @see {@link https://learn.microsoft.com/graph/api/directoryaudit-get?view=graph-rest-1.0|Find more info here}
17
19
  */
18
20
  get(requestConfiguration?: RequestConfiguration<DirectoryAuditItemRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryAudit | undefined>;
@@ -20,26 +22,27 @@ export interface DirectoryAuditItemRequestBuilder extends BaseRequestBuilder<Dir
20
22
  * Update the navigation property directoryAudits in auditLogs
21
23
  * @param body The request body
22
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
- * @returns a Promise of DirectoryAudit
25
+ * @returns {Promise<DirectoryAudit>}
26
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
27
  */
25
28
  patch(body: DirectoryAudit, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DirectoryAudit | undefined>;
26
29
  /**
27
30
  * Delete navigation property directoryAudits for auditLogs
28
31
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
- * @returns a RequestInformation
32
+ * @returns {RequestInformation}
30
33
  */
31
34
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
32
35
  /**
33
36
  * Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
34
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
- * @returns a RequestInformation
38
+ * @returns {RequestInformation}
36
39
  */
37
40
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DirectoryAuditItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
41
  /**
39
42
  * Update the navigation property directoryAudits in auditLogs
40
43
  * @param body The request body
41
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
- * @returns a RequestInformation
45
+ * @returns {RequestInformation}
43
46
  */
44
47
  toPatchRequestInformation(body: DirectoryAudit, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
48
  }
@@ -57,11 +60,11 @@ export interface DirectoryAuditItemRequestBuilderGetQueryParameters {
57
60
  select?: string[];
58
61
  }
59
62
  /**
60
- * Metadata for all the requests in the request builder.
63
+ * Uri template for the request builder.
61
64
  */
62
- export declare const DirectoryAuditItemRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ export declare const DirectoryAuditItemRequestBuilderUriTemplate = "{+baseurl}/auditLogs/directoryAudits/{directoryAudit%2Did}{?%24expand,%24select}";
63
66
  /**
64
- * Uri template for the request builder.
67
+ * Metadata for all the requests in the request builder.
65
68
  */
66
- export declare const DirectoryAuditItemRequestBuilderUriTemplate = "{+baseurl}/auditLogs/directoryAudits/{directoryAudit%2Did}{?%24select,%24expand}";
69
+ export declare const DirectoryAuditItemRequestBuilderRequestsMetadata: RequestsMetadata;
67
70
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuE,KAAK,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAE1I,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;;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,kDAAkD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACxJ;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,cAAc,EAAE,oB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BAAoB,CAAC,EAAE,oBAAoB,CAAC,kDAAkD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACxJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACpI;;;;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,kDAAkD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC3J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1I;AACD;;GAEG;AACH,MAAM,WAAW,kDAAkD;IAC/D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,2CAA2C,qFAAqF,CAAC;AAQ9I;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBA+B9D,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DirectoryAuditItemRequestBuilderUriTemplate = exports.DirectoryAuditItemRequestBuilderRequestsMetadata = void 0;
3
+ exports.DirectoryAuditItemRequestBuilderRequestsMetadata = exports.DirectoryAuditItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Uri template for the request builder.
11
+ */
12
+ exports.DirectoryAuditItemRequestBuilderUriTemplate = "{+baseurl}/auditLogs/directoryAudits/{directoryAudit%2Did}{?%24expand,%24select}";
9
13
  /**
10
14
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
15
  */
@@ -18,28 +22,28 @@ const DirectoryAuditItemRequestBuilderGetQueryParametersMapper = {
18
22
  */
19
23
  exports.DirectoryAuditItemRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.DirectoryAuditItemRequestBuilderUriTemplate,
21
26
  responseBodyContentType: "application/json",
22
27
  errorMappings: {
23
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
28
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
29
  },
26
30
  adapterMethodName: "sendNoResponseContentAsync",
27
31
  },
28
32
  get: {
33
+ uriTemplate: exports.DirectoryAuditItemRequestBuilderUriTemplate,
29
34
  responseBodyContentType: "application/json",
30
35
  errorMappings: {
31
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
37
  },
34
38
  adapterMethodName: "sendAsync",
35
39
  responseBodyFactory: models_1.createDirectoryAuditFromDiscriminatorValue,
36
40
  queryParametersMapper: DirectoryAuditItemRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.DirectoryAuditItemRequestBuilderUriTemplate,
39
44
  responseBodyContentType: "application/json",
40
45
  errorMappings: {
41
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
47
  },
44
48
  adapterMethodName: "sendAsync",
45
49
  responseBodyFactory: models_1.createDirectoryAuditFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.DirectoryAuditItemRequestBuilderRequestsMetadata = {
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.DirectoryAuditItemRequestBuilderUriTemplate = "{+baseurl}/auditLogs/directoryAudits/{directoryAudit%2Did}{?%24select,%24expand}";
55
55
  /* tslint:enable */
56
56
  /* eslint-enable */
@@ -22,27 +22,29 @@ export interface AuditLogsRequestBuilder extends BaseRequestBuilder<AuditLogsReq
22
22
  /**
23
23
  * Get auditLogs
24
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
- * @returns a Promise of AuditLogRoot
25
+ * @returns {Promise<AuditLogRoot>}
26
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
26
27
  */
27
28
  get(requestConfiguration?: RequestConfiguration<AuditLogsRequestBuilderGetQueryParameters> | undefined): Promise<AuditLogRoot | undefined>;
28
29
  /**
29
30
  * Update auditLogs
30
31
  * @param body The request body
31
32
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
32
- * @returns a Promise of AuditLogRoot
33
+ * @returns {Promise<AuditLogRoot>}
34
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
33
35
  */
34
36
  patch(body: AuditLogRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AuditLogRoot | undefined>;
35
37
  /**
36
38
  * Get auditLogs
37
39
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
38
- * @returns a RequestInformation
40
+ * @returns {RequestInformation}
39
41
  */
40
42
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<AuditLogsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
41
43
  /**
42
44
  * Update auditLogs
43
45
  * @param body The request body
44
46
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
- * @returns a RequestInformation
47
+ * @returns {RequestInformation}
46
48
  */
47
49
  toPatchRequestInformation(body: AuditLogRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
48
50
  }
@@ -59,6 +61,10 @@ export interface AuditLogsRequestBuilderGetQueryParameters {
59
61
  */
60
62
  select?: string[];
61
63
  }
64
+ /**
65
+ * Uri template for the request builder.
66
+ */
67
+ export declare const AuditLogsRequestBuilderUriTemplate = "{+baseurl}/auditLogs{?%24expand,%24select}";
62
68
  /**
63
69
  * Metadata for all the navigation properties in the request builder.
64
70
  */
@@ -67,8 +73,4 @@ export declare const AuditLogsRequestBuilderNavigationMetadata: Record<Exclude<k
67
73
  * Metadata for all the requests in the request builder.
68
74
  */
69
75
  export declare const AuditLogsRequestBuilderRequestsMetadata: RequestsMetadata;
70
- /**
71
- * Uri template for the request builder.
72
- */
73
- export declare const AuditLogsRequestBuilderUriTemplate = "{+baseurl}/auditLogs{?%24select,%24expand}";
74
76
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEpI,OAAO,EAA4I,KAAK,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAClN,OAAO,EAAmI,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AACnM,OAAO,EAAoH,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAC1K,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,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,eAAe,IAAI,6B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AAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,+CAA+C,CAAC;AAQ/F;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAa5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAuBrD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuditLogsRequestBuilderUriTemplate = exports.AuditLogsRequestBuilderRequestsMetadata = exports.AuditLogsRequestBuilderNavigationMetadata = void 0;
3
+ exports.AuditLogsRequestBuilderRequestsMetadata = exports.AuditLogsRequestBuilderNavigationMetadata = exports.AuditLogsRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -9,6 +9,10 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const directoryAudits_1 = require("./directoryAudits/");
10
10
  const provisioning_1 = require("./provisioning/");
11
11
  const signIns_1 = require("./signIns/");
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ exports.AuditLogsRequestBuilderUriTemplate = "{+baseurl}/auditLogs{?%24expand,%24select}";
12
16
  /**
13
17
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
18
  */
@@ -21,17 +25,14 @@ const AuditLogsRequestBuilderGetQueryParametersMapper = {
21
25
  */
22
26
  exports.AuditLogsRequestBuilderNavigationMetadata = {
23
27
  directoryAudits: {
24
- uriTemplate: directoryAudits_1.DirectoryAuditsRequestBuilderUriTemplate,
25
28
  requestsMetadata: directoryAudits_1.DirectoryAuditsRequestBuilderRequestsMetadata,
26
29
  navigationMetadata: directoryAudits_1.DirectoryAuditsRequestBuilderNavigationMetadata,
27
30
  },
28
31
  provisioning: {
29
- uriTemplate: provisioning_1.ProvisioningRequestBuilderUriTemplate,
30
32
  requestsMetadata: provisioning_1.ProvisioningRequestBuilderRequestsMetadata,
31
33
  navigationMetadata: provisioning_1.ProvisioningRequestBuilderNavigationMetadata,
32
34
  },
33
35
  signIns: {
34
- uriTemplate: signIns_1.SignInsRequestBuilderUriTemplate,
35
36
  requestsMetadata: signIns_1.SignInsRequestBuilderRequestsMetadata,
36
37
  navigationMetadata: signIns_1.SignInsRequestBuilderNavigationMetadata,
37
38
  },
@@ -41,20 +42,20 @@ exports.AuditLogsRequestBuilderNavigationMetadata = {
41
42
  */
42
43
  exports.AuditLogsRequestBuilderRequestsMetadata = {
43
44
  get: {
45
+ uriTemplate: exports.AuditLogsRequestBuilderUriTemplate,
44
46
  responseBodyContentType: "application/json",
45
47
  errorMappings: {
46
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
49
  },
49
50
  adapterMethodName: "sendAsync",
50
51
  responseBodyFactory: models_1.createAuditLogRootFromDiscriminatorValue,
51
52
  queryParametersMapper: AuditLogsRequestBuilderGetQueryParametersMapper,
52
53
  },
53
54
  patch: {
55
+ uriTemplate: exports.AuditLogsRequestBuilderUriTemplate,
54
56
  responseBodyContentType: "application/json",
55
57
  errorMappings: {
56
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
59
  },
59
60
  adapterMethodName: "sendAsync",
60
61
  responseBodyFactory: models_1.createAuditLogRootFromDiscriminatorValue,
@@ -63,9 +64,5 @@ exports.AuditLogsRequestBuilderRequestsMetadata = {
63
64
  requestInformationContentSetMethod: "setContentFromParsable",
64
65
  },
65
66
  };
66
- /**
67
- * Uri template for the request builder.
68
- */
69
- exports.AuditLogsRequestBuilderUriTemplate = "{+baseurl}/auditLogs{?%24select,%24expand}";
70
67
  /* tslint:enable */
71
68
  /* eslint-enable */
@@ -6,13 +6,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
6
6
  /**
7
7
  * Get the number of the resource
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of Integer
9
+ * @returns {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  */
11
12
  get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
13
  /**
13
14
  * Get the number of the resource
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a RequestInformation
16
+ * @returns {RequestInformation}
16
17
  */
17
18
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
19
  }
@@ -30,11 +31,11 @@ export interface CountRequestBuilderGetQueryParameters {
30
31
  search?: string;
31
32
  }
32
33
  /**
33
- * Metadata for all the requests in the request builder.
34
+ * Uri template for the request builder.
34
35
  */
35
- export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/auditLogs/provisioning/$count{?%24filter,%24search}";
36
37
  /**
37
- * Uri template for the request builder.
38
+ * Metadata for all the requests in the request builder.
38
39
  */
39
- export declare const CountRequestBuilderUriTemplate = "{+baseurl}/auditLogs/provisioning/$count{?%24search,%24filter}";
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
40
41
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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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,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,mEAAmE,CAAC;AAQ/G;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
3
+ exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/auditLogs/provisioning/$count{?%24filter,%24search}";
8
12
  /**
9
13
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
14
  */
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
17
21
  */
18
22
  exports.CountRequestBuilderRequestsMetadata = {
19
23
  get: {
24
+ uriTemplate: exports.CountRequestBuilderUriTemplate,
20
25
  responseBodyContentType: "text/plain;q=0.9",
21
26
  errorMappings: {
22
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
27
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
28
  },
25
29
  adapterMethodName: "sendPrimitiveAsync",
26
30
  responseBodyFactory: "number",
27
31
  queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
32
  },
29
33
  };
30
- /**
31
- * Uri template for the request builder.
32
- */
33
- exports.CountRequestBuilderUriTemplate = "{+baseurl}/auditLogs/provisioning/$count{?%24search,%24filter}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface ProvisioningRequestBuilder extends BaseRequestBuilder<Provision
13
13
  /**
14
14
  * Provides operations to manage the provisioning property of the microsoft.graph.auditLogRoot entity.
15
15
  * @param provisioningObjectSummaryId The unique identifier of provisioningObjectSummary
16
- * @returns a ProvisioningObjectSummaryItemRequestBuilder
16
+ * @returns {ProvisioningObjectSummaryItemRequestBuilder}
17
17
  */
18
18
  byProvisioningObjectSummaryId(provisioningObjectSummaryId: string): ProvisioningObjectSummaryItemRequestBuilder;
19
19
  /**
20
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
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of ProvisioningObjectSummaryCollectionResponse
22
+ * @returns {Promise<ProvisioningObjectSummaryCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  * @see {@link https://learn.microsoft.com/graph/api/provisioningobjectsummary-list?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<ProvisioningRequestBuilderGetQueryParameters> | undefined): Promise<ProvisioningObjectSummaryCollectionResponse | undefined>;
@@ -27,20 +28,21 @@ export interface ProvisioningRequestBuilder extends BaseRequestBuilder<Provision
27
28
  * Create new navigation property to provisioning for auditLogs
28
29
  * @param body The request body
29
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
- * @returns a Promise of ProvisioningObjectSummary
31
+ * @returns {Promise<ProvisioningObjectSummary>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  */
32
34
  post(body: ProvisioningObjectSummary, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProvisioningObjectSummary | undefined>;
33
35
  /**
34
36
  * 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
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
- * @returns a RequestInformation
38
+ * @returns {RequestInformation}
37
39
  */
38
40
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProvisioningRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
41
  /**
40
42
  * Create new navigation property to provisioning for auditLogs
41
43
  * @param body The request body
42
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
- * @returns a RequestInformation
45
+ * @returns {RequestInformation}
44
46
  */
45
47
  toPostRequestInformation(body: ProvisioningObjectSummary, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
48
  }
@@ -81,6 +83,10 @@ export interface ProvisioningRequestBuilderGetQueryParameters {
81
83
  */
82
84
  top?: number;
83
85
  }
86
+ /**
87
+ * Uri template for the request builder.
88
+ */
89
+ export declare const ProvisioningRequestBuilderUriTemplate = "{+baseurl}/auditLogs/provisioning{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
84
90
  /**
85
91
  * Metadata for all the navigation properties in the request builder.
86
92
  */
@@ -89,8 +95,4 @@ export declare const ProvisioningRequestBuilderNavigationMetadata: Record<Exclud
89
95
  * Metadata for all the requests in the request builder.
90
96
  */
91
97
  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
98
  //# sourceMappingURL=index.d.ts.map