Skip to content

Commit 20dbf92

Browse files
authored
Merge pull request #209 from microsoftgraph/beta/pipelinebuild/172211
Generated beta models and request builders
2 parents 3a1de81 + ff681c9 commit 20dbf92

96 files changed

Lines changed: 5636 additions & 199 deletions

File tree

  • packages
    • msgraph-beta-sdk-accessReviews/accessReviews
    • msgraph-beta-sdk-administrativeUnits/administrativeUnits/item
    • msgraph-beta-sdk-admin/admin/windows/updates
    • msgraph-beta-sdk-app/app/calls/item/contentSharingSessions
    • msgraph-beta-sdk-communications/communications/calls/item/contentSharingSessions
    • msgraph-beta-sdk-deviceManagement/deviceManagement
    • msgraph-beta-sdk-directory/directory/administrativeUnits/item
    • msgraph-beta-sdk-drives/drives/item/items/item/workbook
    • msgraph-beta-sdk-external/external
    • msgraph-beta-sdk-groups/groups
    • msgraph-beta-sdk-identityGovernance/identityGovernance
      • entitlementManagement
        • accessPackageCatalogs/item
          • accessPackageCustomWorkflowExtensions/item
          • accessPackageResourceRoles
          • customAccessPackageWorkflowExtensions/item
        • accessPackagesWithUniqueName
        • accessPackages/item
      • termsOfUse/agreements/item
    • msgraph-beta-sdk-identity/identity
    • msgraph-beta-sdk-policies/policies/federatedTokenValidationPolicy
    • msgraph-beta-sdk-reports/reports
      • serviceActivity
        • getActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
        • getUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes
      • userInsights
    • msgraph-beta-sdk-security/security/cases/ediscoveryCases/item/custodians/item/microsoftGraphSecurityApplyHold
    • msgraph-beta-sdk-servicePrincipals/servicePrincipals/item/claimsPolicy
    • msgraph-beta-sdk-sites/sites
    • msgraph-beta-sdk-teams/teams/item/channels/item
    • msgraph-beta-sdk-users/users/item
    • msgraph-beta-sdk/models

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: 649 additions & 4 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": "B8B4A751A04F12CD29298F665AB69EB0286A1F9E2C76B868A09386890F7C99FADFDA018E977DC18402BA3FD3EFEF8CD71EAB30E64E1B7351DD0B02EB76A2BDC3",
2+
"descriptionHash": "4641BD7E28A76AB0CDF1D8A276424B0690677022FF97D45ED1717B4627B06BD9F42CD0CBE280CAD3CF3CB906ED657475ABCB4FFDE5C7154C04D8E6B63B9C6353",
33
"descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml",
44
"lockFileVersion": "1.0.0",
55
"kiotaVersion": "1.21.0",

packages/msgraph-beta-sdk-accessReviews/accessReviews/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface AccessReviewsRequestBuilder extends BaseRequestBuilder<AccessRe
2727
*/
2828
byAccessReviewId(accessReviewId: string) : AccessReviewItemRequestBuilder;
2929
/**
30-
* Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.
30+
* Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you don't anticipate that the request spans multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API don't include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.
3131
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3232
* @returns {Promise<AccessReviewCollectionResponse>}
3333
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -44,7 +44,7 @@ export interface AccessReviewsRequestBuilder extends BaseRequestBuilder<AccessRe
4444
*/
4545
post(body: AccessReview, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<AccessReview | undefined>;
4646
/**
47-
* Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.
47+
* Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you don't anticipate that the request spans multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API don't include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.
4848
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4949
* @returns {RequestInformation}
5050
*/
@@ -58,7 +58,7 @@ export interface AccessReviewsRequestBuilder extends BaseRequestBuilder<AccessRe
5858
toPostRequestInformation(body: AccessReview, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5959
}
6060
/**
61-
* Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.
61+
* Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you don't anticipate that the request spans multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API don't include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.
6262
*/
6363
export interface AccessReviewsRequestBuilderGetQueryParameters {
6464
/**

packages/msgraph-beta-sdk-admin/admin/windows/updates/updatableAssets/item/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
4444
*/
4545
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
4646
/**
47-
* Read the properties and relationships of an updatableAsset object.
47+
* Read the properties and relationships of an updatableAssetGroup object.
4848
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4949
* @returns {Promise<UpdatableAsset>}
5050
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
51-
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta|Find more info here}
51+
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta|Find more info here}
5252
*/
5353
get(requestConfiguration?: RequestConfiguration<UpdatableAssetItemRequestBuilderGetQueryParameters> | undefined) : Promise<UpdatableAsset | undefined>;
5454
/**
@@ -66,7 +66,7 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
6666
*/
6767
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
6868
/**
69-
* Read the properties and relationships of an updatableAsset object.
69+
* Read the properties and relationships of an updatableAssetGroup object.
7070
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7171
* @returns {RequestInformation}
7272
*/
@@ -80,7 +80,7 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
8080
toPatchRequestInformation(body: UpdatableAsset, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
8181
}
8282
/**
83-
* Read the properties and relationships of an updatableAsset object.
83+
* Read the properties and relationships of an updatableAssetGroup object.
8484
*/
8585
export interface UpdatableAssetItemRequestBuilderGetQueryParameters {
8686
/**

packages/msgraph-beta-sdk-admin/admin/windows/updates/updatePolicies/item/complianceChanges/item/index.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ export interface ComplianceChangeItemRequestBuilder extends BaseRequestBuilder<C
1919
*/
2020
get updatePolicy(): UpdatePolicyRequestBuilder;
2121
/**
22-
* Delete a complianceChange object.
22+
* Delete a contentApproval object.
2323
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2424
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
25-
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta|Find more info here}
25+
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta|Find more info here}
2626
*/
2727
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
2828
/**
29-
* Read the properties and relationships of a complianceChange object.
29+
* Read the properties and relationships of a contentApproval object.
3030
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3131
* @returns {Promise<ComplianceChange>}
3232
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
33-
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta|Find more info here}
33+
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta|Find more info here}
3434
*/
3535
get(requestConfiguration?: RequestConfiguration<ComplianceChangeItemRequestBuilderGetQueryParameters> | undefined) : Promise<ComplianceChange | undefined>;
3636
/**
@@ -43,13 +43,13 @@ export interface ComplianceChangeItemRequestBuilder extends BaseRequestBuilder<C
4343
*/
4444
patch(body: ComplianceChange, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ComplianceChange | undefined>;
4545
/**
46-
* Delete a complianceChange object.
46+
* Delete a contentApproval object.
4747
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4848
* @returns {RequestInformation}
4949
*/
5050
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5151
/**
52-
* Read the properties and relationships of a complianceChange object.
52+
* Read the properties and relationships of a contentApproval object.
5353
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5454
* @returns {RequestInformation}
5555
*/
@@ -63,7 +63,7 @@ export interface ComplianceChangeItemRequestBuilder extends BaseRequestBuilder<C
6363
toPatchRequestInformation(body: ComplianceChange, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
6464
}
6565
/**
66-
* Read the properties and relationships of a complianceChange object.
66+
* Read the properties and relationships of a contentApproval object.
6767
*/
6868
export interface ComplianceChangeItemRequestBuilderGetQueryParameters {
6969
/**
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
// Generated by Microsoft Kiota
4+
// @ts-ignore
5+
import { createODataErrorFromDiscriminatorValue, type ODataError } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
6+
// @ts-ignore
7+
import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
8+
9+
/**
10+
* Provides operations to count the resources in the collection.
11+
*/
12+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
13+
/**
14+
* Get the number of the resource
15+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16+
* @returns {Promise<number>}
17+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
18+
*/
19+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined) : Promise<number | undefined>;
20+
/**
21+
* Get the number of the resource
22+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23+
* @returns {RequestInformation}
24+
*/
25+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
26+
}
27+
/**
28+
* Get the number of the resource
29+
*/
30+
export interface CountRequestBuilderGetQueryParameters {
31+
/**
32+
* Filter items by property values
33+
*/
34+
filter?: string;
35+
/**
36+
* Search items by search phrases
37+
*/
38+
search?: string;
39+
}
40+
/**
41+
* Uri template for the request builder.
42+
*/
43+
export const CountRequestBuilderUriTemplate = "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/deletedMembers/$count{?%24filter,%24search}";
44+
/**
45+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
46+
*/
47+
const CountRequestBuilderGetQueryParametersMapper: Record<string, string> = {
48+
"filter": "%24filter",
49+
"search": "%24search",
50+
};
51+
/**
52+
* Metadata for all the requests in the request builder.
53+
*/
54+
export const CountRequestBuilderRequestsMetadata: RequestsMetadata = {
55+
get: {
56+
uriTemplate: CountRequestBuilderUriTemplate,
57+
responseBodyContentType: "text/plain;q=0.9",
58+
errorMappings: {
59+
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
60+
},
61+
adapterMethodName: "sendPrimitive",
62+
responseBodyFactory: "number",
63+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
64+
},
65+
};
66+
/* tslint:enable */
67+
/* eslint-enable */

0 commit comments

Comments
 (0)