@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,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DelegatedAdminRelationshipRequestItemRequestBuilderUriTemplate = exports.DelegatedAdminRelationshipRequestItemRequestBuilderRequestsMetadata = 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 DelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.DelegatedAdminRelationshipRequestItemRequestBuilderRequestsMetadata = {
|
|
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.createDelegatedAdminRelationshipRequestFromDiscriminatorValue,
|
|
36
|
+
queryParametersMapper: DelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParametersMapper,
|
|
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.createDelegatedAdminRelationshipRequestFromDiscriminatorValue,
|
|
46
|
+
requestBodyContentType: "application/json",
|
|
47
|
+
requestBodySerializer: models_1.serializeDelegatedAdminRelationshipRequest,
|
|
48
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Uri template for the request builder.
|
|
53
|
+
*/
|
|
54
|
+
exports.DelegatedAdminRelationshipRequestItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/requests/{delegatedAdminRelationshipRequest%2Did}{?%24select,%24expand}";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type TenantInformation } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to call the findTenantInformationByDomainName method.
|
|
5
|
+
*/
|
|
6
|
+
export interface FindTenantInformationByDomainNameWithDomainNameRequestBuilder extends BaseRequestBuilder<FindTenantInformationByDomainNameWithDomainNameRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Invoke function findTenantInformationByDomainName
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns a Promise of TenantInformation
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TenantInformation | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Invoke function findTenantInformationByDomainName
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns a RequestInformation
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Metadata for all the requests in the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const FindTenantInformationByDomainNameWithDomainNameRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
24
|
+
/**
|
|
25
|
+
* Uri template for the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const FindTenantInformationByDomainNameWithDomainNameRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/findTenantInformationByDomainName(domainName='{domainName}')";
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiD,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEvH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6DAA8D,SAAQ,kBAAkB,CAAC,6DAA6D,CAAC;IACpK;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAC/G;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,6EAA6E,EAAE,gBAU3F,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wEAAwE,gGAAgG,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FindTenantInformationByDomainNameWithDomainNameRequestBuilderUriTemplate = exports.FindTenantInformationByDomainNameWithDomainNameRequestBuilderRequestsMetadata = 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
|
+
* Metadata for all the requests in the request builder.
|
|
11
|
+
*/
|
|
12
|
+
exports.FindTenantInformationByDomainNameWithDomainNameRequestBuilderRequestsMetadata = {
|
|
13
|
+
get: {
|
|
14
|
+
responseBodyContentType: "application/json",
|
|
15
|
+
errorMappings: {
|
|
16
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
17
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
18
|
+
},
|
|
19
|
+
adapterMethodName: "sendAsync",
|
|
20
|
+
responseBodyFactory: models_1.createTenantInformationFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Uri template for the request builder.
|
|
25
|
+
*/
|
|
26
|
+
exports.FindTenantInformationByDomainNameWithDomainNameRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/findTenantInformationByDomainName(domainName='{domainName}')";
|
|
27
|
+
/* tslint:enable */
|
|
28
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type TenantInformation } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to call the findTenantInformationByTenantId method.
|
|
5
|
+
*/
|
|
6
|
+
export interface FindTenantInformationByTenantIdWithTenantIdRequestBuilder extends BaseRequestBuilder<FindTenantInformationByTenantIdWithTenantIdRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Invoke function findTenantInformationByTenantId
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns a Promise of TenantInformation
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TenantInformation | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Invoke function findTenantInformationByTenantId
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns a RequestInformation
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Metadata for all the requests in the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const FindTenantInformationByTenantIdWithTenantIdRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
24
|
+
/**
|
|
25
|
+
* Uri template for the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const FindTenantInformationByTenantIdWithTenantIdRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/findTenantInformationByTenantId(tenantId='{tenantId}')";
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiD,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEvH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yDAA0D,SAAQ,kBAAkB,CAAC,yDAAyD,CAAC;IAC5J;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAC/G;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,yEAAyE,EAAE,gBAUvF,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oEAAoE,0FAA0F,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FindTenantInformationByTenantIdWithTenantIdRequestBuilderUriTemplate = exports.FindTenantInformationByTenantIdWithTenantIdRequestBuilderRequestsMetadata = 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
|
+
* Metadata for all the requests in the request builder.
|
|
11
|
+
*/
|
|
12
|
+
exports.FindTenantInformationByTenantIdWithTenantIdRequestBuilderRequestsMetadata = {
|
|
13
|
+
get: {
|
|
14
|
+
responseBodyContentType: "application/json",
|
|
15
|
+
errorMappings: {
|
|
16
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
17
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
18
|
+
},
|
|
19
|
+
adapterMethodName: "sendAsync",
|
|
20
|
+
responseBodyFactory: models_1.createTenantInformationFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Uri template for the request builder.
|
|
25
|
+
*/
|
|
26
|
+
exports.FindTenantInformationByTenantIdWithTenantIdRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/findTenantInformationByTenantId(tenantId='{tenantId}')";
|
|
27
|
+
/* tslint:enable */
|
|
28
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { type TenantRelationship } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type DelegatedAdminCustomersRequestBuilder } from './delegatedAdminCustomers/';
|
|
3
|
+
import { type DelegatedAdminRelationshipsRequestBuilder } from './delegatedAdminRelationships/';
|
|
4
|
+
import { type FindTenantInformationByDomainNameWithDomainNameRequestBuilder } from './findTenantInformationByDomainNameWithDomainName/';
|
|
5
|
+
import { type FindTenantInformationByTenantIdWithTenantIdRequestBuilder } from './findTenantInformationByTenantIdWithTenantId/';
|
|
6
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
7
|
+
/**
|
|
8
|
+
* Provides operations to manage the tenantRelationship singleton.
|
|
9
|
+
*/
|
|
10
|
+
export interface TenantRelationshipsRequestBuilder extends BaseRequestBuilder<TenantRelationshipsRequestBuilder> {
|
|
11
|
+
/**
|
|
12
|
+
* Provides operations to manage the delegatedAdminCustomers property of the microsoft.graph.tenantRelationship entity.
|
|
13
|
+
*/
|
|
14
|
+
get delegatedAdminCustomers(): DelegatedAdminCustomersRequestBuilder;
|
|
15
|
+
/**
|
|
16
|
+
* Provides operations to manage the delegatedAdminRelationships property of the microsoft.graph.tenantRelationship entity.
|
|
17
|
+
*/
|
|
18
|
+
get delegatedAdminRelationships(): DelegatedAdminRelationshipsRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Provides operations to call the findTenantInformationByDomainName method.
|
|
21
|
+
* @param domainName Usage: domainName='{domainName}'
|
|
22
|
+
* @returns a findTenantInformationByDomainNameWithDomainNameRequestBuilder
|
|
23
|
+
*/
|
|
24
|
+
findTenantInformationByDomainNameWithDomainName(domainName: string | undefined): FindTenantInformationByDomainNameWithDomainNameRequestBuilder;
|
|
25
|
+
/**
|
|
26
|
+
* Provides operations to call the findTenantInformationByTenantId method.
|
|
27
|
+
* @param tenantId Usage: tenantId='{tenantId}'
|
|
28
|
+
* @returns a findTenantInformationByTenantIdWithTenantIdRequestBuilder
|
|
29
|
+
*/
|
|
30
|
+
findTenantInformationByTenantIdWithTenantId(tenantId: string | undefined): FindTenantInformationByTenantIdWithTenantIdRequestBuilder;
|
|
31
|
+
/**
|
|
32
|
+
* Get tenantRelationships
|
|
33
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
* @returns a Promise of TenantRelationship
|
|
35
|
+
*/
|
|
36
|
+
get(requestConfiguration?: RequestConfiguration<TenantRelationshipsRequestBuilderGetQueryParameters> | undefined): Promise<TenantRelationship | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* Update tenantRelationships
|
|
39
|
+
* @param body The request body
|
|
40
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
|
+
* @returns a Promise of TenantRelationship
|
|
42
|
+
*/
|
|
43
|
+
patch(body: TenantRelationship, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TenantRelationship | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* Get tenantRelationships
|
|
46
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
+
* @returns a RequestInformation
|
|
48
|
+
*/
|
|
49
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TenantRelationshipsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
50
|
+
/**
|
|
51
|
+
* Update tenantRelationships
|
|
52
|
+
* @param body The request body
|
|
53
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
|
+
* @returns a RequestInformation
|
|
55
|
+
*/
|
|
56
|
+
toPatchRequestInformation(body: TenantRelationship, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Get tenantRelationships
|
|
60
|
+
*/
|
|
61
|
+
export interface TenantRelationshipsRequestBuilderGetQueryParameters {
|
|
62
|
+
/**
|
|
63
|
+
* Expand related entities
|
|
64
|
+
*/
|
|
65
|
+
expand?: string[];
|
|
66
|
+
/**
|
|
67
|
+
* Select properties to be returned
|
|
68
|
+
*/
|
|
69
|
+
select?: string[];
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Metadata for all the navigation properties in the request builder.
|
|
73
|
+
*/
|
|
74
|
+
export declare const TenantRelationshipsRequestBuilderNavigationMetadata: Record<Exclude<keyof TenantRelationshipsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
75
|
+
/**
|
|
76
|
+
* Metadata for all the requests in the request builder.
|
|
77
|
+
*/
|
|
78
|
+
export declare const TenantRelationshipsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
79
|
+
/**
|
|
80
|
+
* Uri template for the request builder.
|
|
81
|
+
*/
|
|
82
|
+
export declare const TenantRelationshipsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships{?%24select,%24expand}";
|
|
83
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEtJ,OAAO,EAAoK,KAAK,qCAAqC,EAAE,MAAM,4BAA4B,CAAC;AAC1P,OAAO,EAAgL,KAAK,yCAAyC,EAAE,MAAM,gCAAgC,CAAC;AAC9Q,OAAO,EAA2J,KAAK,6DAA6D,EAAE,MAAM,oDAAoD,CAAC;AACjS,OAAO,EAAmJ,KAAK,yDAAyD,EAAE,MAAM,gDAAgD,CAAC;AACjR,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,iCAAkC,SAAQ,kBAAkB,CAAC,iCAAiC,CAAC;IAC5G;;OAEG;IACH,IAAI,uBAAuB,IAAI,qCAAqC,CAAC;IACrE;;OAEG;IACH,IAAI,2BAA2B,IAAI,yCAAyC,CAAC;IAC7E;;;;OAIG;IACF,+CAA+C,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,GAAI,6DAA6D,CAAC;IACjJ;;;;OAIG;IACF,2CAA2C,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAI,yDAAyD,CAAC;IACvI;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mDAAmD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC7J;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC5I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mDAAmD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC5J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9I;AACD;;GAEG;AACH,MAAM,WAAW,mDAAmD;IAChE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,iCAAiC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAmBhL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,gBAuB/D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,yDAAyD,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TenantRelationshipsRequestBuilderUriTemplate = exports.TenantRelationshipsRequestBuilderRequestsMetadata = exports.TenantRelationshipsRequestBuilderNavigationMetadata = 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 delegatedAdminCustomers_1 = require("./delegatedAdminCustomers/");
|
|
10
|
+
const delegatedAdminRelationships_1 = require("./delegatedAdminRelationships/");
|
|
11
|
+
const findTenantInformationByDomainNameWithDomainName_1 = require("./findTenantInformationByDomainNameWithDomainName/");
|
|
12
|
+
const findTenantInformationByTenantIdWithTenantId_1 = require("./findTenantInformationByTenantIdWithTenantId/");
|
|
13
|
+
/**
|
|
14
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
15
|
+
*/
|
|
16
|
+
const TenantRelationshipsRequestBuilderGetQueryParametersMapper = {
|
|
17
|
+
"expand": "%24expand",
|
|
18
|
+
"select": "%24select",
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Metadata for all the navigation properties in the request builder.
|
|
22
|
+
*/
|
|
23
|
+
exports.TenantRelationshipsRequestBuilderNavigationMetadata = {
|
|
24
|
+
findTenantInformationByDomainNameWithDomainName: {
|
|
25
|
+
uriTemplate: findTenantInformationByDomainNameWithDomainName_1.FindTenantInformationByDomainNameWithDomainNameRequestBuilderUriTemplate,
|
|
26
|
+
requestsMetadata: findTenantInformationByDomainNameWithDomainName_1.FindTenantInformationByDomainNameWithDomainNameRequestBuilderRequestsMetadata,
|
|
27
|
+
},
|
|
28
|
+
findTenantInformationByTenantIdWithTenantId: {
|
|
29
|
+
uriTemplate: findTenantInformationByTenantIdWithTenantId_1.FindTenantInformationByTenantIdWithTenantIdRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: findTenantInformationByTenantIdWithTenantId_1.FindTenantInformationByTenantIdWithTenantIdRequestBuilderRequestsMetadata,
|
|
31
|
+
},
|
|
32
|
+
delegatedAdminCustomers: {
|
|
33
|
+
uriTemplate: delegatedAdminCustomers_1.DelegatedAdminCustomersRequestBuilderUriTemplate,
|
|
34
|
+
requestsMetadata: delegatedAdminCustomers_1.DelegatedAdminCustomersRequestBuilderRequestsMetadata,
|
|
35
|
+
navigationMetadata: delegatedAdminCustomers_1.DelegatedAdminCustomersRequestBuilderNavigationMetadata,
|
|
36
|
+
},
|
|
37
|
+
delegatedAdminRelationships: {
|
|
38
|
+
uriTemplate: delegatedAdminRelationships_1.DelegatedAdminRelationshipsRequestBuilderUriTemplate,
|
|
39
|
+
requestsMetadata: delegatedAdminRelationships_1.DelegatedAdminRelationshipsRequestBuilderRequestsMetadata,
|
|
40
|
+
navigationMetadata: delegatedAdminRelationships_1.DelegatedAdminRelationshipsRequestBuilderNavigationMetadata,
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Metadata for all the requests in the request builder.
|
|
45
|
+
*/
|
|
46
|
+
exports.TenantRelationshipsRequestBuilderRequestsMetadata = {
|
|
47
|
+
get: {
|
|
48
|
+
responseBodyContentType: "application/json",
|
|
49
|
+
errorMappings: {
|
|
50
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
51
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
52
|
+
},
|
|
53
|
+
adapterMethodName: "sendAsync",
|
|
54
|
+
responseBodyFactory: models_1.createTenantRelationshipFromDiscriminatorValue,
|
|
55
|
+
queryParametersMapper: TenantRelationshipsRequestBuilderGetQueryParametersMapper,
|
|
56
|
+
},
|
|
57
|
+
patch: {
|
|
58
|
+
responseBodyContentType: "application/json",
|
|
59
|
+
errorMappings: {
|
|
60
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
61
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
62
|
+
},
|
|
63
|
+
adapterMethodName: "sendAsync",
|
|
64
|
+
responseBodyFactory: models_1.createTenantRelationshipFromDiscriminatorValue,
|
|
65
|
+
requestBodyContentType: "application/json",
|
|
66
|
+
requestBodySerializer: models_1.serializeTenantRelationship,
|
|
67
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Uri template for the request builder.
|
|
72
|
+
*/
|
|
73
|
+
exports.TenantRelationshipsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships{?%24select,%24expand}";
|
|
74
|
+
/* tslint:enable */
|
|
75
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type TenantRelationshipsRequestBuilder } from './tenantRelationships/';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestAdapter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Instantiates a new TenantRelationshipsServiceClient and sets the default values.
|
|
5
|
+
* @param requestAdapter The request adapter to use to execute the requests.
|
|
6
|
+
*/
|
|
7
|
+
export declare function createTenantRelationshipsServiceClient(requestAdapter: RequestAdapter): TenantRelationshipsServiceClient;
|
|
8
|
+
/**
|
|
9
|
+
* The main entry point of the SDK, exposes the configuration and the fluent API.
|
|
10
|
+
*/
|
|
11
|
+
export interface TenantRelationshipsServiceClient extends BaseRequestBuilder<TenantRelationshipsServiceClient> {
|
|
12
|
+
/**
|
|
13
|
+
* Provides operations to manage the tenantRelationship singleton.
|
|
14
|
+
*/
|
|
15
|
+
get tenantRelationships(): TenantRelationshipsRequestBuilder;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the navigation properties in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export declare const TenantRelationshipsServiceClientNavigationMetadata: Record<Exclude<keyof TenantRelationshipsServiceClient, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
21
|
+
/**
|
|
22
|
+
* Uri template for the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export declare const TenantRelationshipsServiceClientUriTemplate = "{+baseurl}";
|
|
25
|
+
//# sourceMappingURL=tenantRelationshipsServiceClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tenantRelationshipsServiceClient.d.ts","sourceRoot":"","sources":["tenantRelationshipsServiceClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwJ,KAAK,iCAAiC,EAAE,MAAM,wBAAwB,CAAC;AACtO,OAAO,EAA8E,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAM3O;;;GAGG;AACH,wBAAgB,sCAAsC,CAAC,cAAc,EAAE,cAAc,oCAepF;AACD;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;OAEG;IACH,IAAI,mBAAmB,IAAI,iCAAiC,CAAC;CAChE;AACD;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,gCAAgC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAM9K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,eAAe,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TenantRelationshipsServiceClientUriTemplate = exports.TenantRelationshipsServiceClientNavigationMetadata = exports.createTenantRelationshipsServiceClient = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const tenantRelationships_1 = require("./tenantRelationships/");
|
|
8
|
+
const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
|
|
9
|
+
const kiota_serialization_form_1 = require("@microsoft/kiota-serialization-form");
|
|
10
|
+
const kiota_serialization_json_1 = require("@microsoft/kiota-serialization-json");
|
|
11
|
+
const kiota_serialization_multipart_1 = require("@microsoft/kiota-serialization-multipart");
|
|
12
|
+
const kiota_serialization_text_1 = require("@microsoft/kiota-serialization-text");
|
|
13
|
+
/**
|
|
14
|
+
* Instantiates a new TenantRelationshipsServiceClient and sets the default values.
|
|
15
|
+
* @param requestAdapter The request adapter to use to execute the requests.
|
|
16
|
+
*/
|
|
17
|
+
function createTenantRelationshipsServiceClient(requestAdapter) {
|
|
18
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_json_1.JsonSerializationWriterFactory);
|
|
19
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_text_1.TextSerializationWriterFactory);
|
|
20
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_form_1.FormSerializationWriterFactory);
|
|
21
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_multipart_1.MultipartSerializationWriterFactory);
|
|
22
|
+
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_json_1.JsonParseNodeFactory);
|
|
23
|
+
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_text_1.TextParseNodeFactory);
|
|
24
|
+
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_form_1.FormParseNodeFactory);
|
|
25
|
+
if (requestAdapter.baseUrl === undefined || requestAdapter.baseUrl === "") {
|
|
26
|
+
requestAdapter.baseUrl = "https://graph.microsoft.com/v1.0";
|
|
27
|
+
}
|
|
28
|
+
const pathParameters = {
|
|
29
|
+
"baseurl": requestAdapter.baseUrl,
|
|
30
|
+
};
|
|
31
|
+
return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.TenantRelationshipsServiceClientUriTemplate, exports.TenantRelationshipsServiceClientNavigationMetadata, undefined);
|
|
32
|
+
}
|
|
33
|
+
exports.createTenantRelationshipsServiceClient = createTenantRelationshipsServiceClient;
|
|
34
|
+
/**
|
|
35
|
+
* Metadata for all the navigation properties in the request builder.
|
|
36
|
+
*/
|
|
37
|
+
exports.TenantRelationshipsServiceClientNavigationMetadata = {
|
|
38
|
+
tenantRelationships: {
|
|
39
|
+
uriTemplate: tenantRelationships_1.TenantRelationshipsRequestBuilderUriTemplate,
|
|
40
|
+
requestsMetadata: tenantRelationships_1.TenantRelationshipsRequestBuilderRequestsMetadata,
|
|
41
|
+
navigationMetadata: tenantRelationships_1.TenantRelationshipsRequestBuilderNavigationMetadata,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Uri template for the request builder.
|
|
46
|
+
*/
|
|
47
|
+
exports.TenantRelationshipsServiceClientUriTemplate = "{+baseurl}";
|
|
48
|
+
/* tslint:enable */
|
|
49
|
+
/* eslint-enable */
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"extends": "../tsconfig.base.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"resolveJsonModule": true,
|
|
6
|
+
"esModuleInterop": true,
|
|
7
|
+
"baseUrl": "./",
|
|
8
|
+
"paths": {
|
|
9
|
+
"@microsoft/msgraph-sdk": ["../msgraph-sdk"]
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"include": ["**/*.ts"],
|
|
13
|
+
"exclude": ["node_modules", "**/__tests__/*", "**/__e2e__/*"],
|
|
14
|
+
"references": [{ "path": "../msgraph-sdk" }]
|
|
15
|
+
}
|