Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
965 changes: 965 additions & 0 deletions packages/kiota-dom-export.txt

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/kiota-lock.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"descriptionHash": "48D4568E795524402BA925BE4278BDF4BE0E64BE4060901024C3C949958FDD2992656314200D8B82B6E6406BD2E032C187F3FA9E0C48D513C527F1942ABA66F1",
"descriptionHash": "97F3B2E09C7BF210BAB9B2EFE8F6FFBEC1461143746217371010828212DAFD8AE03454FCC2231996478D2BD98C5A6C3E55A7973B6028E5D5F8744F2F0F19A76C",
"descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.31.1",
"kiotaVersion": "1.32.2",
"clientClassName": "GraphBaseServiceClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "github.com/microsoftgraph/msgraph-sdk-typescript/",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function deserializeIntoArchivePostRequestBody(archivePostRequestBody: Pa
export function deserializeIntoArchivePostResponse(archivePostResponse: Partial<ArchivePostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
return {
"backingStoreEnabled": n => { archivePostResponse.backingStoreEnabled = true; },
"value": n => { archivePostResponse.value = n.getBooleanValue(); },
"value": n => { archivePostResponse.value = n.getBooleanValue() ?? false; },
}
}
/**
Expand All @@ -110,7 +110,7 @@ export function serializeArchivePostRequestBody(writer: SerializationWriter, arc
// @ts-ignore
export function serializeArchivePostResponse(writer: SerializationWriter, archivePostResponse: Partial<ArchivePostResponse> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
if (!archivePostResponse || isSerializingDerivedType) { return; }
writer.writeBooleanValue("value", archivePostResponse.value);
writer.writeBooleanValue("value", archivePostResponse.value ?? false);
writer.writeAdditionalData(archivePostResponse.additionalData);
}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function deserializeIntoFavoritePostRequestBody(favoritePostRequestBody:
export function deserializeIntoFavoritePostResponse(favoritePostResponse: Partial<FavoritePostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
return {
"backingStoreEnabled": n => { favoritePostResponse.backingStoreEnabled = true; },
"value": n => { favoritePostResponse.value = n.getBooleanValue(); },
"value": n => { favoritePostResponse.value = n.getBooleanValue() ?? false; },
}
}
export interface FavoritePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
Expand Down Expand Up @@ -110,7 +110,7 @@ export function serializeFavoritePostRequestBody(writer: SerializationWriter, fa
// @ts-ignore
export function serializeFavoritePostResponse(writer: SerializationWriter, favoritePostResponse: Partial<FavoritePostResponse> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
if (!favoritePostResponse || isSerializingDerivedType) { return; }
writer.writeBooleanValue("value", favoritePostResponse.value);
writer.writeBooleanValue("value", favoritePostResponse.value ?? false);
writer.writeAdditionalData(favoritePostResponse.additionalData);
}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function deserializeIntoMarkReadPostRequestBody(markReadPostRequestBody:
export function deserializeIntoMarkReadPostResponse(markReadPostResponse: Partial<MarkReadPostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
return {
"backingStoreEnabled": n => { markReadPostResponse.backingStoreEnabled = true; },
"value": n => { markReadPostResponse.value = n.getBooleanValue(); },
"value": n => { markReadPostResponse.value = n.getBooleanValue() ?? false; },
}
}
export interface MarkReadPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
Expand Down Expand Up @@ -110,7 +110,7 @@ export function serializeMarkReadPostRequestBody(writer: SerializationWriter, ma
// @ts-ignore
export function serializeMarkReadPostResponse(writer: SerializationWriter, markReadPostResponse: Partial<MarkReadPostResponse> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
if (!markReadPostResponse || isSerializingDerivedType) { return; }
writer.writeBooleanValue("value", markReadPostResponse.value);
writer.writeBooleanValue("value", markReadPostResponse.value ?? false);
writer.writeAdditionalData(markReadPostResponse.additionalData);
}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function deserializeIntoMarkUnreadPostRequestBody(markUnreadPostRequestBo
export function deserializeIntoMarkUnreadPostResponse(markUnreadPostResponse: Partial<MarkUnreadPostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
return {
"backingStoreEnabled": n => { markUnreadPostResponse.backingStoreEnabled = true; },
"value": n => { markUnreadPostResponse.value = n.getBooleanValue(); },
"value": n => { markUnreadPostResponse.value = n.getBooleanValue() ?? false; },
}
}
export interface MarkUnreadPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
Expand Down Expand Up @@ -110,7 +110,7 @@ export function serializeMarkUnreadPostRequestBody(writer: SerializationWriter,
// @ts-ignore
export function serializeMarkUnreadPostResponse(writer: SerializationWriter, markUnreadPostResponse: Partial<MarkUnreadPostResponse> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
if (!markUnreadPostResponse || isSerializingDerivedType) { return; }
writer.writeBooleanValue("value", markUnreadPostResponse.value);
writer.writeBooleanValue("value", markUnreadPostResponse.value ?? false);
writer.writeAdditionalData(markUnreadPostResponse.additionalData);
}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function deserializeIntoUnarchivePostRequestBody(unarchivePostRequestBody
export function deserializeIntoUnarchivePostResponse(unarchivePostResponse: Partial<UnarchivePostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
return {
"backingStoreEnabled": n => { unarchivePostResponse.backingStoreEnabled = true; },
"value": n => { unarchivePostResponse.value = n.getBooleanValue(); },
"value": n => { unarchivePostResponse.value = n.getBooleanValue() ?? false; },
}
}
/**
Expand All @@ -69,7 +69,7 @@ export function serializeUnarchivePostRequestBody(writer: SerializationWriter, u
// @ts-ignore
export function serializeUnarchivePostResponse(writer: SerializationWriter, unarchivePostResponse: Partial<UnarchivePostResponse> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
if (!unarchivePostResponse || isSerializingDerivedType) { return; }
writer.writeBooleanValue("value", unarchivePostResponse.value);
writer.writeBooleanValue("value", unarchivePostResponse.value ?? false);
writer.writeAdditionalData(unarchivePostResponse.additionalData);
}
export interface UnarchivePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function deserializeIntoUnfavoritePostRequestBody(unfavoritePostRequestBo
export function deserializeIntoUnfavoritePostResponse(unfavoritePostResponse: Partial<UnfavoritePostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
return {
"backingStoreEnabled": n => { unfavoritePostResponse.backingStoreEnabled = true; },
"value": n => { unfavoritePostResponse.value = n.getBooleanValue(); },
"value": n => { unfavoritePostResponse.value = n.getBooleanValue() ?? false; },
}
}
/**
Expand All @@ -69,7 +69,7 @@ export function serializeUnfavoritePostRequestBody(writer: SerializationWriter,
// @ts-ignore
export function serializeUnfavoritePostResponse(writer: SerializationWriter, unfavoritePostResponse: Partial<UnfavoritePostResponse> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
if (!unfavoritePostResponse || isSerializingDerivedType) { return; }
writer.writeBooleanValue("value", unfavoritePostResponse.value);
writer.writeBooleanValue("value", unfavoritePostResponse.value ?? false);
writer.writeAdditionalData(unfavoritePostResponse.additionalData);
}
export interface UnfavoritePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@ export interface ApplicationTemplatesRequestBuilder extends BaseRequestBuilder<A
*/
byApplicationTemplateId(applicationTemplateId: string) : ApplicationTemplateItemRequestBuilder;
/**
* Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery.
* Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. If a risk property is included in the request without appropriate license, a @microsoft.graph.licenseRequired OData annotation is returned in the response.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ApplicationTemplateCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/applicationtemplate-list?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ApplicationTemplatesRequestBuilderGetQueryParameters> | undefined) : Promise<ApplicationTemplateCollectionResponse | undefined>;
/**
* Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery.
* Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. If a risk property is included in the request without appropriate license, a @microsoft.graph.licenseRequired OData annotation is returned in the response.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ApplicationTemplatesRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
}
/**
* Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery.
* Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. If a risk property is included in the request without appropriate license, a @microsoft.graph.licenseRequired OData annotation is returned in the response.
*/
export interface ApplicationTemplatesRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ export interface ApplicationTemplateItemRequestBuilder extends BaseRequestBuilde
*/
get instantiate(): InstantiateRequestBuilder;
/**
* Retrieve the properties of an applicationTemplate object.
* Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ApplicationTemplate>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/applicationtemplate-get?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ApplicationTemplateItemRequestBuilderGetQueryParameters> | undefined) : Promise<ApplicationTemplate | undefined>;
/**
* Retrieve the properties of an applicationTemplate object.
* Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ApplicationTemplateItemRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
}
/**
* Retrieve the properties of an applicationTemplate object.
* Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
*/
export interface ApplicationTemplateItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function createGetAvailableExtensionPropertiesPostResponseFromDiscriminat
export function deserializeIntoGetAvailableExtensionPropertiesPostRequestBody(getAvailableExtensionPropertiesPostRequestBody: Partial<GetAvailableExtensionPropertiesPostRequestBody> | undefined = {}) : Record<string, (node: ParseNode) => void> {
return {
"backingStoreEnabled": n => { getAvailableExtensionPropertiesPostRequestBody.backingStoreEnabled = true; },
"isSyncedFromOnPremises": n => { getAvailableExtensionPropertiesPostRequestBody.isSyncedFromOnPremises = n.getBooleanValue(); },
"isSyncedFromOnPremises": n => { getAvailableExtensionPropertiesPostRequestBody.isSyncedFromOnPremises = n.getBooleanValue() ?? false; },
}
}
/**
Expand Down Expand Up @@ -96,7 +96,7 @@ export interface GetAvailableExtensionPropertiesRequestBuilder extends BaseReque
// @ts-ignore
export function serializeGetAvailableExtensionPropertiesPostRequestBody(writer: SerializationWriter, getAvailableExtensionPropertiesPostRequestBody: Partial<GetAvailableExtensionPropertiesPostRequestBody> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
if (!getAvailableExtensionPropertiesPostRequestBody || isSerializingDerivedType) { return; }
writer.writeBooleanValue("isSyncedFromOnPremises", getAvailableExtensionPropertiesPostRequestBody.isSyncedFromOnPremises);
writer.writeBooleanValue("isSyncedFromOnPremises", getAvailableExtensionPropertiesPostRequestBody.isSyncedFromOnPremises ?? false);
writer.writeAdditionalData(getAvailableExtensionPropertiesPostRequestBody.additionalData);
}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export interface RefRequestBuilderGetQueryParameters {
/**
* Uri template for the request builder.
*/
export const RefRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}";
export const RefRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.
*/
Expand All @@ -118,7 +118,7 @@ const RefRequestBuilderGetQueryParametersMapper: Record<string, string> = {
*/
export const RefRequestBuilderRequestsMetadata: RequestsMetadata = {
delete: {
uriTemplate: RefRequestBuilderUriTemplate,
uriTemplate: "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref?@id={%40id}",
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function createGetMemberGroupsPostResponseFromDiscriminatorValue(parseNod
export function deserializeIntoGetMemberGroupsPostRequestBody(getMemberGroupsPostRequestBody: Partial<GetMemberGroupsPostRequestBody> | undefined = {}) : Record<string, (node: ParseNode) => void> {
return {
"backingStoreEnabled": n => { getMemberGroupsPostRequestBody.backingStoreEnabled = true; },
"securityEnabledOnly": n => { getMemberGroupsPostRequestBody.securityEnabledOnly = n.getBooleanValue(); },
"securityEnabledOnly": n => { getMemberGroupsPostRequestBody.securityEnabledOnly = n.getBooleanValue() ?? false; },
}
}
/**
Expand Down Expand Up @@ -96,7 +96,7 @@ export interface GetMemberGroupsRequestBuilder extends BaseRequestBuilder<GetMem
// @ts-ignore
export function serializeGetMemberGroupsPostRequestBody(writer: SerializationWriter, getMemberGroupsPostRequestBody: Partial<GetMemberGroupsPostRequestBody> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
if (!getMemberGroupsPostRequestBody || isSerializingDerivedType) { return; }
writer.writeBooleanValue("securityEnabledOnly", getMemberGroupsPostRequestBody.securityEnabledOnly);
writer.writeBooleanValue("securityEnabledOnly", getMemberGroupsPostRequestBody.securityEnabledOnly ?? false);
writer.writeAdditionalData(getMemberGroupsPostRequestBody.additionalData);
}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function createGetMemberObjectsPostResponseFromDiscriminatorValue(parseNo
export function deserializeIntoGetMemberObjectsPostRequestBody(getMemberObjectsPostRequestBody: Partial<GetMemberObjectsPostRequestBody> | undefined = {}) : Record<string, (node: ParseNode) => void> {
return {
"backingStoreEnabled": n => { getMemberObjectsPostRequestBody.backingStoreEnabled = true; },
"securityEnabledOnly": n => { getMemberObjectsPostRequestBody.securityEnabledOnly = n.getBooleanValue(); },
"securityEnabledOnly": n => { getMemberObjectsPostRequestBody.securityEnabledOnly = n.getBooleanValue() ?? false; },
}
}
/**
Expand Down Expand Up @@ -96,7 +96,7 @@ export interface GetMemberObjectsRequestBuilder extends BaseRequestBuilder<GetMe
// @ts-ignore
export function serializeGetMemberObjectsPostRequestBody(writer: SerializationWriter, getMemberObjectsPostRequestBody: Partial<GetMemberObjectsPostRequestBody> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
if (!getMemberObjectsPostRequestBody || isSerializingDerivedType) { return; }
writer.writeBooleanValue("securityEnabledOnly", getMemberObjectsPostRequestBody.securityEnabledOnly);
writer.writeBooleanValue("securityEnabledOnly", getMemberObjectsPostRequestBody.securityEnabledOnly ?? false);
writer.writeAdditionalData(getMemberObjectsPostRequestBody.additionalData);
}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export interface RefRequestBuilderGetQueryParameters {
/**
* Uri template for the request builder.
*/
export const RefRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}";
export const RefRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.
*/
Expand All @@ -119,7 +119,7 @@ const RefRequestBuilderGetQueryParametersMapper: Record<string, string> = {
*/
export const RefRequestBuilderRequestsMetadata: RequestsMetadata = {
delete: {
uriTemplate: RefRequestBuilderUriTemplate,
uriTemplate: "{+baseurl}/applications/{application%2Did}/owners/$ref?@id={%40id}",
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
Expand Down
Loading
Loading