@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
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Microsoft Graph
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
package/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TenantRelationshipsRequestBuilder } from "./tenantRelationships";
|
|
2
|
+
declare module "@microsoft/msgraph-sdk" {
|
|
3
|
+
interface GraphServiceClient {
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the tenantRelationships singleton.
|
|
6
|
+
*/
|
|
7
|
+
get tenantRelationships(): TenantRelationshipsRequestBuilder;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export * from "./tenantRelationshipsServiceClient";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,uBAAuB,CAAC;AAG/E,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAU,kBAAkB;QAC1B;;WAEG;QACH,IAAI,mBAAmB,IAAI,iCAAiC,CAAC;KAC9D;CACF;AAED,cAAc,oCAAoC,CAAC"}
|
package/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
const msgraph_sdk_1 = require("@microsoft/msgraph-sdk");
|
|
18
|
+
const tenantRelationshipsServiceClient_1 = require("./tenantRelationshipsServiceClient");
|
|
19
|
+
(0, msgraph_sdk_1.extendGraphServiceClient)(tenantRelationshipsServiceClient_1.TenantRelationshipsServiceClientNavigationMetadata);
|
|
20
|
+
__exportStar(require("./tenantRelationshipsServiceClient"), exports);
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@microsoft/msgraph-sdk-tenantrelationships",
|
|
3
|
+
"version": "1.0.0-preview.10",
|
|
4
|
+
"description": "TenantRelationships fluent API for Microsoft Graph",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"Microsoft",
|
|
7
|
+
"Graph",
|
|
8
|
+
"msgraph",
|
|
9
|
+
"API",
|
|
10
|
+
"SDK",
|
|
11
|
+
"tenantRelationships"
|
|
12
|
+
],
|
|
13
|
+
"author": "Microsoft <graphsdkpub+javascript@microsoft.com>",
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"main": "index.js",
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/microsoftgraph/msgraph-sdk-typescript.git"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "tsc -p tsconfig.json",
|
|
25
|
+
"lint": "eslint . --ext .ts",
|
|
26
|
+
"lint:fix": "eslint . --ext .ts --fix",
|
|
27
|
+
"clean": "rimraf -g **/*.d.ts && rimraf -g **/*.d.ts.map && rimraf -g **/*.js.map && rimraf -g **/*.js && rimraf tsconfig.tsbuildinfo"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/microsoftgraph/msgraph-sdk-typescript/issues"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/microsoftgraph/msgraph-sdk-typescript#readme",
|
|
33
|
+
"types": "index.d.ts",
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@microsoft/kiota-abstractions": "^1.0.0-preview.38",
|
|
36
|
+
"@microsoft/kiota-serialization-form": "^1.0.0-preview.27",
|
|
37
|
+
"@microsoft/kiota-serialization-json": "^1.0.0-preview.38",
|
|
38
|
+
"@microsoft/kiota-serialization-multipart": "^1.0.0-preview.17",
|
|
39
|
+
"@microsoft/kiota-serialization-text": "^1.0.0-preview.35",
|
|
40
|
+
"@microsoft/msgraph-sdk": "^1.0.0-preview.10",
|
|
41
|
+
"guid-typescript": "^1.0.9",
|
|
42
|
+
"tslib": "^2.6.2"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"typescript": "^5.3.3"
|
|
46
|
+
},
|
|
47
|
+
"gitHead": "15d9675ebafd32092472a638aa8d5d9276e283b1"
|
|
48
|
+
}
|
|
@@ -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/delegatedAdminCustomers/$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,wFAAwF,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/delegatedAdminCustomers/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type DelegatedAdminCustomer, type DelegatedAdminCustomerCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type DelegatedAdminCustomerItemRequestBuilder } 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 delegatedAdminCustomers property of the microsoft.graph.tenantRelationship entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface DelegatedAdminCustomersRequestBuilder extends BaseRequestBuilder<DelegatedAdminCustomersRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the delegatedAdminCustomers property of the microsoft.graph.tenantRelationship entity.
|
|
15
|
+
* @param delegatedAdminCustomerId The unique identifier of delegatedAdminCustomer
|
|
16
|
+
* @returns a DelegatedAdminCustomerItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byDelegatedAdminCustomerId(delegatedAdminCustomerId: string): DelegatedAdminCustomerItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Get a list of the delegatedAdminCustomer objects and their properties.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of DelegatedAdminCustomerCollectionResponse
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/tenantrelationship-list-delegatedadmincustomers?view=graph-rest-1.0|Find more info here}
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<DelegatedAdminCustomersRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminCustomerCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create new navigation property to delegatedAdminCustomers for tenantRelationships
|
|
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 DelegatedAdminCustomer
|
|
31
|
+
*/
|
|
32
|
+
post(body: DelegatedAdminCustomer, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminCustomer | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Get a list of the delegatedAdminCustomer objects and their properties.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DelegatedAdminCustomersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Create new navigation property to delegatedAdminCustomers for tenantRelationships
|
|
41
|
+
* @param body The request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns a RequestInformation
|
|
44
|
+
*/
|
|
45
|
+
toPostRequestInformation(body: DelegatedAdminCustomer, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Get a list of the delegatedAdminCustomer objects and their properties.
|
|
49
|
+
*/
|
|
50
|
+
export interface DelegatedAdminCustomersRequestBuilderGetQueryParameters {
|
|
51
|
+
/**
|
|
52
|
+
* Include count of items
|
|
53
|
+
*/
|
|
54
|
+
count?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Expand related entities
|
|
57
|
+
*/
|
|
58
|
+
expand?: string[];
|
|
59
|
+
/**
|
|
60
|
+
* Filter items by property values
|
|
61
|
+
*/
|
|
62
|
+
filter?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Order items by property values
|
|
65
|
+
*/
|
|
66
|
+
orderby?: string[];
|
|
67
|
+
/**
|
|
68
|
+
* Search items by search phrases
|
|
69
|
+
*/
|
|
70
|
+
search?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Select properties to be returned
|
|
73
|
+
*/
|
|
74
|
+
select?: string[];
|
|
75
|
+
/**
|
|
76
|
+
* Skip the first n items
|
|
77
|
+
*/
|
|
78
|
+
skip?: number;
|
|
79
|
+
/**
|
|
80
|
+
* Show only the first n items
|
|
81
|
+
*/
|
|
82
|
+
top?: number;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Metadata for all the navigation properties in the request builder.
|
|
86
|
+
*/
|
|
87
|
+
export declare const DelegatedAdminCustomersRequestBuilderNavigationMetadata: Record<Exclude<keyof DelegatedAdminCustomersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
88
|
+
/**
|
|
89
|
+
* Metadata for all the requests in the request builder.
|
|
90
|
+
*/
|
|
91
|
+
export declare const DelegatedAdminCustomersRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
92
|
+
/**
|
|
93
|
+
* Uri template for the request builder.
|
|
94
|
+
*/
|
|
95
|
+
export declare const DelegatedAdminCustomersRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
96
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6J,KAAK,sBAAsB,EAAE,KAAK,wCAAwC,EAAE,MAAM,gCAAgC,CAAC;AAEvR,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA6K,KAAK,wCAAwC,EAAE,MAAM,SAAS,CAAC;AACnP,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,qCAAsC,SAAQ,kBAAkB,CAAC,qCAAqC,CAAC;IACpH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,0BAA0B,CAAC,wBAAwB,EAAE,MAAM,GAAI,wCAAwC,CAAC;IACzG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uDAAuD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wCAAwC,GAAG,SAAS,CAAC,CAAC;IACvL;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACnJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uDAAuD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,uDAAuD;IACpE;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qCAAqC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWxL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBAuBnE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,wIAAwI,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DelegatedAdminCustomersRequestBuilderUriTemplate = exports.DelegatedAdminCustomersRequestBuilderRequestsMetadata = exports.DelegatedAdminCustomersRequestBuilderNavigationMetadata = 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 DelegatedAdminCustomersRequestBuilderGetQueryParametersMapper = {
|
|
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.DelegatedAdminCustomersRequestBuilderNavigationMetadata = {
|
|
28
|
+
byDelegatedAdminCustomerId: {
|
|
29
|
+
uriTemplate: item_1.DelegatedAdminCustomerItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.DelegatedAdminCustomerItemRequestBuilderRequestsMetadata,
|
|
31
|
+
navigationMetadata: item_1.DelegatedAdminCustomerItemRequestBuilderNavigationMetadata,
|
|
32
|
+
pathParametersMappings: ["delegatedAdminCustomer%2Did"],
|
|
33
|
+
},
|
|
34
|
+
count: {
|
|
35
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
36
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
exports.DelegatedAdminCustomersRequestBuilderRequestsMetadata = {
|
|
43
|
+
get: {
|
|
44
|
+
responseBodyContentType: "application/json",
|
|
45
|
+
errorMappings: {
|
|
46
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
},
|
|
49
|
+
adapterMethodName: "sendAsync",
|
|
50
|
+
responseBodyFactory: models_1.createDelegatedAdminCustomerCollectionResponseFromDiscriminatorValue,
|
|
51
|
+
queryParametersMapper: DelegatedAdminCustomersRequestBuilderGetQueryParametersMapper,
|
|
52
|
+
},
|
|
53
|
+
post: {
|
|
54
|
+
responseBodyContentType: "application/json",
|
|
55
|
+
errorMappings: {
|
|
56
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
},
|
|
59
|
+
adapterMethodName: "sendAsync",
|
|
60
|
+
responseBodyFactory: models_1.createDelegatedAdminCustomerFromDiscriminatorValue,
|
|
61
|
+
requestBodyContentType: "application/json",
|
|
62
|
+
requestBodySerializer: models_1.serializeDelegatedAdminCustomer,
|
|
63
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.DelegatedAdminCustomersRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
70
|
+
/* tslint:enable */
|
|
71
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type DelegatedAdminCustomer } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type ServiceManagementDetailsRequestBuilder } from './serviceManagementDetails/';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the delegatedAdminCustomers property of the microsoft.graph.tenantRelationship entity.
|
|
6
|
+
*/
|
|
7
|
+
export interface DelegatedAdminCustomerItemRequestBuilder extends BaseRequestBuilder<DelegatedAdminCustomerItemRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to manage the serviceManagementDetails property of the microsoft.graph.delegatedAdminCustomer entity.
|
|
10
|
+
*/
|
|
11
|
+
get serviceManagementDetails(): ServiceManagementDetailsRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Delete navigation property delegatedAdminCustomers for tenantRelationships
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
*/
|
|
16
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
17
|
+
/**
|
|
18
|
+
* Read the properties of a delegatedAdminCustomer object.
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @returns a Promise of DelegatedAdminCustomer
|
|
21
|
+
* @see {@link https://learn.microsoft.com/graph/api/delegatedadmincustomer-get?view=graph-rest-1.0|Find more info here}
|
|
22
|
+
*/
|
|
23
|
+
get(requestConfiguration?: RequestConfiguration<DelegatedAdminCustomerItemRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminCustomer | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Update the navigation property delegatedAdminCustomers in tenantRelationships
|
|
26
|
+
* @param body The request body
|
|
27
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
28
|
+
* @returns a Promise of DelegatedAdminCustomer
|
|
29
|
+
*/
|
|
30
|
+
patch(body: DelegatedAdminCustomer, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminCustomer | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Delete navigation property delegatedAdminCustomers for tenantRelationships
|
|
33
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
* @returns a RequestInformation
|
|
35
|
+
*/
|
|
36
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
37
|
+
/**
|
|
38
|
+
* Read the properties of a delegatedAdminCustomer object.
|
|
39
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
|
+
* @returns a RequestInformation
|
|
41
|
+
*/
|
|
42
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DelegatedAdminCustomerItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
43
|
+
/**
|
|
44
|
+
* Update the navigation property delegatedAdminCustomers in tenantRelationships
|
|
45
|
+
* @param body The request body
|
|
46
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
+
* @returns a RequestInformation
|
|
48
|
+
*/
|
|
49
|
+
toPatchRequestInformation(body: DelegatedAdminCustomer, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Read the properties of a delegatedAdminCustomer object.
|
|
53
|
+
*/
|
|
54
|
+
export interface DelegatedAdminCustomerItemRequestBuilderGetQueryParameters {
|
|
55
|
+
/**
|
|
56
|
+
* Expand related entities
|
|
57
|
+
*/
|
|
58
|
+
expand?: string[];
|
|
59
|
+
/**
|
|
60
|
+
* Select properties to be returned
|
|
61
|
+
*/
|
|
62
|
+
select?: string[];
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Metadata for all the navigation properties in the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const DelegatedAdminCustomerItemRequestBuilderNavigationMetadata: Record<Exclude<keyof DelegatedAdminCustomerItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
68
|
+
/**
|
|
69
|
+
* Metadata for all the requests in the request builder.
|
|
70
|
+
*/
|
|
71
|
+
export declare const DelegatedAdminCustomerItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
72
|
+
/**
|
|
73
|
+
* Uri template for the request builder.
|
|
74
|
+
*/
|
|
75
|
+
export declare const DelegatedAdminCustomerItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}{?%24select,%24expand}";
|
|
76
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuF,KAAK,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAElK,OAAO,EAAuK,KAAK,sCAAsC,EAAE,MAAM,6BAA6B,CAAC;AAC/P,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,wCAAyC,SAAQ,kBAAkB,CAAC,wCAAwC,CAAC;IAC1H;;OAEG;IACH,IAAI,wBAAwB,IAAI,sCAAsC,CAAC;IACvE;;;OAGG;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,0DAA0D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACxK;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACpJ;;;;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,0DAA0D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACnK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;GAEG;AACH,MAAM,WAAW,0DAA0D;IACvE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,0DAA0D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wCAAwC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAM9L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wDAAwD,EAAE,gBA+BtE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mDAAmD,+GAA+G,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DelegatedAdminCustomerItemRequestBuilderUriTemplate = exports.DelegatedAdminCustomerItemRequestBuilderRequestsMetadata = exports.DelegatedAdminCustomerItemRequestBuilderNavigationMetadata = 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 serviceManagementDetails_1 = require("./serviceManagementDetails/");
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const DelegatedAdminCustomerItemRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"expand": "%24expand",
|
|
15
|
+
"select": "%24select",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the navigation properties in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
exports.DelegatedAdminCustomerItemRequestBuilderNavigationMetadata = {
|
|
21
|
+
serviceManagementDetails: {
|
|
22
|
+
uriTemplate: serviceManagementDetails_1.ServiceManagementDetailsRequestBuilderUriTemplate,
|
|
23
|
+
requestsMetadata: serviceManagementDetails_1.ServiceManagementDetailsRequestBuilderRequestsMetadata,
|
|
24
|
+
navigationMetadata: serviceManagementDetails_1.ServiceManagementDetailsRequestBuilderNavigationMetadata,
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Metadata for all the requests in the request builder.
|
|
29
|
+
*/
|
|
30
|
+
exports.DelegatedAdminCustomerItemRequestBuilderRequestsMetadata = {
|
|
31
|
+
delete: {
|
|
32
|
+
responseBodyContentType: "application/json",
|
|
33
|
+
errorMappings: {
|
|
34
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
35
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
36
|
+
},
|
|
37
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
38
|
+
},
|
|
39
|
+
get: {
|
|
40
|
+
responseBodyContentType: "application/json",
|
|
41
|
+
errorMappings: {
|
|
42
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
44
|
+
},
|
|
45
|
+
adapterMethodName: "sendAsync",
|
|
46
|
+
responseBodyFactory: models_1.createDelegatedAdminCustomerFromDiscriminatorValue,
|
|
47
|
+
queryParametersMapper: DelegatedAdminCustomerItemRequestBuilderGetQueryParametersMapper,
|
|
48
|
+
},
|
|
49
|
+
patch: {
|
|
50
|
+
responseBodyContentType: "application/json",
|
|
51
|
+
errorMappings: {
|
|
52
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
53
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
54
|
+
},
|
|
55
|
+
adapterMethodName: "sendAsync",
|
|
56
|
+
responseBodyFactory: models_1.createDelegatedAdminCustomerFromDiscriminatorValue,
|
|
57
|
+
requestBodyContentType: "application/json",
|
|
58
|
+
requestBodySerializer: models_1.serializeDelegatedAdminCustomer,
|
|
59
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Uri template for the request builder.
|
|
64
|
+
*/
|
|
65
|
+
exports.DelegatedAdminCustomerItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}{?%24select,%24expand}";
|
|
66
|
+
/* tslint:enable */
|
|
67
|
+
/* eslint-enable */
|
package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/count/index.d.ts
ADDED
|
@@ -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/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails/$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,+IAA+I,CAAC"}
|
package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/count/index.js
ADDED
|
@@ -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/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|