@microsoft/msgraph-sdk-contacts 1.0.0-preview.13 → 1.0.0-preview.15
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/contacts/count/index.d.ts +7 -6
- package/contacts/count/index.d.ts.map +1 -1
- package/contacts/count/index.js +7 -7
- package/contacts/delta/index.d.ts +9 -8
- package/contacts/delta/index.d.ts.map +1 -1
- package/contacts/delta/index.js +9 -9
- package/contacts/getAvailableExtensionProperties/index.d.ts +11 -10
- package/contacts/getAvailableExtensionProperties/index.d.ts.map +1 -1
- package/contacts/getAvailableExtensionProperties/index.js +11 -11
- package/contacts/getByIds/index.d.ts +11 -10
- package/contacts/getByIds/index.d.ts.map +1 -1
- package/contacts/getByIds/index.js +11 -11
- package/contacts/index.d.ts +11 -9
- package/contacts/index.d.ts.map +1 -1
- package/contacts/index.js +9 -15
- package/contacts/item/checkMemberGroups/index.d.ts +11 -10
- package/contacts/item/checkMemberGroups/index.d.ts.map +1 -1
- package/contacts/item/checkMemberGroups/index.js +11 -11
- package/contacts/item/checkMemberObjects/index.d.ts +11 -10
- package/contacts/item/checkMemberObjects/index.d.ts.map +1 -1
- package/contacts/item/checkMemberObjects/index.js +11 -11
- package/contacts/item/directReports/count/index.d.ts +7 -6
- package/contacts/item/directReports/count/index.d.ts.map +1 -1
- package/contacts/item/directReports/count/index.js +7 -7
- package/contacts/item/directReports/graphOrgContact/count/index.d.ts +7 -6
- package/contacts/item/directReports/graphOrgContact/count/index.d.ts.map +1 -1
- package/contacts/item/directReports/graphOrgContact/count/index.js +7 -7
- package/contacts/item/directReports/graphOrgContact/index.d.ts +7 -6
- package/contacts/item/directReports/graphOrgContact/index.d.ts.map +1 -1
- package/contacts/item/directReports/graphOrgContact/index.js +7 -8
- package/contacts/item/directReports/graphUser/count/index.d.ts +7 -6
- package/contacts/item/directReports/graphUser/count/index.d.ts.map +1 -1
- package/contacts/item/directReports/graphUser/count/index.js +7 -7
- package/contacts/item/directReports/graphUser/index.d.ts +7 -6
- package/contacts/item/directReports/graphUser/index.d.ts.map +1 -1
- package/contacts/item/directReports/graphUser/index.js +7 -8
- package/contacts/item/directReports/index.d.ts +8 -7
- package/contacts/item/directReports/index.d.ts.map +1 -1
- package/contacts/item/directReports/index.js +7 -11
- package/contacts/item/directReports/item/graphOrgContact/index.d.ts +7 -6
- package/contacts/item/directReports/item/graphOrgContact/index.d.ts.map +1 -1
- package/contacts/item/directReports/item/graphOrgContact/index.js +7 -7
- package/contacts/item/directReports/item/graphUser/index.d.ts +7 -6
- package/contacts/item/directReports/item/graphUser/index.d.ts.map +1 -1
- package/contacts/item/directReports/item/graphUser/index.js +7 -7
- package/contacts/item/directReports/item/index.d.ts +7 -6
- package/contacts/item/directReports/item/index.d.ts.map +1 -1
- package/contacts/item/directReports/item/index.js +7 -9
- package/contacts/item/getMemberGroups/index.d.ts +11 -10
- package/contacts/item/getMemberGroups/index.d.ts.map +1 -1
- package/contacts/item/getMemberGroups/index.js +11 -11
- package/contacts/item/getMemberObjects/index.d.ts +11 -10
- package/contacts/item/getMemberObjects/index.d.ts.map +1 -1
- package/contacts/item/getMemberObjects/index.js +11 -11
- package/contacts/item/index.d.ts +12 -9
- package/contacts/item/index.d.ts.map +1 -1
- package/contacts/item/index.js +11 -22
- package/contacts/item/manager/index.d.ts +7 -6
- package/contacts/item/manager/index.d.ts.map +1 -1
- package/contacts/item/manager/index.js +7 -7
- package/contacts/item/memberOf/count/index.d.ts +7 -6
- package/contacts/item/memberOf/count/index.d.ts.map +1 -1
- package/contacts/item/memberOf/count/index.js +7 -7
- package/contacts/item/memberOf/graphAdministrativeUnit/count/index.d.ts +7 -6
- package/contacts/item/memberOf/graphAdministrativeUnit/count/index.d.ts.map +1 -1
- package/contacts/item/memberOf/graphAdministrativeUnit/count/index.js +7 -7
- package/contacts/item/memberOf/graphAdministrativeUnit/index.d.ts +7 -6
- package/contacts/item/memberOf/graphAdministrativeUnit/index.d.ts.map +1 -1
- package/contacts/item/memberOf/graphAdministrativeUnit/index.js +7 -8
- package/contacts/item/memberOf/graphGroup/count/index.d.ts +7 -6
- package/contacts/item/memberOf/graphGroup/count/index.d.ts.map +1 -1
- package/contacts/item/memberOf/graphGroup/count/index.js +7 -7
- package/contacts/item/memberOf/graphGroup/index.d.ts +7 -6
- package/contacts/item/memberOf/graphGroup/index.d.ts.map +1 -1
- package/contacts/item/memberOf/graphGroup/index.js +7 -8
- package/contacts/item/memberOf/index.d.ts +8 -7
- package/contacts/item/memberOf/index.d.ts.map +1 -1
- package/contacts/item/memberOf/index.js +7 -11
- package/contacts/item/memberOf/item/graphAdministrativeUnit/index.d.ts +7 -6
- package/contacts/item/memberOf/item/graphAdministrativeUnit/index.d.ts.map +1 -1
- package/contacts/item/memberOf/item/graphAdministrativeUnit/index.js +7 -7
- package/contacts/item/memberOf/item/graphGroup/index.d.ts +7 -6
- package/contacts/item/memberOf/item/graphGroup/index.d.ts.map +1 -1
- package/contacts/item/memberOf/item/graphGroup/index.js +7 -7
- package/contacts/item/memberOf/item/index.d.ts +7 -6
- package/contacts/item/memberOf/item/index.d.ts.map +1 -1
- package/contacts/item/memberOf/item/index.js +7 -9
- package/contacts/item/restore/index.d.ts +7 -6
- package/contacts/item/restore/index.d.ts.map +1 -1
- package/contacts/item/restore/index.js +7 -7
- package/contacts/item/retryServiceProvisioning/index.d.ts +6 -5
- package/contacts/item/retryServiceProvisioning/index.d.ts.map +1 -1
- package/contacts/item/retryServiceProvisioning/index.js +7 -7
- package/contacts/item/serviceProvisioningErrors/count/index.d.ts +7 -6
- package/contacts/item/serviceProvisioningErrors/count/index.d.ts.map +1 -1
- package/contacts/item/serviceProvisioningErrors/count/index.js +7 -7
- package/contacts/item/serviceProvisioningErrors/index.d.ts +7 -6
- package/contacts/item/serviceProvisioningErrors/index.d.ts.map +1 -1
- package/contacts/item/serviceProvisioningErrors/index.js +7 -8
- package/contacts/item/transitiveMemberOf/count/index.d.ts +7 -6
- package/contacts/item/transitiveMemberOf/count/index.d.ts.map +1 -1
- package/contacts/item/transitiveMemberOf/count/index.js +7 -7
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.d.ts +7 -6
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.d.ts.map +1 -1
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.js +7 -7
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.d.ts +7 -6
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.d.ts.map +1 -1
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.js +7 -8
- package/contacts/item/transitiveMemberOf/graphGroup/count/index.d.ts +7 -6
- package/contacts/item/transitiveMemberOf/graphGroup/count/index.d.ts.map +1 -1
- package/contacts/item/transitiveMemberOf/graphGroup/count/index.js +7 -7
- package/contacts/item/transitiveMemberOf/graphGroup/index.d.ts +7 -6
- package/contacts/item/transitiveMemberOf/graphGroup/index.d.ts.map +1 -1
- package/contacts/item/transitiveMemberOf/graphGroup/index.js +7 -8
- package/contacts/item/transitiveMemberOf/index.d.ts +8 -7
- package/contacts/item/transitiveMemberOf/index.d.ts.map +1 -1
- package/contacts/item/transitiveMemberOf/index.js +7 -11
- package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.d.ts +7 -6
- package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.d.ts.map +1 -1
- package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.js +7 -7
- package/contacts/item/transitiveMemberOf/item/graphGroup/index.d.ts +7 -6
- package/contacts/item/transitiveMemberOf/item/graphGroup/index.d.ts.map +1 -1
- package/contacts/item/transitiveMemberOf/item/graphGroup/index.js +7 -7
- package/contacts/item/transitiveMemberOf/item/index.d.ts +7 -6
- package/contacts/item/transitiveMemberOf/item/index.d.ts.map +1 -1
- package/contacts/item/transitiveMemberOf/item/index.js +7 -9
- package/contacts/validateProperties/index.d.ts +8 -7
- package/contacts/validateProperties/index.d.ts.map +1 -1
- package/contacts/validateProperties/index.js +9 -9
- package/contactsServiceClient.d.ts.map +1 -1
- package/contactsServiceClient.js +1 -2
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -3,23 +3,23 @@ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, t
|
|
|
3
3
|
/**
|
|
4
4
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
5
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
-
* @returns
|
|
6
|
+
* @returns {GetMemberGroupsPostRequestBody}
|
|
7
7
|
*/
|
|
8
8
|
export declare function createGetMemberGroupsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
9
|
/**
|
|
10
10
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
11
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
-
* @returns
|
|
12
|
+
* @returns {GetMemberGroupsPostResponse}
|
|
13
13
|
*/
|
|
14
14
|
export declare function createGetMemberGroupsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
15
15
|
/**
|
|
16
16
|
* The deserialization information for the current model
|
|
17
|
-
* @returns
|
|
17
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
18
18
|
*/
|
|
19
19
|
export declare function deserializeIntoGetMemberGroupsPostRequestBody(getMemberGroupsPostRequestBody?: Partial<GetMemberGroupsPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
20
20
|
/**
|
|
21
21
|
* The deserialization information for the current model
|
|
22
|
-
* @returns
|
|
22
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
23
23
|
*/
|
|
24
24
|
export declare function deserializeIntoGetMemberGroupsPostResponse(getMemberGroupsPostResponse?: Partial<GetMemberGroupsPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
25
25
|
export interface GetMemberGroupsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
@@ -50,7 +50,8 @@ export interface GetMemberGroupsRequestBuilder extends BaseRequestBuilder<GetMem
|
|
|
50
50
|
* Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
|
|
51
51
|
* @param body The request body
|
|
52
52
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
53
|
-
* @returns
|
|
53
|
+
* @returns {Promise<GetMemberGroupsPostResponse>}
|
|
54
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
54
55
|
* @see {@link https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0|Find more info here}
|
|
55
56
|
*/
|
|
56
57
|
post(body: GetMemberGroupsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetMemberGroupsPostResponse | undefined>;
|
|
@@ -58,7 +59,7 @@ export interface GetMemberGroupsRequestBuilder extends BaseRequestBuilder<GetMem
|
|
|
58
59
|
* Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
|
|
59
60
|
* @param body The request body
|
|
60
61
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
61
|
-
* @returns
|
|
62
|
+
* @returns {RequestInformation}
|
|
62
63
|
*/
|
|
63
64
|
toPostRequestInformation(body: GetMemberGroupsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
64
65
|
}
|
|
@@ -72,12 +73,12 @@ export declare function serializeGetMemberGroupsPostRequestBody(writer: Serializ
|
|
|
72
73
|
* @param writer Serialization writer to use to serialize this model
|
|
73
74
|
*/
|
|
74
75
|
export declare function serializeGetMemberGroupsPostResponse(writer: SerializationWriter, getMemberGroupsPostResponse?: Partial<GetMemberGroupsPostResponse> | undefined): void;
|
|
75
|
-
/**
|
|
76
|
-
* Metadata for all the requests in the request builder.
|
|
77
|
-
*/
|
|
78
|
-
export declare const GetMemberGroupsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
79
76
|
/**
|
|
80
77
|
* Uri template for the request builder.
|
|
81
78
|
*/
|
|
82
79
|
export declare const GetMemberGroupsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/getMemberGroups";
|
|
80
|
+
/**
|
|
81
|
+
* Metadata for all the requests in the request builder.
|
|
82
|
+
*/
|
|
83
|
+
export declare const GetMemberGroupsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
83
84
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwG,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAElM,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,0DAA0D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAElL;AACD;;;;GAIG;AACH,wBAAgB,uDAAuD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,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AAI,EAAE,8BAA8B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IAChK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,8BAA8B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzJ;AACD;;;GAGG;AACH,wBAAgB,uCAAuC,CAAC,MAAM,EAAE,mBAAmB,EAAE,8BAA8B,GAAE,OAAO,CAAC,8BAA8B,CAAC,GAAG,SAAc,GAAI,IAAI,CAGpL;AACD;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,MAAM,EAAE,mBAAmB,EAAE,2BAA2B,GAAE,OAAO,CAAC,2BAA2B,CAAC,GAAG,SAAc,GAAI,IAAI,CAG3K;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,0DAA0D,CAAC;AAChH;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAa3D,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GetMemberGroupsRequestBuilderRequestsMetadata = exports.GetMemberGroupsRequestBuilderUriTemplate = exports.serializeGetMemberGroupsPostResponse = exports.serializeGetMemberGroupsPostRequestBody = exports.deserializeIntoGetMemberGroupsPostResponse = exports.deserializeIntoGetMemberGroupsPostRequestBody = exports.createGetMemberGroupsPostResponseFromDiscriminatorValue = exports.createGetMemberGroupsPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
@@ -9,7 +9,7 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
|
9
9
|
/**
|
|
10
10
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
11
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
-
* @returns
|
|
12
|
+
* @returns {GetMemberGroupsPostRequestBody}
|
|
13
13
|
*/
|
|
14
14
|
function createGetMemberGroupsPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
15
|
return deserializeIntoGetMemberGroupsPostRequestBody;
|
|
@@ -18,7 +18,7 @@ exports.createGetMemberGroupsPostRequestBodyFromDiscriminatorValue = createGetMe
|
|
|
18
18
|
/**
|
|
19
19
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
20
20
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
21
|
-
* @returns
|
|
21
|
+
* @returns {GetMemberGroupsPostResponse}
|
|
22
22
|
*/
|
|
23
23
|
function createGetMemberGroupsPostResponseFromDiscriminatorValue(parseNode) {
|
|
24
24
|
return deserializeIntoGetMemberGroupsPostResponse;
|
|
@@ -26,7 +26,7 @@ function createGetMemberGroupsPostResponseFromDiscriminatorValue(parseNode) {
|
|
|
26
26
|
exports.createGetMemberGroupsPostResponseFromDiscriminatorValue = createGetMemberGroupsPostResponseFromDiscriminatorValue;
|
|
27
27
|
/**
|
|
28
28
|
* The deserialization information for the current model
|
|
29
|
-
* @returns
|
|
29
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
30
30
|
*/
|
|
31
31
|
function deserializeIntoGetMemberGroupsPostRequestBody(getMemberGroupsPostRequestBody = {}) {
|
|
32
32
|
return {
|
|
@@ -37,7 +37,7 @@ function deserializeIntoGetMemberGroupsPostRequestBody(getMemberGroupsPostReques
|
|
|
37
37
|
exports.deserializeIntoGetMemberGroupsPostRequestBody = deserializeIntoGetMemberGroupsPostRequestBody;
|
|
38
38
|
/**
|
|
39
39
|
* The deserialization information for the current model
|
|
40
|
-
* @returns
|
|
40
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
41
41
|
*/
|
|
42
42
|
function deserializeIntoGetMemberGroupsPostResponse(getMemberGroupsPostResponse = {}) {
|
|
43
43
|
return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getMemberGroupsPostResponse)), { "value": n => { getMemberGroupsPostResponse.value = n.getCollectionOfPrimitiveValues(); } });
|
|
@@ -61,15 +61,19 @@ function serializeGetMemberGroupsPostResponse(writer, getMemberGroupsPostRespons
|
|
|
61
61
|
writer.writeCollectionOfPrimitiveValues("value", getMemberGroupsPostResponse.value);
|
|
62
62
|
}
|
|
63
63
|
exports.serializeGetMemberGroupsPostResponse = serializeGetMemberGroupsPostResponse;
|
|
64
|
+
/**
|
|
65
|
+
* Uri template for the request builder.
|
|
66
|
+
*/
|
|
67
|
+
exports.GetMemberGroupsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/getMemberGroups";
|
|
64
68
|
/**
|
|
65
69
|
* Metadata for all the requests in the request builder.
|
|
66
70
|
*/
|
|
67
71
|
exports.GetMemberGroupsRequestBuilderRequestsMetadata = {
|
|
68
72
|
post: {
|
|
73
|
+
uriTemplate: exports.GetMemberGroupsRequestBuilderUriTemplate,
|
|
69
74
|
responseBodyContentType: "application/json",
|
|
70
75
|
errorMappings: {
|
|
71
|
-
|
|
72
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
76
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
73
77
|
},
|
|
74
78
|
adapterMethodName: "sendAsync",
|
|
75
79
|
responseBodyFactory: createGetMemberGroupsPostResponseFromDiscriminatorValue,
|
|
@@ -78,9 +82,5 @@ exports.GetMemberGroupsRequestBuilderRequestsMetadata = {
|
|
|
78
82
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
79
83
|
},
|
|
80
84
|
};
|
|
81
|
-
/**
|
|
82
|
-
* Uri template for the request builder.
|
|
83
|
-
*/
|
|
84
|
-
exports.GetMemberGroupsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/getMemberGroups";
|
|
85
85
|
/* tslint:enable */
|
|
86
86
|
/* eslint-enable */
|
|
@@ -3,23 +3,23 @@ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, t
|
|
|
3
3
|
/**
|
|
4
4
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
5
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
-
* @returns
|
|
6
|
+
* @returns {GetMemberObjectsPostRequestBody}
|
|
7
7
|
*/
|
|
8
8
|
export declare function createGetMemberObjectsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
9
|
/**
|
|
10
10
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
11
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
-
* @returns
|
|
12
|
+
* @returns {GetMemberObjectsPostResponse}
|
|
13
13
|
*/
|
|
14
14
|
export declare function createGetMemberObjectsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
15
15
|
/**
|
|
16
16
|
* The deserialization information for the current model
|
|
17
|
-
* @returns
|
|
17
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
18
18
|
*/
|
|
19
19
|
export declare function deserializeIntoGetMemberObjectsPostRequestBody(getMemberObjectsPostRequestBody?: Partial<GetMemberObjectsPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
20
20
|
/**
|
|
21
21
|
* The deserialization information for the current model
|
|
22
|
-
* @returns
|
|
22
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
23
23
|
*/
|
|
24
24
|
export declare function deserializeIntoGetMemberObjectsPostResponse(getMemberObjectsPostResponse?: Partial<GetMemberObjectsPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
25
25
|
export interface GetMemberObjectsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
@@ -50,7 +50,8 @@ export interface GetMemberObjectsRequestBuilder extends BaseRequestBuilder<GetMe
|
|
|
50
50
|
* Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles.
|
|
51
51
|
* @param body The request body
|
|
52
52
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
53
|
-
* @returns
|
|
53
|
+
* @returns {Promise<GetMemberObjectsPostResponse>}
|
|
54
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
54
55
|
* @see {@link https://learn.microsoft.com/graph/api/directoryobject-getmemberobjects?view=graph-rest-1.0|Find more info here}
|
|
55
56
|
*/
|
|
56
57
|
post(body: GetMemberObjectsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetMemberObjectsPostResponse | undefined>;
|
|
@@ -58,7 +59,7 @@ export interface GetMemberObjectsRequestBuilder extends BaseRequestBuilder<GetMe
|
|
|
58
59
|
* Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles.
|
|
59
60
|
* @param body The request body
|
|
60
61
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
61
|
-
* @returns
|
|
62
|
+
* @returns {RequestInformation}
|
|
62
63
|
*/
|
|
63
64
|
toPostRequestInformation(body: GetMemberObjectsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
64
65
|
}
|
|
@@ -72,12 +73,12 @@ export declare function serializeGetMemberObjectsPostRequestBody(writer: Seriali
|
|
|
72
73
|
* @param writer Serialization writer to use to serialize this model
|
|
73
74
|
*/
|
|
74
75
|
export declare function serializeGetMemberObjectsPostResponse(writer: SerializationWriter, getMemberObjectsPostResponse?: Partial<GetMemberObjectsPostResponse> | undefined): void;
|
|
75
|
-
/**
|
|
76
|
-
* Metadata for all the requests in the request builder.
|
|
77
|
-
*/
|
|
78
|
-
export declare const GetMemberObjectsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
79
76
|
/**
|
|
80
77
|
* Uri template for the request builder.
|
|
81
78
|
*/
|
|
82
79
|
export declare const GetMemberObjectsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/getMemberObjects";
|
|
80
|
+
/**
|
|
81
|
+
* Metadata for all the requests in the request builder.
|
|
82
|
+
*/
|
|
83
|
+
export declare const GetMemberObjectsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
83
84
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwG,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAElM,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,2DAA2D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAEnL;AACD;;;;GAIG;AACH,wBAAgB,wDAAwD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAEhL;AACD;;;GAGG;AACH,wBAAgB,8CAA8C,CAAC,+BAA+B,GAAE,OAAO,CAAC,+BAA+B,CAAC,GAAG,SAAc,GAAI,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AE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1J;AACD;;;GAGG;AACH,wBAAgB,wCAAwC,CAAC,MAAM,EAAE,mBAAmB,EAAE,+BAA+B,GAAE,OAAO,CAAC,+BAA+B,CAAC,GAAG,SAAc,GAAI,IAAI,CAGvL;AACD;;;GAGG;AACH,wBAAgB,qCAAqC,CAAC,MAAM,EAAE,mBAAmB,EAAE,4BAA4B,GAAE,OAAO,CAAC,4BAA4B,CAAC,GAAG,SAAc,GAAI,IAAI,CAG9K;AACD;;GAEG;AACH,eAAO,MAAM,yCAAyC,2DAA2D,CAAC;AAClH;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBAa5D,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GetMemberObjectsRequestBuilderRequestsMetadata = exports.GetMemberObjectsRequestBuilderUriTemplate = exports.serializeGetMemberObjectsPostResponse = exports.serializeGetMemberObjectsPostRequestBody = exports.deserializeIntoGetMemberObjectsPostResponse = exports.deserializeIntoGetMemberObjectsPostRequestBody = exports.createGetMemberObjectsPostResponseFromDiscriminatorValue = exports.createGetMemberObjectsPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
@@ -9,7 +9,7 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
|
9
9
|
/**
|
|
10
10
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
11
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
-
* @returns
|
|
12
|
+
* @returns {GetMemberObjectsPostRequestBody}
|
|
13
13
|
*/
|
|
14
14
|
function createGetMemberObjectsPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
15
|
return deserializeIntoGetMemberObjectsPostRequestBody;
|
|
@@ -18,7 +18,7 @@ exports.createGetMemberObjectsPostRequestBodyFromDiscriminatorValue = createGetM
|
|
|
18
18
|
/**
|
|
19
19
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
20
20
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
21
|
-
* @returns
|
|
21
|
+
* @returns {GetMemberObjectsPostResponse}
|
|
22
22
|
*/
|
|
23
23
|
function createGetMemberObjectsPostResponseFromDiscriminatorValue(parseNode) {
|
|
24
24
|
return deserializeIntoGetMemberObjectsPostResponse;
|
|
@@ -26,7 +26,7 @@ function createGetMemberObjectsPostResponseFromDiscriminatorValue(parseNode) {
|
|
|
26
26
|
exports.createGetMemberObjectsPostResponseFromDiscriminatorValue = createGetMemberObjectsPostResponseFromDiscriminatorValue;
|
|
27
27
|
/**
|
|
28
28
|
* The deserialization information for the current model
|
|
29
|
-
* @returns
|
|
29
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
30
30
|
*/
|
|
31
31
|
function deserializeIntoGetMemberObjectsPostRequestBody(getMemberObjectsPostRequestBody = {}) {
|
|
32
32
|
return {
|
|
@@ -37,7 +37,7 @@ function deserializeIntoGetMemberObjectsPostRequestBody(getMemberObjectsPostRequ
|
|
|
37
37
|
exports.deserializeIntoGetMemberObjectsPostRequestBody = deserializeIntoGetMemberObjectsPostRequestBody;
|
|
38
38
|
/**
|
|
39
39
|
* The deserialization information for the current model
|
|
40
|
-
* @returns
|
|
40
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
41
41
|
*/
|
|
42
42
|
function deserializeIntoGetMemberObjectsPostResponse(getMemberObjectsPostResponse = {}) {
|
|
43
43
|
return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getMemberObjectsPostResponse)), { "value": n => { getMemberObjectsPostResponse.value = n.getCollectionOfPrimitiveValues(); } });
|
|
@@ -61,15 +61,19 @@ function serializeGetMemberObjectsPostResponse(writer, getMemberObjectsPostRespo
|
|
|
61
61
|
writer.writeCollectionOfPrimitiveValues("value", getMemberObjectsPostResponse.value);
|
|
62
62
|
}
|
|
63
63
|
exports.serializeGetMemberObjectsPostResponse = serializeGetMemberObjectsPostResponse;
|
|
64
|
+
/**
|
|
65
|
+
* Uri template for the request builder.
|
|
66
|
+
*/
|
|
67
|
+
exports.GetMemberObjectsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/getMemberObjects";
|
|
64
68
|
/**
|
|
65
69
|
* Metadata for all the requests in the request builder.
|
|
66
70
|
*/
|
|
67
71
|
exports.GetMemberObjectsRequestBuilderRequestsMetadata = {
|
|
68
72
|
post: {
|
|
73
|
+
uriTemplate: exports.GetMemberObjectsRequestBuilderUriTemplate,
|
|
69
74
|
responseBodyContentType: "application/json",
|
|
70
75
|
errorMappings: {
|
|
71
|
-
|
|
72
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
76
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
73
77
|
},
|
|
74
78
|
adapterMethodName: "sendAsync",
|
|
75
79
|
responseBodyFactory: createGetMemberObjectsPostResponseFromDiscriminatorValue,
|
|
@@ -78,9 +82,5 @@ exports.GetMemberObjectsRequestBuilderRequestsMetadata = {
|
|
|
78
82
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
79
83
|
},
|
|
80
84
|
};
|
|
81
|
-
/**
|
|
82
|
-
* Uri template for the request builder.
|
|
83
|
-
*/
|
|
84
|
-
exports.GetMemberObjectsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/getMemberObjects";
|
|
85
85
|
/* tslint:enable */
|
|
86
86
|
/* eslint-enable */
|
package/contacts/item/index.d.ts
CHANGED
|
@@ -62,12 +62,14 @@ export interface OrgContactItemRequestBuilder extends BaseRequestBuilder<OrgCont
|
|
|
62
62
|
/**
|
|
63
63
|
* Delete entity from contacts
|
|
64
64
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
65
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
65
66
|
*/
|
|
66
67
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
67
68
|
/**
|
|
68
69
|
* Get the properties and relationships of an organizational contact.
|
|
69
70
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
70
|
-
* @returns
|
|
71
|
+
* @returns {Promise<OrgContact>}
|
|
72
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
71
73
|
* @see {@link https://learn.microsoft.com/graph/api/orgcontact-get?view=graph-rest-1.0|Find more info here}
|
|
72
74
|
*/
|
|
73
75
|
get(requestConfiguration?: RequestConfiguration<OrgContactItemRequestBuilderGetQueryParameters> | undefined): Promise<OrgContact | undefined>;
|
|
@@ -75,26 +77,27 @@ export interface OrgContactItemRequestBuilder extends BaseRequestBuilder<OrgCont
|
|
|
75
77
|
* Update entity in contacts
|
|
76
78
|
* @param body The request body
|
|
77
79
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
78
|
-
* @returns
|
|
80
|
+
* @returns {Promise<OrgContact>}
|
|
81
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
79
82
|
*/
|
|
80
83
|
patch(body: OrgContact, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrgContact | undefined>;
|
|
81
84
|
/**
|
|
82
85
|
* Delete entity from contacts
|
|
83
86
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
84
|
-
* @returns
|
|
87
|
+
* @returns {RequestInformation}
|
|
85
88
|
*/
|
|
86
89
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
87
90
|
/**
|
|
88
91
|
* Get the properties and relationships of an organizational contact.
|
|
89
92
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
90
|
-
* @returns
|
|
93
|
+
* @returns {RequestInformation}
|
|
91
94
|
*/
|
|
92
95
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<OrgContactItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
93
96
|
/**
|
|
94
97
|
* Update entity in contacts
|
|
95
98
|
* @param body The request body
|
|
96
99
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
97
|
-
* @returns
|
|
100
|
+
* @returns {RequestInformation}
|
|
98
101
|
*/
|
|
99
102
|
toPatchRequestInformation(body: OrgContact, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
100
103
|
}
|
|
@@ -111,6 +114,10 @@ export interface OrgContactItemRequestBuilderGetQueryParameters {
|
|
|
111
114
|
*/
|
|
112
115
|
select?: string[];
|
|
113
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* Uri template for the request builder.
|
|
119
|
+
*/
|
|
120
|
+
export declare const OrgContactItemRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}{?%24expand,%24select}";
|
|
114
121
|
/**
|
|
115
122
|
* Metadata for all the navigation properties in the request builder.
|
|
116
123
|
*/
|
|
@@ -119,8 +126,4 @@ export declare const OrgContactItemRequestBuilderNavigationMetadata: Record<Excl
|
|
|
119
126
|
* Metadata for all the requests in the request builder.
|
|
120
127
|
*/
|
|
121
128
|
export declare const OrgContactItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
122
|
-
/**
|
|
123
|
-
* Uri template for the request builder.
|
|
124
|
-
*/
|
|
125
|
-
export declare const OrgContactItemRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}{?%24expand,%24select}";
|
|
126
129
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+D,KAAK,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE9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C;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,gEAAgE,CAAC;AAQrH;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAsCtK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBA+B1D,CAAC"}
|
package/contacts/item/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.OrgContactItemRequestBuilderRequestsMetadata = exports.OrgContactItemRequestBuilderNavigationMetadata = exports.OrgContactItemRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
@@ -17,6 +17,10 @@ const restore_1 = require("./restore/");
|
|
|
17
17
|
const retryServiceProvisioning_1 = require("./retryServiceProvisioning/");
|
|
18
18
|
const serviceProvisioningErrors_1 = require("./serviceProvisioningErrors/");
|
|
19
19
|
const transitiveMemberOf_1 = require("./transitiveMemberOf/");
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
exports.OrgContactItemRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}{?%24expand,%24select}";
|
|
20
24
|
/**
|
|
21
25
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
22
26
|
*/
|
|
@@ -29,50 +33,39 @@ const OrgContactItemRequestBuilderGetQueryParametersMapper = {
|
|
|
29
33
|
*/
|
|
30
34
|
exports.OrgContactItemRequestBuilderNavigationMetadata = {
|
|
31
35
|
checkMemberGroups: {
|
|
32
|
-
uriTemplate: checkMemberGroups_1.CheckMemberGroupsRequestBuilderUriTemplate,
|
|
33
36
|
requestsMetadata: checkMemberGroups_1.CheckMemberGroupsRequestBuilderRequestsMetadata,
|
|
34
37
|
},
|
|
35
38
|
checkMemberObjects: {
|
|
36
|
-
uriTemplate: checkMemberObjects_1.CheckMemberObjectsRequestBuilderUriTemplate,
|
|
37
39
|
requestsMetadata: checkMemberObjects_1.CheckMemberObjectsRequestBuilderRequestsMetadata,
|
|
38
40
|
},
|
|
39
41
|
directReports: {
|
|
40
|
-
uriTemplate: directReports_1.DirectReportsRequestBuilderUriTemplate,
|
|
41
42
|
requestsMetadata: directReports_1.DirectReportsRequestBuilderRequestsMetadata,
|
|
42
43
|
navigationMetadata: directReports_1.DirectReportsRequestBuilderNavigationMetadata,
|
|
43
44
|
},
|
|
44
45
|
getMemberGroups: {
|
|
45
|
-
uriTemplate: getMemberGroups_1.GetMemberGroupsRequestBuilderUriTemplate,
|
|
46
46
|
requestsMetadata: getMemberGroups_1.GetMemberGroupsRequestBuilderRequestsMetadata,
|
|
47
47
|
},
|
|
48
48
|
getMemberObjects: {
|
|
49
|
-
uriTemplate: getMemberObjects_1.GetMemberObjectsRequestBuilderUriTemplate,
|
|
50
49
|
requestsMetadata: getMemberObjects_1.GetMemberObjectsRequestBuilderRequestsMetadata,
|
|
51
50
|
},
|
|
52
51
|
manager: {
|
|
53
|
-
uriTemplate: manager_1.ManagerRequestBuilderUriTemplate,
|
|
54
52
|
requestsMetadata: manager_1.ManagerRequestBuilderRequestsMetadata,
|
|
55
53
|
},
|
|
56
54
|
memberOf: {
|
|
57
|
-
uriTemplate: memberOf_1.MemberOfRequestBuilderUriTemplate,
|
|
58
55
|
requestsMetadata: memberOf_1.MemberOfRequestBuilderRequestsMetadata,
|
|
59
56
|
navigationMetadata: memberOf_1.MemberOfRequestBuilderNavigationMetadata,
|
|
60
57
|
},
|
|
61
58
|
restore: {
|
|
62
|
-
uriTemplate: restore_1.RestoreRequestBuilderUriTemplate,
|
|
63
59
|
requestsMetadata: restore_1.RestoreRequestBuilderRequestsMetadata,
|
|
64
60
|
},
|
|
65
61
|
retryServiceProvisioning: {
|
|
66
|
-
uriTemplate: retryServiceProvisioning_1.RetryServiceProvisioningRequestBuilderUriTemplate,
|
|
67
62
|
requestsMetadata: retryServiceProvisioning_1.RetryServiceProvisioningRequestBuilderRequestsMetadata,
|
|
68
63
|
},
|
|
69
64
|
serviceProvisioningErrors: {
|
|
70
|
-
uriTemplate: serviceProvisioningErrors_1.ServiceProvisioningErrorsRequestBuilderUriTemplate,
|
|
71
65
|
requestsMetadata: serviceProvisioningErrors_1.ServiceProvisioningErrorsRequestBuilderRequestsMetadata,
|
|
72
66
|
navigationMetadata: serviceProvisioningErrors_1.ServiceProvisioningErrorsRequestBuilderNavigationMetadata,
|
|
73
67
|
},
|
|
74
68
|
transitiveMemberOf: {
|
|
75
|
-
uriTemplate: transitiveMemberOf_1.TransitiveMemberOfRequestBuilderUriTemplate,
|
|
76
69
|
requestsMetadata: transitiveMemberOf_1.TransitiveMemberOfRequestBuilderRequestsMetadata,
|
|
77
70
|
navigationMetadata: transitiveMemberOf_1.TransitiveMemberOfRequestBuilderNavigationMetadata,
|
|
78
71
|
},
|
|
@@ -82,28 +75,28 @@ exports.OrgContactItemRequestBuilderNavigationMetadata = {
|
|
|
82
75
|
*/
|
|
83
76
|
exports.OrgContactItemRequestBuilderRequestsMetadata = {
|
|
84
77
|
delete: {
|
|
78
|
+
uriTemplate: exports.OrgContactItemRequestBuilderUriTemplate,
|
|
85
79
|
responseBodyContentType: "application/json",
|
|
86
80
|
errorMappings: {
|
|
87
|
-
|
|
88
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
81
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
89
82
|
},
|
|
90
83
|
adapterMethodName: "sendNoResponseContentAsync",
|
|
91
84
|
},
|
|
92
85
|
get: {
|
|
86
|
+
uriTemplate: exports.OrgContactItemRequestBuilderUriTemplate,
|
|
93
87
|
responseBodyContentType: "application/json",
|
|
94
88
|
errorMappings: {
|
|
95
|
-
|
|
96
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
89
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
97
90
|
},
|
|
98
91
|
adapterMethodName: "sendAsync",
|
|
99
92
|
responseBodyFactory: models_1.createOrgContactFromDiscriminatorValue,
|
|
100
93
|
queryParametersMapper: OrgContactItemRequestBuilderGetQueryParametersMapper,
|
|
101
94
|
},
|
|
102
95
|
patch: {
|
|
96
|
+
uriTemplate: exports.OrgContactItemRequestBuilderUriTemplate,
|
|
103
97
|
responseBodyContentType: "application/json",
|
|
104
98
|
errorMappings: {
|
|
105
|
-
|
|
106
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
99
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
107
100
|
},
|
|
108
101
|
adapterMethodName: "sendAsync",
|
|
109
102
|
responseBodyFactory: models_1.createOrgContactFromDiscriminatorValue,
|
|
@@ -112,9 +105,5 @@ exports.OrgContactItemRequestBuilderRequestsMetadata = {
|
|
|
112
105
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
113
106
|
},
|
|
114
107
|
};
|
|
115
|
-
/**
|
|
116
|
-
* Uri template for the request builder.
|
|
117
|
-
*/
|
|
118
|
-
exports.OrgContactItemRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}{?%24expand,%24select}";
|
|
119
108
|
/* tslint:enable */
|
|
120
109
|
/* eslint-enable */
|
|
@@ -7,14 +7,15 @@ export interface ManagerRequestBuilder extends BaseRequestBuilder<ManagerRequest
|
|
|
7
7
|
/**
|
|
8
8
|
* Get this organizational contact's manager.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
-
* @returns
|
|
10
|
+
* @returns {Promise<DirectoryObject>}
|
|
11
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
12
|
* @see {@link https://learn.microsoft.com/graph/api/orgcontact-get-manager?view=graph-rest-1.0|Find more info here}
|
|
12
13
|
*/
|
|
13
14
|
get(requestConfiguration?: RequestConfiguration<ManagerRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryObject | undefined>;
|
|
14
15
|
/**
|
|
15
16
|
* Get this organizational contact's manager.
|
|
16
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
-
* @returns
|
|
18
|
+
* @returns {RequestInformation}
|
|
18
19
|
*/
|
|
19
20
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ManagerRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
20
21
|
}
|
|
@@ -31,12 +32,12 @@ export interface ManagerRequestBuilderGetQueryParameters {
|
|
|
31
32
|
*/
|
|
32
33
|
select?: string[];
|
|
33
34
|
}
|
|
34
|
-
/**
|
|
35
|
-
* Metadata for all the requests in the request builder.
|
|
36
|
-
*/
|
|
37
|
-
export declare const ManagerRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
38
35
|
/**
|
|
39
36
|
* Uri template for the request builder.
|
|
40
37
|
*/
|
|
41
38
|
export declare const ManagerRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/manager{?%24expand,%24select}";
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
export declare const ManagerRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
42
43
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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
|
|
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;;;;;;OAMG;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;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,wEAAwE,CAAC;AAQtH;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAWnD,CAAC"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ManagerRequestBuilderRequestsMetadata = exports.ManagerRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
8
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Uri template for the request builder.
|
|
11
|
+
*/
|
|
12
|
+
exports.ManagerRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/manager{?%24expand,%24select}";
|
|
9
13
|
/**
|
|
10
14
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
15
|
*/
|
|
@@ -18,19 +22,15 @@ const ManagerRequestBuilderGetQueryParametersMapper = {
|
|
|
18
22
|
*/
|
|
19
23
|
exports.ManagerRequestBuilderRequestsMetadata = {
|
|
20
24
|
get: {
|
|
25
|
+
uriTemplate: exports.ManagerRequestBuilderUriTemplate,
|
|
21
26
|
responseBodyContentType: "application/json",
|
|
22
27
|
errorMappings: {
|
|
23
|
-
|
|
24
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
28
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
29
|
},
|
|
26
30
|
adapterMethodName: "sendAsync",
|
|
27
31
|
responseBodyFactory: models_1.createDirectoryObjectFromDiscriminatorValue,
|
|
28
32
|
queryParametersMapper: ManagerRequestBuilderGetQueryParametersMapper,
|
|
29
33
|
},
|
|
30
34
|
};
|
|
31
|
-
/**
|
|
32
|
-
* Uri template for the request builder.
|
|
33
|
-
*/
|
|
34
|
-
exports.ManagerRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/manager{?%24expand,%24select}";
|
|
35
35
|
/* tslint:enable */
|
|
36
36
|
/* eslint-enable */
|
|
@@ -6,13 +6,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
|
|
|
6
6
|
/**
|
|
7
7
|
* Get the number of the resource
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
-
* @returns
|
|
9
|
+
* @returns {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
11
|
*/
|
|
11
12
|
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
13
|
/**
|
|
13
14
|
* Get the number of the resource
|
|
14
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
-
* @returns
|
|
16
|
+
* @returns {RequestInformation}
|
|
16
17
|
*/
|
|
17
18
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
19
|
}
|
|
@@ -29,12 +30,12 @@ export interface CountRequestBuilderGetQueryParameters {
|
|
|
29
30
|
*/
|
|
30
31
|
search?: string;
|
|
31
32
|
}
|
|
32
|
-
/**
|
|
33
|
-
* Metadata for all the requests in the request builder.
|
|
34
|
-
*/
|
|
35
|
-
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
33
|
/**
|
|
37
34
|
* Uri template for the request builder.
|
|
38
35
|
*/
|
|
39
36
|
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/memberOf/$count{?%24filter,%24search}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
41
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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
|
|
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;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,gFAAgF,CAAC;AAQ5H;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|