@microsoft/msgraph-sdk-directoryroles 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.
- package/LICENSE +21 -0
- package/README.md +11 -0
- package/directoryRoles/count/index.d.ts +40 -0
- package/directoryRoles/count/index.d.ts.map +1 -0
- package/directoryRoles/count/index.js +35 -0
- package/directoryRoles/delta/index.d.ts +83 -0
- package/directoryRoles/delta/index.d.ts.map +1 -0
- package/directoryRoles/delta/index.js +67 -0
- package/directoryRoles/getAvailableExtensionProperties/index.d.ts +83 -0
- package/directoryRoles/getAvailableExtensionProperties/index.d.ts.map +1 -0
- package/directoryRoles/getAvailableExtensionProperties/index.js +86 -0
- package/directoryRoles/getByIds/index.d.ts +87 -0
- package/directoryRoles/getByIds/index.d.ts.map +1 -0
- package/directoryRoles/getByIds/index.js +88 -0
- package/directoryRoles/index.d.ts +113 -0
- package/directoryRoles/index.d.ts.map +1 -0
- package/directoryRoles/index.js +90 -0
- package/directoryRoles/item/checkMemberGroups/index.d.ts +83 -0
- package/directoryRoles/item/checkMemberGroups/index.d.ts.map +1 -0
- package/directoryRoles/item/checkMemberGroups/index.js +86 -0
- package/directoryRoles/item/checkMemberObjects/index.d.ts +82 -0
- package/directoryRoles/item/checkMemberObjects/index.d.ts.map +1 -0
- package/directoryRoles/item/checkMemberObjects/index.js +86 -0
- package/directoryRoles/item/getMemberGroups/index.d.ts +83 -0
- package/directoryRoles/item/getMemberGroups/index.d.ts.map +1 -0
- package/directoryRoles/item/getMemberGroups/index.js +86 -0
- package/directoryRoles/item/getMemberObjects/index.d.ts +83 -0
- package/directoryRoles/item/getMemberObjects/index.d.ts.map +1 -0
- package/directoryRoles/item/getMemberObjects/index.js +86 -0
- package/directoryRoles/item/index.d.ts +106 -0
- package/directoryRoles/item/index.d.ts.map +1 -0
- package/directoryRoles/item/index.js +98 -0
- package/directoryRoles/item/members/count/index.d.ts +40 -0
- package/directoryRoles/item/members/count/index.d.ts.map +1 -0
- package/directoryRoles/item/members/count/index.js +35 -0
- package/directoryRoles/item/members/graphApplication/count/index.d.ts +40 -0
- package/directoryRoles/item/members/graphApplication/count/index.d.ts.map +1 -0
- package/directoryRoles/item/members/graphApplication/count/index.js +35 -0
- package/directoryRoles/item/members/graphApplication/index.d.ts +74 -0
- package/directoryRoles/item/members/graphApplication/index.d.ts.map +1 -0
- package/directoryRoles/item/members/graphApplication/index.js +52 -0
- package/directoryRoles/item/members/graphDevice/count/index.d.ts +40 -0
- package/directoryRoles/item/members/graphDevice/count/index.d.ts.map +1 -0
- package/directoryRoles/item/members/graphDevice/count/index.js +35 -0
- package/directoryRoles/item/members/graphDevice/index.d.ts +74 -0
- package/directoryRoles/item/members/graphDevice/index.d.ts.map +1 -0
- package/directoryRoles/item/members/graphDevice/index.js +52 -0
- package/directoryRoles/item/members/graphGroup/count/index.d.ts +40 -0
- package/directoryRoles/item/members/graphGroup/count/index.d.ts.map +1 -0
- package/directoryRoles/item/members/graphGroup/count/index.js +35 -0
- package/directoryRoles/item/members/graphGroup/index.d.ts +74 -0
- package/directoryRoles/item/members/graphGroup/index.d.ts.map +1 -0
- package/directoryRoles/item/members/graphGroup/index.js +52 -0
- package/directoryRoles/item/members/graphOrgContact/count/index.d.ts +40 -0
- package/directoryRoles/item/members/graphOrgContact/count/index.d.ts.map +1 -0
- package/directoryRoles/item/members/graphOrgContact/count/index.js +35 -0
- package/directoryRoles/item/members/graphOrgContact/index.d.ts +74 -0
- package/directoryRoles/item/members/graphOrgContact/index.d.ts.map +1 -0
- package/directoryRoles/item/members/graphOrgContact/index.js +52 -0
- package/directoryRoles/item/members/graphServicePrincipal/count/index.d.ts +40 -0
- package/directoryRoles/item/members/graphServicePrincipal/count/index.d.ts.map +1 -0
- package/directoryRoles/item/members/graphServicePrincipal/count/index.js +35 -0
- package/directoryRoles/item/members/graphServicePrincipal/index.d.ts +74 -0
- package/directoryRoles/item/members/graphServicePrincipal/index.d.ts.map +1 -0
- package/directoryRoles/item/members/graphServicePrincipal/index.js +52 -0
- package/directoryRoles/item/members/graphUser/count/index.d.ts +40 -0
- package/directoryRoles/item/members/graphUser/count/index.d.ts.map +1 -0
- package/directoryRoles/item/members/graphUser/count/index.js +35 -0
- package/directoryRoles/item/members/graphUser/index.d.ts +74 -0
- package/directoryRoles/item/members/graphUser/index.d.ts.map +1 -0
- package/directoryRoles/item/members/graphUser/index.js +52 -0
- package/directoryRoles/item/members/index.d.ts +117 -0
- package/directoryRoles/item/members/index.d.ts.map +1 -0
- package/directoryRoles/item/members/index.js +99 -0
- package/directoryRoles/item/members/item/graphApplication/index.d.ts +41 -0
- package/directoryRoles/item/members/item/graphApplication/index.d.ts.map +1 -0
- package/directoryRoles/item/members/item/graphApplication/index.js +36 -0
- package/directoryRoles/item/members/item/graphDevice/index.d.ts +41 -0
- package/directoryRoles/item/members/item/graphDevice/index.d.ts.map +1 -0
- package/directoryRoles/item/members/item/graphDevice/index.js +36 -0
- package/directoryRoles/item/members/item/graphGroup/index.d.ts +41 -0
- package/directoryRoles/item/members/item/graphGroup/index.d.ts.map +1 -0
- package/directoryRoles/item/members/item/graphGroup/index.js +36 -0
- package/directoryRoles/item/members/item/graphOrgContact/index.d.ts +41 -0
- package/directoryRoles/item/members/item/graphOrgContact/index.d.ts.map +1 -0
- package/directoryRoles/item/members/item/graphOrgContact/index.js +36 -0
- package/directoryRoles/item/members/item/graphServicePrincipal/index.d.ts +41 -0
- package/directoryRoles/item/members/item/graphServicePrincipal/index.d.ts.map +1 -0
- package/directoryRoles/item/members/item/graphServicePrincipal/index.js +36 -0
- package/directoryRoles/item/members/item/graphUser/index.d.ts +41 -0
- package/directoryRoles/item/members/item/graphUser/index.d.ts.map +1 -0
- package/directoryRoles/item/members/item/graphUser/index.js +36 -0
- package/directoryRoles/item/members/item/index.d.ts +50 -0
- package/directoryRoles/item/members/item/index.d.ts.map +1 -0
- package/directoryRoles/item/members/item/index.js +52 -0
- package/directoryRoles/item/members/item/ref/index.d.ts +36 -0
- package/directoryRoles/item/members/item/ref/index.d.ts.map +1 -0
- package/directoryRoles/item/members/item/ref/index.js +33 -0
- package/directoryRoles/item/members/ref/index.d.ts +72 -0
- package/directoryRoles/item/members/ref/index.d.ts.map +1 -0
- package/directoryRoles/item/members/ref/index.js +51 -0
- package/directoryRoles/item/restore/index.d.ts +29 -0
- package/directoryRoles/item/restore/index.d.ts.map +1 -0
- package/directoryRoles/item/restore/index.js +28 -0
- package/directoryRoles/item/scopedMembers/count/index.d.ts +40 -0
- package/directoryRoles/item/scopedMembers/count/index.d.ts.map +1 -0
- package/directoryRoles/item/scopedMembers/count/index.js +35 -0
- package/directoryRoles/item/scopedMembers/index.d.ts +96 -0
- package/directoryRoles/item/scopedMembers/index.d.ts.map +1 -0
- package/directoryRoles/item/scopedMembers/index.js +70 -0
- package/directoryRoles/item/scopedMembers/item/index.d.ts +66 -0
- package/directoryRoles/item/scopedMembers/item/index.d.ts.map +1 -0
- package/directoryRoles/item/scopedMembers/item/index.js +56 -0
- package/directoryRoles/validateProperties/index.d.ts +72 -0
- package/directoryRoles/validateProperties/index.d.ts.map +1 -0
- package/directoryRoles/validateProperties/index.js +64 -0
- package/directoryRolesServiceClient.d.ts +25 -0
- package/directoryRolesServiceClient.d.ts.map +1 -0
- package/directoryRolesServiceClient.js +49 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type ApplicationCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Casts the previous resource to application.
|
|
6
|
+
*/
|
|
7
|
+
export interface GraphApplicationRequestBuilder extends BaseRequestBuilder<GraphApplicationRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to count the resources in the collection.
|
|
10
|
+
*/
|
|
11
|
+
get count(): CountRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of ApplicationCollectionResponse
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<GraphApplicationRequestBuilderGetQueryParameters> | undefined): Promise<ApplicationCollectionResponse | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns a RequestInformation
|
|
22
|
+
*/
|
|
23
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphApplicationRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection
|
|
27
|
+
*/
|
|
28
|
+
export interface GraphApplicationRequestBuilderGetQueryParameters {
|
|
29
|
+
/**
|
|
30
|
+
* Include count of items
|
|
31
|
+
*/
|
|
32
|
+
count?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Expand related entities
|
|
35
|
+
*/
|
|
36
|
+
expand?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Filter items by property values
|
|
39
|
+
*/
|
|
40
|
+
filter?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Order items by property values
|
|
43
|
+
*/
|
|
44
|
+
orderby?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* Search items by search phrases
|
|
47
|
+
*/
|
|
48
|
+
search?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Select properties to be returned
|
|
51
|
+
*/
|
|
52
|
+
select?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Skip the first n items
|
|
55
|
+
*/
|
|
56
|
+
skip?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Show only the first n items
|
|
59
|
+
*/
|
|
60
|
+
top?: number;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Metadata for all the navigation properties in the request builder.
|
|
64
|
+
*/
|
|
65
|
+
export declare const GraphApplicationRequestBuilderNavigationMetadata: Record<Exclude<keyof GraphApplicationRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const GraphApplicationRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
70
|
+
/**
|
|
71
|
+
* Uri template for the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const GraphApplicationRequestBuilderUriTemplate = "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/graph.application{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
74
|
+
//# 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,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAE/I,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,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,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,gDAAgD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IACrK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,gDAAgD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5J;AACD;;GAEG;AACH,MAAM,WAAW,gDAAgD;IAC7D;;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,gDAAgD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,8BAA8B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK1K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBAW5D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,0JAA0J,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GraphApplicationRequestBuilderUriTemplate = exports.GraphApplicationRequestBuilderRequestsMetadata = exports.GraphApplicationRequestBuilderNavigationMetadata = 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
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const GraphApplicationRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"count": "%24count",
|
|
15
|
+
"expand": "%24expand",
|
|
16
|
+
"filter": "%24filter",
|
|
17
|
+
"orderby": "%24orderby",
|
|
18
|
+
"search": "%24search",
|
|
19
|
+
"select": "%24select",
|
|
20
|
+
"skip": "%24skip",
|
|
21
|
+
"top": "%24top",
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Metadata for all the navigation properties in the request builder.
|
|
25
|
+
*/
|
|
26
|
+
exports.GraphApplicationRequestBuilderNavigationMetadata = {
|
|
27
|
+
count: {
|
|
28
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
29
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
exports.GraphApplicationRequestBuilderRequestsMetadata = {
|
|
36
|
+
get: {
|
|
37
|
+
responseBodyContentType: "application/json",
|
|
38
|
+
errorMappings: {
|
|
39
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
40
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
41
|
+
},
|
|
42
|
+
adapterMethodName: "sendAsync",
|
|
43
|
+
responseBodyFactory: models_1.createApplicationCollectionResponseFromDiscriminatorValue,
|
|
44
|
+
queryParametersMapper: GraphApplicationRequestBuilderGetQueryParametersMapper,
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Uri template for the request builder.
|
|
49
|
+
*/
|
|
50
|
+
exports.GraphApplicationRequestBuilderUriTemplate = "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/graph.application{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
51
|
+
/* tslint:enable */
|
|
52
|
+
/* 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}/directoryRoles/{directoryRole%2Did}/members/graph.device/$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,qGAAqG,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}/directoryRoles/{directoryRole%2Did}/members/graph.device/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type DeviceCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Casts the previous resource to device.
|
|
6
|
+
*/
|
|
7
|
+
export interface GraphDeviceRequestBuilder extends BaseRequestBuilder<GraphDeviceRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to count the resources in the collection.
|
|
10
|
+
*/
|
|
11
|
+
get count(): CountRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of DeviceCollectionResponse
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<GraphDeviceRequestBuilderGetQueryParameters> | undefined): Promise<DeviceCollectionResponse | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns a RequestInformation
|
|
22
|
+
*/
|
|
23
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphDeviceRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection
|
|
27
|
+
*/
|
|
28
|
+
export interface GraphDeviceRequestBuilderGetQueryParameters {
|
|
29
|
+
/**
|
|
30
|
+
* Include count of items
|
|
31
|
+
*/
|
|
32
|
+
count?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Expand related entities
|
|
35
|
+
*/
|
|
36
|
+
expand?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Filter items by property values
|
|
39
|
+
*/
|
|
40
|
+
filter?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Order items by property values
|
|
43
|
+
*/
|
|
44
|
+
orderby?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* Search items by search phrases
|
|
47
|
+
*/
|
|
48
|
+
search?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Select properties to be returned
|
|
51
|
+
*/
|
|
52
|
+
select?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Skip the first n items
|
|
55
|
+
*/
|
|
56
|
+
skip?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Show only the first n items
|
|
59
|
+
*/
|
|
60
|
+
top?: number;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Metadata for all the navigation properties in the request builder.
|
|
64
|
+
*/
|
|
65
|
+
export declare const GraphDeviceRequestBuilderNavigationMetadata: Record<Exclude<keyof GraphDeviceRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const GraphDeviceRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
70
|
+
/**
|
|
71
|
+
* Uri template for the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const GraphDeviceRequestBuilderUriTemplate = "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/graph.device{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
74
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwD,KAAK,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAErI,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,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,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IAC3J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvJ;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;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,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAWvD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oCAAoC,qJAAqJ,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GraphDeviceRequestBuilderUriTemplate = exports.GraphDeviceRequestBuilderRequestsMetadata = exports.GraphDeviceRequestBuilderNavigationMetadata = 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
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const GraphDeviceRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"count": "%24count",
|
|
15
|
+
"expand": "%24expand",
|
|
16
|
+
"filter": "%24filter",
|
|
17
|
+
"orderby": "%24orderby",
|
|
18
|
+
"search": "%24search",
|
|
19
|
+
"select": "%24select",
|
|
20
|
+
"skip": "%24skip",
|
|
21
|
+
"top": "%24top",
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Metadata for all the navigation properties in the request builder.
|
|
25
|
+
*/
|
|
26
|
+
exports.GraphDeviceRequestBuilderNavigationMetadata = {
|
|
27
|
+
count: {
|
|
28
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
29
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
exports.GraphDeviceRequestBuilderRequestsMetadata = {
|
|
36
|
+
get: {
|
|
37
|
+
responseBodyContentType: "application/json",
|
|
38
|
+
errorMappings: {
|
|
39
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
40
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
41
|
+
},
|
|
42
|
+
adapterMethodName: "sendAsync",
|
|
43
|
+
responseBodyFactory: models_1.createDeviceCollectionResponseFromDiscriminatorValue,
|
|
44
|
+
queryParametersMapper: GraphDeviceRequestBuilderGetQueryParametersMapper,
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Uri template for the request builder.
|
|
49
|
+
*/
|
|
50
|
+
exports.GraphDeviceRequestBuilderUriTemplate = "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/graph.device{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
51
|
+
/* tslint:enable */
|
|
52
|
+
/* 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}/directoryRoles/{directoryRole%2Did}/members/graph.group/$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,oGAAoG,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}/directoryRoles/{directoryRole%2Did}/members/graph.group/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type GroupCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Casts the previous resource to group.
|
|
6
|
+
*/
|
|
7
|
+
export interface GraphGroupRequestBuilder extends BaseRequestBuilder<GraphGroupRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to count the resources in the collection.
|
|
10
|
+
*/
|
|
11
|
+
get count(): CountRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of GroupCollectionResponse
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<GraphGroupRequestBuilderGetQueryParameters> | undefined): Promise<GroupCollectionResponse | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns a RequestInformation
|
|
22
|
+
*/
|
|
23
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphGroupRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection
|
|
27
|
+
*/
|
|
28
|
+
export interface GraphGroupRequestBuilderGetQueryParameters {
|
|
29
|
+
/**
|
|
30
|
+
* Include count of items
|
|
31
|
+
*/
|
|
32
|
+
count?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Expand related entities
|
|
35
|
+
*/
|
|
36
|
+
expand?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Filter items by property values
|
|
39
|
+
*/
|
|
40
|
+
filter?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Order items by property values
|
|
43
|
+
*/
|
|
44
|
+
orderby?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* Search items by search phrases
|
|
47
|
+
*/
|
|
48
|
+
search?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Select properties to be returned
|
|
51
|
+
*/
|
|
52
|
+
select?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Skip the first n items
|
|
55
|
+
*/
|
|
56
|
+
skip?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Show only the first n items
|
|
59
|
+
*/
|
|
60
|
+
top?: number;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Metadata for all the navigation properties in the request builder.
|
|
64
|
+
*/
|
|
65
|
+
export declare const GraphGroupRequestBuilderNavigationMetadata: Record<Exclude<keyof GraphGroupRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const GraphGroupRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
70
|
+
/**
|
|
71
|
+
* Uri template for the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const GraphGroupRequestBuilderUriTemplate = "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/graph.group{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
74
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuD,KAAK,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEnI,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,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,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtJ;AACD;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;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,0CAA0C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK9J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAWtD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,oJAAoJ,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GraphGroupRequestBuilderUriTemplate = exports.GraphGroupRequestBuilderRequestsMetadata = exports.GraphGroupRequestBuilderNavigationMetadata = 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
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const GraphGroupRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"count": "%24count",
|
|
15
|
+
"expand": "%24expand",
|
|
16
|
+
"filter": "%24filter",
|
|
17
|
+
"orderby": "%24orderby",
|
|
18
|
+
"search": "%24search",
|
|
19
|
+
"select": "%24select",
|
|
20
|
+
"skip": "%24skip",
|
|
21
|
+
"top": "%24top",
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Metadata for all the navigation properties in the request builder.
|
|
25
|
+
*/
|
|
26
|
+
exports.GraphGroupRequestBuilderNavigationMetadata = {
|
|
27
|
+
count: {
|
|
28
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
29
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
exports.GraphGroupRequestBuilderRequestsMetadata = {
|
|
36
|
+
get: {
|
|
37
|
+
responseBodyContentType: "application/json",
|
|
38
|
+
errorMappings: {
|
|
39
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
40
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
41
|
+
},
|
|
42
|
+
adapterMethodName: "sendAsync",
|
|
43
|
+
responseBodyFactory: models_1.createGroupCollectionResponseFromDiscriminatorValue,
|
|
44
|
+
queryParametersMapper: GraphGroupRequestBuilderGetQueryParametersMapper,
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Uri template for the request builder.
|
|
49
|
+
*/
|
|
50
|
+
exports.GraphGroupRequestBuilderUriTemplate = "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/graph.group{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
51
|
+
/* tslint:enable */
|
|
52
|
+
/* 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}/directoryRoles/{directoryRole%2Did}/members/graph.orgContact/$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,yGAAyG,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}/directoryRoles/{directoryRole%2Did}/members/graph.orgContact/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|