@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,126 @@
|
|
|
1
|
+
import { type OrgContact } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CheckMemberGroupsRequestBuilder } from './checkMemberGroups/';
|
|
3
|
+
import { type CheckMemberObjectsRequestBuilder } from './checkMemberObjects/';
|
|
4
|
+
import { type DirectReportsRequestBuilder } from './directReports/';
|
|
5
|
+
import { type GetMemberGroupsRequestBuilder } from './getMemberGroups/';
|
|
6
|
+
import { type GetMemberObjectsRequestBuilder } from './getMemberObjects/';
|
|
7
|
+
import { type ManagerRequestBuilder } from './manager/';
|
|
8
|
+
import { type MemberOfRequestBuilder } from './memberOf/';
|
|
9
|
+
import { type RestoreRequestBuilder } from './restore/';
|
|
10
|
+
import { type RetryServiceProvisioningRequestBuilder } from './retryServiceProvisioning/';
|
|
11
|
+
import { type ServiceProvisioningErrorsRequestBuilder } from './serviceProvisioningErrors/';
|
|
12
|
+
import { type TransitiveMemberOfRequestBuilder } from './transitiveMemberOf/';
|
|
13
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
14
|
+
/**
|
|
15
|
+
* Provides operations to manage the collection of orgContact entities.
|
|
16
|
+
*/
|
|
17
|
+
export interface OrgContactItemRequestBuilder extends BaseRequestBuilder<OrgContactItemRequestBuilder> {
|
|
18
|
+
/**
|
|
19
|
+
* Provides operations to call the checkMemberGroups method.
|
|
20
|
+
*/
|
|
21
|
+
get checkMemberGroups(): CheckMemberGroupsRequestBuilder;
|
|
22
|
+
/**
|
|
23
|
+
* Provides operations to call the checkMemberObjects method.
|
|
24
|
+
*/
|
|
25
|
+
get checkMemberObjects(): CheckMemberObjectsRequestBuilder;
|
|
26
|
+
/**
|
|
27
|
+
* Provides operations to manage the directReports property of the microsoft.graph.orgContact entity.
|
|
28
|
+
*/
|
|
29
|
+
get directReports(): DirectReportsRequestBuilder;
|
|
30
|
+
/**
|
|
31
|
+
* Provides operations to call the getMemberGroups method.
|
|
32
|
+
*/
|
|
33
|
+
get getMemberGroups(): GetMemberGroupsRequestBuilder;
|
|
34
|
+
/**
|
|
35
|
+
* Provides operations to call the getMemberObjects method.
|
|
36
|
+
*/
|
|
37
|
+
get getMemberObjects(): GetMemberObjectsRequestBuilder;
|
|
38
|
+
/**
|
|
39
|
+
* Provides operations to manage the manager property of the microsoft.graph.orgContact entity.
|
|
40
|
+
*/
|
|
41
|
+
get manager(): ManagerRequestBuilder;
|
|
42
|
+
/**
|
|
43
|
+
* Provides operations to manage the memberOf property of the microsoft.graph.orgContact entity.
|
|
44
|
+
*/
|
|
45
|
+
get memberOf(): MemberOfRequestBuilder;
|
|
46
|
+
/**
|
|
47
|
+
* Provides operations to call the restore method.
|
|
48
|
+
*/
|
|
49
|
+
get restore(): RestoreRequestBuilder;
|
|
50
|
+
/**
|
|
51
|
+
* Provides operations to call the retryServiceProvisioning method.
|
|
52
|
+
*/
|
|
53
|
+
get retryServiceProvisioning(): RetryServiceProvisioningRequestBuilder;
|
|
54
|
+
/**
|
|
55
|
+
* The serviceProvisioningErrors property
|
|
56
|
+
*/
|
|
57
|
+
get serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder;
|
|
58
|
+
/**
|
|
59
|
+
* Provides operations to manage the transitiveMemberOf property of the microsoft.graph.orgContact entity.
|
|
60
|
+
*/
|
|
61
|
+
get transitiveMemberOf(): TransitiveMemberOfRequestBuilder;
|
|
62
|
+
/**
|
|
63
|
+
* Delete entity from contacts
|
|
64
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
65
|
+
*/
|
|
66
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
67
|
+
/**
|
|
68
|
+
* Get the properties and relationships of an organizational contact.
|
|
69
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
70
|
+
* @returns a Promise of OrgContact
|
|
71
|
+
* @see {@link https://learn.microsoft.com/graph/api/orgcontact-get?view=graph-rest-1.0|Find more info here}
|
|
72
|
+
*/
|
|
73
|
+
get(requestConfiguration?: RequestConfiguration<OrgContactItemRequestBuilderGetQueryParameters> | undefined): Promise<OrgContact | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* Update entity in contacts
|
|
76
|
+
* @param body The request body
|
|
77
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
78
|
+
* @returns a Promise of OrgContact
|
|
79
|
+
*/
|
|
80
|
+
patch(body: OrgContact, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrgContact | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* Delete entity from contacts
|
|
83
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
84
|
+
* @returns a RequestInformation
|
|
85
|
+
*/
|
|
86
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
87
|
+
/**
|
|
88
|
+
* Get the properties and relationships of an organizational contact.
|
|
89
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
90
|
+
* @returns a RequestInformation
|
|
91
|
+
*/
|
|
92
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<OrgContactItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
93
|
+
/**
|
|
94
|
+
* Update entity in contacts
|
|
95
|
+
* @param body The request body
|
|
96
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
97
|
+
* @returns a RequestInformation
|
|
98
|
+
*/
|
|
99
|
+
toPatchRequestInformation(body: OrgContact, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Get the properties and relationships of an organizational contact.
|
|
103
|
+
*/
|
|
104
|
+
export interface OrgContactItemRequestBuilderGetQueryParameters {
|
|
105
|
+
/**
|
|
106
|
+
* Expand related entities
|
|
107
|
+
*/
|
|
108
|
+
expand?: string[];
|
|
109
|
+
/**
|
|
110
|
+
* Select properties to be returned
|
|
111
|
+
*/
|
|
112
|
+
select?: string[];
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Metadata for all the navigation properties in the request builder.
|
|
116
|
+
*/
|
|
117
|
+
export declare const OrgContactItemRequestBuilderNavigationMetadata: Record<Exclude<keyof OrgContactItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
118
|
+
/**
|
|
119
|
+
* Metadata for all the requests in the request builder.
|
|
120
|
+
*/
|
|
121
|
+
export declare const OrgContactItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
122
|
+
/**
|
|
123
|
+
* Uri template for the request builder.
|
|
124
|
+
*/
|
|
125
|
+
export declare const OrgContactItemRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}{?%24select,%24expand}";
|
|
126
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrgContactItemRequestBuilderUriTemplate = exports.OrgContactItemRequestBuilderRequestsMetadata = exports.OrgContactItemRequestBuilderNavigationMetadata = 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 checkMemberGroups_1 = require("./checkMemberGroups/");
|
|
10
|
+
const checkMemberObjects_1 = require("./checkMemberObjects/");
|
|
11
|
+
const directReports_1 = require("./directReports/");
|
|
12
|
+
const getMemberGroups_1 = require("./getMemberGroups/");
|
|
13
|
+
const getMemberObjects_1 = require("./getMemberObjects/");
|
|
14
|
+
const manager_1 = require("./manager/");
|
|
15
|
+
const memberOf_1 = require("./memberOf/");
|
|
16
|
+
const restore_1 = require("./restore/");
|
|
17
|
+
const retryServiceProvisioning_1 = require("./retryServiceProvisioning/");
|
|
18
|
+
const serviceProvisioningErrors_1 = require("./serviceProvisioningErrors/");
|
|
19
|
+
const transitiveMemberOf_1 = require("./transitiveMemberOf/");
|
|
20
|
+
/**
|
|
21
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
22
|
+
*/
|
|
23
|
+
const OrgContactItemRequestBuilderGetQueryParametersMapper = {
|
|
24
|
+
"expand": "%24expand",
|
|
25
|
+
"select": "%24select",
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Metadata for all the navigation properties in the request builder.
|
|
29
|
+
*/
|
|
30
|
+
exports.OrgContactItemRequestBuilderNavigationMetadata = {
|
|
31
|
+
checkMemberGroups: {
|
|
32
|
+
uriTemplate: checkMemberGroups_1.CheckMemberGroupsRequestBuilderUriTemplate,
|
|
33
|
+
requestsMetadata: checkMemberGroups_1.CheckMemberGroupsRequestBuilderRequestsMetadata,
|
|
34
|
+
},
|
|
35
|
+
checkMemberObjects: {
|
|
36
|
+
uriTemplate: checkMemberObjects_1.CheckMemberObjectsRequestBuilderUriTemplate,
|
|
37
|
+
requestsMetadata: checkMemberObjects_1.CheckMemberObjectsRequestBuilderRequestsMetadata,
|
|
38
|
+
},
|
|
39
|
+
directReports: {
|
|
40
|
+
uriTemplate: directReports_1.DirectReportsRequestBuilderUriTemplate,
|
|
41
|
+
requestsMetadata: directReports_1.DirectReportsRequestBuilderRequestsMetadata,
|
|
42
|
+
navigationMetadata: directReports_1.DirectReportsRequestBuilderNavigationMetadata,
|
|
43
|
+
},
|
|
44
|
+
getMemberGroups: {
|
|
45
|
+
uriTemplate: getMemberGroups_1.GetMemberGroupsRequestBuilderUriTemplate,
|
|
46
|
+
requestsMetadata: getMemberGroups_1.GetMemberGroupsRequestBuilderRequestsMetadata,
|
|
47
|
+
},
|
|
48
|
+
getMemberObjects: {
|
|
49
|
+
uriTemplate: getMemberObjects_1.GetMemberObjectsRequestBuilderUriTemplate,
|
|
50
|
+
requestsMetadata: getMemberObjects_1.GetMemberObjectsRequestBuilderRequestsMetadata,
|
|
51
|
+
},
|
|
52
|
+
manager: {
|
|
53
|
+
uriTemplate: manager_1.ManagerRequestBuilderUriTemplate,
|
|
54
|
+
requestsMetadata: manager_1.ManagerRequestBuilderRequestsMetadata,
|
|
55
|
+
},
|
|
56
|
+
memberOf: {
|
|
57
|
+
uriTemplate: memberOf_1.MemberOfRequestBuilderUriTemplate,
|
|
58
|
+
requestsMetadata: memberOf_1.MemberOfRequestBuilderRequestsMetadata,
|
|
59
|
+
navigationMetadata: memberOf_1.MemberOfRequestBuilderNavigationMetadata,
|
|
60
|
+
},
|
|
61
|
+
restore: {
|
|
62
|
+
uriTemplate: restore_1.RestoreRequestBuilderUriTemplate,
|
|
63
|
+
requestsMetadata: restore_1.RestoreRequestBuilderRequestsMetadata,
|
|
64
|
+
},
|
|
65
|
+
retryServiceProvisioning: {
|
|
66
|
+
uriTemplate: retryServiceProvisioning_1.RetryServiceProvisioningRequestBuilderUriTemplate,
|
|
67
|
+
requestsMetadata: retryServiceProvisioning_1.RetryServiceProvisioningRequestBuilderRequestsMetadata,
|
|
68
|
+
},
|
|
69
|
+
serviceProvisioningErrors: {
|
|
70
|
+
uriTemplate: serviceProvisioningErrors_1.ServiceProvisioningErrorsRequestBuilderUriTemplate,
|
|
71
|
+
requestsMetadata: serviceProvisioningErrors_1.ServiceProvisioningErrorsRequestBuilderRequestsMetadata,
|
|
72
|
+
navigationMetadata: serviceProvisioningErrors_1.ServiceProvisioningErrorsRequestBuilderNavigationMetadata,
|
|
73
|
+
},
|
|
74
|
+
transitiveMemberOf: {
|
|
75
|
+
uriTemplate: transitiveMemberOf_1.TransitiveMemberOfRequestBuilderUriTemplate,
|
|
76
|
+
requestsMetadata: transitiveMemberOf_1.TransitiveMemberOfRequestBuilderRequestsMetadata,
|
|
77
|
+
navigationMetadata: transitiveMemberOf_1.TransitiveMemberOfRequestBuilderNavigationMetadata,
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Metadata for all the requests in the request builder.
|
|
82
|
+
*/
|
|
83
|
+
exports.OrgContactItemRequestBuilderRequestsMetadata = {
|
|
84
|
+
delete: {
|
|
85
|
+
responseBodyContentType: "application/json",
|
|
86
|
+
errorMappings: {
|
|
87
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
88
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
89
|
+
},
|
|
90
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
91
|
+
},
|
|
92
|
+
get: {
|
|
93
|
+
responseBodyContentType: "application/json",
|
|
94
|
+
errorMappings: {
|
|
95
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
96
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
97
|
+
},
|
|
98
|
+
adapterMethodName: "sendAsync",
|
|
99
|
+
responseBodyFactory: models_1.createOrgContactFromDiscriminatorValue,
|
|
100
|
+
queryParametersMapper: OrgContactItemRequestBuilderGetQueryParametersMapper,
|
|
101
|
+
},
|
|
102
|
+
patch: {
|
|
103
|
+
responseBodyContentType: "application/json",
|
|
104
|
+
errorMappings: {
|
|
105
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
106
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
107
|
+
},
|
|
108
|
+
adapterMethodName: "sendAsync",
|
|
109
|
+
responseBodyFactory: models_1.createOrgContactFromDiscriminatorValue,
|
|
110
|
+
requestBodyContentType: "application/json",
|
|
111
|
+
requestBodySerializer: models_1.serializeOrgContact,
|
|
112
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Uri template for the request builder.
|
|
117
|
+
*/
|
|
118
|
+
exports.OrgContactItemRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}{?%24select,%24expand}";
|
|
119
|
+
/* tslint:enable */
|
|
120
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type DirectoryObject } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the manager property of the microsoft.graph.orgContact entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface ManagerRequestBuilder extends BaseRequestBuilder<ManagerRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Get this organizational contact's manager.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns a Promise of DirectoryObject
|
|
11
|
+
* @see {@link https://learn.microsoft.com/graph/api/orgcontact-get-manager?view=graph-rest-1.0|Find more info here}
|
|
12
|
+
*/
|
|
13
|
+
get(requestConfiguration?: RequestConfiguration<ManagerRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryObject | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* Get this organizational contact's manager.
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns a RequestInformation
|
|
18
|
+
*/
|
|
19
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ManagerRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Get this organizational contact's manager.
|
|
23
|
+
*/
|
|
24
|
+
export interface ManagerRequestBuilderGetQueryParameters {
|
|
25
|
+
/**
|
|
26
|
+
* Expand related entities
|
|
27
|
+
*/
|
|
28
|
+
expand?: string[];
|
|
29
|
+
/**
|
|
30
|
+
* Select properties to be returned
|
|
31
|
+
*/
|
|
32
|
+
select?: string[];
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Metadata for all the requests in the request builder.
|
|
36
|
+
*/
|
|
37
|
+
export declare const ManagerRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
38
|
+
/**
|
|
39
|
+
* Uri template for the request builder.
|
|
40
|
+
*/
|
|
41
|
+
export declare const ManagerRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/manager{?%24select,%24expand}";
|
|
42
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC9I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAWnD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,wEAAwE,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ManagerRequestBuilderUriTemplate = exports.ManagerRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
|
+
*/
|
|
12
|
+
const ManagerRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.ManagerRequestBuilderRequestsMetadata = {
|
|
20
|
+
get: {
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
errorMappings: {
|
|
23
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
adapterMethodName: "sendAsync",
|
|
27
|
+
responseBodyFactory: models_1.createDirectoryObjectFromDiscriminatorValue,
|
|
28
|
+
queryParametersMapper: ManagerRequestBuilderGetQueryParametersMapper,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Uri template for the request builder.
|
|
33
|
+
*/
|
|
34
|
+
exports.ManagerRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/manager{?%24select,%24expand}";
|
|
35
|
+
/* tslint:enable */
|
|
36
|
+
/* 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}/memberOf/$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,gFAAgF,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}/memberOf/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* 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}/memberOf/graph.administrativeUnit/$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}/contacts/{orgContact%2Did}/memberOf/graph.administrativeUnit/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type AdministrativeUnitCollectionResponse } 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 administrativeUnit.
|
|
6
|
+
*/
|
|
7
|
+
export interface GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder<GraphAdministrativeUnitRequestBuilder> {
|
|
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.administrativeUnit 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 AdministrativeUnitCollectionResponse
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<GraphAdministrativeUnitRequestBuilderGetQueryParameters> | undefined): Promise<AdministrativeUnitCollectionResponse | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Get the items of type microsoft.graph.administrativeUnit 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<GraphAdministrativeUnitRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
|
|
27
|
+
*/
|
|
28
|
+
export interface GraphAdministrativeUnitRequestBuilderGetQueryParameters {
|
|
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 GraphAdministrativeUnitRequestBuilderNavigationMetadata: Record<Exclude<keyof GraphAdministrativeUnitRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const GraphAdministrativeUnitRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
70
|
+
/**
|
|
71
|
+
* Uri template for the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const GraphAdministrativeUnitRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/memberOf/graph.administrativeUnit{?%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,EAAoE,KAAK,oCAAoC,EAAE,MAAM,gCAAgC,CAAC;AAE7J,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,qCAAsC,SAAQ,kBAAkB,CAAC,qCAAqC,CAAC;IACpH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uDAAuD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oCAAoC,GAAG,SAAS,CAAC,CAAC;IACnL;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uDAAuD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnK;AACD;;GAEG;AACH,MAAM,WAAW,uDAAuD;IACpE;;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,uDAAuD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qCAAqC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKxL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBAWnE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,yJAAyJ,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GraphAdministrativeUnitRequestBuilderUriTemplate = exports.GraphAdministrativeUnitRequestBuilderRequestsMetadata = exports.GraphAdministrativeUnitRequestBuilderNavigationMetadata = 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 GraphAdministrativeUnitRequestBuilderGetQueryParametersMapper = {
|
|
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.GraphAdministrativeUnitRequestBuilderNavigationMetadata = {
|
|
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.GraphAdministrativeUnitRequestBuilderRequestsMetadata = {
|
|
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.createAdministrativeUnitCollectionResponseFromDiscriminatorValue,
|
|
44
|
+
queryParametersMapper: GraphAdministrativeUnitRequestBuilderGetQueryParametersMapper,
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Uri template for the request builder.
|
|
49
|
+
*/
|
|
50
|
+
exports.GraphAdministrativeUnitRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/memberOf/graph.administrativeUnit{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
51
|
+
/* tslint:enable */
|
|
52
|
+
/* eslint-enable */
|