Skip to content

Commit e9f471e

Browse files
microsoft-graph-devx-bot[bot]dependabot[bot]Microsoft Graph DevX ToolingMIchaelMainer
authored
feat(generation): update request builders and models (#414)
* auto dependabot: bump chai from 6.0.1 to 6.2.0 Bumps [chai](https://github.com/chaijs/chai) from 6.0.1 to 6.2.0. - [Release notes](https://github.com/chaijs/chai/releases) - [Changelog](https://github.com/chaijs/chai/blob/main/History.md) - [Commits](chaijs/chai@v6.0.1...v6.2.0) --- updated-dependencies: - dependency-name: chai dependency-version: 6.2.0 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.2 to 11.7.4 Bumps [mocha](https://github.com/mochajs/mocha) from 11.7.2 to 11.7.4. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](mochajs/mocha@v11.7.2...v11.7.4) --- updated-dependencies: - dependency-name: mocha dependency-version: 11.7.4 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump github/codeql-action from 3 to 4 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@v3...v4) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * auto dependabot: bump @azure/identity from 4.12.0 to 4.13.0 Bumps [@azure/identity](https://github.com/Azure/azure-sdk-for-js) from 4.12.0 to 4.13.0. - [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.12.0...@azure/identity_4.13.0) --- updated-dependencies: - dependency-name: "@azure/identity" dependency-version: 4.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * auto dependabot: bump typescript from 5.9.2 to 5.9.3 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.2 to 5.9.3. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](microsoft/TypeScript@v5.9.2...v5.9.3) --- updated-dependencies: - dependency-name: typescript dependency-version: 5.9.3 dependency-type: direct:development update-type: version-update:semver-patch ... 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.98 to 1.0.0-preview.99 - [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.98...@microsoft/kiota-http-fetchlibrary@1.0.0-preview.99) Updates `@microsoft/kiota-bundle` from 1.0.0-preview.98 to 1.0.0-preview.99 - [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.98...@microsoft/kiota-bundle@1.0.0-preview.99) Updates `@microsoft/kiota-authentication-azure` from 1.0.0-preview.98 to 1.0.0-preview.99 - [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.98...@microsoft/kiota-authentication-azure@1.0.0-preview.99) --- updated-dependencies: - dependency-name: "@microsoft/kiota-http-fetchlibrary" dependency-version: 1.0.0-preview.99 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.99 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.99 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 @types/node from 24.8.1 to 24.10.0 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.8.1 to 24.10.0. - [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.10.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * auto dependabot: bump rimraf from 6.0.1 to 6.1.0 Bumps [rimraf](https://github.com/isaacs/rimraf) from 6.0.1 to 6.1.0. - [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md) - [Commits](isaacs/rimraf@v6.0.1...v6.1.0) --- updated-dependencies: - dependency-name: rimraf dependency-version: 6.1.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * feat(generation): update request builders and models Update generated files with build 202235 --------- 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 ae6a851 commit e9f471e

412 files changed

Lines changed: 39654 additions & 5216 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/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050

5151
# Initializes the CodeQL tools for scanning.
5252
- name: Initialize CodeQL
53-
uses: github/codeql-action/init@v3
53+
uses: github/codeql-action/init@v4
5454
with:
5555
languages: ${{ matrix.language }}
5656
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -64,7 +64,7 @@ jobs:
6464
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
6565
# If this step fails, then you should remove it and run the build manually (see below)
6666
- name: Autobuild
67-
uses: github/codeql-action/autobuild@v3
67+
uses: github/codeql-action/autobuild@v4
6868

6969
# ℹ️ Command-line programs to run using the OS shell.
7070
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -77,6 +77,6 @@ jobs:
7777
# ./location_of_script_within_repo/buildscript.sh
7878

7979
- name: Perform CodeQL Analysis
80-
uses: github/codeql-action/analyze@v3
80+
uses: github/codeql-action/analyze@v4
8181
with:
8282
category: "/language:${{matrix.language}}"

package-lock.json

Lines changed: 224 additions & 190 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: 4232 additions & 654 deletions
Large diffs are not rendered by default.

packages/kiota-lock.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"descriptionHash": "8FA90BEDCB9CCD2D4685E6D000DF208C6CD711397A6F9DF9CDC3749C473F5252CBB84CC670D97C08A984DCB16191EB9483EB22D6EEF7FA7DB260DED6192AB61A",
2+
"descriptionHash": "BE5A94A3648F65A4D73FA36E8042B69153C64BCA945929E62ECA8F1BBC6F96B2887606326DC0AA1B03C562719D8B520F4A96A969CF7CD8BAEF75AA9DF27DFFEE",
33
"descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml",
44
"lockFileVersion": "1.0.0",
5-
"kiotaVersion": "1.29.0",
5+
"kiotaVersion": "1.30.0",
66
"clientClassName": "GraphBetaBaseServiceClient",
77
"typeAccessModifier": "Public",
88
"clientNamespaceName": "github.com/microsoftgraph/msgraph-sdk-typescript/",

packages/msgraph-beta-sdk-deviceManagement/deviceManagement/androidManagedStoreAccountEnterpriseSettings/index.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,16 @@ import { CompleteSignupRequestBuilderRequestsMetadata, type CompleteSignupReques
1414
// @ts-ignore
1515
import { CreateGooglePlayWebTokenRequestBuilderRequestsMetadata, type CreateGooglePlayWebTokenRequestBuilder } from './createGooglePlayWebToken/index.js';
1616
// @ts-ignore
17+
import { RequestEnterpriseUpgradeUrlRequestBuilderRequestsMetadata, type RequestEnterpriseUpgradeUrlRequestBuilder } from './requestEnterpriseUpgradeUrl/index.js';
18+
// @ts-ignore
1719
import { RequestSignupUrlRequestBuilderRequestsMetadata, type RequestSignupUrlRequestBuilder } from './requestSignupUrl/index.js';
1820
// @ts-ignore
21+
import { RetrieveStoreLayoutRequestBuilderRequestsMetadata, type RetrieveStoreLayoutRequestBuilder } from './retrieveStoreLayout/index.js';
22+
// @ts-ignore
1923
import { SetAndroidDeviceOwnerFullyManagedEnrollmentStateRequestBuilderRequestsMetadata, type SetAndroidDeviceOwnerFullyManagedEnrollmentStateRequestBuilder } from './setAndroidDeviceOwnerFullyManagedEnrollmentState/index.js';
2024
// @ts-ignore
25+
import { SetStoreLayoutRequestBuilderRequestsMetadata, type SetStoreLayoutRequestBuilder } from './setStoreLayout/index.js';
26+
// @ts-ignore
2127
import { SyncAppsRequestBuilderRequestsMetadata, type SyncAppsRequestBuilder } from './syncApps/index.js';
2228
// @ts-ignore
2329
import { type UnbindRequestBuilder, UnbindRequestBuilderRequestsMetadata } from './unbind/index.js';
@@ -44,14 +50,26 @@ export interface AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder exte
4450
* Provides operations to call the createGooglePlayWebToken method.
4551
*/
4652
get createGooglePlayWebToken(): CreateGooglePlayWebTokenRequestBuilder;
53+
/**
54+
* Provides operations to call the requestEnterpriseUpgradeUrl method.
55+
*/
56+
get requestEnterpriseUpgradeUrl(): RequestEnterpriseUpgradeUrlRequestBuilder;
4757
/**
4858
* Provides operations to call the requestSignupUrl method.
4959
*/
5060
get requestSignupUrl(): RequestSignupUrlRequestBuilder;
61+
/**
62+
* Provides operations to call the retrieveStoreLayout method.
63+
*/
64+
get retrieveStoreLayout(): RetrieveStoreLayoutRequestBuilder;
5165
/**
5266
* Provides operations to call the setAndroidDeviceOwnerFullyManagedEnrollmentState method.
5367
*/
5468
get setAndroidDeviceOwnerFullyManagedEnrollmentState(): SetAndroidDeviceOwnerFullyManagedEnrollmentStateRequestBuilder;
69+
/**
70+
* Provides operations to call the setStoreLayout method.
71+
*/
72+
get setStoreLayout(): SetStoreLayoutRequestBuilder;
5573
/**
5674
* Provides operations to call the syncApps method.
5775
*/
@@ -141,12 +159,21 @@ export const AndroidManagedStoreAccountEnterpriseSettingsRequestBuilderNavigatio
141159
createGooglePlayWebToken: {
142160
requestsMetadata: CreateGooglePlayWebTokenRequestBuilderRequestsMetadata,
143161
},
162+
requestEnterpriseUpgradeUrl: {
163+
requestsMetadata: RequestEnterpriseUpgradeUrlRequestBuilderRequestsMetadata,
164+
},
144165
requestSignupUrl: {
145166
requestsMetadata: RequestSignupUrlRequestBuilderRequestsMetadata,
146167
},
168+
retrieveStoreLayout: {
169+
requestsMetadata: RetrieveStoreLayoutRequestBuilderRequestsMetadata,
170+
},
147171
setAndroidDeviceOwnerFullyManagedEnrollmentState: {
148172
requestsMetadata: SetAndroidDeviceOwnerFullyManagedEnrollmentStateRequestBuilderRequestsMetadata,
149173
},
174+
setStoreLayout: {
175+
requestsMetadata: SetStoreLayoutRequestBuilderRequestsMetadata,
176+
},
150177
syncApps: {
151178
requestsMetadata: SyncAppsRequestBuilderRequestsMetadata,
152179
},
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
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 AdditionalDataHolder, type BackedModel, type BackingStore, type BaseRequestBuilder, type Parsable, type ParsableFactory, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
8+
9+
/**
10+
* Creates a new instance of the appropriate class based on discriminator value
11+
* @param parseNode The parse node to use to read the discriminator value and create the object
12+
* @returns {RequestEnterpriseUpgradeUrlPostResponse}
13+
*/
14+
// @ts-ignore
15+
export function createRequestEnterpriseUpgradeUrlPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
16+
return deserializeIntoRequestEnterpriseUpgradeUrlPostResponse;
17+
}
18+
/**
19+
* The deserialization information for the current model
20+
* @param RequestEnterpriseUpgradeUrlPostResponse The instance to deserialize into.
21+
* @returns {Record<string, (node: ParseNode) => void>}
22+
*/
23+
// @ts-ignore
24+
export function deserializeIntoRequestEnterpriseUpgradeUrlPostResponse(requestEnterpriseUpgradeUrlPostResponse: Partial<RequestEnterpriseUpgradeUrlPostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
25+
return {
26+
"backingStoreEnabled": n => { requestEnterpriseUpgradeUrlPostResponse.backingStoreEnabled = true; },
27+
"value": n => { requestEnterpriseUpgradeUrlPostResponse.value = n.getStringValue(); },
28+
}
29+
}
30+
export interface RequestEnterpriseUpgradeUrlPostResponse extends AdditionalDataHolder, BackedModel, Parsable {
31+
/**
32+
* Stores model information.
33+
*/
34+
backingStoreEnabled?: boolean | null;
35+
/**
36+
* The value property
37+
*/
38+
value?: string | null;
39+
}
40+
/**
41+
* Provides operations to call the requestEnterpriseUpgradeUrl method.
42+
*/
43+
export interface RequestEnterpriseUpgradeUrlRequestBuilder extends BaseRequestBuilder<RequestEnterpriseUpgradeUrlRequestBuilder> {
44+
/**
45+
* Invoke action requestEnterpriseUpgradeUrl
46+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47+
* @returns {Promise<RequestEnterpriseUpgradeUrlPostResponse>}
48+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
49+
*/
50+
post(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<RequestEnterpriseUpgradeUrlPostResponse | undefined>;
51+
/**
52+
* Invoke action requestEnterpriseUpgradeUrl
53+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
54+
* @returns {RequestInformation}
55+
*/
56+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
57+
}
58+
/**
59+
* Serializes information the current object
60+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
61+
* @param RequestEnterpriseUpgradeUrlPostResponse The instance to serialize from.
62+
* @param writer Serialization writer to use to serialize this model
63+
*/
64+
// @ts-ignore
65+
export function serializeRequestEnterpriseUpgradeUrlPostResponse(writer: SerializationWriter, requestEnterpriseUpgradeUrlPostResponse: Partial<RequestEnterpriseUpgradeUrlPostResponse> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
66+
if (!requestEnterpriseUpgradeUrlPostResponse || isSerializingDerivedType) { return; }
67+
writer.writeStringValue("value", requestEnterpriseUpgradeUrlPostResponse.value);
68+
writer.writeAdditionalData(requestEnterpriseUpgradeUrlPostResponse.additionalData);
69+
}
70+
/**
71+
* Uri template for the request builder.
72+
*/
73+
export const RequestEnterpriseUpgradeUrlRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/androidManagedStoreAccountEnterpriseSettings/requestEnterpriseUpgradeUrl";
74+
/**
75+
* Metadata for all the requests in the request builder.
76+
*/
77+
export const RequestEnterpriseUpgradeUrlRequestBuilderRequestsMetadata: RequestsMetadata = {
78+
post: {
79+
uriTemplate: RequestEnterpriseUpgradeUrlRequestBuilderUriTemplate,
80+
responseBodyContentType: "application/json",
81+
errorMappings: {
82+
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
83+
},
84+
adapterMethodName: "send",
85+
responseBodyFactory: createRequestEnterpriseUpgradeUrlPostResponseFromDiscriminatorValue,
86+
},
87+
};
88+
/* tslint:enable */
89+
/* eslint-enable */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
// Generated by Microsoft Kiota
4+
// @ts-ignore
5+
import { AndroidManagedStoreLayoutType, AndroidManagedStoreLayoutTypeObject } from '@microsoft/msgraph-beta-sdk/models/index.js';
6+
// @ts-ignore
7+
import { createODataErrorFromDiscriminatorValue, type ODataError } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
8+
// @ts-ignore
9+
import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
10+
11+
/**
12+
* Provides operations to call the retrieveStoreLayout method.
13+
*/
14+
export interface RetrieveStoreLayoutRequestBuilder extends BaseRequestBuilder<RetrieveStoreLayoutRequestBuilder> {
15+
/**
16+
* Gets the Managed Google Play store layout type from Google EMM API.
17+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18+
* @returns {Promise<AndroidManagedStoreLayoutType>}
19+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
20+
*/
21+
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<AndroidManagedStoreLayoutType | undefined>;
22+
/**
23+
* Gets the Managed Google Play store layout type from Google EMM API.
24+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25+
* @returns {RequestInformation}
26+
*/
27+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
28+
}
29+
/**
30+
* Uri template for the request builder.
31+
*/
32+
export const RetrieveStoreLayoutRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/androidManagedStoreAccountEnterpriseSettings/retrieveStoreLayout()";
33+
/**
34+
* Metadata for all the requests in the request builder.
35+
*/
36+
export const RetrieveStoreLayoutRequestBuilderRequestsMetadata: RequestsMetadata = {
37+
get: {
38+
uriTemplate: RetrieveStoreLayoutRequestBuilderUriTemplate,
39+
responseBodyContentType: "application/json",
40+
errorMappings: {
41+
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
42+
},
43+
adapterMethodName: "sendEnum",
44+
enumObject: AndroidManagedStoreLayoutTypeObject,
45+
},
46+
};
47+
/* tslint:enable */
48+
/* eslint-enable */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
// Generated by Microsoft Kiota
4+
// @ts-ignore
5+
import { AndroidManagedStoreLayoutType, AndroidManagedStoreLayoutTypeObject } from '@microsoft/msgraph-beta-sdk/models/index.js';
6+
// @ts-ignore
7+
import { createODataErrorFromDiscriminatorValue, type ODataError } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
8+
// @ts-ignore
9+
import { type AdditionalDataHolder, type BackedModel, type BackingStore, type BaseRequestBuilder, type Parsable, type ParsableFactory, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
10+
11+
/**
12+
* Creates a new instance of the appropriate class based on discriminator value
13+
* @param parseNode The parse node to use to read the discriminator value and create the object
14+
* @returns {SetStoreLayoutPostRequestBody}
15+
*/
16+
// @ts-ignore
17+
export function createSetStoreLayoutPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
18+
return deserializeIntoSetStoreLayoutPostRequestBody;
19+
}
20+
/**
21+
* The deserialization information for the current model
22+
* @param SetStoreLayoutPostRequestBody The instance to deserialize into.
23+
* @returns {Record<string, (node: ParseNode) => void>}
24+
*/
25+
// @ts-ignore
26+
export function deserializeIntoSetStoreLayoutPostRequestBody(setStoreLayoutPostRequestBody: Partial<SetStoreLayoutPostRequestBody> | undefined = {}) : Record<string, (node: ParseNode) => void> {
27+
return {
28+
"backingStoreEnabled": n => { setStoreLayoutPostRequestBody.backingStoreEnabled = true; },
29+
"storeLayoutType": n => { setStoreLayoutPostRequestBody.storeLayoutType = n.getEnumValue<AndroidManagedStoreLayoutType>(AndroidManagedStoreLayoutTypeObject); },
30+
}
31+
}
32+
/**
33+
* Serializes information the current object
34+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
35+
* @param SetStoreLayoutPostRequestBody The instance to serialize from.
36+
* @param writer Serialization writer to use to serialize this model
37+
*/
38+
// @ts-ignore
39+
export function serializeSetStoreLayoutPostRequestBody(writer: SerializationWriter, setStoreLayoutPostRequestBody: Partial<SetStoreLayoutPostRequestBody> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
40+
if (!setStoreLayoutPostRequestBody || isSerializingDerivedType) { return; }
41+
writer.writeEnumValue<AndroidManagedStoreLayoutType>("storeLayoutType", setStoreLayoutPostRequestBody.storeLayoutType);
42+
writer.writeAdditionalData(setStoreLayoutPostRequestBody.additionalData);
43+
}
44+
export interface SetStoreLayoutPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
45+
/**
46+
* Stores model information.
47+
*/
48+
backingStoreEnabled?: boolean | null;
49+
/**
50+
* The store layout types for Managed Google Play. Values correspond directly to the store layout types of Google enterprise objects.
51+
*/
52+
storeLayoutType?: AndroidManagedStoreLayoutType | null;
53+
}
54+
/**
55+
* Provides operations to call the setStoreLayout method.
56+
*/
57+
export interface SetStoreLayoutRequestBuilder extends BaseRequestBuilder<SetStoreLayoutRequestBuilder> {
58+
/**
59+
* Sets the Managed Google Play store layout type via Google EMM API.
60+
* @param body The request body
61+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
62+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
63+
*/
64+
post(body: SetStoreLayoutPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
65+
/**
66+
* Sets the Managed Google Play store layout type via Google EMM API.
67+
* @param body The request body
68+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
69+
* @returns {RequestInformation}
70+
*/
71+
toPostRequestInformation(body: SetStoreLayoutPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
72+
}
73+
/**
74+
* Uri template for the request builder.
75+
*/
76+
export const SetStoreLayoutRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/androidManagedStoreAccountEnterpriseSettings/setStoreLayout";
77+
/**
78+
* Metadata for all the requests in the request builder.
79+
*/
80+
export const SetStoreLayoutRequestBuilderRequestsMetadata: RequestsMetadata = {
81+
post: {
82+
uriTemplate: SetStoreLayoutRequestBuilderUriTemplate,
83+
responseBodyContentType: "application/json",
84+
errorMappings: {
85+
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
86+
},
87+
adapterMethodName: "sendNoResponseContent",
88+
requestBodyContentType: "application/json",
89+
requestBodySerializer: serializeSetStoreLayoutPostRequestBody,
90+
requestInformationContentSetMethod: "setContentFromParsable",
91+
},
92+
};
93+
/* tslint:enable */
94+
/* eslint-enable */

packages/msgraph-beta-sdk-deviceManagement/deviceManagement/virtualEndpoint/cloudPCs/item/getCloudPcLaunchInfo/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ export interface GetCloudPcLaunchInfoRequestBuilder extends BaseRequestBuilder<G
1717
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
1818
* @returns {Promise<CloudPcLaunchInfo>}
1919
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
20+
* @deprecated Starting from Oct 30, 2026, this API: getCloudPcLaunchInfo will be deprecated and no longer be supported. Please use the new API:retrieveCloudPcLaunchDetail to retrieve same details. as of 2025-09/cloudPcLaunchInfo on 2025-09-30 and will be removed 2026-10-30
2021
* @see {@link https://learn.microsoft.com/graph/api/cloudpc-getcloudpclaunchinfo?view=graph-rest-beta|Find more info here}
2122
*/
2223
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<CloudPcLaunchInfo | undefined>;
2324
/**
2425
* Get the cloudPCLaunchInfo for a specific cloudPC that belongs to the current signed-in user.
2526
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2627
* @returns {RequestInformation}
28+
* @deprecated Starting from Oct 30, 2026, this API: getCloudPcLaunchInfo will be deprecated and no longer be supported. Please use the new API:retrieveCloudPcLaunchDetail to retrieve same details. as of 2025-09/cloudPcLaunchInfo on 2025-09-30 and will be removed 2026-10-30
2729
*/
2830
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
2931
}

0 commit comments

Comments
 (0)