Skip to content

Commit 18a94b4

Browse files
authored
Merge pull request #1058 from microsoftgraph/v1.0/pipelinebuild/247501
Generated models and request builders
2 parents e4033e6 + 0e19c12 commit 18a94b4

50 files changed

Lines changed: 1949 additions & 197 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎packages/kiota-dom-export.txt‎

Lines changed: 207 additions & 0 deletions
Large diffs are not rendered by default.

‎packages/kiota-lock.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"descriptionHash": "62F83CD8AE47B1679CAE90B419ECEEA7E8E9ADF2EC503FF31CD525A647F2DDFD950071B1DB63B0F65D03260D1AAD642FD78D44B4C15B04778387EC3A018DDF3A",
2+
"descriptionHash": "69696A6A0E6B0C446E2144BB6EA04E01713601E3448A463BAAB5112D4FE1A8CA2FEAB7731DA16DBD5CB6A6A8FE039C9934C019462E8777F3F8CC0A96C505B146",
33
"descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml",
44
"lockFileVersion": "1.0.0",
55
"kiotaVersion": "1.35.0",

‎packages/msgraph-sdk-directory/directory/tenantGovernance/governanceInvitations/index.ts‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,36 +27,38 @@ export interface GovernanceInvitationsRequestBuilder extends BaseRequestBuilder<
2727
*/
2828
byGovernanceInvitationId(governanceInvitationId: string) : GovernanceInvitationItemRequestBuilder;
2929
/**
30-
* Get governanceInvitations from directory
30+
* Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
3131
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3232
* @returns {Promise<GovernanceInvitationCollectionResponse>}
3333
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
34+
* @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governanceinvitations?view=graph-rest-1.0|Find more info here}
3435
*/
3536
get(requestConfiguration?: RequestConfiguration<GovernanceInvitationsRequestBuilderGetQueryParameters> | undefined) : Promise<GovernanceInvitationCollectionResponse | undefined>;
3637
/**
37-
* Create new navigation property to governanceInvitations for directory
38+
* Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
3839
* @param body The request body
3940
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4041
* @returns {Promise<GovernanceInvitation>}
4142
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
43+
* @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-post-governanceinvitations?view=graph-rest-1.0|Find more info here}
4244
*/
4345
post(body: GovernanceInvitation, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<GovernanceInvitation | undefined>;
4446
/**
45-
* Get governanceInvitations from directory
47+
* Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
4648
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4749
* @returns {RequestInformation}
4850
*/
4951
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GovernanceInvitationsRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
5052
/**
51-
* Create new navigation property to governanceInvitations for directory
53+
* Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
5254
* @param body The request body
5355
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5456
* @returns {RequestInformation}
5557
*/
5658
toPostRequestInformation(body: GovernanceInvitation, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5759
}
5860
/**
59-
* Get governanceInvitations from directory
61+
* Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
6062
*/
6163
export interface GovernanceInvitationsRequestBuilderGetQueryParameters {
6264
/**

‎packages/msgraph-sdk-directory/directory/tenantGovernance/governanceInvitations/item/index.ts‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,18 @@ import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type Requ
1313
*/
1414
export interface GovernanceInvitationItemRequestBuilder extends BaseRequestBuilder<GovernanceInvitationItemRequestBuilder> {
1515
/**
16-
* Delete navigation property governanceInvitations for directory
16+
* Delete a governanceInvitation object.
1717
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
1818
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
19+
* @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governanceinvitation-delete?view=graph-rest-1.0|Find more info here}
1920
*/
2021
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
2122
/**
22-
* Get governanceInvitations from directory
23+
* Read the properties of a governanceInvitation object.
2324
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2425
* @returns {Promise<GovernanceInvitation>}
2526
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
27+
* @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governanceinvitation-get?view=graph-rest-1.0|Find more info here}
2628
*/
2729
get(requestConfiguration?: RequestConfiguration<GovernanceInvitationItemRequestBuilderGetQueryParameters> | undefined) : Promise<GovernanceInvitation | undefined>;
2830
/**
@@ -34,13 +36,13 @@ export interface GovernanceInvitationItemRequestBuilder extends BaseRequestBuild
3436
*/
3537
patch(body: GovernanceInvitation, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<GovernanceInvitation | undefined>;
3638
/**
37-
* Delete navigation property governanceInvitations for directory
39+
* Delete a governanceInvitation object.
3840
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3941
* @returns {RequestInformation}
4042
*/
4143
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
4244
/**
43-
* Get governanceInvitations from directory
45+
* Read the properties of a governanceInvitation object.
4446
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4547
* @returns {RequestInformation}
4648
*/
@@ -54,7 +56,7 @@ export interface GovernanceInvitationItemRequestBuilder extends BaseRequestBuild
5456
toPatchRequestInformation(body: GovernanceInvitation, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5557
}
5658
/**
57-
* Get governanceInvitations from directory
59+
* Read the properties of a governanceInvitation object.
5860
*/
5961
export interface GovernanceInvitationItemRequestBuilderGetQueryParameters {
6062
/**

‎packages/msgraph-sdk-directory/directory/tenantGovernance/governancePolicyTemplates/index.ts‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,36 +27,38 @@ export interface GovernancePolicyTemplatesRequestBuilder extends BaseRequestBuil
2727
*/
2828
byTenantGovernancePolicyTemplateId(tenantGovernancePolicyTemplateId: string) : TenantGovernancePolicyTemplateItemRequestBuilder;
2929
/**
30-
* Get governancePolicyTemplates from directory
30+
* Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships.
3131
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3232
* @returns {Promise<TenantGovernancePolicyTemplateCollectionResponse>}
3333
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
34+
* @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governancepolicytemplates?view=graph-rest-1.0|Find more info here}
3435
*/
3536
get(requestConfiguration?: RequestConfiguration<GovernancePolicyTemplatesRequestBuilderGetQueryParameters> | undefined) : Promise<TenantGovernancePolicyTemplateCollectionResponse | undefined>;
3637
/**
37-
* Create new navigation property to governancePolicyTemplates for directory
38+
* Create a new tenantGovernancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision.
3839
* @param body The request body
3940
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4041
* @returns {Promise<TenantGovernancePolicyTemplate>}
4142
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
43+
* @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-post-governancepolicytemplates?view=graph-rest-1.0|Find more info here}
4244
*/
4345
post(body: TenantGovernancePolicyTemplate, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<TenantGovernancePolicyTemplate | undefined>;
4446
/**
45-
* Get governancePolicyTemplates from directory
47+
* Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships.
4648
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4749
* @returns {RequestInformation}
4850
*/
4951
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GovernancePolicyTemplatesRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
5052
/**
51-
* Create new navigation property to governancePolicyTemplates for directory
53+
* Create a new tenantGovernancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision.
5254
* @param body The request body
5355
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5456
* @returns {RequestInformation}
5557
*/
5658
toPostRequestInformation(body: TenantGovernancePolicyTemplate, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5759
}
5860
/**
59-
* Get governancePolicyTemplates from directory
61+
* Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships.
6062
*/
6163
export interface GovernancePolicyTemplatesRequestBuilderGetQueryParameters {
6264
/**

‎packages/msgraph-sdk-directory/directory/tenantGovernance/governancePolicyTemplates/item/index.ts‎

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,48 +13,51 @@ import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type Requ
1313
*/
1414
export interface TenantGovernancePolicyTemplateItemRequestBuilder extends BaseRequestBuilder<TenantGovernancePolicyTemplateItemRequestBuilder> {
1515
/**
16-
* Delete navigation property governancePolicyTemplates for directory
16+
* Delete a tenantGovernancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships.
1717
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
1818
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
19+
* @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-delete-governancepolicytemplates?view=graph-rest-1.0|Find more info here}
1920
*/
2021
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
2122
/**
22-
* Get governancePolicyTemplates from directory
23+
* Read the properties of a tenantGovernancePolicyTemplate object.
2324
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2425
* @returns {Promise<TenantGovernancePolicyTemplate>}
2526
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
27+
* @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governancepolicytemplate-get?view=graph-rest-1.0|Find more info here}
2628
*/
2729
get(requestConfiguration?: RequestConfiguration<TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters> | undefined) : Promise<TenantGovernancePolicyTemplate | undefined>;
2830
/**
29-
* Update the navigation property governancePolicyTemplates in directory
31+
* Update the properties of a tenantGovernancePolicyTemplate object.
3032
* @param body The request body
3133
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3234
* @returns {Promise<TenantGovernancePolicyTemplate>}
3335
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
36+
* @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governancepolicytemplate-update?view=graph-rest-1.0|Find more info here}
3437
*/
3538
patch(body: TenantGovernancePolicyTemplate, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<TenantGovernancePolicyTemplate | undefined>;
3639
/**
37-
* Delete navigation property governancePolicyTemplates for directory
40+
* Delete a tenantGovernancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships.
3841
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3942
* @returns {RequestInformation}
4043
*/
4144
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
4245
/**
43-
* Get governancePolicyTemplates from directory
46+
* Read the properties of a tenantGovernancePolicyTemplate object.
4447
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4548
* @returns {RequestInformation}
4649
*/
4750
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
4851
/**
49-
* Update the navigation property governancePolicyTemplates in directory
52+
* Update the properties of a tenantGovernancePolicyTemplate object.
5053
* @param body The request body
5154
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5255
* @returns {RequestInformation}
5356
*/
5457
toPatchRequestInformation(body: TenantGovernancePolicyTemplate, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5558
}
5659
/**
57-
* Get governancePolicyTemplates from directory
60+
* Read the properties of a tenantGovernancePolicyTemplate object.
5861
*/
5962
export interface TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters {
6063
/**

‎packages/msgraph-sdk-directory/directory/tenantGovernance/governanceRelationships/index.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ export interface GovernanceRelationshipsRequestBuilder extends BaseRequestBuilde
2727
*/
2828
byGovernanceRelationshipId(governanceRelationshipId: string) : GovernanceRelationshipItemRequestBuilder;
2929
/**
30-
* Get governanceRelationships from directory
30+
* Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant.
3131
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3232
* @returns {Promise<GovernanceRelationshipCollectionResponse>}
3333
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
34+
* @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governancerelationships?view=graph-rest-1.0|Find more info here}
3435
*/
3536
get(requestConfiguration?: RequestConfiguration<GovernanceRelationshipsRequestBuilderGetQueryParameters> | undefined) : Promise<GovernanceRelationshipCollectionResponse | undefined>;
3637
/**
@@ -42,7 +43,7 @@ export interface GovernanceRelationshipsRequestBuilder extends BaseRequestBuilde
4243
*/
4344
post(body: GovernanceRelationship, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<GovernanceRelationship | undefined>;
4445
/**
45-
* Get governanceRelationships from directory
46+
* Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant.
4647
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4748
* @returns {RequestInformation}
4849
*/
@@ -56,7 +57,7 @@ export interface GovernanceRelationshipsRequestBuilder extends BaseRequestBuilde
5657
toPostRequestInformation(body: GovernanceRelationship, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5758
}
5859
/**
59-
* Get governanceRelationships from directory
60+
* Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant.
6061
*/
6162
export interface GovernanceRelationshipsRequestBuilderGetQueryParameters {
6263
/**

0 commit comments

Comments
 (0)