@microsoft/msgraph-sdk-tenantrelationships 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/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/tenantRelationships/delegatedAdminCustomers/count/index.d.ts +40 -0
- package/tenantRelationships/delegatedAdminCustomers/count/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminCustomers/count/index.js +35 -0
- package/tenantRelationships/delegatedAdminCustomers/index.d.ts +96 -0
- package/tenantRelationships/delegatedAdminCustomers/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminCustomers/index.js +71 -0
- package/tenantRelationships/delegatedAdminCustomers/item/index.d.ts +76 -0
- package/tenantRelationships/delegatedAdminCustomers/item/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminCustomers/item/index.js +67 -0
- package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/count/index.d.ts +40 -0
- package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/count/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/count/index.js +35 -0
- package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/index.d.ts +96 -0
- package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/index.js +70 -0
- package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/item/index.d.ts +66 -0
- package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/item/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/item/index.js +56 -0
- package/tenantRelationships/delegatedAdminRelationships/count/index.d.ts +40 -0
- package/tenantRelationships/delegatedAdminRelationships/count/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminRelationships/count/index.js +35 -0
- package/tenantRelationships/delegatedAdminRelationships/index.d.ts +97 -0
- package/tenantRelationships/delegatedAdminRelationships/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminRelationships/index.js +71 -0
- package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/count/index.d.ts +40 -0
- package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/count/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/count/index.js +35 -0
- package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/index.d.ts +97 -0
- package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/index.js +70 -0
- package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/item/index.d.ts +69 -0
- package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/item/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/item/index.js +56 -0
- package/tenantRelationships/delegatedAdminRelationships/item/index.d.ts +88 -0
- package/tenantRelationships/delegatedAdminRelationships/item/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminRelationships/item/index.js +79 -0
- package/tenantRelationships/delegatedAdminRelationships/item/operations/count/index.d.ts +40 -0
- package/tenantRelationships/delegatedAdminRelationships/item/operations/count/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminRelationships/item/operations/count/index.js +35 -0
- package/tenantRelationships/delegatedAdminRelationships/item/operations/index.d.ts +96 -0
- package/tenantRelationships/delegatedAdminRelationships/item/operations/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminRelationships/item/operations/index.js +70 -0
- package/tenantRelationships/delegatedAdminRelationships/item/operations/item/index.d.ts +67 -0
- package/tenantRelationships/delegatedAdminRelationships/item/operations/item/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminRelationships/item/operations/item/index.js +56 -0
- package/tenantRelationships/delegatedAdminRelationships/item/requests/count/index.d.ts +40 -0
- package/tenantRelationships/delegatedAdminRelationships/item/requests/count/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminRelationships/item/requests/count/index.js +35 -0
- package/tenantRelationships/delegatedAdminRelationships/item/requests/index.d.ts +97 -0
- package/tenantRelationships/delegatedAdminRelationships/item/requests/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminRelationships/item/requests/index.js +70 -0
- package/tenantRelationships/delegatedAdminRelationships/item/requests/item/index.d.ts +67 -0
- package/tenantRelationships/delegatedAdminRelationships/item/requests/item/index.d.ts.map +1 -0
- package/tenantRelationships/delegatedAdminRelationships/item/requests/item/index.js +56 -0
- package/tenantRelationships/findTenantInformationByDomainNameWithDomainName/index.d.ts +28 -0
- package/tenantRelationships/findTenantInformationByDomainNameWithDomainName/index.d.ts.map +1 -0
- package/tenantRelationships/findTenantInformationByDomainNameWithDomainName/index.js +28 -0
- package/tenantRelationships/findTenantInformationByTenantIdWithTenantId/index.d.ts +28 -0
- package/tenantRelationships/findTenantInformationByTenantIdWithTenantId/index.d.ts.map +1 -0
- package/tenantRelationships/findTenantInformationByTenantIdWithTenantId/index.js +28 -0
- package/tenantRelationships/index.d.ts +83 -0
- package/tenantRelationships/index.d.ts.map +1 -0
- package/tenantRelationships/index.js +75 -0
- package/tenantRelationshipsServiceClient.d.ts +25 -0
- package/tenantRelationshipsServiceClient.d.ts.map +1 -0
- package/tenantRelationshipsServiceClient.js +49 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { type DelegatedAdminAccessAssignment, type DelegatedAdminAccessAssignmentCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type DelegatedAdminAccessAssignmentItemRequestBuilder } from './item/';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the accessAssignments property of the microsoft.graph.delegatedAdminRelationship entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface AccessAssignmentsRequestBuilder extends BaseRequestBuilder<AccessAssignmentsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the accessAssignments property of the microsoft.graph.delegatedAdminRelationship entity.
|
|
15
|
+
* @param delegatedAdminAccessAssignmentId The unique identifier of delegatedAdminAccessAssignment
|
|
16
|
+
* @returns a DelegatedAdminAccessAssignmentItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byDelegatedAdminAccessAssignmentId(delegatedAdminAccessAssignmentId: string): DelegatedAdminAccessAssignmentItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Get a list of the delegatedAdminAccessAssignment objects and their properties.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of DelegatedAdminAccessAssignmentCollectionResponse
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/delegatedadminrelationship-list-accessassignments?view=graph-rest-1.0|Find more info here}
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<AccessAssignmentsRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminAccessAssignmentCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create a new delegatedAdminAccessAssignment object.
|
|
28
|
+
* @param body The request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns a Promise of DelegatedAdminAccessAssignment
|
|
31
|
+
* @see {@link https://learn.microsoft.com/graph/api/delegatedadminrelationship-post-accessassignments?view=graph-rest-1.0|Find more info here}
|
|
32
|
+
*/
|
|
33
|
+
post(body: DelegatedAdminAccessAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminAccessAssignment | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Get a list of the delegatedAdminAccessAssignment objects and their properties.
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns a RequestInformation
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AccessAssignmentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Create a new delegatedAdminAccessAssignment object.
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns a RequestInformation
|
|
45
|
+
*/
|
|
46
|
+
toPostRequestInformation(body: DelegatedAdminAccessAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get a list of the delegatedAdminAccessAssignment objects and their properties.
|
|
50
|
+
*/
|
|
51
|
+
export interface AccessAssignmentsRequestBuilderGetQueryParameters {
|
|
52
|
+
/**
|
|
53
|
+
* Include count of items
|
|
54
|
+
*/
|
|
55
|
+
count?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Expand related entities
|
|
58
|
+
*/
|
|
59
|
+
expand?: string[];
|
|
60
|
+
/**
|
|
61
|
+
* Filter items by property values
|
|
62
|
+
*/
|
|
63
|
+
filter?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Order items by property values
|
|
66
|
+
*/
|
|
67
|
+
orderby?: string[];
|
|
68
|
+
/**
|
|
69
|
+
* Search items by search phrases
|
|
70
|
+
*/
|
|
71
|
+
search?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Select properties to be returned
|
|
74
|
+
*/
|
|
75
|
+
select?: string[];
|
|
76
|
+
/**
|
|
77
|
+
* Skip the first n items
|
|
78
|
+
*/
|
|
79
|
+
skip?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Show only the first n items
|
|
82
|
+
*/
|
|
83
|
+
top?: number;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Metadata for all the navigation properties in the request builder.
|
|
87
|
+
*/
|
|
88
|
+
export declare const AccessAssignmentsRequestBuilderNavigationMetadata: Record<Exclude<keyof AccessAssignmentsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
89
|
+
/**
|
|
90
|
+
* Metadata for all the requests in the request builder.
|
|
91
|
+
*/
|
|
92
|
+
export declare const AccessAssignmentsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
93
|
+
/**
|
|
94
|
+
* Uri template for the request builder.
|
|
95
|
+
*/
|
|
96
|
+
export declare const AccessAssignmentsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
97
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqL,KAAK,8BAA8B,EAAE,KAAK,gDAAgD,EAAE,MAAM,gCAAgC,CAAC;AAE/T,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAiI,KAAK,gDAAgD,EAAE,MAAM,SAAS,CAAC;AAC/M,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,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,kCAAkC,CAAC,gCAAgC,EAAE,MAAM,GAAI,gDAAgD,CAAC;IACjI;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gDAAgD,GAAG,SAAS,CAAC,CAAC;IACzL;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,8BAA8B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IACnK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC1J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,8BAA8B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzJ;AACD;;GAEG;AACH,MAAM,WAAW,iDAAiD;IAC9D;;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,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAuB7D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,gMAAgM,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccessAssignmentsRequestBuilderUriTemplate = exports.AccessAssignmentsRequestBuilderRequestsMetadata = exports.AccessAssignmentsRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const count_1 = require("./count/");
|
|
10
|
+
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
|
+
*/
|
|
14
|
+
const AccessAssignmentsRequestBuilderGetQueryParametersMapper = {
|
|
15
|
+
"count": "%24count",
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"filter": "%24filter",
|
|
18
|
+
"orderby": "%24orderby",
|
|
19
|
+
"search": "%24search",
|
|
20
|
+
"select": "%24select",
|
|
21
|
+
"skip": "%24skip",
|
|
22
|
+
"top": "%24top",
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the navigation properties in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
exports.AccessAssignmentsRequestBuilderNavigationMetadata = {
|
|
28
|
+
byDelegatedAdminAccessAssignmentId: {
|
|
29
|
+
uriTemplate: item_1.DelegatedAdminAccessAssignmentItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.DelegatedAdminAccessAssignmentItemRequestBuilderRequestsMetadata,
|
|
31
|
+
pathParametersMappings: ["delegatedAdminAccessAssignment%2Did"],
|
|
32
|
+
},
|
|
33
|
+
count: {
|
|
34
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
35
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the requests in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
exports.AccessAssignmentsRequestBuilderRequestsMetadata = {
|
|
42
|
+
get: {
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "sendAsync",
|
|
49
|
+
responseBodyFactory: models_1.createDelegatedAdminAccessAssignmentCollectionResponseFromDiscriminatorValue,
|
|
50
|
+
queryParametersMapper: AccessAssignmentsRequestBuilderGetQueryParametersMapper,
|
|
51
|
+
},
|
|
52
|
+
post: {
|
|
53
|
+
responseBodyContentType: "application/json",
|
|
54
|
+
errorMappings: {
|
|
55
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
56
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
},
|
|
58
|
+
adapterMethodName: "sendAsync",
|
|
59
|
+
responseBodyFactory: models_1.createDelegatedAdminAccessAssignmentFromDiscriminatorValue,
|
|
60
|
+
requestBodyContentType: "application/json",
|
|
61
|
+
requestBodySerializer: models_1.serializeDelegatedAdminAccessAssignment,
|
|
62
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Uri template for the request builder.
|
|
67
|
+
*/
|
|
68
|
+
exports.AccessAssignmentsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
69
|
+
/* tslint:enable */
|
|
70
|
+
/* eslint-enable */
|
package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/item/index.d.ts
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type DelegatedAdminAccessAssignment } 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 accessAssignments property of the microsoft.graph.delegatedAdminRelationship entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface DelegatedAdminAccessAssignmentItemRequestBuilder extends BaseRequestBuilder<DelegatedAdminAccessAssignmentItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete a delegatedAdminAccessAssignment object.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/delegatedadminaccessassignment-delete?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Read the properties of a delegatedAdminAccessAssignment object.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns a Promise of DelegatedAdminAccessAssignment
|
|
17
|
+
* @see {@link https://learn.microsoft.com/graph/api/delegatedadminaccessassignment-get?view=graph-rest-1.0|Find more info here}
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminAccessAssignment | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Update the properties of a delegatedAdminAccessAssignment object.
|
|
22
|
+
* @param body The request body
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns a Promise of DelegatedAdminAccessAssignment
|
|
25
|
+
* @see {@link https://learn.microsoft.com/graph/api/delegatedadminaccessassignment-update?view=graph-rest-1.0|Find more info here}
|
|
26
|
+
*/
|
|
27
|
+
patch(body: DelegatedAdminAccessAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminAccessAssignment | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Delete a delegatedAdminAccessAssignment object.
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns a RequestInformation
|
|
32
|
+
*/
|
|
33
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
|
+
/**
|
|
35
|
+
* Read the properties of a delegatedAdminAccessAssignment object.
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns a RequestInformation
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Update the properties of a delegatedAdminAccessAssignment object.
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns a RequestInformation
|
|
45
|
+
*/
|
|
46
|
+
toPatchRequestInformation(body: DelegatedAdminAccessAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Read the properties of a delegatedAdminAccessAssignment object.
|
|
50
|
+
*/
|
|
51
|
+
export interface DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters {
|
|
52
|
+
/**
|
|
53
|
+
* Expand related entities
|
|
54
|
+
*/
|
|
55
|
+
expand?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* Select properties to be returned
|
|
58
|
+
*/
|
|
59
|
+
select?: string[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Metadata for all the requests in the request builder.
|
|
63
|
+
*/
|
|
64
|
+
export declare const DelegatedAdminAccessAssignmentItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
65
|
+
/**
|
|
66
|
+
* Uri template for the request builder.
|
|
67
|
+
*/
|
|
68
|
+
export declare const DelegatedAdminAccessAssignmentItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments/{delegatedAdminAccessAssignment%2Did}{?%24select,%24expand}";
|
|
69
|
+
//# sourceMappingURL=index.d.ts.map
|
package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/item/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuG,KAAK,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAE1L,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,gDAAiD,SAAQ,kBAAkB,CAAC,gDAAgD,CAAC;IAC1I;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,kEAAkE,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IACxL;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,8BAA8B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IACpK;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,kEAAkE,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC3K;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,8BAA8B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1J;AACD;;GAEG;AACH,MAAM,WAAW,kEAAkE;IAC/E;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,gEAAgE,EAAE,gBA+B9E,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2DAA2D,+KAA+K,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DelegatedAdminAccessAssignmentItemRequestBuilderUriTemplate = exports.DelegatedAdminAccessAssignmentItemRequestBuilderRequestsMetadata = 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 DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.DelegatedAdminAccessAssignmentItemRequestBuilderRequestsMetadata = {
|
|
20
|
+
delete: {
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
errorMappings: {
|
|
23
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
27
|
+
},
|
|
28
|
+
get: {
|
|
29
|
+
responseBodyContentType: "application/json",
|
|
30
|
+
errorMappings: {
|
|
31
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
32
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
33
|
+
},
|
|
34
|
+
adapterMethodName: "sendAsync",
|
|
35
|
+
responseBodyFactory: models_1.createDelegatedAdminAccessAssignmentFromDiscriminatorValue,
|
|
36
|
+
queryParametersMapper: DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParametersMapper,
|
|
37
|
+
},
|
|
38
|
+
patch: {
|
|
39
|
+
responseBodyContentType: "application/json",
|
|
40
|
+
errorMappings: {
|
|
41
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
},
|
|
44
|
+
adapterMethodName: "sendAsync",
|
|
45
|
+
responseBodyFactory: models_1.createDelegatedAdminAccessAssignmentFromDiscriminatorValue,
|
|
46
|
+
requestBodyContentType: "application/json",
|
|
47
|
+
requestBodySerializer: models_1.serializeDelegatedAdminAccessAssignment,
|
|
48
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Uri template for the request builder.
|
|
53
|
+
*/
|
|
54
|
+
exports.DelegatedAdminAccessAssignmentItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments/{delegatedAdminAccessAssignment%2Did}{?%24select,%24expand}";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { type DelegatedAdminRelationship } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AccessAssignmentsRequestBuilder } from './accessAssignments/';
|
|
3
|
+
import { type OperationsRequestBuilder } from './operations/';
|
|
4
|
+
import { type RequestsRequestBuilder } from './requests/';
|
|
5
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
6
|
+
/**
|
|
7
|
+
* Provides operations to manage the delegatedAdminRelationships property of the microsoft.graph.tenantRelationship entity.
|
|
8
|
+
*/
|
|
9
|
+
export interface DelegatedAdminRelationshipItemRequestBuilder extends BaseRequestBuilder<DelegatedAdminRelationshipItemRequestBuilder> {
|
|
10
|
+
/**
|
|
11
|
+
* Provides operations to manage the accessAssignments property of the microsoft.graph.delegatedAdminRelationship entity.
|
|
12
|
+
*/
|
|
13
|
+
get accessAssignments(): AccessAssignmentsRequestBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Provides operations to manage the operations property of the microsoft.graph.delegatedAdminRelationship entity.
|
|
16
|
+
*/
|
|
17
|
+
get operations(): OperationsRequestBuilder;
|
|
18
|
+
/**
|
|
19
|
+
* Provides operations to manage the requests property of the microsoft.graph.delegatedAdminRelationship entity.
|
|
20
|
+
*/
|
|
21
|
+
get requests(): RequestsRequestBuilder;
|
|
22
|
+
/**
|
|
23
|
+
* Delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status.
|
|
24
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
|
+
* @see {@link https://learn.microsoft.com/graph/api/delegatedadminrelationship-delete?view=graph-rest-1.0|Find more info here}
|
|
26
|
+
*/
|
|
27
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
28
|
+
/**
|
|
29
|
+
* Read the properties of a delegatedAdminRelationship object.
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns a Promise of DelegatedAdminRelationship
|
|
32
|
+
* @see {@link https://learn.microsoft.com/graph/api/delegatedadminrelationship-get?view=graph-rest-1.0|Find more info here}
|
|
33
|
+
*/
|
|
34
|
+
get(requestConfiguration?: RequestConfiguration<DelegatedAdminRelationshipItemRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminRelationship | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status.
|
|
37
|
+
* @param body The request body
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns a Promise of DelegatedAdminRelationship
|
|
40
|
+
* @see {@link https://learn.microsoft.com/graph/api/delegatedadminrelationship-update?view=graph-rest-1.0|Find more info here}
|
|
41
|
+
*/
|
|
42
|
+
patch(body: DelegatedAdminRelationship, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminRelationship | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* Delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status.
|
|
45
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
+
* @returns a RequestInformation
|
|
47
|
+
*/
|
|
48
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
49
|
+
/**
|
|
50
|
+
* Read the properties of a delegatedAdminRelationship object.
|
|
51
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
52
|
+
* @returns a RequestInformation
|
|
53
|
+
*/
|
|
54
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DelegatedAdminRelationshipItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
55
|
+
/**
|
|
56
|
+
* Update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status.
|
|
57
|
+
* @param body The request body
|
|
58
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
59
|
+
* @returns a RequestInformation
|
|
60
|
+
*/
|
|
61
|
+
toPatchRequestInformation(body: DelegatedAdminRelationship, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Read the properties of a delegatedAdminRelationship object.
|
|
65
|
+
*/
|
|
66
|
+
export interface DelegatedAdminRelationshipItemRequestBuilderGetQueryParameters {
|
|
67
|
+
/**
|
|
68
|
+
* Expand related entities
|
|
69
|
+
*/
|
|
70
|
+
expand?: string[];
|
|
71
|
+
/**
|
|
72
|
+
* Select properties to be returned
|
|
73
|
+
*/
|
|
74
|
+
select?: string[];
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Metadata for all the navigation properties in the request builder.
|
|
78
|
+
*/
|
|
79
|
+
export declare const DelegatedAdminRelationshipItemRequestBuilderNavigationMetadata: Record<Exclude<keyof DelegatedAdminRelationshipItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
80
|
+
/**
|
|
81
|
+
* Metadata for all the requests in the request builder.
|
|
82
|
+
*/
|
|
83
|
+
export declare const DelegatedAdminRelationshipItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
84
|
+
/**
|
|
85
|
+
* Uri template for the request builder.
|
|
86
|
+
*/
|
|
87
|
+
export declare const DelegatedAdminRelationshipItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}{?%24select,%24expand}";
|
|
88
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+F,KAAK,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAE9K,OAAO,EAAkJ,KAAK,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AAC5N,OAAO,EAA6H,KAAK,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzL,OAAO,EAAuH,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC/K,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,4CAA6C,SAAQ,kBAAkB,CAAC,4CAA4C,CAAC;IAClI;;OAEG;IACH,IAAI,iBAAiB,IAAI,+BAA+B,CAAC;IACzD;;OAEG;IACH,IAAI,UAAU,IAAI,wBAAwB,CAAC;IAC3C;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,8DAA8D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAChL;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,0BAA0B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAC5J;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,8DAA8D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACvK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,0BAA0B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtJ;AACD;;GAEG;AACH,MAAM,WAAW,8DAA8D;IAC3E;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,8DAA8D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4CAA4C,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAgBtM,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4DAA4D,EAAE,gBA+B1E,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uDAAuD,uHAAuH,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DelegatedAdminRelationshipItemRequestBuilderUriTemplate = exports.DelegatedAdminRelationshipItemRequestBuilderRequestsMetadata = exports.DelegatedAdminRelationshipItemRequestBuilderNavigationMetadata = 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 accessAssignments_1 = require("./accessAssignments/");
|
|
10
|
+
const operations_1 = require("./operations/");
|
|
11
|
+
const requests_1 = require("./requests/");
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const DelegatedAdminRelationshipItemRequestBuilderGetQueryParametersMapper = {
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"select": "%24select",
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Metadata for all the navigation properties in the request builder.
|
|
21
|
+
*/
|
|
22
|
+
exports.DelegatedAdminRelationshipItemRequestBuilderNavigationMetadata = {
|
|
23
|
+
accessAssignments: {
|
|
24
|
+
uriTemplate: accessAssignments_1.AccessAssignmentsRequestBuilderUriTemplate,
|
|
25
|
+
requestsMetadata: accessAssignments_1.AccessAssignmentsRequestBuilderRequestsMetadata,
|
|
26
|
+
navigationMetadata: accessAssignments_1.AccessAssignmentsRequestBuilderNavigationMetadata,
|
|
27
|
+
},
|
|
28
|
+
operations: {
|
|
29
|
+
uriTemplate: operations_1.OperationsRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: operations_1.OperationsRequestBuilderRequestsMetadata,
|
|
31
|
+
navigationMetadata: operations_1.OperationsRequestBuilderNavigationMetadata,
|
|
32
|
+
},
|
|
33
|
+
requests: {
|
|
34
|
+
uriTemplate: requests_1.RequestsRequestBuilderUriTemplate,
|
|
35
|
+
requestsMetadata: requests_1.RequestsRequestBuilderRequestsMetadata,
|
|
36
|
+
navigationMetadata: requests_1.RequestsRequestBuilderNavigationMetadata,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
exports.DelegatedAdminRelationshipItemRequestBuilderRequestsMetadata = {
|
|
43
|
+
delete: {
|
|
44
|
+
responseBodyContentType: "application/json",
|
|
45
|
+
errorMappings: {
|
|
46
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
},
|
|
49
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
50
|
+
},
|
|
51
|
+
get: {
|
|
52
|
+
responseBodyContentType: "application/json",
|
|
53
|
+
errorMappings: {
|
|
54
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
55
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
56
|
+
},
|
|
57
|
+
adapterMethodName: "sendAsync",
|
|
58
|
+
responseBodyFactory: models_1.createDelegatedAdminRelationshipFromDiscriminatorValue,
|
|
59
|
+
queryParametersMapper: DelegatedAdminRelationshipItemRequestBuilderGetQueryParametersMapper,
|
|
60
|
+
},
|
|
61
|
+
patch: {
|
|
62
|
+
responseBodyContentType: "application/json",
|
|
63
|
+
errorMappings: {
|
|
64
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
65
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
66
|
+
},
|
|
67
|
+
adapterMethodName: "sendAsync",
|
|
68
|
+
responseBodyFactory: models_1.createDelegatedAdminRelationshipFromDiscriminatorValue,
|
|
69
|
+
requestBodyContentType: "application/json",
|
|
70
|
+
requestBodySerializer: models_1.serializeDelegatedAdminRelationship,
|
|
71
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Uri template for the request builder.
|
|
76
|
+
*/
|
|
77
|
+
exports.DelegatedAdminRelationshipItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}{?%24select,%24expand}";
|
|
78
|
+
/* tslint:enable */
|
|
79
|
+
/* 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}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/operations/$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,yIAAyI,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}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/operations/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|