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
5 changes: 5 additions & 0 deletions packages/kiota-dom-export.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13903,6 +13903,7 @@ github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.contactsRequestBuilde
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.contactsRequestBuilderGetQueryParameters::|public|orderby:string[]
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.contactsRequestBuilderGetQueryParameters::|public|search:string
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.contactsRequestBuilderGetQueryParameters::|public|select:string[]
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.contactsRequestBuilderGetQueryParameters::|public|skip:number
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.contactsRequestBuilderGetQueryParameters::|public|top:number
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.contactsRequestBuilderGetQueryParametersMapper
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.contactsRequestBuilderNavigationMetadata
Expand Down Expand Up @@ -14249,16 +14250,20 @@ github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.memberOf.memberO
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.memberOf.memberOfRequestBuilder~~>BaseRequestBuilder<MemberOfRequestBuilder>
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|checkMemberGroups:CheckMemberGroupsRequestBuilder
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|checkMemberObjects:CheckMemberObjectsRequestBuilder
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|delete(requestConfiguration?:RequestConfiguration<object>):void
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|directReports:DirectReportsRequestBuilder
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|get(requestConfiguration?:RequestConfiguration<OrgContactItemRequestBuilderGetQueryParameters>):OrgContact
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|getMemberGroups:GetMemberGroupsRequestBuilder
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|getMemberObjects:GetMemberObjectsRequestBuilder
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|manager:ManagerRequestBuilder
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|memberOf:MemberOfRequestBuilder
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|patch(body:OrgContact; requestConfiguration?:RequestConfiguration<object>):OrgContact
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|restore:RestoreRequestBuilder
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|retryServiceProvisioning:RetryServiceProvisioningRequestBuilder
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|serviceProvisioningErrors:ServiceProvisioningErrorsRequestBuilder
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:RequestConfiguration<object>):RequestInformation
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:RequestConfiguration<OrgContactItemRequestBuilderGetQueryParameters>):RequestInformation
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|toPatchRequestInformation(body:OrgContact; requestConfiguration?:RequestConfiguration<object>):RequestInformation
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|transitiveMemberOf:TransitiveMemberOfRequestBuilder
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilder::|public|transitiveReports:TransitiveReportsRequestBuilder
github.com/microsoftgraph/msgraph-sdk-typescript/.contacts.item.OrgContactItemRequestBuilderGetQueryParameters::|public|expand:string[]
Expand Down
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": "AA9E94E7EFD0F6E782B6025956D84BB92BC7E532F476B492EA4BF706BFE47EDD4645053F696A1B496A97FA963846A230A27E9CEDBE9C3B6EA581B9BADED17BF4",
"descriptionHash": "77EF8F020E506936067CF414EA8C20EBC52D89DCC7EDB09261158DAB957035A7FC1A459CC1796D170832083AE59BB20AC7404FF3A98DC2565FBAA6DC6B3722DD",
"descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.29.0",
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 a resourceConnection object.
* Read the properties and relationships of an operationalInsightsConnection 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-resourceconnection-get?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-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 a resourceConnection object.
* Read the properties and relationships of an operationalInsightsConnection 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 a resourceConnection object.
* Read the properties and relationships of an operationalInsightsConnection object.
*/
export interface ResourceConnectionItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Read the properties and relationships of an updatableAssetGroup 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-updatableassetgroup-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 @@ -66,7 +66,7 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Read the properties and relationships of an updatableAssetGroup 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 updatableAssetGroup 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 @@ -26,20 +26,20 @@ export interface ComplianceChangeItemRequestBuilder extends BaseRequestBuilder<C
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Read the properties and relationships of a contentApproval object.
* Read the properties and relationships of a complianceChange object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ComplianceChange>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ComplianceChangeItemRequestBuilderGetQueryParameters> | undefined) : Promise<ComplianceChange | undefined>;
/**
* Update the properties of a contentApproval object.
* Update the properties of a complianceChange object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ComplianceChange>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta|Find more info here}
*/
patch(body: ComplianceChange, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ComplianceChange | undefined>;
/**
Expand All @@ -49,21 +49,21 @@ export interface ComplianceChangeItemRequestBuilder extends BaseRequestBuilder<C
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Read the properties and relationships of a contentApproval object.
* Read the properties and relationships of a complianceChange object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ComplianceChangeItemRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
/**
* Update the properties of a contentApproval object.
* Update the properties of a complianceChange object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: ComplianceChange, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Read the properties and relationships of a contentApproval object.
* Read the properties and relationships of a complianceChange object.
*/
export interface ComplianceChangeItemRequestBuilderGetQueryParameters {
/**
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
7 changes: 6 additions & 1 deletion packages/msgraph-beta-sdk-contacts/contacts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ export interface ContactsRequestBuilderGetQueryParameters {
* Select properties to be returned
*/
select?: string[];
/**
* Skip the first n items
*/
skip?: number;
/**
* Show only the first n items
*/
Expand All @@ -101,7 +105,7 @@ export interface ContactsRequestBuilderGetQueryParameters {
/**
* Uri template for the request builder.
*/
export const ContactsRequestBuilderUriTemplate = "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24top}";
export const ContactsRequestBuilderUriTemplate = "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.
*/
Expand All @@ -112,6 +116,7 @@ const ContactsRequestBuilderGetQueryParametersMapper: Record<string, string> = {
"orderby": "%24orderby",
"search": "%24search",
"select": "%24select",
"skip": "%24skip",
"top": "%24top",
};
/**
Expand Down
49 changes: 48 additions & 1 deletion packages/msgraph-beta-sdk-contacts/contacts/item/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createOrgContactFromDiscriminatorValue, type OrgContact } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { createOrgContactFromDiscriminatorValue, serializeOrgContact, type OrgContact } 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
Expand Down Expand Up @@ -84,6 +84,12 @@ export interface OrgContactItemRequestBuilder extends BaseRequestBuilder<OrgCont
* Provides operations to manage the transitiveReports property of the microsoft.graph.orgContact entity.
*/
get transitiveReports(): TransitiveReportsRequestBuilder;
/**
* Delete entity from contacts
* @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
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Get the properties and relationships of an organizational contact object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
Expand All @@ -92,12 +98,33 @@ export interface OrgContactItemRequestBuilder extends BaseRequestBuilder<OrgCont
* @see {@link https://learn.microsoft.com/graph/api/orgcontact-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<OrgContactItemRequestBuilderGetQueryParameters> | undefined) : Promise<OrgContact | undefined>;
/**
* Update entity in contacts
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<OrgContact>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: OrgContact, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<OrgContact | undefined>;
/**
* Delete entity from contacts
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Get the properties and relationships of an organizational contact object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<OrgContactItemRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
/**
* Update entity in contacts
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: OrgContact, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Get the properties and relationships of an organizational contact object.
Expand Down Expand Up @@ -173,6 +200,14 @@ export const OrgContactItemRequestBuilderNavigationMetadata: Record<Exclude<keyo
* Metadata for all the requests in the request builder.
*/
export const OrgContactItemRequestBuilderRequestsMetadata: RequestsMetadata = {
delete: {
uriTemplate: OrgContactItemRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
},
adapterMethodName: "sendNoResponseContent",
},
get: {
uriTemplate: OrgContactItemRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
Expand All @@ -183,6 +218,18 @@ export const OrgContactItemRequestBuilderRequestsMetadata: RequestsMetadata = {
responseBodyFactory: createOrgContactFromDiscriminatorValue,
queryParametersMapper: OrgContactItemRequestBuilderGetQueryParametersMapper,
},
patch: {
uriTemplate: OrgContactItemRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
},
adapterMethodName: "send",
responseBodyFactory: createOrgContactFromDiscriminatorValue,
requestBodyContentType: "application/json",
requestBodySerializer: serializeOrgContact,
requestInformationContentSetMethod: "setContentFromParsable",
},
};
/* tslint:enable */
/* eslint-enable */
Loading