UNPKG

@microsoft/msgraph-beta-sdk-groups

Version:
51 lines 3.14 kB
import { type BaseCollectionPaginationCountResponse, type ResourceSpecificPermissionGrant } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions'; export interface CheckGrantedPermissionsForAppPostResponse extends BaseCollectionPaginationCountResponse, Parsable { /** * The value property */ value?: ResourceSpecificPermissionGrant[] | null; } /** * Provides operations to call the checkGrantedPermissionsForApp method. */ export interface CheckGrantedPermissionsForAppRequestBuilder extends BaseRequestBuilder<CheckGrantedPermissionsForAppRequestBuilder> { /** * Invoke action checkGrantedPermissionsForApp * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CheckGrantedPermissionsForAppPostResponse>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CheckGrantedPermissionsForAppPostResponse | undefined>; /** * Invoke action checkGrantedPermissionsForApp * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {CheckGrantedPermissionsForAppPostResponse} */ export declare function createCheckGrantedPermissionsForAppPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>); /** * The deserialization information for the current model * @returns {Record<string, (node: ParseNode) => void>} */ export declare function deserializeIntoCheckGrantedPermissionsForAppPostResponse(checkGrantedPermissionsForAppPostResponse?: Partial<CheckGrantedPermissionsForAppPostResponse> | undefined): Record<string, (node: ParseNode) => void>; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeCheckGrantedPermissionsForAppPostResponse(writer: SerializationWriter, checkGrantedPermissionsForAppPostResponse?: Partial<CheckGrantedPermissionsForAppPostResponse> | undefined | null): void; /** * Uri template for the request builder. */ export declare const CheckGrantedPermissionsForAppRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/checkGrantedPermissionsForApp"; /** * Metadata for all the requests in the request builder. */ export declare const CheckGrantedPermissionsForAppRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map