@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,76 @@
1
+ import { type RiskyUser } 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 riskyUsers property of the microsoft.graph.identityProtectionRoot entity.
6
+ */
7
+ export interface RiskyUserItemRequestBuilder extends BaseRequestBuilder<RiskyUserItemRequestBuilder> {
8
+ /**
9
+ * Provides operations to manage the history property of the microsoft.graph.riskyUser entity.
10
+ */
11
+ get history(): HistoryRequestBuilder;
12
+ /**
13
+ * Delete navigation property riskyUsers 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 riskyUser object.
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns a Promise of RiskyUser
21
+ * @see {@link https://learn.microsoft.com/graph/api/riskyuser-get?view=graph-rest-1.0|Find more info here}
22
+ */
23
+ get(requestConfiguration?: RequestConfiguration<RiskyUserItemRequestBuilderGetQueryParameters> | undefined): Promise<RiskyUser | undefined>;
24
+ /**
25
+ * Update the navigation property riskyUsers 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 RiskyUser
29
+ */
30
+ patch(body: RiskyUser, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RiskyUser | undefined>;
31
+ /**
32
+ * Delete navigation property riskyUsers 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 riskyUser 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<RiskyUserItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
43
+ /**
44
+ * Update the navigation property riskyUsers 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: RiskyUser, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
50
+ }
51
+ /**
52
+ * Read the properties and relationships of a riskyUser object.
53
+ */
54
+ export interface RiskyUserItemRequestBuilderGetQueryParameters {
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 RiskyUserItemRequestBuilderNavigationMetadata: Record<Exclude<keyof RiskyUserItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
68
+ /**
69
+ * Metadata for all the requests in the request builder.
70
+ */
71
+ export declare const RiskyUserItemRequestBuilderRequestsMetadata: RequestsMetadata;
72
+ /**
73
+ * Uri template for the request builder.
74
+ */
75
+ export declare const RiskyUserItemRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers/{riskyUser%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,EAA6D,KAAK,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAE3H,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,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;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,6CAA6C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IAC9I;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IAC1H;;;;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,6CAA6C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACtJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrI;AACD;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC1D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMpK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBA+BzD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,oFAAoF,CAAC"}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RiskyUserItemRequestBuilderUriTemplate = exports.RiskyUserItemRequestBuilderRequestsMetadata = exports.RiskyUserItemRequestBuilderNavigationMetadata = 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 RiskyUserItemRequestBuilderGetQueryParametersMapper = {
14
+ "expand": "%24expand",
15
+ "select": "%24select",
16
+ };
17
+ /**
18
+ * Metadata for all the navigation properties in the request builder.
19
+ */
20
+ exports.RiskyUserItemRequestBuilderNavigationMetadata = {
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.RiskyUserItemRequestBuilderRequestsMetadata = {
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.createRiskyUserFromDiscriminatorValue,
47
+ queryParametersMapper: RiskyUserItemRequestBuilderGetQueryParametersMapper,
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.createRiskyUserFromDiscriminatorValue,
57
+ requestBodyContentType: "application/json",
58
+ requestBodySerializer: models_1.serializeRiskyUser,
59
+ requestInformationContentSetMethod: "setContentFromParsable",
60
+ },
61
+ };
62
+ /**
63
+ * Uri template for the request builder.
64
+ */
65
+ exports.RiskyUserItemRequestBuilderUriTemplate = "{+baseurl}/identityProtection/riskyUsers/{riskyUser%2Did}{?%24select,%24expand}";
66
+ /* tslint:enable */
67
+ /* 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/servicePrincipalRiskDetections/$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,8FAA8F,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/servicePrincipalRiskDetections/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,96 @@
1
+ import { type ServicePrincipalRiskDetection, type ServicePrincipalRiskDetectionCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type ServicePrincipalRiskDetectionItemRequestBuilder } from './item/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the servicePrincipalRiskDetections property of the microsoft.graph.identityProtectionRoot entity.
7
+ */
8
+ export interface ServicePrincipalRiskDetectionsRequestBuilder extends BaseRequestBuilder<ServicePrincipalRiskDetectionsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the servicePrincipalRiskDetections property of the microsoft.graph.identityProtectionRoot entity.
15
+ * @param servicePrincipalRiskDetectionId The unique identifier of servicePrincipalRiskDetection
16
+ * @returns a ServicePrincipalRiskDetectionItemRequestBuilder
17
+ */
18
+ byServicePrincipalRiskDetectionId(servicePrincipalRiskDetectionId: string): ServicePrincipalRiskDetectionItemRequestBuilder;
19
+ /**
20
+ * Retrieve the properties of a collection of servicePrincipalRiskDetection objects.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of ServicePrincipalRiskDetectionCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/identityprotectionroot-list-serviceprincipalriskdetections?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<ServicePrincipalRiskDetectionsRequestBuilderGetQueryParameters> | undefined): Promise<ServicePrincipalRiskDetectionCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to servicePrincipalRiskDetections for identityProtection
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a Promise of ServicePrincipalRiskDetection
31
+ */
32
+ post(body: ServicePrincipalRiskDetection, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ServicePrincipalRiskDetection | undefined>;
33
+ /**
34
+ * Retrieve the properties of a collection of servicePrincipalRiskDetection objects.
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns a RequestInformation
37
+ */
38
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ServicePrincipalRiskDetectionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
+ /**
40
+ * Create new navigation property to servicePrincipalRiskDetections for identityProtection
41
+ * @param body The request body
42
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
+ * @returns a RequestInformation
44
+ */
45
+ toPostRequestInformation(body: ServicePrincipalRiskDetection, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
+ }
47
+ /**
48
+ * Retrieve the properties of a collection of servicePrincipalRiskDetection objects.
49
+ */
50
+ export interface ServicePrincipalRiskDetectionsRequestBuilderGetQueryParameters {
51
+ /**
52
+ * Include count of items
53
+ */
54
+ count?: boolean;
55
+ /**
56
+ * Expand related entities
57
+ */
58
+ expand?: string[];
59
+ /**
60
+ * Filter items by property values
61
+ */
62
+ filter?: string;
63
+ /**
64
+ * Order items by property values
65
+ */
66
+ orderby?: string[];
67
+ /**
68
+ * Search items by search phrases
69
+ */
70
+ search?: string;
71
+ /**
72
+ * Select properties to be returned
73
+ */
74
+ select?: string[];
75
+ /**
76
+ * Skip the first n items
77
+ */
78
+ skip?: number;
79
+ /**
80
+ * Show only the first n items
81
+ */
82
+ top?: number;
83
+ }
84
+ /**
85
+ * Metadata for all the navigation properties in the request builder.
86
+ */
87
+ export declare const ServicePrincipalRiskDetectionsRequestBuilderNavigationMetadata: Record<Exclude<keyof ServicePrincipalRiskDetectionsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
88
+ /**
89
+ * Metadata for all the requests in the request builder.
90
+ */
91
+ export declare const ServicePrincipalRiskDetectionsRequestBuilderRequestsMetadata: RequestsMetadata;
92
+ /**
93
+ * Uri template for the request builder.
94
+ */
95
+ export declare const ServicePrincipalRiskDetectionsRequestBuilderUriTemplate = "{+baseurl}/identityProtection/servicePrincipalRiskDetections{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
96
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkL,KAAK,6BAA6B,EAAE,KAAK,+CAA+C,EAAE,MAAM,gCAAgC,CAAC;AAE1T,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA+H,KAAK,+CAA+C,EAAE,MAAM,SAAS,CAAC;AAC5M,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,4CAA6C,SAAQ,kBAAkB,CAAC,4CAA4C,CAAC;IAClI;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,iCAAiC,CAAC,+BAA+B,EAAE,MAAM,GAAI,+CAA+C,CAAC;IAC9H;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,8DAA8D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,+CAA+C,GAAG,SAAS,CAAC,CAAC;IACrM;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IACjK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,8DAA8D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACvK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxJ;AACD;;GAEG;AACH,MAAM,WAAW,8DAA8D;IAC3E;;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,8DAA8D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4CAA4C,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUtM,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4DAA4D,EAAE,gBAuB1E,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uDAAuD,8IAA8I,CAAC"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServicePrincipalRiskDetectionsRequestBuilderUriTemplate = exports.ServicePrincipalRiskDetectionsRequestBuilderRequestsMetadata = exports.ServicePrincipalRiskDetectionsRequestBuilderNavigationMetadata = 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 ServicePrincipalRiskDetectionsRequestBuilderGetQueryParametersMapper = {
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.ServicePrincipalRiskDetectionsRequestBuilderNavigationMetadata = {
28
+ byServicePrincipalRiskDetectionId: {
29
+ uriTemplate: item_1.ServicePrincipalRiskDetectionItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.ServicePrincipalRiskDetectionItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["servicePrincipalRiskDetection%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.ServicePrincipalRiskDetectionsRequestBuilderRequestsMetadata = {
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.createServicePrincipalRiskDetectionCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: ServicePrincipalRiskDetectionsRequestBuilderGetQueryParametersMapper,
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.createServicePrincipalRiskDetectionFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: models_1.serializeServicePrincipalRiskDetection,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ exports.ServicePrincipalRiskDetectionsRequestBuilderUriTemplate = "{+baseurl}/identityProtection/servicePrincipalRiskDetections{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
+ /* tslint:enable */
70
+ /* eslint-enable */
@@ -0,0 +1,67 @@
1
+ import { type ServicePrincipalRiskDetection } 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 servicePrincipalRiskDetections property of the microsoft.graph.identityProtectionRoot entity.
5
+ */
6
+ export interface ServicePrincipalRiskDetectionItemRequestBuilder extends BaseRequestBuilder<ServicePrincipalRiskDetectionItemRequestBuilder> {
7
+ /**
8
+ * Delete navigation property servicePrincipalRiskDetections 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
+ * Read the properties and relationships of a servicePrincipalRiskDetection object.
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a Promise of ServicePrincipalRiskDetection
16
+ * @see {@link https://learn.microsoft.com/graph/api/serviceprincipalriskdetection-get?view=graph-rest-1.0|Find more info here}
17
+ */
18
+ get(requestConfiguration?: RequestConfiguration<ServicePrincipalRiskDetectionItemRequestBuilderGetQueryParameters> | undefined): Promise<ServicePrincipalRiskDetection | undefined>;
19
+ /**
20
+ * Update the navigation property servicePrincipalRiskDetections in identityProtection
21
+ * @param body The request body
22
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
+ * @returns a Promise of ServicePrincipalRiskDetection
24
+ */
25
+ patch(body: ServicePrincipalRiskDetection, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ServicePrincipalRiskDetection | undefined>;
26
+ /**
27
+ * Delete navigation property servicePrincipalRiskDetections for identityProtection
28
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
+ * @returns a RequestInformation
30
+ */
31
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
32
+ /**
33
+ * Read the properties and relationships of a servicePrincipalRiskDetection object.
34
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
+ * @returns a RequestInformation
36
+ */
37
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ServicePrincipalRiskDetectionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
+ /**
39
+ * Update the navigation property servicePrincipalRiskDetections in identityProtection
40
+ * @param body The request body
41
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
+ * @returns a RequestInformation
43
+ */
44
+ toPatchRequestInformation(body: ServicePrincipalRiskDetection, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
+ }
46
+ /**
47
+ * Read the properties and relationships of a servicePrincipalRiskDetection object.
48
+ */
49
+ export interface ServicePrincipalRiskDetectionItemRequestBuilderGetQueryParameters {
50
+ /**
51
+ * Expand related entities
52
+ */
53
+ expand?: string[];
54
+ /**
55
+ * Select properties to be returned
56
+ */
57
+ select?: string[];
58
+ }
59
+ /**
60
+ * Metadata for all the requests in the request builder.
61
+ */
62
+ export declare const ServicePrincipalRiskDetectionItemRequestBuilderRequestsMetadata: RequestsMetadata;
63
+ /**
64
+ * Uri template for the request builder.
65
+ */
66
+ export declare const ServicePrincipalRiskDetectionItemRequestBuilderUriTemplate = "{+baseurl}/identityProtection/servicePrincipalRiskDetections/{servicePrincipalRiskDetection%2Did}{?%24select,%24expand}";
67
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqG,KAAK,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAEvL,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,+CAAgD,SAAQ,kBAAkB,CAAC,+CAA+C,CAAC;IACxI;;;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,iEAAiE,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IACtL;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IAClK;;;;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,iEAAiE,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC1K;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzJ;AACD;;GAEG;AACH,MAAM,WAAW,iEAAiE;IAC9E;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,+DAA+D,EAAE,gBA+B7E,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0DAA0D,4HAA4H,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServicePrincipalRiskDetectionItemRequestBuilderUriTemplate = exports.ServicePrincipalRiskDetectionItemRequestBuilderRequestsMetadata = 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 ServicePrincipalRiskDetectionItemRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.ServicePrincipalRiskDetectionItemRequestBuilderRequestsMetadata = {
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.createServicePrincipalRiskDetectionFromDiscriminatorValue,
36
+ queryParametersMapper: ServicePrincipalRiskDetectionItemRequestBuilderGetQueryParametersMapper,
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.createServicePrincipalRiskDetectionFromDiscriminatorValue,
46
+ requestBodyContentType: "application/json",
47
+ requestBodySerializer: models_1.serializeServicePrincipalRiskDetection,
48
+ requestInformationContentSetMethod: "setContentFromParsable",
49
+ },
50
+ };
51
+ /**
52
+ * Uri template for the request builder.
53
+ */
54
+ exports.ServicePrincipalRiskDetectionItemRequestBuilderUriTemplate = "{+baseurl}/identityProtection/servicePrincipalRiskDetections/{servicePrincipalRiskDetection%2Did}{?%24select,%24expand}";
55
+ /* tslint:enable */
56
+ /* eslint-enable */
@@ -0,0 +1,25 @@
1
+ import { type IdentityProtectionRequestBuilder } from './identityProtection/';
2
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestAdapter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * The main entry point of the SDK, exposes the configuration and the fluent API.
5
+ */
6
+ export interface IdentityProtectionServiceClient extends BaseRequestBuilder<IdentityProtectionServiceClient> {
7
+ /**
8
+ * Provides operations to manage the identityProtectionRoot singleton.
9
+ */
10
+ get identityProtection(): IdentityProtectionRequestBuilder;
11
+ }
12
+ /**
13
+ * Instantiates a new IdentityProtectionServiceClient and sets the default values.
14
+ * @param requestAdapter The request adapter to use to execute the requests.
15
+ */
16
+ export declare function createIdentityProtectionServiceClient(requestAdapter: RequestAdapter): IdentityProtectionServiceClient;
17
+ /**
18
+ * Metadata for all the navigation properties in the request builder.
19
+ */
20
+ export declare const IdentityProtectionServiceClientNavigationMetadata: Record<Exclude<keyof IdentityProtectionServiceClient, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
21
+ /**
22
+ * Uri template for the request builder.
23
+ */
24
+ export declare const IdentityProtectionServiceClientUriTemplate = "{+baseurl}";
25
+ //# sourceMappingURL=identityProtectionServiceClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identityProtectionServiceClient.d.ts","sourceRoot":"","sources":["identityProtectionServiceClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqJ,KAAK,gCAAgC,EAAE,MAAM,uBAAuB,CAAC;AACjO,OAAO,EAA8E,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAM3O;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,kBAAkB,IAAI,gCAAgC,CAAC;CAC9D;AACD;;;GAGG;AACH,wBAAgB,qCAAqC,CAAC,cAAc,EAAE,cAAc,mCAenF;AACD;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAM5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,eAAe,CAAC"}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IdentityProtectionServiceClientUriTemplate = exports.IdentityProtectionServiceClientNavigationMetadata = exports.createIdentityProtectionServiceClient = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const identityProtection_1 = require("./identityProtection/");
8
+ const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
9
+ const kiota_serialization_form_1 = require("@microsoft/kiota-serialization-form");
10
+ const kiota_serialization_json_1 = require("@microsoft/kiota-serialization-json");
11
+ const kiota_serialization_multipart_1 = require("@microsoft/kiota-serialization-multipart");
12
+ const kiota_serialization_text_1 = require("@microsoft/kiota-serialization-text");
13
+ /**
14
+ * Instantiates a new IdentityProtectionServiceClient and sets the default values.
15
+ * @param requestAdapter The request adapter to use to execute the requests.
16
+ */
17
+ function createIdentityProtectionServiceClient(requestAdapter) {
18
+ (0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_json_1.JsonSerializationWriterFactory);
19
+ (0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_text_1.TextSerializationWriterFactory);
20
+ (0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_form_1.FormSerializationWriterFactory);
21
+ (0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_multipart_1.MultipartSerializationWriterFactory);
22
+ (0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_json_1.JsonParseNodeFactory);
23
+ (0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_text_1.TextParseNodeFactory);
24
+ (0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_form_1.FormParseNodeFactory);
25
+ if (requestAdapter.baseUrl === undefined || requestAdapter.baseUrl === "") {
26
+ requestAdapter.baseUrl = "https://graph.microsoft.com/v1.0";
27
+ }
28
+ const pathParameters = {
29
+ "baseurl": requestAdapter.baseUrl,
30
+ };
31
+ return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.IdentityProtectionServiceClientUriTemplate, exports.IdentityProtectionServiceClientNavigationMetadata, undefined);
32
+ }
33
+ exports.createIdentityProtectionServiceClient = createIdentityProtectionServiceClient;
34
+ /**
35
+ * Metadata for all the navigation properties in the request builder.
36
+ */
37
+ exports.IdentityProtectionServiceClientNavigationMetadata = {
38
+ identityProtection: {
39
+ uriTemplate: identityProtection_1.IdentityProtectionRequestBuilderUriTemplate,
40
+ requestsMetadata: identityProtection_1.IdentityProtectionRequestBuilderRequestsMetadata,
41
+ navigationMetadata: identityProtection_1.IdentityProtectionRequestBuilderNavigationMetadata,
42
+ },
43
+ };
44
+ /**
45
+ * Uri template for the request builder.
46
+ */
47
+ exports.IdentityProtectionServiceClientUriTemplate = "{+baseurl}";
48
+ /* tslint:enable */
49
+ /* eslint-enable */
package/index.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ import type { IdentityProtectionRequestBuilder } from "./identityProtection";
2
+ declare module "@microsoft/msgraph-sdk" {
3
+ interface GraphServiceClient {
4
+ /**
5
+ * Provides operations to manage the identityProtection singleton.
6
+ */
7
+ get identityProtection(): IdentityProtectionRequestBuilder;
8
+ }
9
+ }
10
+ export * from "./identityProtectionServiceClient";
11
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAG7E,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAU,kBAAkB;QAC1B;;WAEG;QACH,IAAI,kBAAkB,IAAI,gCAAgC,CAAC;KAC5D;CACF;AAED,cAAc,mCAAmC,CAAC"}