@microsoft/msgraph-sdk-security 1.0.0-preview.73 → 1.0.0-preview.75

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 (42) hide show
  1. package/package.json +2 -2
  2. package/security/identities/identityAccounts/count/index.d.ts +41 -0
  3. package/security/identities/identityAccounts/count/index.d.ts.map +1 -0
  4. package/security/identities/identityAccounts/count/index.js +34 -0
  5. package/security/identities/identityAccounts/count/index.js.map +1 -0
  6. package/security/identities/identityAccounts/index.d.ts +98 -0
  7. package/security/identities/identityAccounts/index.d.ts.map +1 -0
  8. package/security/identities/identityAccounts/index.js +71 -0
  9. package/security/identities/identityAccounts/index.js.map +1 -0
  10. package/security/identities/identityAccounts/item/index.d.ts +79 -0
  11. package/security/identities/identityAccounts/item/index.d.ts.map +1 -0
  12. package/security/identities/identityAccounts/item/index.js +66 -0
  13. package/security/identities/identityAccounts/item/index.js.map +1 -0
  14. package/security/identities/identityAccounts/item/microsoftGraphSecurityInvokeAction/index.d.ts +69 -0
  15. package/security/identities/identityAccounts/item/microsoftGraphSecurityInvokeAction/index.d.ts.map +1 -0
  16. package/security/identities/identityAccounts/item/microsoftGraphSecurityInvokeAction/index.js +70 -0
  17. package/security/identities/identityAccounts/item/microsoftGraphSecurityInvokeAction/index.js.map +1 -0
  18. package/security/identities/index.d.ts +15 -0
  19. package/security/identities/index.d.ts.map +1 -1
  20. package/security/identities/index.js +17 -0
  21. package/security/identities/index.js.map +1 -1
  22. package/security/identities/sensorCandidateActivationConfiguration/index.d.ts +70 -0
  23. package/security/identities/sensorCandidateActivationConfiguration/index.d.ts.map +1 -0
  24. package/security/identities/sensorCandidateActivationConfiguration/index.js +56 -0
  25. package/security/identities/sensorCandidateActivationConfiguration/index.js.map +1 -0
  26. package/security/identities/sensorCandidates/count/index.d.ts +41 -0
  27. package/security/identities/sensorCandidates/count/index.d.ts.map +1 -0
  28. package/security/identities/sensorCandidates/count/index.js +34 -0
  29. package/security/identities/sensorCandidates/count/index.js.map +1 -0
  30. package/security/identities/sensorCandidates/index.d.ts +103 -0
  31. package/security/identities/sensorCandidates/index.d.ts.map +1 -0
  32. package/security/identities/sensorCandidates/index.js +75 -0
  33. package/security/identities/sensorCandidates/index.js.map +1 -0
  34. package/security/identities/sensorCandidates/item/index.d.ts +69 -0
  35. package/security/identities/sensorCandidates/item/index.d.ts.map +1 -0
  36. package/security/identities/sensorCandidates/item/index.js +56 -0
  37. package/security/identities/sensorCandidates/item/index.js.map +1 -0
  38. package/security/identities/sensorCandidates/microsoftGraphSecurityActivate/index.d.ts +58 -0
  39. package/security/identities/sensorCandidates/microsoftGraphSecurityActivate/index.d.ts.map +1 -0
  40. package/security/identities/sensorCandidates/microsoftGraphSecurityActivate/index.js +63 -0
  41. package/security/identities/sensorCandidates/microsoftGraphSecurityActivate/index.js.map +1 -0
  42. 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.73",
3
+ "version": "1.0.0-preview.75",
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": "d487021ccefd069db80393cc936b542de6475cb2"
40
+ "gitHead": "3154d1fe7345850a78473ecf3ce8e4b46ca6d975"
41
41
  }
@@ -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/identities/identityAccounts/$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,iFAAiF,CAAC;AAQ7H;;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/identities/identityAccounts/$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,8EAA8E,CAAC;AAC7H;;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,98 @@
1
+ import { type IdentityAccounts, type IdentityAccountsCollectionResponse } from '@microsoft/msgraph-sdk/models/security/index.js';
2
+ import { type CountRequestBuilder } from './count/index.js';
3
+ import { type IdentityAccountsItemRequestBuilder } 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 identityAccounts property of the microsoft.graph.security.identityContainer entity.
7
+ */
8
+ export interface IdentityAccountsRequestBuilder extends BaseRequestBuilder<IdentityAccountsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity.
15
+ * @param identityAccountsId The unique identifier of identityAccounts
16
+ * @returns {IdentityAccountsItemRequestBuilder}
17
+ */
18
+ byIdentityAccountsId(identityAccountsId: string): IdentityAccountsItemRequestBuilder;
19
+ /**
20
+ * Get a list of the identityAccounts objects and their properties.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns {Promise<IdentityAccountsCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
+ * @see {@link https://learn.microsoft.com/graph/api/security-identitycontainer-list-identityaccounts?view=graph-rest-1.0|Find more info here}
25
+ */
26
+ get(requestConfiguration?: RequestConfiguration<IdentityAccountsRequestBuilderGetQueryParameters> | undefined): Promise<IdentityAccountsCollectionResponse | undefined>;
27
+ /**
28
+ * Create new navigation property to identityAccounts for security
29
+ * @param body The request body
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns {Promise<IdentityAccounts>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
33
+ */
34
+ post(body: IdentityAccounts, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<IdentityAccounts | undefined>;
35
+ /**
36
+ * Get a list of the identityAccounts objects and their properties.
37
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
38
+ * @returns {RequestInformation}
39
+ */
40
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<IdentityAccountsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
41
+ /**
42
+ * Create new navigation property to identityAccounts for security
43
+ * @param body The request body
44
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
+ * @returns {RequestInformation}
46
+ */
47
+ toPostRequestInformation(body: IdentityAccounts, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
48
+ }
49
+ /**
50
+ * Get a list of the identityAccounts objects and their properties.
51
+ */
52
+ export interface IdentityAccountsRequestBuilderGetQueryParameters {
53
+ /**
54
+ * Include count of items
55
+ */
56
+ count?: boolean;
57
+ /**
58
+ * Expand related entities
59
+ */
60
+ expand?: string[];
61
+ /**
62
+ * Filter items by property values
63
+ */
64
+ filter?: string;
65
+ /**
66
+ * Order items by property values
67
+ */
68
+ orderby?: string[];
69
+ /**
70
+ * Search items by search phrases
71
+ */
72
+ search?: string;
73
+ /**
74
+ * Select properties to be returned
75
+ */
76
+ select?: string[];
77
+ /**
78
+ * Skip the first n items
79
+ */
80
+ skip?: number;
81
+ /**
82
+ * Show only the first n items
83
+ */
84
+ top?: number;
85
+ }
86
+ /**
87
+ * Uri template for the request builder.
88
+ */
89
+ export declare const IdentityAccountsRequestBuilderUriTemplate = "{+baseurl}/security/identities/identityAccounts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
90
+ /**
91
+ * Metadata for all the navigation properties in the request builder.
92
+ */
93
+ export declare const IdentityAccountsRequestBuilderNavigationMetadata: Record<Exclude<keyof IdentityAccountsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
94
+ /**
95
+ * Metadata for all the requests in the request builder.
96
+ */
97
+ export declare const IdentityAccountsRequestBuilderRequestsMetadata: RequestsMetadata;
98
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAA2I,KAAK,gBAAgB,EAAE,KAAK,kCAAkC,EAAE,MAAM,iDAAiD,CAAC;AAE1Q,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAA4G,KAAK,kCAAkC,EAAE,MAAM,iBAAiB,CAAC;AAEpL,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,8BAA+B,SAAQ,kBAAkB,CAAC,8BAA8B,CAAC;IACtG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,oBAAoB,CAAC,kBAAkB,EAAE,MAAM,GAAI,kCAAkC,CAAC;IACvF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,gDAAgD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kCAAkC,GAAG,SAAS,CAAC,CAAC;IAC1K;;;;;;OA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Value } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ // @ts-ignore
7
+ import { createIdentityAccountsCollectionResponseFromDiscriminatorValue, createIdentityAccountsFromDiscriminatorValue, serializeIdentityAccounts } from '@microsoft/msgraph-sdk/models/security/index.js';
8
+ // @ts-ignore
9
+ import { CountRequestBuilderRequestsMetadata } from './count/index.js';
10
+ // @ts-ignore
11
+ import { IdentityAccountsItemRequestBuilderNavigationMetadata, IdentityAccountsItemRequestBuilderRequestsMetadata } from './item/index.js';
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export const IdentityAccountsRequestBuilderUriTemplate = "{+baseurl}/security/identities/identityAccounts{?%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 IdentityAccountsRequestBuilderGetQueryParametersMapper = {
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 IdentityAccountsRequestBuilderNavigationMetadata = {
33
+ byIdentityAccountsId: {
34
+ requestsMetadata: IdentityAccountsItemRequestBuilderRequestsMetadata,
35
+ navigationMetadata: IdentityAccountsItemRequestBuilderNavigationMetadata,
36
+ pathParametersMappings: ["identityAccounts%2Did"],
37
+ },
38
+ count: {
39
+ requestsMetadata: CountRequestBuilderRequestsMetadata,
40
+ },
41
+ };
42
+ /**
43
+ * Metadata for all the requests in the request builder.
44
+ */
45
+ export const IdentityAccountsRequestBuilderRequestsMetadata = {
46
+ get: {
47
+ uriTemplate: IdentityAccountsRequestBuilderUriTemplate,
48
+ responseBodyContentType: "application/json",
49
+ errorMappings: {
50
+ XXX: createODataErrorFromDiscriminatorValue,
51
+ },
52
+ adapterMethodName: "send",
53
+ responseBodyFactory: createIdentityAccountsCollectionResponseFromDiscriminatorValue,
54
+ queryParametersMapper: IdentityAccountsRequestBuilderGetQueryParametersMapper,
55
+ },
56
+ post: {
57
+ uriTemplate: IdentityAccountsRequestBuilderUriTemplate,
58
+ responseBodyContentType: "application/json",
59
+ errorMappings: {
60
+ XXX: createODataErrorFromDiscriminatorValue,
61
+ },
62
+ adapterMethodName: "send",
63
+ responseBodyFactory: createIdentityAccountsFromDiscriminatorValue,
64
+ requestBodyContentType: "application/json",
65
+ requestBodySerializer: serializeIdentityAccounts,
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,8DAA8D,EAAE,4CAA4C,EAAE,yBAAyB,EAAkE,MAAM,iDAAiD,CAAC;AAC1Q,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,oDAAoD,EAAE,kDAAkD,EAA2C,MAAM,iBAAiB,CAAC;AAqFpL;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,8HAA8H,CAAC;AACxL;;GAEG;AACH,MAAM,sDAAsD,GAA2B;IACnF,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,gDAAgD,GAAkH;IAC3K,oBAAoB,EAAE;QAClB,gBAAgB,EAAE,kDAAkD;QACpE,kBAAkB,EAAE,oDAAoD;QACxE,sBAAsB,EAAE,CAAC,uBAAuB,CAAC;KACpD;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAqB;IAC5E,GAAG,EAAE;QACD,WAAW,EAAE,yCAAyC;QACtD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8DAA8D;QACpF,qBAAqB,EAAE,sDAAsD;KAChF;IACD,IAAI,EAAE;QACF,WAAW,EAAE,yCAAyC;QACtD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,yBAAyB;QAChD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,79 @@
1
+ import { type IdentityAccounts } from '@microsoft/msgraph-sdk/models/security/index.js';
2
+ import { type MicrosoftGraphSecurityInvokeActionRequestBuilder } from './microsoftGraphSecurityInvokeAction/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 identityAccounts property of the microsoft.graph.security.identityContainer entity.
6
+ */
7
+ export interface IdentityAccountsItemRequestBuilder extends BaseRequestBuilder<IdentityAccountsItemRequestBuilder> {
8
+ /**
9
+ * Provides operations to call the invokeAction method.
10
+ */
11
+ get microsoftGraphSecurityInvokeAction(): MicrosoftGraphSecurityInvokeActionRequestBuilder;
12
+ /**
13
+ * Delete navigation property identityAccounts 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 a single identity security account object. This allows retrieving information about available identity accounts.
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {Promise<IdentityAccounts>}
22
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
+ * @see {@link https://learn.microsoft.com/graph/api/security-identityaccounts-get?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<IdentityAccountsItemRequestBuilderGetQueryParameters> | undefined): Promise<IdentityAccounts | undefined>;
26
+ /**
27
+ * Update the navigation property identityAccounts 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<IdentityAccounts>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
32
+ */
33
+ patch(body: IdentityAccounts, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<IdentityAccounts | undefined>;
34
+ /**
35
+ * Delete navigation property identityAccounts 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 a single identity security account object. This allows retrieving information about available identity accounts.
42
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
+ * @returns {RequestInformation}
44
+ */
45
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<IdentityAccountsItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
46
+ /**
47
+ * Update the navigation property identityAccounts 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: IdentityAccounts, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
53
+ }
54
+ /**
55
+ * Read the properties and relationships of a single identity security account object. This allows retrieving information about available identity accounts.
56
+ */
57
+ export interface IdentityAccountsItemRequestBuilderGetQueryParameters {
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 IdentityAccountsItemRequestBuilderUriTemplate = "{+baseurl}/security/identities/identityAccounts/{identityAccounts%2Did}{?%24expand,%24select}";
71
+ /**
72
+ * Metadata for all the navigation properties in the request builder.
73
+ */
74
+ export declare const IdentityAccountsItemRequestBuilderNavigationMetadata: Record<Exclude<keyof IdentityAccountsItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
75
+ /**
76
+ * Metadata for all the requests in the request builder.
77
+ */
78
+ export declare const IdentityAccountsItemRequestBuilderRequestsMetadata: 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,EAA2E,KAAK,gBAAgB,EAAE,MAAM,iDAAiD,CAAC;AAEjK,OAAO,EAAoE,KAAK,gDAAgD,EAAE,MAAM,+CAA+C,CAAC;AAExL,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,kCAAmC,SAAQ,kBAAkB,CAAC,kCAAkC,CAAC;IAC9G;;OAEG;IACH,IAAI,kCAAkC,IAAI,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,CAAC"}
@@ -0,0 +1,66 @@
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 { createIdentityAccountsFromDiscriminatorValue, serializeIdentityAccounts } from '@microsoft/msgraph-sdk/models/security/index.js';
8
+ // @ts-ignore
9
+ import { MicrosoftGraphSecurityInvokeActionRequestBuilderRequestsMetadata } from './microsoftGraphSecurityInvokeAction/index.js';
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ export const IdentityAccountsItemRequestBuilderUriTemplate = "{+baseurl}/security/identities/identityAccounts/{identityAccounts%2Did}{?%24expand,%24select}";
14
+ /**
15
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
16
+ */
17
+ const IdentityAccountsItemRequestBuilderGetQueryParametersMapper = {
18
+ "expand": "%24expand",
19
+ "select": "%24select",
20
+ };
21
+ /**
22
+ * Metadata for all the navigation properties in the request builder.
23
+ */
24
+ export const IdentityAccountsItemRequestBuilderNavigationMetadata = {
25
+ microsoftGraphSecurityInvokeAction: {
26
+ requestsMetadata: MicrosoftGraphSecurityInvokeActionRequestBuilderRequestsMetadata,
27
+ },
28
+ };
29
+ /**
30
+ * Metadata for all the requests in the request builder.
31
+ */
32
+ export const IdentityAccountsItemRequestBuilderRequestsMetadata = {
33
+ delete: {
34
+ uriTemplate: IdentityAccountsItemRequestBuilderUriTemplate,
35
+ responseBodyContentType: "application/json",
36
+ errorMappings: {
37
+ XXX: createODataErrorFromDiscriminatorValue,
38
+ },
39
+ adapterMethodName: "sendNoResponseContent",
40
+ },
41
+ get: {
42
+ uriTemplate: IdentityAccountsItemRequestBuilderUriTemplate,
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ XXX: createODataErrorFromDiscriminatorValue,
46
+ },
47
+ adapterMethodName: "send",
48
+ responseBodyFactory: createIdentityAccountsFromDiscriminatorValue,
49
+ queryParametersMapper: IdentityAccountsItemRequestBuilderGetQueryParametersMapper,
50
+ },
51
+ patch: {
52
+ uriTemplate: IdentityAccountsItemRequestBuilderUriTemplate,
53
+ responseBodyContentType: "application/json",
54
+ errorMappings: {
55
+ XXX: createODataErrorFromDiscriminatorValue,
56
+ },
57
+ adapterMethodName: "send",
58
+ responseBodyFactory: createIdentityAccountsFromDiscriminatorValue,
59
+ requestBodyContentType: "application/json",
60
+ requestBodySerializer: serializeIdentityAccounts,
61
+ requestInformationContentSetMethod: "setContentFromParsable",
62
+ },
63
+ };
64
+ /* tslint:enable */
65
+ /* eslint-enable */
66
+ //# 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,4CAA4C,EAAE,yBAAyB,EAAyB,MAAM,iDAAiD,CAAC;AACjK,aAAa;AACb,OAAO,EAAE,gEAAgE,EAAyD,MAAM,+CAA+C,CAAC;AAmExL;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAG,+FAA+F,CAAC;AAC7J;;GAEG;AACH,MAAM,0DAA0D,GAA2B;IACvF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAsH;IACnL,kCAAkC,EAAE;QAChC,gBAAgB,EAAE,gEAAgE;KACrF;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAqB;IAChF,MAAM,EAAE;QACJ,WAAW,EAAE,6CAA6C;QAC1D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,6CAA6C;QAC1D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,qBAAqB,EAAE,0DAA0D;KACpF;IACD,KAAK,EAAE;QACH,WAAW,EAAE,6CAA6C;QAC1D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,yBAAyB;QAChD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,69 @@
1
+ import { Action, IdentityProvider, type InvokeActionResult } from '@microsoft/msgraph-sdk/models/security/index.js';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns {InvokeActionPostRequestBody}
7
+ */
8
+ export declare function createInvokeActionPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @param InvokeActionPostRequestBody The instance to deserialize into.
12
+ * @returns {Record<string, (node: ParseNode) => void>}
13
+ */
14
+ export declare function deserializeIntoInvokeActionPostRequestBody(invokeActionPostRequestBody?: Partial<InvokeActionPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
15
+ export interface InvokeActionPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
16
+ /**
17
+ * The accountId property
18
+ */
19
+ accountId?: string | null;
20
+ /**
21
+ * The action property
22
+ */
23
+ action?: Action | null;
24
+ /**
25
+ * Stores model information.
26
+ */
27
+ backingStoreEnabled?: boolean | null;
28
+ /**
29
+ * The identityProvider property
30
+ */
31
+ identityProvider?: IdentityProvider | null;
32
+ }
33
+ /**
34
+ * Provides operations to call the invokeAction method.
35
+ */
36
+ export interface MicrosoftGraphSecurityInvokeActionRequestBuilder extends BaseRequestBuilder<MicrosoftGraphSecurityInvokeActionRequestBuilder> {
37
+ /**
38
+ * Perform actions such as revoking accounts and forcing password reset for identity accounts that are observed in Microsoft Defender for Identity. This action allows reading and performing identity security actions on behalf of the signed-in identity.
39
+ * @param body The request body
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns {Promise<InvokeActionResult>}
42
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
43
+ * @see {@link https://learn.microsoft.com/graph/api/security-identityaccounts-invokeaction?view=graph-rest-1.0|Find more info here}
44
+ */
45
+ post(body: InvokeActionPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<InvokeActionResult | undefined>;
46
+ /**
47
+ * Perform actions such as revoking accounts and forcing password reset for identity accounts that are observed in Microsoft Defender for Identity. This action allows reading and performing identity security actions on behalf of the signed-in identity.
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
+ toPostRequestInformation(body: InvokeActionPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
53
+ }
54
+ /**
55
+ * Serializes information the current object
56
+ * @param InvokeActionPostRequestBody The instance to serialize from.
57
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
58
+ * @param writer Serialization writer to use to serialize this model
59
+ */
60
+ export declare function serializeInvokeActionPostRequestBody(writer: SerializationWriter, invokeActionPostRequestBody?: Partial<InvokeActionPostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
61
+ /**
62
+ * Uri template for the request builder.
63
+ */
64
+ export declare const MicrosoftGraphSecurityInvokeActionRequestBuilderUriTemplate = "{+baseurl}/security/identities/identityAccounts/{identityAccounts%2Did}/microsoft.graph.security.invokeAction";
65
+ /**
66
+ * Metadata for all the requests in the request builder.
67
+ */
68
+ export declare const MicrosoftGraphSecurityInvokeActionRequestBuilderRequestsMetadata: RequestsMetadata;
69
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAgE,gBAAgB,EAAuD,KAAK,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AAEvO,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;AAEH,wBAAgB,uDAAuD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAE/K;AACD;;;;GAIG;AAEH,wBAAgB,0CAA0C,CAAC,2BAA2B,GAAE,OAAO,CAAC,2BAA2B,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAOzL;AACD,MAAM,WAAW,2BAA4B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC5F;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAC9C;AACD;;GAEG;AACH,MAAM,WAAW,gDAAiD,SAAQ,kBAAkB,CAAC,gDAAgD,CAAC;IAC1I;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,2BAA2B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IACpJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,2BAA2B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtJ;AACD;;;;;GAKG;AAEH,wBAAgB,oCAAoC,CAAC,MAAM,EAAE,mBAAmB,EAAE,2BAA2B,GAAE,OAAO,CAAC,2BAA2B,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAM7N;AACD;;GAEG;AACH,eAAO,MAAM,2DAA2D,kHAAkH,CAAC;AAC3L;;GAEG;AACH,eAAO,MAAM,gEAAgE,EAAE,gBAa9E,CAAC"}
@@ -0,0 +1,70 @@
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 { ActionObject, createInvokeActionResultFromDiscriminatorValue, IdentityProviderObject } from '@microsoft/msgraph-sdk/models/security/index.js';
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 {InvokeActionPostRequestBody}
12
+ */
13
+ // @ts-ignore
14
+ export function createInvokeActionPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoInvokeActionPostRequestBody;
16
+ }
17
+ /**
18
+ * The deserialization information for the current model
19
+ * @param InvokeActionPostRequestBody The instance to deserialize into.
20
+ * @returns {Record<string, (node: ParseNode) => void>}
21
+ */
22
+ // @ts-ignore
23
+ export function deserializeIntoInvokeActionPostRequestBody(invokeActionPostRequestBody = {}) {
24
+ return {
25
+ "accountId": n => { invokeActionPostRequestBody.accountId = n.getStringValue(); },
26
+ "action": n => { invokeActionPostRequestBody.action = n.getEnumValue(ActionObject); },
27
+ "backingStoreEnabled": n => { invokeActionPostRequestBody.backingStoreEnabled = true; },
28
+ "identityProvider": n => { invokeActionPostRequestBody.identityProvider = n.getEnumValue(IdentityProviderObject); },
29
+ };
30
+ }
31
+ /**
32
+ * Serializes information the current object
33
+ * @param InvokeActionPostRequestBody The instance to serialize from.
34
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
35
+ * @param writer Serialization writer to use to serialize this model
36
+ */
37
+ // @ts-ignore
38
+ export function serializeInvokeActionPostRequestBody(writer, invokeActionPostRequestBody = {}, isSerializingDerivedType = false) {
39
+ if (!invokeActionPostRequestBody || isSerializingDerivedType) {
40
+ return;
41
+ }
42
+ writer.writeStringValue("accountId", invokeActionPostRequestBody.accountId);
43
+ writer.writeEnumValue("action", invokeActionPostRequestBody.action);
44
+ writer.writeEnumValue("identityProvider", invokeActionPostRequestBody.identityProvider);
45
+ writer.writeAdditionalData(invokeActionPostRequestBody.additionalData);
46
+ }
47
+ /**
48
+ * Uri template for the request builder.
49
+ */
50
+ export const MicrosoftGraphSecurityInvokeActionRequestBuilderUriTemplate = "{+baseurl}/security/identities/identityAccounts/{identityAccounts%2Did}/microsoft.graph.security.invokeAction";
51
+ /**
52
+ * Metadata for all the requests in the request builder.
53
+ */
54
+ export const MicrosoftGraphSecurityInvokeActionRequestBuilderRequestsMetadata = {
55
+ post: {
56
+ uriTemplate: MicrosoftGraphSecurityInvokeActionRequestBuilderUriTemplate,
57
+ responseBodyContentType: "application/json",
58
+ errorMappings: {
59
+ XXX: createODataErrorFromDiscriminatorValue,
60
+ },
61
+ adapterMethodName: "send",
62
+ responseBodyFactory: createInvokeActionResultFromDiscriminatorValue,
63
+ requestBodyContentType: "application/json",
64
+ requestBodySerializer: serializeInvokeActionPostRequestBody,
65
+ requestInformationContentSetMethod: "setContentFromParsable",
66
+ },
67
+ };
68
+ /* tslint:enable */
69
+ /* eslint-enable */
70
+ //# 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,EAAU,YAAY,EAAE,8CAA8C,EAAoB,sBAAsB,EAAwD,MAAM,iDAAiD,CAAC;AAIvO;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,uDAAuD,CAAC,SAAgC;IACpG,OAAO,0CAA0C,CAAC;AACtD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,0CAA0C,CAAC,8BAAgF,EAAE;IACzI,OAAO;QACH,WAAW,EAAE,CAAC,CAAC,EAAE,GAAG,2BAA2B,CAAC,SAAS,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QACjF,QAAQ,EAAE,CAAC,CAAC,EAAE,GAAG,2BAA2B,CAAC,MAAM,GAAG,CAAC,CAAC,YAAY,CAAS,YAAY,CAAC,CAAC,CAAC,CAAC;QAC7F,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,2BAA2B,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACvF,kBAAkB,EAAE,CAAC,CAAC,EAAE,GAAG,2BAA2B,CAAC,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAmB,sBAAsB,CAAC,CAAC,CAAC,CAAC;KACxI,CAAA;AACL,CAAC;AAwCD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,oCAAoC,CAAC,MAA2B,EAAE,8BAAuF,EAAE,EAAE,2BAAoC,KAAK;IAClN,IAAI,CAAC,2BAA2B,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IACzE,MAAM,CAAC,gBAAgB,CAAC,WAAW,EAAE,2BAA2B,CAAC,SAAS,CAAC,CAAC;IAC5E,MAAM,CAAC,cAAc,CAAS,QAAQ,EAAE,2BAA2B,CAAC,MAAM,CAAC,CAAC;IAC5E,MAAM,CAAC,cAAc,CAAmB,kBAAkB,EAAE,2BAA2B,CAAC,gBAAgB,CAAC,CAAC;IAC1G,MAAM,CAAC,mBAAmB,CAAC,2BAA2B,CAAC,cAAc,CAAC,CAAC;AAC3E,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,2DAA2D,GAAG,+GAA+G,CAAC;AAC3L;;GAEG;AACH,MAAM,CAAC,MAAM,gEAAgE,GAAqB;IAC9F,IAAI,EAAE;QACF,WAAW,EAAE,2DAA2D;QACxE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,oCAAoC;QAC3D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,5 +1,8 @@
1
1
  import { type IdentityContainer } from '@microsoft/msgraph-sdk/models/security/index.js';
2
2
  import { type HealthIssuesRequestBuilder } from './healthIssues/index.js';
3
+ import { type IdentityAccountsRequestBuilder } from './identityAccounts/index.js';
4
+ import { type SensorCandidateActivationConfigurationRequestBuilder } from './sensorCandidateActivationConfiguration/index.js';
5
+ import { type SensorCandidatesRequestBuilder } from './sensorCandidates/index.js';
3
6
  import { type SensorsRequestBuilder } from './sensors/index.js';
4
7
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
8
  /**
@@ -10,6 +13,18 @@ export interface IdentitiesRequestBuilder extends BaseRequestBuilder<IdentitiesR
10
13
  * Provides operations to manage the healthIssues property of the microsoft.graph.security.identityContainer entity.
11
14
  */
12
15
  get healthIssues(): HealthIssuesRequestBuilder;
16
+ /**
17
+ * Provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity.
18
+ */
19
+ get identityAccounts(): IdentityAccountsRequestBuilder;
20
+ /**
21
+ * Provides operations to manage the sensorCandidateActivationConfiguration property of the microsoft.graph.security.identityContainer entity.
22
+ */
23
+ get sensorCandidateActivationConfiguration(): SensorCandidateActivationConfigurationRequestBuilder;
24
+ /**
25
+ * Provides operations to manage the sensorCandidates property of the microsoft.graph.security.identityContainer entity.
26
+ */
27
+ get sensorCandidates(): SensorCandidatesRequestBuilder;
13
28
  /**
14
29
  * Provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity.
15
30
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAA6E,KAAK,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AAEpK,OAAO,EAA4F,KAAK,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAEpK,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,wBAAyB,SA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