Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
7d74240
auto dependabot: bump @azure/identity from 4.10.2 to 4.11.1
dependabot[bot] Aug 11, 2025
df42caa
build(deps): bump actions/checkout from 4 to 5
dependabot[bot] Aug 18, 2025
279f052
auto dependabot: bump the kiota-dependencies group with 3 updates
dependabot[bot] Aug 25, 2025
5f10e40
auto dependabot: bump chai in /packages/msgraph-beta-sdk-tests
dependabot[bot] Aug 25, 2025
ceab384
auto dependabot: bump chai from 5.2.1 to 6.0.1
dependabot[bot] Aug 25, 2025
4e3536b
chore(deps): bump actions/setup-node from 4 to 5
dependabot[bot] Sep 8, 2025
5084d57
auto dependabot: bump @types/node from 24.1.0 to 24.3.1
dependabot[bot] Sep 8, 2025
c107b3c
auto dependabot: bump mocha from 11.7.1 to 11.7.2
dependabot[bot] Sep 8, 2025
ef21c90
feat(generation): update request builders and models
Sep 9, 2025
b155cfa
Merge remote-tracking branch 'remotes/origin/dependabot/github_action…
MIchaelMainer Sep 11, 2025
94ff565
Merge remote-tracking branch 'remotes/origin/dependabot/github_action…
MIchaelMainer Sep 11, 2025
9434b06
Merge remote-tracking branch 'remotes/origin/dependabot/npm_and_yarn/…
MIchaelMainer Sep 11, 2025
b60940a
Merge remote-tracking branch 'remotes/origin/dependabot/npm_and_yarn/…
MIchaelMainer Sep 11, 2025
14e2f4d
Merge remote-tracking branch 'remotes/origin/dependabot/npm_and_yarn/…
MIchaelMainer Sep 11, 2025
f6a3d80
Merge remote-tracking branch 'remotes/origin/dependabot/npm_and_yarn/…
MIchaelMainer Sep 11, 2025
48db608
Merge remote-tracking branch 'remotes/origin/dependabot/npm_and_yarn/…
MIchaelMainer Sep 11, 2025
f0a6fda
Merge remote-tracking branch 'remotes/origin/dependabot/npm_and_yarn/…
MIchaelMainer Sep 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
# Single version should work for compilation testing

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand Down Expand Up @@ -71,8 +71,9 @@ jobs:
name: production_feed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4

- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 22
registry-url: https://registry.npmjs.org/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
386 changes: 167 additions & 219 deletions package-lock.json

Large diffs are not rendered by default.

2,422 changes: 2,317 additions & 105 deletions packages/kiota-dom-export.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/kiota-lock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"descriptionHash": "5EB399F334C0F9E55B0F2AE5E8680B7D005A4B5B843DC7B13F0CE1ADC74470F3DF65A1C99C015A566C5DAC6D19C0BB9A3742F9D19905375CE07BAA180CFA9681",
"descriptionHash": "A0EC964C141503AB2CA8292C73CBE5CD6C1EB78B8FC1CE6A9A31805C10E44957F0F102F5D44370092370B570087DA11BA4CCEEC9B9EC0B3F0EC727F3DE65F0F4",
"descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.29.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/msgraph-beta-sdk-admin/admin/teams/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface TeamsRequestBuilder extends BaseRequestBuilder<TeamsRequestBuil
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Represents a collection of user configurations.
* A container for all Teams telephone number management functionalities and user configurations.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<TeamsAdminRoot>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
Expand All @@ -52,7 +52,7 @@ export interface TeamsRequestBuilder extends BaseRequestBuilder<TeamsRequestBuil
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Represents a collection of user configurations.
* A container for all Teams telephone number management functionalities and user configurations.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -66,7 +66,7 @@ export interface TeamsRequestBuilder extends BaseRequestBuilder<TeamsRequestBuil
toPatchRequestInformation(body: TeamsAdminRoot, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Represents a collection of user configurations.
* A container for all Teams telephone number management functionalities and user configurations.
*/
export interface TeamsRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Read the properties and relationships of an operationalInsightsConnection object.
* Read the properties and relationships of a resourceConnection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ResourceConnection>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ResourceConnectionItemRequestBuilderGetQueryParameters> | undefined) : Promise<ResourceConnection | undefined>;
/**
Expand All @@ -42,7 +42,7 @@ export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Read the properties and relationships of an operationalInsightsConnection object.
* Read the properties and relationships of a resourceConnection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -56,7 +56,7 @@ export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder
toPatchRequestInformation(body: ResourceConnection, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Read the properties and relationships of an operationalInsightsConnection object.
* Read the properties and relationships of a resourceConnection object.
*/
export interface ResourceConnectionItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
*/
get microsoftGraphWindowsUpdatesRemoveMembersById(): MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder;
/**
* Delete an updatableAsset object.
* 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.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-delete?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Read the properties and relationships of an updatableAsset object.
* Read the properties of an azureADDevice object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<UpdatableAsset>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<UpdatableAssetItemRequestBuilderGetQueryParameters> | undefined) : Promise<UpdatableAsset | undefined>;
/**
Expand All @@ -60,13 +60,13 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
*/
patch(body: UpdatableAsset, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<UpdatableAsset | undefined>;
/**
* Delete an updatableAsset object.
* 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.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Read the properties and relationships of an updatableAsset object.
* Read the properties of an azureADDevice object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -80,7 +80,7 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
toPatchRequestInformation(body: UpdatableAsset, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Read the properties and relationships of an updatableAsset object.
* Read the properties of an azureADDevice object.
*/
export interface UpdatableAssetItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
*/
get(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined) : Promise<ChatMessageCollectionResponse | undefined>;
/**
* Send a new chatMessage in the specified channel or a chat.
* 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.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ChatMessage>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta|Find more info here}
*/
post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ChatMessage | undefined>;
/**
Expand All @@ -68,7 +68,7 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
/**
* Send a new chatMessage in the specified channel or a chat.
* 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.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createODataErrorFromDiscriminatorValue, type ODataError } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';

/**
* Provides operations to count the resources in the collection.
*/
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<number>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined) : Promise<number | undefined>;
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
}
/**
* Get the number of the resource
*/
export interface CountRequestBuilderGetQueryParameters {
/**
* Filter items by property values
*/
filter?: string;
/**
* Search items by search phrases
*/
search?: string;
}
/**
* Uri template for the request builder.
*/
export const CountRequestBuilderUriTemplate = "{+baseurl}/communications/adhocCalls/$count{?%24filter,%24search}";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.
*/
const CountRequestBuilderGetQueryParametersMapper: Record<string, string> = {
"filter": "%24filter",
"search": "%24search",
};
/**
* Metadata for all the requests in the request builder.
*/
export const CountRequestBuilderRequestsMetadata: RequestsMetadata = {
get: {
uriTemplate: CountRequestBuilderUriTemplate,
responseBodyContentType: "text/plain;q=0.9",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
},
adapterMethodName: "sendPrimitive",
responseBodyFactory: "number",
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
},
};
/* tslint:enable */
/* eslint-enable */
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createAdhocCallCollectionResponseFromDiscriminatorValue, createAdhocCallFromDiscriminatorValue, serializeAdhocCall, type AdhocCall, type AdhocCallCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue, type ODataError } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { CountRequestBuilderRequestsMetadata, type CountRequestBuilder } from './count/index.js';
// @ts-ignore
import { AdhocCallItemRequestBuilderNavigationMetadata, AdhocCallItemRequestBuilderRequestsMetadata, type AdhocCallItemRequestBuilder } from './item/index.js';
// @ts-ignore
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';

/**
* Provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity.
*/
export interface AdhocCallsRequestBuilder extends BaseRequestBuilder<AdhocCallsRequestBuilder> {
/**
* Provides operations to count the resources in the collection.
*/
get count(): CountRequestBuilder;
/**
* Provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity.
* @param adhocCallId The unique identifier of adhocCall
* @returns {AdhocCallItemRequestBuilder}
*/
byAdhocCallId(adhocCallId: string) : AdhocCallItemRequestBuilder;
/**
* A collection of ad hoc calls in Teams.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<AdhocCallCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<AdhocCallsRequestBuilderGetQueryParameters> | undefined) : Promise<AdhocCallCollectionResponse | undefined>;
/**
* Create new navigation property to adhocCalls for communications
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<AdhocCall>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
post(body: AdhocCall, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<AdhocCall | undefined>;
/**
* A collection of ad hoc calls in Teams.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AdhocCallsRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
/**
* Create new navigation property to adhocCalls for communications
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPostRequestInformation(body: AdhocCall, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* A collection of ad hoc calls in Teams.
*/
export interface AdhocCallsRequestBuilderGetQueryParameters {
/**
* Include count of items
*/
count?: boolean;
/**
* Expand related entities
*/
expand?: string[];
/**
* Filter items by property values
*/
filter?: string;
/**
* Order items by property values
*/
orderby?: string[];
/**
* Search items by search phrases
*/
search?: string;
/**
* Select properties to be returned
*/
select?: string[];
/**
* Skip the first n items
*/
skip?: number;
/**
* Show only the first n items
*/
top?: number;
}
/**
* Uri template for the request builder.
*/
export const AdhocCallsRequestBuilderUriTemplate = "{+baseurl}/communications/adhocCalls{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.
*/
const AdhocCallsRequestBuilderGetQueryParametersMapper: Record<string, string> = {
"count": "%24count",
"expand": "%24expand",
"filter": "%24filter",
"orderby": "%24orderby",
"search": "%24search",
"select": "%24select",
"skip": "%24skip",
"top": "%24top",
};
/**
* Metadata for all the navigation properties in the request builder.
*/
export const AdhocCallsRequestBuilderNavigationMetadata: Record<Exclude<keyof AdhocCallsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata> = {
byAdhocCallId: {
requestsMetadata: AdhocCallItemRequestBuilderRequestsMetadata,
navigationMetadata: AdhocCallItemRequestBuilderNavigationMetadata,
pathParametersMappings: ["adhocCall%2Did"],
},
count: {
requestsMetadata: CountRequestBuilderRequestsMetadata,
},
};
/**
* Metadata for all the requests in the request builder.
*/
export const AdhocCallsRequestBuilderRequestsMetadata: RequestsMetadata = {
get: {
uriTemplate: AdhocCallsRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
},
adapterMethodName: "send",
responseBodyFactory: createAdhocCallCollectionResponseFromDiscriminatorValue,
queryParametersMapper: AdhocCallsRequestBuilderGetQueryParametersMapper,
},
post: {
uriTemplate: AdhocCallsRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
},
adapterMethodName: "send",
responseBodyFactory: createAdhocCallFromDiscriminatorValue,
requestBodyContentType: "application/json",
requestBodySerializer: serializeAdhocCall,
requestInformationContentSetMethod: "setContentFromParsable",
},
};
/* tslint:enable */
/* eslint-enable */
Loading