@microsoft/msgraph-sdk-security 1.0.0-preview.63 → 1.0.0-preview.64

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 (110) hide show
  1. package/package.json +2 -2
  2. package/security/auditLog/index.d.ts +78 -0
  3. package/security/auditLog/index.d.ts.map +1 -0
  4. package/security/auditLog/index.js +67 -0
  5. package/security/auditLog/index.js.map +1 -0
  6. package/security/auditLog/queries/count/index.d.ts +41 -0
  7. package/security/auditLog/queries/count/index.d.ts.map +1 -0
  8. package/security/auditLog/queries/count/index.js +34 -0
  9. package/security/auditLog/queries/count/index.js.map +1 -0
  10. package/security/auditLog/queries/index.d.ts +99 -0
  11. package/security/auditLog/queries/index.d.ts.map +1 -0
  12. package/security/auditLog/queries/index.js +71 -0
  13. package/security/auditLog/queries/index.js.map +1 -0
  14. package/security/auditLog/queries/item/index.d.ts +79 -0
  15. package/security/auditLog/queries/item/index.d.ts.map +1 -0
  16. package/security/auditLog/queries/item/index.js +67 -0
  17. package/security/auditLog/queries/item/index.js.map +1 -0
  18. package/security/auditLog/queries/item/records/count/index.d.ts +41 -0
  19. package/security/auditLog/queries/item/records/count/index.d.ts.map +1 -0
  20. package/security/auditLog/queries/item/records/count/index.js +34 -0
  21. package/security/auditLog/queries/item/records/count/index.js.map +1 -0
  22. package/security/auditLog/queries/item/records/index.d.ts +97 -0
  23. package/security/auditLog/queries/item/records/index.d.ts.map +1 -0
  24. package/security/auditLog/queries/item/records/index.js +70 -0
  25. package/security/auditLog/queries/item/records/index.js.map +1 -0
  26. package/security/auditLog/queries/item/records/item/index.d.ts +69 -0
  27. package/security/auditLog/queries/item/records/item/index.d.ts.map +1 -0
  28. package/security/auditLog/queries/item/records/item/index.js +56 -0
  29. package/security/auditLog/queries/item/records/item/index.js.map +1 -0
  30. package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityApplyHold/index.d.ts +1 -0
  31. package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityApplyHold/index.d.ts.map +1 -1
  32. package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityApplyHold/index.js.map +1 -1
  33. package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityRemoveHold/index.d.ts +1 -0
  34. package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityRemoveHold/index.d.ts.map +1 -1
  35. package/security/cases/ediscoveryCases/item/custodians/microsoftGraphSecurityRemoveHold/index.js.map +1 -1
  36. package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityApplyHold/index.d.ts +1 -0
  37. package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityApplyHold/index.d.ts.map +1 -1
  38. package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityApplyHold/index.js.map +1 -1
  39. package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityRemoveHold/index.d.ts +1 -0
  40. package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityRemoveHold/index.d.ts.map +1 -1
  41. package/security/cases/ediscoveryCases/item/noncustodialDataSources/microsoftGraphSecurityRemoveHold/index.js.map +1 -1
  42. package/security/cases/ediscoveryCases/item/tags/microsoftGraphSecurityAsHierarchy/index.d.ts +1 -0
  43. package/security/cases/ediscoveryCases/item/tags/microsoftGraphSecurityAsHierarchy/index.d.ts.map +1 -1
  44. package/security/cases/ediscoveryCases/item/tags/microsoftGraphSecurityAsHierarchy/index.js.map +1 -1
  45. package/security/dataSecurityAndGovernance/index.d.ts +5 -0
  46. package/security/dataSecurityAndGovernance/index.d.ts.map +1 -1
  47. package/security/dataSecurityAndGovernance/index.js +6 -0
  48. package/security/dataSecurityAndGovernance/index.js.map +1 -1
  49. package/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts +30 -0
  50. package/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts.map +1 -0
  51. package/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js +28 -0
  52. package/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js.map +1 -0
  53. package/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.d.ts +73 -0
  54. package/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.d.ts.map +1 -0
  55. package/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.js +72 -0
  56. package/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.js.map +1 -0
  57. package/security/dataSecurityAndGovernance/sensitivityLabels/count/index.d.ts +41 -0
  58. package/security/dataSecurityAndGovernance/sensitivityLabels/count/index.d.ts.map +1 -0
  59. package/security/dataSecurityAndGovernance/sensitivityLabels/count/index.js +34 -0
  60. package/security/dataSecurityAndGovernance/sensitivityLabels/count/index.js.map +1 -0
  61. package/security/dataSecurityAndGovernance/sensitivityLabels/index.d.ts +112 -0
  62. package/security/dataSecurityAndGovernance/sensitivityLabels/index.d.ts.map +1 -0
  63. package/security/dataSecurityAndGovernance/sensitivityLabels/index.js +82 -0
  64. package/security/dataSecurityAndGovernance/sensitivityLabels/index.js.map +1 -0
  65. package/security/dataSecurityAndGovernance/sensitivityLabels/item/index.d.ts +84 -0
  66. package/security/dataSecurityAndGovernance/sensitivityLabels/item/index.d.ts.map +1 -0
  67. package/security/dataSecurityAndGovernance/sensitivityLabels/item/index.js +72 -0
  68. package/security/dataSecurityAndGovernance/sensitivityLabels/item/index.js.map +1 -0
  69. package/security/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.d.ts +43 -0
  70. package/security/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.d.ts.map +1 -0
  71. package/security/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.js +36 -0
  72. package/security/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.js.map +1 -0
  73. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts +30 -0
  74. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts.map +1 -0
  75. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js +28 -0
  76. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js.map +1 -0
  77. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.d.ts +73 -0
  78. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.d.ts.map +1 -0
  79. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.js +72 -0
  80. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.js.map +1 -0
  81. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.d.ts +41 -0
  82. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.d.ts.map +1 -0
  83. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.js +34 -0
  84. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.js.map +1 -0
  85. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.d.ts +111 -0
  86. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.d.ts.map +1 -0
  87. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.js +82 -0
  88. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.js.map +1 -0
  89. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.d.ts +78 -0
  90. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.d.ts.map +1 -0
  91. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.js +66 -0
  92. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.js.map +1 -0
  93. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.d.ts +42 -0
  94. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.d.ts.map +1 -0
  95. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.js +36 -0
  96. package/security/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.js.map +1 -0
  97. package/security/identities/sensors/microsoftGraphSecurityGetDeploymentAccessKey/index.d.ts +1 -0
  98. package/security/identities/sensors/microsoftGraphSecurityGetDeploymentAccessKey/index.d.ts.map +1 -1
  99. package/security/identities/sensors/microsoftGraphSecurityGetDeploymentAccessKey/index.js.map +1 -1
  100. package/security/identities/sensors/microsoftGraphSecurityGetDeploymentPackageUri/index.d.ts +1 -0
  101. package/security/identities/sensors/microsoftGraphSecurityGetDeploymentPackageUri/index.d.ts.map +1 -1
  102. package/security/identities/sensors/microsoftGraphSecurityGetDeploymentPackageUri/index.js.map +1 -1
  103. package/security/identities/sensors/microsoftGraphSecurityRegenerateDeploymentAccessKey/index.d.ts +1 -0
  104. package/security/identities/sensors/microsoftGraphSecurityRegenerateDeploymentAccessKey/index.d.ts.map +1 -1
  105. package/security/identities/sensors/microsoftGraphSecurityRegenerateDeploymentAccessKey/index.js.map +1 -1
  106. package/security/index.d.ts +5 -0
  107. package/security/index.d.ts.map +1 -1
  108. package/security/index.js +6 -0
  109. package/security/index.js.map +1 -1
  110. package/tsconfig.tsbuildinfo +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-security",
3
- "version": "1.0.0-preview.63",
3
+ "version": "1.0.0-preview.64",
4
4
  "description": "Security fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",
@@ -37,5 +37,5 @@
37
37
  "typescript": "^5.3.3"
38
38
  },
39
39
  "type": "module",
40
- "gitHead": "370d9b15fd2ff8fd8b6f42d7c80fa41ecbb83559"
40
+ "gitHead": "4c4fecc9f5be9296580eb190fe45116bbcff4f32"
41
41
  }
@@ -0,0 +1,78 @@
1
+ import { type AuditCoreRoot } from '@microsoft/msgraph-sdk/models/security/index.js';
2
+ import { type QueriesRequestBuilder } from './queries/index.js';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Provides operations to manage the auditLog property of the microsoft.graph.security entity.
6
+ */
7
+ export interface AuditLogRequestBuilder extends BaseRequestBuilder<AuditLogRequestBuilder> {
8
+ /**
9
+ * Provides operations to manage the queries property of the microsoft.graph.security.auditCoreRoot entity.
10
+ */
11
+ get queries(): QueriesRequestBuilder;
12
+ /**
13
+ * Delete navigation property auditLog for security
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
+ */
17
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
18
+ /**
19
+ * Get auditLog from security
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {Promise<AuditCoreRoot>}
22
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
+ */
24
+ get(requestConfiguration?: RequestConfiguration<AuditLogRequestBuilderGetQueryParameters> | undefined): Promise<AuditCoreRoot | undefined>;
25
+ /**
26
+ * Update the navigation property auditLog in security
27
+ * @param body The request body
28
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
+ * @returns {Promise<AuditCoreRoot>}
30
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
+ */
32
+ patch(body: AuditCoreRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AuditCoreRoot | undefined>;
33
+ /**
34
+ * Delete navigation property auditLog for security
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns {RequestInformation}
37
+ */
38
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
39
+ /**
40
+ * Get auditLog from security
41
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
+ * @returns {RequestInformation}
43
+ */
44
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AuditLogRequestBuilderGetQueryParameters> | undefined): RequestInformation;
45
+ /**
46
+ * Update the navigation property auditLog in security
47
+ * @param body The request body
48
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
+ * @returns {RequestInformation}
50
+ */
51
+ toPatchRequestInformation(body: AuditCoreRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
+ }
53
+ /**
54
+ * Get auditLog from security
55
+ */
56
+ export interface AuditLogRequestBuilderGetQueryParameters {
57
+ /**
58
+ * Expand related entities
59
+ */
60
+ expand?: string[];
61
+ /**
62
+ * Select properties to be returned
63
+ */
64
+ select?: string[];
65
+ }
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ export declare const AuditLogRequestBuilderUriTemplate = "{+baseurl}/security/auditLog{?%24expand,%24select}";
70
+ /**
71
+ * Metadata for all the navigation properties in the request builder.
72
+ */
73
+ export declare const AuditLogRequestBuilderNavigationMetadata: Record<Exclude<keyof AuditLogRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
74
+ /**
75
+ * Metadata for all the requests in the request builder.
76
+ */
77
+ export declare const AuditLogRequestBuilderRequestsMetadata: RequestsMetadata;
78
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAqE,KAAK,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAExJ,OAAO,EAAkF,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhJ,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,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;;;OAIG;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,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IAClI;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzI;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,uDAAuD,CAAC;AAQtG;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBA+BpD,CAAC"}
@@ -0,0 +1,67 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ // @ts-ignore
7
+ import { createAuditCoreRootFromDiscriminatorValue, serializeAuditCoreRoot } from '@microsoft/msgraph-sdk/models/security/index.js';
8
+ // @ts-ignore
9
+ import { QueriesRequestBuilderNavigationMetadata, QueriesRequestBuilderRequestsMetadata } from './queries/index.js';
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ export const AuditLogRequestBuilderUriTemplate = "{+baseurl}/security/auditLog{?%24expand,%24select}";
14
+ /**
15
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
16
+ */
17
+ const AuditLogRequestBuilderGetQueryParametersMapper = {
18
+ "expand": "%24expand",
19
+ "select": "%24select",
20
+ };
21
+ /**
22
+ * Metadata for all the navigation properties in the request builder.
23
+ */
24
+ export const AuditLogRequestBuilderNavigationMetadata = {
25
+ queries: {
26
+ requestsMetadata: QueriesRequestBuilderRequestsMetadata,
27
+ navigationMetadata: QueriesRequestBuilderNavigationMetadata,
28
+ },
29
+ };
30
+ /**
31
+ * Metadata for all the requests in the request builder.
32
+ */
33
+ export const AuditLogRequestBuilderRequestsMetadata = {
34
+ delete: {
35
+ uriTemplate: AuditLogRequestBuilderUriTemplate,
36
+ responseBodyContentType: "application/json",
37
+ errorMappings: {
38
+ XXX: createODataErrorFromDiscriminatorValue,
39
+ },
40
+ adapterMethodName: "sendNoResponseContent",
41
+ },
42
+ get: {
43
+ uriTemplate: AuditLogRequestBuilderUriTemplate,
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ XXX: createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "send",
49
+ responseBodyFactory: createAuditCoreRootFromDiscriminatorValue,
50
+ queryParametersMapper: AuditLogRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ patch: {
53
+ uriTemplate: AuditLogRequestBuilderUriTemplate,
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ XXX: createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "send",
59
+ responseBodyFactory: createAuditCoreRootFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: serializeAuditCoreRoot,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /* tslint:enable */
66
+ /* eslint-enable */
67
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAE,sBAAsB,EAAsB,MAAM,iDAAiD,CAAC;AACxJ,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AAkEhJ;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,oDAAoD,CAAC;AACtG;;GAEG;AACH,MAAM,8CAA8C,GAA2B;IAC3E,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAA0G;IAC3J,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;QACvD,kBAAkB,EAAE,uCAAuC;KAC9D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,MAAM,EAAE;QACJ,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,yCAAyC;QAC/D,qBAAqB,EAAE,8CAA8C;KACxE;IACD,KAAK,EAAE;QACH,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,yCAAyC;QAC/D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,sBAAsB;QAC7C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,41 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
13
+ /**
14
+ * Get the number of the resource
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {RequestInformation}
17
+ */
18
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Get the number of the resource
22
+ */
23
+ export interface CountRequestBuilderGetQueryParameters {
24
+ /**
25
+ * Filter items by property values
26
+ */
27
+ filter?: string;
28
+ /**
29
+ * Search items by search phrases
30
+ */
31
+ search?: string;
32
+ }
33
+ /**
34
+ * Uri template for the request builder.
35
+ */
36
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/security/auditLog/queries/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,sEAAsE,CAAC;AAQlH;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -0,0 +1,34 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const CountRequestBuilderUriTemplate = "{+baseurl}/security/auditLog/queries/$count{?%24filter,%24search}";
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const CountRequestBuilderGetQueryParametersMapper = {
14
+ "filter": "%24filter",
15
+ "search": "%24search",
16
+ };
17
+ /**
18
+ * Metadata for all the requests in the request builder.
19
+ */
20
+ export const CountRequestBuilderRequestsMetadata = {
21
+ get: {
22
+ uriTemplate: CountRequestBuilderUriTemplate,
23
+ responseBodyContentType: "text/plain;q=0.9",
24
+ errorMappings: {
25
+ XXX: createODataErrorFromDiscriminatorValue,
26
+ },
27
+ adapterMethodName: "sendPrimitive",
28
+ responseBodyFactory: "number",
29
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
30
+ },
31
+ };
32
+ /* tslint:enable */
33
+ /* eslint-enable */
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,mEAAmE,CAAC;AAClH;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,99 @@
1
+ import { type AuditLogQuery, type AuditLogQueryCollectionResponse } from '@microsoft/msgraph-sdk/models/security/index.js';
2
+ import { type CountRequestBuilder } from './count/index.js';
3
+ import { type AuditLogQueryItemRequestBuilder } from './item/index.js';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the queries property of the microsoft.graph.security.auditCoreRoot entity.
7
+ */
8
+ export interface QueriesRequestBuilder extends BaseRequestBuilder<QueriesRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the queries property of the microsoft.graph.security.auditCoreRoot entity.
15
+ * @param auditLogQueryId The unique identifier of auditLogQuery
16
+ * @returns {AuditLogQueryItemRequestBuilder}
17
+ */
18
+ byAuditLogQueryId(auditLogQueryId: string): AuditLogQueryItemRequestBuilder;
19
+ /**
20
+ * Get a list of auditLogQuery objects and their properties.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns {Promise<AuditLogQueryCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
+ * @see {@link https://learn.microsoft.com/graph/api/security-auditcoreroot-list-auditlogqueries?view=graph-rest-1.0|Find more info here}
25
+ */
26
+ get(requestConfiguration?: RequestConfiguration<QueriesRequestBuilderGetQueryParameters> | undefined): Promise<AuditLogQueryCollectionResponse | undefined>;
27
+ /**
28
+ * Create a new auditLogQuery object.
29
+ * @param body The request body
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns {Promise<AuditLogQuery>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
33
+ * @see {@link https://learn.microsoft.com/graph/api/security-auditcoreroot-post-auditlogqueries?view=graph-rest-1.0|Find more info here}
34
+ */
35
+ post(body: AuditLogQuery, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AuditLogQuery | undefined>;
36
+ /**
37
+ * Get a list of auditLogQuery objects and their properties.
38
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
+ * @returns {RequestInformation}
40
+ */
41
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<QueriesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
42
+ /**
43
+ * Create a new auditLogQuery object.
44
+ * @param body The request body
45
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
+ * @returns {RequestInformation}
47
+ */
48
+ toPostRequestInformation(body: AuditLogQuery, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
49
+ }
50
+ /**
51
+ * Get a list of auditLogQuery objects and their properties.
52
+ */
53
+ export interface QueriesRequestBuilderGetQueryParameters {
54
+ /**
55
+ * Include count of items
56
+ */
57
+ count?: boolean;
58
+ /**
59
+ * Expand related entities
60
+ */
61
+ expand?: string[];
62
+ /**
63
+ * Filter items by property values
64
+ */
65
+ filter?: string;
66
+ /**
67
+ * Order items by property values
68
+ */
69
+ orderby?: string[];
70
+ /**
71
+ * Search items by search phrases
72
+ */
73
+ search?: string;
74
+ /**
75
+ * Select properties to be returned
76
+ */
77
+ select?: string[];
78
+ /**
79
+ * Skip the first n items
80
+ */
81
+ skip?: number;
82
+ /**
83
+ * Show only the first n items
84
+ */
85
+ top?: number;
86
+ }
87
+ /**
88
+ * Uri template for the request builder.
89
+ */
90
+ export declare const QueriesRequestBuilderUriTemplate = "{+baseurl}/security/auditLog/queries{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
91
+ /**
92
+ * Metadata for all the navigation properties in the request builder.
93
+ */
94
+ export declare const QueriesRequestBuilderNavigationMetadata: Record<Exclude<keyof QueriesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
95
+ /**
96
+ * Metadata for all the requests in the request builder.
97
+ */
98
+ export declare const QueriesRequestBuilderRequestsMetadata: RequestsMetadata;
99
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAkI,KAAK,aAAa,EAAE,KAAK,+BAA+B,EAAE,MAAM,iDAAiD,CAAC;AAE3P,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAsG,KAAK,+BAA+B,EAAE,MAAM,iBAAiB,CAAC;AAE3K,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,iBAAiB,CAAC,eAAe,EAAE,MAAM,GAAI,+BAA+B,CAAC;IAC9E;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IAC9J;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IACjI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxI;AACD;;GAEG;AACH,MAAM,WAAW,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,gCAAgC,sHAAsH,CAAC;AAcpK;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CASxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAuBnD,CAAC"}
@@ -0,0 +1,71 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ // @ts-ignore
7
+ import { createAuditLogQueryCollectionResponseFromDiscriminatorValue, createAuditLogQueryFromDiscriminatorValue, serializeAuditLogQuery } from '@microsoft/msgraph-sdk/models/security/index.js';
8
+ // @ts-ignore
9
+ import { CountRequestBuilderRequestsMetadata } from './count/index.js';
10
+ // @ts-ignore
11
+ import { AuditLogQueryItemRequestBuilderNavigationMetadata, AuditLogQueryItemRequestBuilderRequestsMetadata } from './item/index.js';
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export const QueriesRequestBuilderUriTemplate = "{+baseurl}/security/auditLog/queries{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
16
+ /**
17
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
18
+ */
19
+ const QueriesRequestBuilderGetQueryParametersMapper = {
20
+ "count": "%24count",
21
+ "expand": "%24expand",
22
+ "filter": "%24filter",
23
+ "orderby": "%24orderby",
24
+ "search": "%24search",
25
+ "select": "%24select",
26
+ "skip": "%24skip",
27
+ "top": "%24top",
28
+ };
29
+ /**
30
+ * Metadata for all the navigation properties in the request builder.
31
+ */
32
+ export const QueriesRequestBuilderNavigationMetadata = {
33
+ byAuditLogQueryId: {
34
+ requestsMetadata: AuditLogQueryItemRequestBuilderRequestsMetadata,
35
+ navigationMetadata: AuditLogQueryItemRequestBuilderNavigationMetadata,
36
+ pathParametersMappings: ["auditLogQuery%2Did"],
37
+ },
38
+ count: {
39
+ requestsMetadata: CountRequestBuilderRequestsMetadata,
40
+ },
41
+ };
42
+ /**
43
+ * Metadata for all the requests in the request builder.
44
+ */
45
+ export const QueriesRequestBuilderRequestsMetadata = {
46
+ get: {
47
+ uriTemplate: QueriesRequestBuilderUriTemplate,
48
+ responseBodyContentType: "application/json",
49
+ errorMappings: {
50
+ XXX: createODataErrorFromDiscriminatorValue,
51
+ },
52
+ adapterMethodName: "send",
53
+ responseBodyFactory: createAuditLogQueryCollectionResponseFromDiscriminatorValue,
54
+ queryParametersMapper: QueriesRequestBuilderGetQueryParametersMapper,
55
+ },
56
+ post: {
57
+ uriTemplate: QueriesRequestBuilderUriTemplate,
58
+ responseBodyContentType: "application/json",
59
+ errorMappings: {
60
+ XXX: createODataErrorFromDiscriminatorValue,
61
+ },
62
+ adapterMethodName: "send",
63
+ responseBodyFactory: createAuditLogQueryFromDiscriminatorValue,
64
+ requestBodyContentType: "application/json",
65
+ requestBodySerializer: serializeAuditLogQuery,
66
+ requestInformationContentSetMethod: "setContentFromParsable",
67
+ },
68
+ };
69
+ /* tslint:enable */
70
+ /* eslint-enable */
71
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,2DAA2D,EAAE,yCAAyC,EAAE,sBAAsB,EAA4D,MAAM,iDAAiD,CAAC;AAC3P,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,iDAAiD,EAAE,+CAA+C,EAAwC,MAAM,iBAAiB,CAAC;AAsF3K;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,mHAAmH,CAAC;AACpK;;GAEG;AACH,MAAM,6CAA6C,GAA2B;IAC1E,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAyG;IACzJ,iBAAiB,EAAE;QACf,gBAAgB,EAAE,+CAA+C;QACjE,kBAAkB,EAAE,iDAAiD;QACrE,sBAAsB,EAAE,CAAC,oBAAoB,CAAC;KACjD;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,GAAG,EAAE;QACD,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,2DAA2D;QACjF,qBAAqB,EAAE,6CAA6C;KACvE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,yCAAyC;QAC/D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,sBAAsB;QAC7C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,79 @@
1
+ import { type AuditLogQuery } from '@microsoft/msgraph-sdk/models/security/index.js';
2
+ import { type RecordsRequestBuilder } from './records/index.js';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Provides operations to manage the queries property of the microsoft.graph.security.auditCoreRoot entity.
6
+ */
7
+ export interface AuditLogQueryItemRequestBuilder extends BaseRequestBuilder<AuditLogQueryItemRequestBuilder> {
8
+ /**
9
+ * Provides operations to manage the records property of the microsoft.graph.security.auditLogQuery entity.
10
+ */
11
+ get records(): RecordsRequestBuilder;
12
+ /**
13
+ * Delete navigation property queries for security
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
+ */
17
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
18
+ /**
19
+ * Read the properties and relationships of an auditLogQuery object.
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {Promise<AuditLogQuery>}
22
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
+ * @see {@link https://learn.microsoft.com/graph/api/security-auditlogquery-get?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<AuditLogQueryItemRequestBuilderGetQueryParameters> | undefined): Promise<AuditLogQuery | undefined>;
26
+ /**
27
+ * Update the navigation property queries in security
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns {Promise<AuditLogQuery>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
32
+ */
33
+ patch(body: AuditLogQuery, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AuditLogQuery | undefined>;
34
+ /**
35
+ * Delete navigation property queries for security
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
40
+ /**
41
+ * Read the properties and relationships of an auditLogQuery object.
42
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
+ * @returns {RequestInformation}
44
+ */
45
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AuditLogQueryItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
46
+ /**
47
+ * Update the navigation property queries in security
48
+ * @param body The request body
49
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
50
+ * @returns {RequestInformation}
51
+ */
52
+ toPatchRequestInformation(body: AuditLogQuery, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
53
+ }
54
+ /**
55
+ * Read the properties and relationships of an auditLogQuery object.
56
+ */
57
+ export interface AuditLogQueryItemRequestBuilderGetQueryParameters {
58
+ /**
59
+ * Expand related entities
60
+ */
61
+ expand?: string[];
62
+ /**
63
+ * Select properties to be returned
64
+ */
65
+ select?: string[];
66
+ }
67
+ /**
68
+ * Uri template for the request builder.
69
+ */
70
+ export declare const AuditLogQueryItemRequestBuilderUriTemplate = "{+baseurl}/security/auditLog/queries/{auditLogQuery%2Did}{?%24expand,%24select}";
71
+ /**
72
+ * Metadata for all the navigation properties in the request builder.
73
+ */
74
+ export declare const AuditLogQueryItemRequestBuilderNavigationMetadata: Record<Exclude<keyof AuditLogQueryItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
75
+ /**
76
+ * Metadata for all the requests in the request builder.
77
+ */
78
+ export declare const AuditLogQueryItemRequestBuilderRequestsMetadata: RequestsMetadata;
79
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAqE,KAAK,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAExJ,OAAO,EAAkF,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhJ,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IAClI;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC1J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzI;AACD;;GAEG;AACH,MAAM,WAAW,iDAAiD;IAC9D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,oFAAoF,CAAC;AAQ5I;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBA+B7D,CAAC"}
@@ -0,0 +1,67 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ // @ts-ignore
7
+ import { createAuditLogQueryFromDiscriminatorValue, serializeAuditLogQuery } from '@microsoft/msgraph-sdk/models/security/index.js';
8
+ // @ts-ignore
9
+ import { RecordsRequestBuilderNavigationMetadata, RecordsRequestBuilderRequestsMetadata } from './records/index.js';
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ export const AuditLogQueryItemRequestBuilderUriTemplate = "{+baseurl}/security/auditLog/queries/{auditLogQuery%2Did}{?%24expand,%24select}";
14
+ /**
15
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
16
+ */
17
+ const AuditLogQueryItemRequestBuilderGetQueryParametersMapper = {
18
+ "expand": "%24expand",
19
+ "select": "%24select",
20
+ };
21
+ /**
22
+ * Metadata for all the navigation properties in the request builder.
23
+ */
24
+ export const AuditLogQueryItemRequestBuilderNavigationMetadata = {
25
+ records: {
26
+ requestsMetadata: RecordsRequestBuilderRequestsMetadata,
27
+ navigationMetadata: RecordsRequestBuilderNavigationMetadata,
28
+ },
29
+ };
30
+ /**
31
+ * Metadata for all the requests in the request builder.
32
+ */
33
+ export const AuditLogQueryItemRequestBuilderRequestsMetadata = {
34
+ delete: {
35
+ uriTemplate: AuditLogQueryItemRequestBuilderUriTemplate,
36
+ responseBodyContentType: "application/json",
37
+ errorMappings: {
38
+ XXX: createODataErrorFromDiscriminatorValue,
39
+ },
40
+ adapterMethodName: "sendNoResponseContent",
41
+ },
42
+ get: {
43
+ uriTemplate: AuditLogQueryItemRequestBuilderUriTemplate,
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ XXX: createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "send",
49
+ responseBodyFactory: createAuditLogQueryFromDiscriminatorValue,
50
+ queryParametersMapper: AuditLogQueryItemRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ patch: {
53
+ uriTemplate: AuditLogQueryItemRequestBuilderUriTemplate,
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ XXX: createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "send",
59
+ responseBodyFactory: createAuditLogQueryFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: serializeAuditLogQuery,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /* tslint:enable */
66
+ /* eslint-enable */
67
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAE,sBAAsB,EAAsB,MAAM,iDAAiD,CAAC;AACxJ,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AAmEhJ;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,iFAAiF,CAAC;AAC5I;;GAEG;AACH,MAAM,uDAAuD,GAA2B;IACpF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAmH;IAC7K,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;QACvD,kBAAkB,EAAE,uCAAuC;KAC9D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAqB;IAC7E,MAAM,EAAE;QACJ,WAAW,EAAE,0CAA0C;QACvD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,0CAA0C;QACvD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,yCAAyC;QAC/D,qBAAqB,EAAE,uDAAuD;KACjF;IACD,KAAK,EAAE;QACH,WAAW,EAAE,0CAA0C;QACvD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,yCAAyC;QAC/D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,sBAAsB;QAC7C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,41 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
13
+ /**
14
+ * Get the number of the resource
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {RequestInformation}
17
+ */
18
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Get the number of the resource
22
+ */
23
+ export interface CountRequestBuilderGetQueryParameters {
24
+ /**
25
+ * Filter items by property values
26
+ */
27
+ filter?: string;
28
+ /**
29
+ * Search items by search phrases
30
+ */
31
+ search?: string;
32
+ }
33
+ /**
34
+ * Uri template for the request builder.
35
+ */
36
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/security/auditLog/queries/{auditLogQuery%2Did}/records/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,mGAAmG,CAAC;AAQ/I;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}