@microsoft/msgraph-sdk-contacts 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/contacts/count/index.d.ts +40 -0
- package/contacts/count/index.d.ts.map +1 -0
- package/contacts/count/index.js +35 -0
- package/contacts/delta/index.d.ts +83 -0
- package/contacts/delta/index.d.ts.map +1 -0
- package/contacts/delta/index.js +67 -0
- package/contacts/getAvailableExtensionProperties/index.d.ts +83 -0
- package/contacts/getAvailableExtensionProperties/index.d.ts.map +1 -0
- package/contacts/getAvailableExtensionProperties/index.js +86 -0
- package/contacts/getByIds/index.d.ts +87 -0
- package/contacts/getByIds/index.d.ts.map +1 -0
- package/contacts/getByIds/index.js +88 -0
- package/contacts/index.d.ts +116 -0
- package/contacts/index.d.ts.map +1 -0
- package/contacts/index.js +91 -0
- package/contacts/item/checkMemberGroups/index.d.ts +83 -0
- package/contacts/item/checkMemberGroups/index.d.ts.map +1 -0
- package/contacts/item/checkMemberGroups/index.js +86 -0
- package/contacts/item/checkMemberObjects/index.d.ts +82 -0
- package/contacts/item/checkMemberObjects/index.d.ts.map +1 -0
- package/contacts/item/checkMemberObjects/index.js +86 -0
- package/contacts/item/directReports/count/index.d.ts +40 -0
- package/contacts/item/directReports/count/index.d.ts.map +1 -0
- package/contacts/item/directReports/count/index.js +35 -0
- package/contacts/item/directReports/graphOrgContact/count/index.d.ts +40 -0
- package/contacts/item/directReports/graphOrgContact/count/index.d.ts.map +1 -0
- package/contacts/item/directReports/graphOrgContact/count/index.js +35 -0
- package/contacts/item/directReports/graphOrgContact/index.d.ts +74 -0
- package/contacts/item/directReports/graphOrgContact/index.d.ts.map +1 -0
- package/contacts/item/directReports/graphOrgContact/index.js +52 -0
- package/contacts/item/directReports/graphUser/count/index.d.ts +40 -0
- package/contacts/item/directReports/graphUser/count/index.d.ts.map +1 -0
- package/contacts/item/directReports/graphUser/count/index.js +35 -0
- package/contacts/item/directReports/graphUser/index.d.ts +74 -0
- package/contacts/item/directReports/graphUser/index.d.ts.map +1 -0
- package/contacts/item/directReports/graphUser/index.js +52 -0
- package/contacts/item/directReports/index.d.ts +92 -0
- package/contacts/item/directReports/index.d.ts.map +1 -0
- package/contacts/item/directReports/index.js +71 -0
- package/contacts/item/directReports/item/graphOrgContact/index.d.ts +41 -0
- package/contacts/item/directReports/item/graphOrgContact/index.d.ts.map +1 -0
- package/contacts/item/directReports/item/graphOrgContact/index.js +36 -0
- package/contacts/item/directReports/item/graphUser/index.d.ts +41 -0
- package/contacts/item/directReports/item/graphUser/index.d.ts.map +1 -0
- package/contacts/item/directReports/item/graphUser/index.js +36 -0
- package/contacts/item/directReports/item/index.d.ts +55 -0
- package/contacts/item/directReports/item/index.d.ts.map +1 -0
- package/contacts/item/directReports/item/index.js +51 -0
- package/contacts/item/getMemberGroups/index.d.ts +83 -0
- package/contacts/item/getMemberGroups/index.d.ts.map +1 -0
- package/contacts/item/getMemberGroups/index.js +86 -0
- package/contacts/item/getMemberObjects/index.d.ts +83 -0
- package/contacts/item/getMemberObjects/index.d.ts.map +1 -0
- package/contacts/item/getMemberObjects/index.js +86 -0
- package/contacts/item/index.d.ts +126 -0
- package/contacts/item/index.d.ts.map +1 -0
- package/contacts/item/index.js +120 -0
- package/contacts/item/manager/index.d.ts +42 -0
- package/contacts/item/manager/index.d.ts.map +1 -0
- package/contacts/item/manager/index.js +36 -0
- package/contacts/item/memberOf/count/index.d.ts +40 -0
- package/contacts/item/memberOf/count/index.d.ts.map +1 -0
- package/contacts/item/memberOf/count/index.js +35 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/count/index.d.ts +40 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/count/index.d.ts.map +1 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/count/index.js +35 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/index.d.ts +74 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/index.d.ts.map +1 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/index.js +52 -0
- package/contacts/item/memberOf/graphGroup/count/index.d.ts +40 -0
- package/contacts/item/memberOf/graphGroup/count/index.d.ts.map +1 -0
- package/contacts/item/memberOf/graphGroup/count/index.js +35 -0
- package/contacts/item/memberOf/graphGroup/index.d.ts +74 -0
- package/contacts/item/memberOf/graphGroup/index.d.ts.map +1 -0
- package/contacts/item/memberOf/graphGroup/index.js +52 -0
- package/contacts/item/memberOf/index.d.ts +92 -0
- package/contacts/item/memberOf/index.d.ts.map +1 -0
- package/contacts/item/memberOf/index.js +71 -0
- package/contacts/item/memberOf/item/graphAdministrativeUnit/index.d.ts +41 -0
- package/contacts/item/memberOf/item/graphAdministrativeUnit/index.d.ts.map +1 -0
- package/contacts/item/memberOf/item/graphAdministrativeUnit/index.js +36 -0
- package/contacts/item/memberOf/item/graphGroup/index.d.ts +41 -0
- package/contacts/item/memberOf/item/graphGroup/index.d.ts.map +1 -0
- package/contacts/item/memberOf/item/graphGroup/index.js +36 -0
- package/contacts/item/memberOf/item/index.d.ts +55 -0
- package/contacts/item/memberOf/item/index.d.ts.map +1 -0
- package/contacts/item/memberOf/item/index.js +51 -0
- package/contacts/item/restore/index.d.ts +29 -0
- package/contacts/item/restore/index.d.ts.map +1 -0
- package/contacts/item/restore/index.js +28 -0
- package/contacts/item/retryServiceProvisioning/index.d.ts +26 -0
- package/contacts/item/retryServiceProvisioning/index.d.ts.map +1 -0
- package/contacts/item/retryServiceProvisioning/index.js +26 -0
- package/contacts/item/serviceProvisioningErrors/count/index.d.ts +40 -0
- package/contacts/item/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/contacts/item/serviceProvisioningErrors/count/index.js +35 -0
- package/contacts/item/serviceProvisioningErrors/index.d.ts +74 -0
- package/contacts/item/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/contacts/item/serviceProvisioningErrors/index.js +52 -0
- package/contacts/item/transitiveMemberOf/count/index.d.ts +40 -0
- package/contacts/item/transitiveMemberOf/count/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/count/index.js +35 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.d.ts +40 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.js +35 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.d.ts +74 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.js +52 -0
- package/contacts/item/transitiveMemberOf/graphGroup/count/index.d.ts +40 -0
- package/contacts/item/transitiveMemberOf/graphGroup/count/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/graphGroup/count/index.js +35 -0
- package/contacts/item/transitiveMemberOf/graphGroup/index.d.ts +74 -0
- package/contacts/item/transitiveMemberOf/graphGroup/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/graphGroup/index.js +52 -0
- package/contacts/item/transitiveMemberOf/index.d.ts +92 -0
- package/contacts/item/transitiveMemberOf/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/index.js +71 -0
- package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.d.ts +41 -0
- package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.js +36 -0
- package/contacts/item/transitiveMemberOf/item/graphGroup/index.d.ts +41 -0
- package/contacts/item/transitiveMemberOf/item/graphGroup/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/item/graphGroup/index.js +36 -0
- package/contacts/item/transitiveMemberOf/item/index.d.ts +55 -0
- package/contacts/item/transitiveMemberOf/item/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/item/index.js +51 -0
- package/contacts/validateProperties/index.d.ts +72 -0
- package/contacts/validateProperties/index.d.ts.map +1 -0
- package/contacts/validateProperties/index.js +64 -0
- package/contactsServiceClient.d.ts +25 -0
- package/contactsServiceClient.d.ts.map +1 -0
- package/contactsServiceClient.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,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}/contacts/{orgContact%2Did}/directReports/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,sGAAsG,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}/contacts/{orgContact%2Did}/directReports/graph.orgContact/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type OrgContactCollectionResponse } 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 orgContact.
|
|
6
|
+
*/
|
|
7
|
+
export interface GraphOrgContactRequestBuilder extends BaseRequestBuilder<GraphOrgContactRequestBuilder> {
|
|
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.orgContact 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 OrgContactCollectionResponse
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<GraphOrgContactRequestBuilderGetQueryParameters> | undefined): Promise<OrgContactCollectionResponse | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Get the items of type microsoft.graph.orgContact 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<GraphOrgContactRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection
|
|
27
|
+
*/
|
|
28
|
+
export interface GraphOrgContactRequestBuilderGetQueryParameters {
|
|
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 GraphOrgContactRequestBuilderNavigationMetadata: Record<Exclude<keyof GraphOrgContactRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const GraphOrgContactRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
70
|
+
/**
|
|
71
|
+
* Uri template for the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const GraphOrgContactRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/graph.orgContact{?%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,EAA4D,KAAK,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE7I,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,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,4BAA4B,GAAG,SAAS,CAAC,CAAC;IACnK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3J;AACD;;GAEG;AACH,MAAM,WAAW,+CAA+C;IAC5D;;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,+CAA+C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,6BAA6B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKxK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAW3D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,sJAAsJ,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GraphOrgContactRequestBuilderUriTemplate = exports.GraphOrgContactRequestBuilderRequestsMetadata = exports.GraphOrgContactRequestBuilderNavigationMetadata = 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 GraphOrgContactRequestBuilderGetQueryParametersMapper = {
|
|
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.GraphOrgContactRequestBuilderNavigationMetadata = {
|
|
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.GraphOrgContactRequestBuilderRequestsMetadata = {
|
|
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.createOrgContactCollectionResponseFromDiscriminatorValue,
|
|
44
|
+
queryParametersMapper: GraphOrgContactRequestBuilderGetQueryParametersMapper,
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Uri template for the request builder.
|
|
49
|
+
*/
|
|
50
|
+
exports.GraphOrgContactRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/graph.orgContact{?%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}/contacts/{orgContact%2Did}/directReports/graph.user/$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,gGAAgG,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}/contacts/{orgContact%2Did}/directReports/graph.user/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type UserCollectionResponse } 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 user.
|
|
6
|
+
*/
|
|
7
|
+
export interface GraphUserRequestBuilder extends BaseRequestBuilder<GraphUserRequestBuilder> {
|
|
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.user 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 UserCollectionResponse
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<GraphUserRequestBuilderGetQueryParameters> | undefined): Promise<UserCollectionResponse | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Get the items of type microsoft.graph.user 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<GraphUserRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection
|
|
27
|
+
*/
|
|
28
|
+
export interface GraphUserRequestBuilderGetQueryParameters {
|
|
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 GraphUserRequestBuilderNavigationMetadata: Record<Exclude<keyof GraphUserRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const GraphUserRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
70
|
+
/**
|
|
71
|
+
* Uri template for the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const GraphUserRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/graph.user{?%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,EAAsD,KAAK,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAEjI,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,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACvJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;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,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAWrD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,gJAAgJ,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GraphUserRequestBuilderUriTemplate = exports.GraphUserRequestBuilderRequestsMetadata = exports.GraphUserRequestBuilderNavigationMetadata = 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 GraphUserRequestBuilderGetQueryParametersMapper = {
|
|
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.GraphUserRequestBuilderNavigationMetadata = {
|
|
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.GraphUserRequestBuilderRequestsMetadata = {
|
|
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.createUserCollectionResponseFromDiscriminatorValue,
|
|
44
|
+
queryParametersMapper: GraphUserRequestBuilderGetQueryParametersMapper,
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Uri template for the request builder.
|
|
49
|
+
*/
|
|
50
|
+
exports.GraphUserRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/graph.user{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
51
|
+
/* tslint:enable */
|
|
52
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { type DirectoryObjectCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type GraphOrgContactRequestBuilder } from './graphOrgContact/';
|
|
4
|
+
import { type GraphUserRequestBuilder } from './graphUser/';
|
|
5
|
+
import { type DirectoryObjectItemRequestBuilder } from './item/';
|
|
6
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
7
|
+
/**
|
|
8
|
+
* Provides operations to manage the directReports property of the microsoft.graph.orgContact entity.
|
|
9
|
+
*/
|
|
10
|
+
export interface DirectReportsRequestBuilder extends BaseRequestBuilder<DirectReportsRequestBuilder> {
|
|
11
|
+
/**
|
|
12
|
+
* Provides operations to count the resources in the collection.
|
|
13
|
+
*/
|
|
14
|
+
get count(): CountRequestBuilder;
|
|
15
|
+
/**
|
|
16
|
+
* Casts the previous resource to orgContact.
|
|
17
|
+
*/
|
|
18
|
+
get graphOrgContact(): GraphOrgContactRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Casts the previous resource to user.
|
|
21
|
+
*/
|
|
22
|
+
get graphUser(): GraphUserRequestBuilder;
|
|
23
|
+
/**
|
|
24
|
+
* Provides operations to manage the directReports property of the microsoft.graph.orgContact entity.
|
|
25
|
+
* @param directoryObjectId The unique identifier of directoryObject
|
|
26
|
+
* @returns a DirectoryObjectItemRequestBuilder
|
|
27
|
+
*/
|
|
28
|
+
byDirectoryObjectId(directoryObjectId: string): DirectoryObjectItemRequestBuilder;
|
|
29
|
+
/**
|
|
30
|
+
* The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand.
|
|
31
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
+
* @returns a Promise of DirectoryObjectCollectionResponse
|
|
33
|
+
* @see {@link https://learn.microsoft.com/graph/api/orgcontact-list-directreports?view=graph-rest-1.0|Find more info here}
|
|
34
|
+
*/
|
|
35
|
+
get(requestConfiguration?: RequestConfiguration<DirectReportsRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryObjectCollectionResponse | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand.
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns a RequestInformation
|
|
40
|
+
*/
|
|
41
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DirectReportsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand.
|
|
45
|
+
*/
|
|
46
|
+
export interface DirectReportsRequestBuilderGetQueryParameters {
|
|
47
|
+
/**
|
|
48
|
+
* Include count of items
|
|
49
|
+
*/
|
|
50
|
+
count?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Expand related entities
|
|
53
|
+
*/
|
|
54
|
+
expand?: string[];
|
|
55
|
+
/**
|
|
56
|
+
* Filter items by property values
|
|
57
|
+
*/
|
|
58
|
+
filter?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Order items by property values
|
|
61
|
+
*/
|
|
62
|
+
orderby?: string[];
|
|
63
|
+
/**
|
|
64
|
+
* Search items by search phrases
|
|
65
|
+
*/
|
|
66
|
+
search?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Select properties to be returned
|
|
69
|
+
*/
|
|
70
|
+
select?: string[];
|
|
71
|
+
/**
|
|
72
|
+
* Skip the first n items
|
|
73
|
+
*/
|
|
74
|
+
skip?: number;
|
|
75
|
+
/**
|
|
76
|
+
* Show only the first n items
|
|
77
|
+
*/
|
|
78
|
+
top?: number;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Metadata for all the navigation properties in the request builder.
|
|
82
|
+
*/
|
|
83
|
+
export declare const DirectReportsRequestBuilderNavigationMetadata: Record<Exclude<keyof DirectReportsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
84
|
+
/**
|
|
85
|
+
* Metadata for all the requests in the request builder.
|
|
86
|
+
*/
|
|
87
|
+
export declare const DirectReportsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
88
|
+
/**
|
|
89
|
+
* Uri template for the request builder.
|
|
90
|
+
*/
|
|
91
|
+
export declare const DirectReportsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
92
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiE,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAEvJ,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA4I,KAAK,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAClN,OAAO,EAA0H,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACpL,OAAO,EAAwJ,KAAK,iCAAiC,EAAE,MAAM,SAAS,CAAC;AACvN,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,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,eAAe,IAAI,6BAA6B,CAAC;IACrD;;OAEG;IACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;IACzC;;;;OAIG;IACF,mBAAmB,CAAC,iBAAiB,EAAE,MAAM,GAAI,iCAAiC,CAAC;IACpF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IACtK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzJ;AACD;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC1D;;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,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAqBpK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAWzD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,qIAAqI,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DirectReportsRequestBuilderUriTemplate = exports.DirectReportsRequestBuilderRequestsMetadata = exports.DirectReportsRequestBuilderNavigationMetadata = 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 graphOrgContact_1 = require("./graphOrgContact/");
|
|
11
|
+
const graphUser_1 = require("./graphUser/");
|
|
12
|
+
const item_1 = require("./item/");
|
|
13
|
+
/**
|
|
14
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
15
|
+
*/
|
|
16
|
+
const DirectReportsRequestBuilderGetQueryParametersMapper = {
|
|
17
|
+
"count": "%24count",
|
|
18
|
+
"expand": "%24expand",
|
|
19
|
+
"filter": "%24filter",
|
|
20
|
+
"orderby": "%24orderby",
|
|
21
|
+
"search": "%24search",
|
|
22
|
+
"select": "%24select",
|
|
23
|
+
"skip": "%24skip",
|
|
24
|
+
"top": "%24top",
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Metadata for all the navigation properties in the request builder.
|
|
28
|
+
*/
|
|
29
|
+
exports.DirectReportsRequestBuilderNavigationMetadata = {
|
|
30
|
+
byDirectoryObjectId: {
|
|
31
|
+
uriTemplate: item_1.DirectoryObjectItemRequestBuilderUriTemplate,
|
|
32
|
+
requestsMetadata: item_1.DirectoryObjectItemRequestBuilderRequestsMetadata,
|
|
33
|
+
navigationMetadata: item_1.DirectoryObjectItemRequestBuilderNavigationMetadata,
|
|
34
|
+
pathParametersMappings: ["directoryObject%2Did"],
|
|
35
|
+
},
|
|
36
|
+
count: {
|
|
37
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
38
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
39
|
+
},
|
|
40
|
+
graphOrgContact: {
|
|
41
|
+
uriTemplate: graphOrgContact_1.GraphOrgContactRequestBuilderUriTemplate,
|
|
42
|
+
requestsMetadata: graphOrgContact_1.GraphOrgContactRequestBuilderRequestsMetadata,
|
|
43
|
+
navigationMetadata: graphOrgContact_1.GraphOrgContactRequestBuilderNavigationMetadata,
|
|
44
|
+
},
|
|
45
|
+
graphUser: {
|
|
46
|
+
uriTemplate: graphUser_1.GraphUserRequestBuilderUriTemplate,
|
|
47
|
+
requestsMetadata: graphUser_1.GraphUserRequestBuilderRequestsMetadata,
|
|
48
|
+
navigationMetadata: graphUser_1.GraphUserRequestBuilderNavigationMetadata,
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Metadata for all the requests in the request builder.
|
|
53
|
+
*/
|
|
54
|
+
exports.DirectReportsRequestBuilderRequestsMetadata = {
|
|
55
|
+
get: {
|
|
56
|
+
responseBodyContentType: "application/json",
|
|
57
|
+
errorMappings: {
|
|
58
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
59
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
60
|
+
},
|
|
61
|
+
adapterMethodName: "sendAsync",
|
|
62
|
+
responseBodyFactory: models_1.createDirectoryObjectCollectionResponseFromDiscriminatorValue,
|
|
63
|
+
queryParametersMapper: DirectReportsRequestBuilderGetQueryParametersMapper,
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.DirectReportsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
70
|
+
/* tslint:enable */
|
|
71
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type OrgContact } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Casts the previous resource to orgContact.
|
|
5
|
+
*/
|
|
6
|
+
export interface GraphOrgContactRequestBuilder extends BaseRequestBuilder<GraphOrgContactRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns a Promise of OrgContact
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<GraphOrgContactRequestBuilderGetQueryParameters> | undefined): Promise<OrgContact | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns a RequestInformation
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphOrgContactRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact
|
|
22
|
+
*/
|
|
23
|
+
export interface GraphOrgContactRequestBuilderGetQueryParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Expand related entities
|
|
26
|
+
*/
|
|
27
|
+
expand?: string[];
|
|
28
|
+
/**
|
|
29
|
+
* Select properties to be returned
|
|
30
|
+
*/
|
|
31
|
+
select?: string[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Metadata for all the requests in the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const GraphOrgContactRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
37
|
+
/**
|
|
38
|
+
* Uri template for the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const GraphOrgContactRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}/graph.orgContact{?%24select,%24expand}";
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0C,KAAK,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAEzG,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC;IACjJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3J;AACD;;GAEG;AACH,MAAM,WAAW,+CAA+C;IAC5D;;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,gBAW3D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,sHAAsH,CAAC"}
|