Skip to content

Commit 9fefdae

Browse files
microsoft-graph-devx-bot[bot]dependabot[bot]Microsoft Graph DevX ToolingMIchaelMainer
authored
feat(generation): update request builders and models
* auto dependabot: bump @azure/identity from 4.10.2 to 4.11.1 Bumps [@azure/identity](https://github.com/Azure/azure-sdk-for-js) from 4.10.2 to 4.11.1. - [Release notes](https://github.com/Azure/azure-sdk-for-js/releases) - [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md) - [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/identity_4.10.2...@azure/identity_4.11.1) --- updated-dependencies: - dependency-name: "@azure/identity" dependency-version: 4.11.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * auto dependabot: bump the kiota-dependencies group with 3 updates Bumps the kiota-dependencies group with 3 updates: [@microsoft/kiota-http-fetchlibrary](https://github.com/microsoft/kiota-typescript), [@microsoft/kiota-bundle](https://github.com/microsoft/kiota-typescript) and [@microsoft/kiota-authentication-azure](https://github.com/microsoft/kiota-typescript). Updates `@microsoft/kiota-http-fetchlibrary` from 1.0.0-preview.96 to 1.0.0-preview.97 - [Release notes](https://github.com/microsoft/kiota-typescript/releases) - [Changelog](https://github.com/microsoft/kiota-typescript/blob/main/CHANGELOG.md) - [Commits](https://github.com/microsoft/kiota-typescript/compare/@microsoft/kiota-http-fetchlibrary@1.0.0-preview.96...@microsoft/kiota-http-fetchlibrary@1.0.0-preview.97) Updates `@microsoft/kiota-bundle` from 1.0.0-preview.96 to 1.0.0-preview.97 - [Release notes](https://github.com/microsoft/kiota-typescript/releases) - [Changelog](https://github.com/microsoft/kiota-typescript/blob/main/CHANGELOG.md) - [Commits](https://github.com/microsoft/kiota-typescript/compare/@microsoft/kiota-bundle@1.0.0-preview.96...@microsoft/kiota-bundle@1.0.0-preview.97) Updates `@microsoft/kiota-authentication-azure` from 1.0.0-preview.96 to 1.0.0-preview.97 - [Release notes](https://github.com/microsoft/kiota-typescript/releases) - [Changelog](https://github.com/microsoft/kiota-typescript/blob/main/CHANGELOG.md) - [Commits](https://github.com/microsoft/kiota-typescript/compare/@microsoft/kiota-authentication-azure@1.0.0-preview.96...@microsoft/kiota-authentication-azure@1.0.0-preview.97) --- updated-dependencies: - dependency-name: "@microsoft/kiota-http-fetchlibrary" dependency-version: 1.0.0-preview.97 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: kiota-dependencies - dependency-name: "@microsoft/kiota-bundle" dependency-version: 1.0.0-preview.97 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: kiota-dependencies - dependency-name: "@microsoft/kiota-authentication-azure" dependency-version: 1.0.0-preview.97 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: kiota-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * auto dependabot: bump chai in /packages/msgraph-beta-sdk-tests Bumps [chai](https://github.com/chaijs/chai) from 5.3.3 to 6.0.1. - [Release notes](https://github.com/chaijs/chai/releases) - [Changelog](https://github.com/chaijs/chai/blob/main/History.md) - [Commits](chaijs/chai@v5.3.3...v6.0.1) --- updated-dependencies: - dependency-name: chai dependency-version: 6.0.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * auto dependabot: bump chai from 5.2.1 to 6.0.1 Bumps [chai](https://github.com/chaijs/chai) from 5.2.1 to 6.0.1. - [Release notes](https://github.com/chaijs/chai/releases) - [Changelog](https://github.com/chaijs/chai/blob/main/History.md) - [Commits](chaijs/chai@v5.2.1...v6.0.1) --- updated-dependencies: - dependency-name: chai dependency-version: 6.0.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump actions/setup-node from 4 to 5 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v4...v5) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * auto dependabot: bump @types/node from 24.1.0 to 24.3.1 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.1.0 to 24.3.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 24.3.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * auto dependabot: bump mocha from 11.7.1 to 11.7.2 Bumps [mocha](https://github.com/mochajs/mocha) from 11.7.1 to 11.7.2. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](mochajs/mocha@v11.7.1...v11.7.2) --- updated-dependencies: - dependency-name: mocha dependency-version: 11.7.2 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * feat(generation): update request builders and models Update generated files with build 197481 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Microsoft Graph DevX Tooling <GraphTooling@service.microsoft.com> Co-authored-by: Michael Mainer (from Dev Box) <8527305+MIchaelMainer@users.noreply.github.com>
1 parent 19b7419 commit 9fefdae

257 files changed

Lines changed: 20664 additions & 1064 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.

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
# Single version should work for compilation testing
2626

2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@v5
2929
- name: Use Node.js ${{ matrix.node-version }}
30-
uses: actions/setup-node@v4
30+
uses: actions/setup-node@v5
3131
with:
3232
node-version: ${{ matrix.node-version }}
3333
- run: npm ci
@@ -71,8 +71,9 @@ jobs:
7171
name: production_feed
7272
runs-on: ubuntu-latest
7373
steps:
74-
- uses: actions/checkout@v4
75-
- uses: actions/setup-node@v4
74+
75+
- uses: actions/checkout@v5
76+
- uses: actions/setup-node@v5
7677
with:
7778
node-version: 22
7879
registry-url: https://registry.npmjs.org/

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
steps:
4848
- name: Checkout repository
49-
uses: actions/checkout@v4
49+
uses: actions/checkout@v5
5050

5151
# Initializes the CodeQL tools for scanning.
5252
- name: Initialize CodeQL

package-lock.json

Lines changed: 167 additions & 219 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/kiota-dom-export.txt

Lines changed: 2317 additions & 105 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": "5EB399F334C0F9E55B0F2AE5E8680B7D005A4B5B843DC7B13F0CE1ADC74470F3DF65A1C99C015A566C5DAC6D19C0BB9A3742F9D19905375CE07BAA180CFA9681",
2+
"descriptionHash": "A0EC964C141503AB2CA8292C73CBE5CD6C1EB78B8FC1CE6A9A31805C10E44957F0F102F5D44370092370B570087DA11BA4CCEEC9B9EC0B3F0EC727F3DE65F0F4",
33
"descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml",
44
"lockFileVersion": "1.0.0",
55
"kiotaVersion": "1.29.0",

packages/msgraph-beta-sdk-admin/admin/teams/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface TeamsRequestBuilder extends BaseRequestBuilder<TeamsRequestBuil
3131
*/
3232
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
3333
/**
34-
* Represents a collection of user configurations.
34+
* A container for all Teams telephone number management functionalities and user configurations.
3535
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3636
* @returns {Promise<TeamsAdminRoot>}
3737
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -52,7 +52,7 @@ export interface TeamsRequestBuilder extends BaseRequestBuilder<TeamsRequestBuil
5252
*/
5353
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5454
/**
55-
* Represents a collection of user configurations.
55+
* A container for all Teams telephone number management functionalities and user configurations.
5656
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5757
* @returns {RequestInformation}
5858
*/
@@ -66,7 +66,7 @@ export interface TeamsRequestBuilder extends BaseRequestBuilder<TeamsRequestBuil
6666
toPatchRequestInformation(body: TeamsAdminRoot, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
6767
}
6868
/**
69-
* Represents a collection of user configurations.
69+
* A container for all Teams telephone number management functionalities and user configurations.
7070
*/
7171
export interface TeamsRequestBuilderGetQueryParameters {
7272
/**

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder
2020
*/
2121
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
2222
/**
23-
* Read the properties and relationships of an operationalInsightsConnection object.
23+
* Read the properties and relationships of a resourceConnection object.
2424
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2525
* @returns {Promise<ResourceConnection>}
2626
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
27-
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta|Find more info here}
27+
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta|Find more info here}
2828
*/
2929
get(requestConfiguration?: RequestConfiguration<ResourceConnectionItemRequestBuilderGetQueryParameters> | undefined) : Promise<ResourceConnection | undefined>;
3030
/**
@@ -42,7 +42,7 @@ export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder
4242
*/
4343
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
4444
/**
45-
* Read the properties and relationships of an operationalInsightsConnection object.
45+
* Read the properties and relationships of a resourceConnection object.
4646
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4747
* @returns {RequestInformation}
4848
*/
@@ -56,7 +56,7 @@ export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder
5656
toPatchRequestInformation(body: ResourceConnection, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5757
}
5858
/**
59-
* Read the properties and relationships of an operationalInsightsConnection object.
59+
* Read the properties and relationships of a resourceConnection object.
6060
*/
6161
export interface ResourceConnectionItemRequestBuilderGetQueryParameters {
6262
/**

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
3737
*/
3838
get microsoftGraphWindowsUpdatesRemoveMembersById(): MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder;
3939
/**
40-
* Delete an updatableAsset object.
40+
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
4141
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4242
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
43-
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-delete?view=graph-rest-beta|Find more info here}
43+
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta|Find more info here}
4444
*/
4545
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
4646
/**
47-
* Read the properties and relationships of an updatableAsset object.
47+
* Read the properties of an azureADDevice 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-azureaddevice-get?view=graph-rest-beta|Find more info here}
5252
*/
5353
get(requestConfiguration?: RequestConfiguration<UpdatableAssetItemRequestBuilderGetQueryParameters> | undefined) : Promise<UpdatableAsset | undefined>;
5454
/**
@@ -60,13 +60,13 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
6060
*/
6161
patch(body: UpdatableAsset, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<UpdatableAsset | undefined>;
6262
/**
63-
* Delete an updatableAsset object.
63+
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
6464
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6565
* @returns {RequestInformation}
6666
*/
6767
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
6868
/**
69-
* Read the properties and relationships of an updatableAsset object.
69+
* Read the properties of an azureADDevice 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 of an azureADDevice object.
8484
*/
8585
export interface UpdatableAssetItemRequestBuilderGetQueryParameters {
8686
/**

packages/msgraph-beta-sdk-chats/chats/item/messages/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
5353
*/
5454
get(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined) : Promise<ChatMessageCollectionResponse | undefined>;
5555
/**
56-
* Send a new chatMessage in the specified channel or a chat.
56+
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
5757
* @param body The request body
5858
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5959
* @returns {Promise<ChatMessage>}
6060
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
61-
* @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta|Find more info here}
61+
* @see {@link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta|Find more info here}
6262
*/
6363
post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ChatMessage | undefined>;
6464
/**
@@ -68,7 +68,7 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
6868
*/
6969
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
7070
/**
71-
* Send a new chatMessage in the specified channel or a chat.
71+
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
7272
* @param body The request body
7373
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7474
* @returns {RequestInformation}
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}/communications/adhocCalls/$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)