@microsoft/msgraph-sdk-identityprotection 1.0.0-preview.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/identityProtection/index.d.ts +79 -0
  4. package/identityProtection/index.d.ts.map +1 -0
  5. package/identityProtection/index.js +77 -0
  6. package/identityProtection/riskDetections/count/index.d.ts +40 -0
  7. package/identityProtection/riskDetections/count/index.d.ts.map +1 -0
  8. package/identityProtection/riskDetections/count/index.js +35 -0
  9. package/identityProtection/riskDetections/index.d.ts +96 -0
  10. package/identityProtection/riskDetections/index.d.ts.map +1 -0
  11. package/identityProtection/riskDetections/index.js +70 -0
  12. package/identityProtection/riskDetections/item/index.d.ts +67 -0
  13. package/identityProtection/riskDetections/item/index.d.ts.map +1 -0
  14. package/identityProtection/riskDetections/item/index.js +56 -0
  15. package/identityProtection/riskyServicePrincipals/confirmCompromised/index.d.ts +59 -0
  16. package/identityProtection/riskyServicePrincipals/confirmCompromised/index.d.ts.map +1 -0
  17. package/identityProtection/riskyServicePrincipals/confirmCompromised/index.js +58 -0
  18. package/identityProtection/riskyServicePrincipals/count/index.d.ts +40 -0
  19. package/identityProtection/riskyServicePrincipals/count/index.d.ts.map +1 -0
  20. package/identityProtection/riskyServicePrincipals/count/index.js +35 -0
  21. package/identityProtection/riskyServicePrincipals/dismiss/index.d.ts +59 -0
  22. package/identityProtection/riskyServicePrincipals/dismiss/index.d.ts.map +1 -0
  23. package/identityProtection/riskyServicePrincipals/dismiss/index.js +58 -0
  24. package/identityProtection/riskyServicePrincipals/index.d.ts +106 -0
  25. package/identityProtection/riskyServicePrincipals/index.d.ts.map +1 -0
  26. package/identityProtection/riskyServicePrincipals/index.js +81 -0
  27. package/identityProtection/riskyServicePrincipals/item/history/count/index.d.ts +40 -0
  28. package/identityProtection/riskyServicePrincipals/item/history/count/index.d.ts.map +1 -0
  29. package/identityProtection/riskyServicePrincipals/item/history/count/index.js +35 -0
  30. package/identityProtection/riskyServicePrincipals/item/history/index.d.ts +96 -0
  31. package/identityProtection/riskyServicePrincipals/item/history/index.d.ts.map +1 -0
  32. package/identityProtection/riskyServicePrincipals/item/history/index.js +70 -0
  33. package/identityProtection/riskyServicePrincipals/item/history/item/index.d.ts +66 -0
  34. package/identityProtection/riskyServicePrincipals/item/history/item/index.d.ts.map +1 -0
  35. package/identityProtection/riskyServicePrincipals/item/history/item/index.js +56 -0
  36. package/identityProtection/riskyServicePrincipals/item/index.d.ts +76 -0
  37. package/identityProtection/riskyServicePrincipals/item/index.d.ts.map +1 -0
  38. package/identityProtection/riskyServicePrincipals/item/index.js +67 -0
  39. package/identityProtection/riskyUsers/confirmCompromised/index.d.ts +59 -0
  40. package/identityProtection/riskyUsers/confirmCompromised/index.d.ts.map +1 -0
  41. package/identityProtection/riskyUsers/confirmCompromised/index.js +58 -0
  42. package/identityProtection/riskyUsers/count/index.d.ts +40 -0
  43. package/identityProtection/riskyUsers/count/index.d.ts.map +1 -0
  44. package/identityProtection/riskyUsers/count/index.js +35 -0
  45. package/identityProtection/riskyUsers/dismiss/index.d.ts +59 -0
  46. package/identityProtection/riskyUsers/dismiss/index.d.ts.map +1 -0
  47. package/identityProtection/riskyUsers/dismiss/index.js +58 -0
  48. package/identityProtection/riskyUsers/index.d.ts +106 -0
  49. package/identityProtection/riskyUsers/index.d.ts.map +1 -0
  50. package/identityProtection/riskyUsers/index.js +81 -0
  51. package/identityProtection/riskyUsers/item/history/count/index.d.ts +40 -0
  52. package/identityProtection/riskyUsers/item/history/count/index.d.ts.map +1 -0
  53. package/identityProtection/riskyUsers/item/history/count/index.js +35 -0
  54. package/identityProtection/riskyUsers/item/history/index.d.ts +96 -0
  55. package/identityProtection/riskyUsers/item/history/index.d.ts.map +1 -0
  56. package/identityProtection/riskyUsers/item/history/index.js +70 -0
  57. package/identityProtection/riskyUsers/item/history/item/index.d.ts +66 -0
  58. package/identityProtection/riskyUsers/item/history/item/index.d.ts.map +1 -0
  59. package/identityProtection/riskyUsers/item/history/item/index.js +56 -0
  60. package/identityProtection/riskyUsers/item/index.d.ts +76 -0
  61. package/identityProtection/riskyUsers/item/index.d.ts.map +1 -0
  62. package/identityProtection/riskyUsers/item/index.js +67 -0
  63. package/identityProtection/servicePrincipalRiskDetections/count/index.d.ts +40 -0
  64. package/identityProtection/servicePrincipalRiskDetections/count/index.d.ts.map +1 -0
  65. package/identityProtection/servicePrincipalRiskDetections/count/index.js +35 -0
  66. package/identityProtection/servicePrincipalRiskDetections/index.d.ts +96 -0
  67. package/identityProtection/servicePrincipalRiskDetections/index.d.ts.map +1 -0
  68. package/identityProtection/servicePrincipalRiskDetections/index.js +70 -0
  69. package/identityProtection/servicePrincipalRiskDetections/item/index.d.ts +67 -0
  70. package/identityProtection/servicePrincipalRiskDetections/item/index.d.ts.map +1 -0
  71. package/identityProtection/servicePrincipalRiskDetections/item/index.js +56 -0
  72. package/identityProtectionServiceClient.d.ts +25 -0
  73. package/identityProtectionServiceClient.d.ts.map +1 -0
  74. package/identityProtectionServiceClient.js +49 -0
  75. package/index.d.ts +11 -0
  76. package/index.d.ts.map +1 -0
  77. package/index.js +20 -0
  78. package/package.json +48 -0
  79. package/tsconfig.json +15 -0
  80. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HistoryRequestBuilderUriTemplate = exports.HistoryRequestBuilderRequestsMetadata = exports.HistoryRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const item_1 = require("./item/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const HistoryRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.HistoryRequestBuilderNavigationMetadata = {
28
+ byRiskyServicePrincipalHistoryItemId: {
29
+ uriTemplate: item_1.RiskyServicePrincipalHistoryItemItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.RiskyServicePrincipalHistoryItemItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["riskyServicePrincipalHistoryItem%2Did"],
32
+ },
33
+ count: {
34
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
+ },
37
+ };
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.HistoryRequestBuilderRequestsMetadata = {
42
+ get: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createRiskyServicePrincipalHistoryItemCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: HistoryRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ post: {
53
+ responseBodyContentType: "application/json",
54
+ errorMappings: {
55
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "sendAsync",
59
+ responseBodyFactory: models_1.createRiskyServicePrincipalHistoryItemFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: models_1.serializeRiskyServicePrincipalHistoryItem,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ exports.HistoryRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyServicePrincipals/{riskyServicePrincipal%2Did}/history{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
+ /* tslint:enable */
70
+ /* eslint-enable */
@@ -0,0 +1,66 @@
1
+ import { type RiskyServicePrincipalHistoryItem } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to manage the history property of the microsoft.graph.riskyServicePrincipal entity.
5
+ */
6
+ export interface RiskyServicePrincipalHistoryItemItemRequestBuilder extends BaseRequestBuilder<RiskyServicePrincipalHistoryItemItemRequestBuilder> {
7
+ /**
8
+ * Delete navigation property history for identityProtection
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ */
11
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
+ /**
13
+ * Represents the risk history of Microsoft Entra service principals.
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a Promise of RiskyServicePrincipalHistoryItem
16
+ */
17
+ get(requestConfiguration?: RequestConfiguration<RiskyServicePrincipalHistoryItemItemRequestBuilderGetQueryParameters> | undefined): Promise<RiskyServicePrincipalHistoryItem | undefined>;
18
+ /**
19
+ * Update the navigation property history in identityProtection
20
+ * @param body The request body
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of RiskyServicePrincipalHistoryItem
23
+ */
24
+ patch(body: RiskyServicePrincipalHistoryItem, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RiskyServicePrincipalHistoryItem | undefined>;
25
+ /**
26
+ * Delete navigation property history for identityProtection
27
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
+ * @returns a RequestInformation
29
+ */
30
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
31
+ /**
32
+ * Represents the risk history of Microsoft Entra service principals.
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns a RequestInformation
35
+ */
36
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<RiskyServicePrincipalHistoryItemItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
37
+ /**
38
+ * Update the navigation property history in identityProtection
39
+ * @param body The request body
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns a RequestInformation
42
+ */
43
+ toPatchRequestInformation(body: RiskyServicePrincipalHistoryItem, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
+ }
45
+ /**
46
+ * Represents the risk history of Microsoft Entra service principals.
47
+ */
48
+ export interface RiskyServicePrincipalHistoryItemItemRequestBuilderGetQueryParameters {
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 RiskyServicePrincipalHistoryItemItemRequestBuilderRequestsMetadata: RequestsMetadata;
62
+ /**
63
+ * Uri template for the request builder.
64
+ */
65
+ export declare const RiskyServicePrincipalHistoryItemItemRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyServicePrincipals/{riskyServicePrincipal%2Did}/history/{riskyServicePrincipalHistoryItem%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,EAA2G,KAAK,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAEhM,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,kDAAmD,SAAQ,kBAAkB,CAAC,kDAAkD,CAAC;IAC9I;;;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,oEAAoE,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gCAAgC,GAAG,SAAS,CAAC,CAAC;IAC5L;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,gCAAgC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gCAAgC,GAAG,SAAS,CAAC,CAAC;IACxK;;;;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,oEAAoE,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC7K;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,gCAAgC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5J;AACD;;GAEG;AACH,MAAM,WAAW,oEAAoE;IACjF;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,kEAAkE,EAAE,gBA+BhF,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6DAA6D,4JAA4J,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RiskyServicePrincipalHistoryItemItemRequestBuilderUriTemplate = exports.RiskyServicePrincipalHistoryItemItemRequestBuilderRequestsMetadata = 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 RiskyServicePrincipalHistoryItemItemRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.RiskyServicePrincipalHistoryItemItemRequestBuilderRequestsMetadata = {
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.createRiskyServicePrincipalHistoryItemFromDiscriminatorValue,
36
+ queryParametersMapper: RiskyServicePrincipalHistoryItemItemRequestBuilderGetQueryParametersMapper,
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.createRiskyServicePrincipalHistoryItemFromDiscriminatorValue,
46
+ requestBodyContentType: "application/json",
47
+ requestBodySerializer: models_1.serializeRiskyServicePrincipalHistoryItem,
48
+ requestInformationContentSetMethod: "setContentFromParsable",
49
+ },
50
+ };
51
+ /**
52
+ * Uri template for the request builder.
53
+ */
54
+ exports.RiskyServicePrincipalHistoryItemItemRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyServicePrincipals/{riskyServicePrincipal%2Did}/history/{riskyServicePrincipalHistoryItem%2Did}{?%24select,%24expand}";
55
+ /* tslint:enable */
56
+ /* eslint-enable */
@@ -0,0 +1,76 @@
1
+ import { type RiskyServicePrincipal } from '@microsoft/msgraph-sdk/models/';
2
+ import { type HistoryRequestBuilder } from './history/';
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 riskyServicePrincipals property of the microsoft.graph.identityProtectionRoot entity.
6
+ */
7
+ export interface RiskyServicePrincipalItemRequestBuilder extends BaseRequestBuilder<RiskyServicePrincipalItemRequestBuilder> {
8
+ /**
9
+ * Provides operations to manage the history property of the microsoft.graph.riskyServicePrincipal entity.
10
+ */
11
+ get history(): HistoryRequestBuilder;
12
+ /**
13
+ * Delete navigation property riskyServicePrincipals for identityProtection
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ */
16
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
17
+ /**
18
+ * Read the properties and relationships of a riskyServicePrincipal object.
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns a Promise of RiskyServicePrincipal
21
+ * @see {@link https://learn.microsoft.com/graph/api/riskyserviceprincipal-get?view=graph-rest-1.0|Find more info here}
22
+ */
23
+ get(requestConfiguration?: RequestConfiguration<RiskyServicePrincipalItemRequestBuilderGetQueryParameters> | undefined): Promise<RiskyServicePrincipal | undefined>;
24
+ /**
25
+ * Update the navigation property riskyServicePrincipals in identityProtection
26
+ * @param body The request body
27
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
+ * @returns a Promise of RiskyServicePrincipal
29
+ */
30
+ patch(body: RiskyServicePrincipal, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RiskyServicePrincipal | undefined>;
31
+ /**
32
+ * Delete navigation property riskyServicePrincipals for identityProtection
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns a RequestInformation
35
+ */
36
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
37
+ /**
38
+ * Read the properties and relationships of a riskyServicePrincipal object.
39
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
+ * @returns a RequestInformation
41
+ */
42
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<RiskyServicePrincipalItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
43
+ /**
44
+ * Update the navigation property riskyServicePrincipals in identityProtection
45
+ * @param body The request body
46
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
+ * @returns a RequestInformation
48
+ */
49
+ toPatchRequestInformation(body: RiskyServicePrincipal, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
50
+ }
51
+ /**
52
+ * Read the properties and relationships of a riskyServicePrincipal object.
53
+ */
54
+ export interface RiskyServicePrincipalItemRequestBuilderGetQueryParameters {
55
+ /**
56
+ * Expand related entities
57
+ */
58
+ expand?: string[];
59
+ /**
60
+ * Select properties to be returned
61
+ */
62
+ select?: string[];
63
+ }
64
+ /**
65
+ * Metadata for all the navigation properties in the request builder.
66
+ */
67
+ export declare const RiskyServicePrincipalItemRequestBuilderNavigationMetadata: Record<Exclude<keyof RiskyServicePrincipalItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
68
+ /**
69
+ * Metadata for all the requests in the request builder.
70
+ */
71
+ export declare const RiskyServicePrincipalItemRequestBuilderRequestsMetadata: RequestsMetadata;
72
+ /**
73
+ * Uri template for the request builder.
74
+ */
75
+ export declare const RiskyServicePrincipalItemRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyServicePrincipals/{riskyServicePrincipal%2Did}{?%24select,%24expand}";
76
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqF,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE/J,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,uCAAwC,SAAQ,kBAAkB,CAAC,uCAAuC,CAAC;IACxH;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;;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,yDAAyD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACtK;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;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,yDAAyD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,yDAAyD;IACtE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,yDAAyD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uCAAuC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAM5L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,gBA+BrE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kDAAkD,4GAA4G,CAAC"}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RiskyServicePrincipalItemRequestBuilderUriTemplate = exports.RiskyServicePrincipalItemRequestBuilderRequestsMetadata = exports.RiskyServicePrincipalItemRequestBuilderNavigationMetadata = 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 history_1 = require("./history/");
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const RiskyServicePrincipalItemRequestBuilderGetQueryParametersMapper = {
14
+ "expand": "%24expand",
15
+ "select": "%24select",
16
+ };
17
+ /**
18
+ * Metadata for all the navigation properties in the request builder.
19
+ */
20
+ exports.RiskyServicePrincipalItemRequestBuilderNavigationMetadata = {
21
+ history: {
22
+ uriTemplate: history_1.HistoryRequestBuilderUriTemplate,
23
+ requestsMetadata: history_1.HistoryRequestBuilderRequestsMetadata,
24
+ navigationMetadata: history_1.HistoryRequestBuilderNavigationMetadata,
25
+ },
26
+ };
27
+ /**
28
+ * Metadata for all the requests in the request builder.
29
+ */
30
+ exports.RiskyServicePrincipalItemRequestBuilderRequestsMetadata = {
31
+ delete: {
32
+ responseBodyContentType: "application/json",
33
+ errorMappings: {
34
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ },
37
+ adapterMethodName: "sendNoResponseContentAsync",
38
+ },
39
+ get: {
40
+ responseBodyContentType: "application/json",
41
+ errorMappings: {
42
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
44
+ },
45
+ adapterMethodName: "sendAsync",
46
+ responseBodyFactory: models_1.createRiskyServicePrincipalFromDiscriminatorValue,
47
+ queryParametersMapper: RiskyServicePrincipalItemRequestBuilderGetQueryParametersMapper,
48
+ },
49
+ patch: {
50
+ responseBodyContentType: "application/json",
51
+ errorMappings: {
52
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
54
+ },
55
+ adapterMethodName: "sendAsync",
56
+ responseBodyFactory: models_1.createRiskyServicePrincipalFromDiscriminatorValue,
57
+ requestBodyContentType: "application/json",
58
+ requestBodySerializer: models_1.serializeRiskyServicePrincipal,
59
+ requestInformationContentSetMethod: "setContentFromParsable",
60
+ },
61
+ };
62
+ /**
63
+ * Uri template for the request builder.
64
+ */
65
+ exports.RiskyServicePrincipalItemRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyServicePrincipals/{riskyServicePrincipal%2Did}{?%24select,%24expand}";
66
+ /* tslint:enable */
67
+ /* eslint-enable */
@@ -0,0 +1,59 @@
1
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
2
+ export interface ConfirmCompromisedPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
3
+ /**
4
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
5
+ */
6
+ additionalData?: Record<string, unknown>;
7
+ /**
8
+ * Stores model information.
9
+ */
10
+ backingStoreEnabled?: boolean;
11
+ /**
12
+ * The userIds property
13
+ */
14
+ userIds?: string[];
15
+ }
16
+ /**
17
+ * Provides operations to call the confirmCompromised method.
18
+ */
19
+ export interface ConfirmCompromisedRequestBuilder extends BaseRequestBuilder<ConfirmCompromisedRequestBuilder> {
20
+ /**
21
+ * Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high.
22
+ * @param body The request body
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @see {@link https://learn.microsoft.com/graph/api/riskyuser-confirmcompromised?view=graph-rest-1.0|Find more info here}
25
+ */
26
+ post(body: ConfirmCompromisedPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
27
+ /**
28
+ * Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high.
29
+ * @param body The request body
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns a RequestInformation
32
+ */
33
+ toPostRequestInformation(body: ConfirmCompromisedPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
34
+ }
35
+ /**
36
+ * Creates a new instance of the appropriate class based on discriminator value
37
+ * @param parseNode The parse node to use to read the discriminator value and create the object
38
+ * @returns a confirmCompromisedPostRequestBody
39
+ */
40
+ export declare function createConfirmCompromisedPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoConfirmCompromisedPostRequestBody;
41
+ /**
42
+ * The deserialization information for the current model
43
+ * @returns a Record<string, (node: ParseNode) => void>
44
+ */
45
+ export declare function deserializeIntoConfirmCompromisedPostRequestBody(confirmCompromisedPostRequestBody?: ConfirmCompromisedPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
46
+ /**
47
+ * Serializes information the current object
48
+ * @param writer Serialization writer to use to serialize this model
49
+ */
50
+ export declare function serializeConfirmCompromisedPostRequestBody(writer: SerializationWriter, confirmCompromisedPostRequestBody?: ConfirmCompromisedPostRequestBody | undefined): void;
51
+ /**
52
+ * Metadata for all the requests in the request builder.
53
+ */
54
+ export declare const ConfirmCompromisedRequestBuilderRequestsMetadata: RequestsMetadata;
55
+ /**
56
+ * Uri template for the request builder.
57
+ */
58
+ export declare const ConfirmCompromisedRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers/confirmCompromised";
59
+ //# 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,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS,MAAM,WAAW,iCAAkC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAClG;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AACD;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,iCAAiC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAChI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,iCAAiC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5J;AACD;;;;GAIG;AACH,wBAAgB,6DAA6D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,2DAE7G;AACD;;;GAGG;AACH,wBAAgB,gDAAgD,CAAC,iCAAiC,GAAE,iCAAiC,GAAG,SAAmD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKvO;AACD;;;GAGG;AACH,wBAAgB,0CAA0C,CAAC,MAAM,EAAE,mBAAmB,EAAE,iCAAiC,GAAE,iCAAiC,GAAG,SAAmD,GAAI,IAAI,CAGzN;AACD;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAY9D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,gEAAgE,CAAC"}
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConfirmCompromisedRequestBuilderUriTemplate = exports.ConfirmCompromisedRequestBuilderRequestsMetadata = exports.serializeConfirmCompromisedPostRequestBody = exports.deserializeIntoConfirmCompromisedPostRequestBody = exports.createConfirmCompromisedPostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Creates a new instance of the appropriate class based on discriminator value
10
+ * @param parseNode The parse node to use to read the discriminator value and create the object
11
+ * @returns a confirmCompromisedPostRequestBody
12
+ */
13
+ function createConfirmCompromisedPostRequestBodyFromDiscriminatorValue(parseNode) {
14
+ return deserializeIntoConfirmCompromisedPostRequestBody;
15
+ }
16
+ exports.createConfirmCompromisedPostRequestBodyFromDiscriminatorValue = createConfirmCompromisedPostRequestBodyFromDiscriminatorValue;
17
+ /**
18
+ * The deserialization information for the current model
19
+ * @returns a Record<string, (node: ParseNode) => void>
20
+ */
21
+ function deserializeIntoConfirmCompromisedPostRequestBody(confirmCompromisedPostRequestBody = {}) {
22
+ return {
23
+ "backingStoreEnabled": n => { confirmCompromisedPostRequestBody.backingStoreEnabled = true; },
24
+ "userIds": n => { confirmCompromisedPostRequestBody.userIds = n.getCollectionOfPrimitiveValues(); },
25
+ };
26
+ }
27
+ exports.deserializeIntoConfirmCompromisedPostRequestBody = deserializeIntoConfirmCompromisedPostRequestBody;
28
+ /**
29
+ * Serializes information the current object
30
+ * @param writer Serialization writer to use to serialize this model
31
+ */
32
+ function serializeConfirmCompromisedPostRequestBody(writer, confirmCompromisedPostRequestBody = {}) {
33
+ writer.writeCollectionOfPrimitiveValues("userIds", confirmCompromisedPostRequestBody.userIds);
34
+ writer.writeAdditionalData(confirmCompromisedPostRequestBody.additionalData);
35
+ }
36
+ exports.serializeConfirmCompromisedPostRequestBody = serializeConfirmCompromisedPostRequestBody;
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ exports.ConfirmCompromisedRequestBuilderRequestsMetadata = {
41
+ post: {
42
+ responseBodyContentType: "application/json",
43
+ errorMappings: {
44
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
45
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ },
47
+ adapterMethodName: "sendNoResponseContentAsync",
48
+ requestBodyContentType: "application/json",
49
+ requestBodySerializer: serializeConfirmCompromisedPostRequestBody,
50
+ requestInformationContentSetMethod: "setContentFromParsable",
51
+ },
52
+ };
53
+ /**
54
+ * Uri template for the request builder.
55
+ */
56
+ exports.ConfirmCompromisedRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers/confirmCompromised";
57
+ /* tslint:enable */
58
+ /* eslint-enable */
@@ -0,0 +1,40 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers/$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,0EAA0E,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,59 @@
1
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Creates a new instance of the appropriate class based on discriminator value
4
+ * @param parseNode The parse node to use to read the discriminator value and create the object
5
+ * @returns a dismissPostRequestBody
6
+ */
7
+ export declare function createDismissPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoDismissPostRequestBody;
8
+ /**
9
+ * The deserialization information for the current model
10
+ * @returns a Record<string, (node: ParseNode) => void>
11
+ */
12
+ export declare function deserializeIntoDismissPostRequestBody(dismissPostRequestBody?: DismissPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
13
+ export interface DismissPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
14
+ /**
15
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
16
+ */
17
+ additionalData?: Record<string, unknown>;
18
+ /**
19
+ * Stores model information.
20
+ */
21
+ backingStoreEnabled?: boolean;
22
+ /**
23
+ * The userIds property
24
+ */
25
+ userIds?: string[];
26
+ }
27
+ /**
28
+ * Provides operations to call the dismiss method.
29
+ */
30
+ export interface DismissRequestBuilder extends BaseRequestBuilder<DismissRequestBuilder> {
31
+ /**
32
+ * Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none.
33
+ * @param body The request body
34
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
+ * @see {@link https://learn.microsoft.com/graph/api/riskyuser-dismiss?view=graph-rest-1.0|Find more info here}
36
+ */
37
+ post(body: DismissPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
38
+ /**
39
+ * Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none.
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
+ toPostRequestInformation(body: DismissPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
+ }
46
+ /**
47
+ * Serializes information the current object
48
+ * @param writer Serialization writer to use to serialize this model
49
+ */
50
+ export declare function serializeDismissPostRequestBody(writer: SerializationWriter, dismissPostRequestBody?: DismissPostRequestBody | undefined): void;
51
+ /**
52
+ * Metadata for all the requests in the request builder.
53
+ */
54
+ export declare const DismissRequestBuilderRequestsMetadata: RequestsMetadata;
55
+ /**
56
+ * Uri template for the request builder.
57
+ */
58
+ export declare const DismissRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers/dismiss";
59
+ //# 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,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,kDAAkD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,gDAElG;AACD;;;GAGG;AACH,wBAAgB,qCAAqC,CAAC,sBAAsB,GAAE,sBAAsB,GAAG,SAAwC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK3L;AACD,MAAM,WAAW,sBAAuB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACvF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AACD;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACrH;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,mBAAmB,EAAE,sBAAsB,GAAE,sBAAsB,GAAG,SAAwC,GAAI,IAAI,CAG7K;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAYnD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,qDAAqD,CAAC"}