import { _GraphInstance, _GraphCollection } from "../graphqueryable.js"; import { Subscription as ISubscriptionType } from "@microsoft/microsoft-graph-types"; import { IDeleteable, IUpdateable, IGetById } from "../decorators.js"; /** * Subscription */ export declare class _Subscription extends _GraphInstance { } export interface ISubscription extends _Subscription, IDeleteable, IUpdateable { } export declare const Subscription: import("../graphqueryable.js").IGraphInvokableFactory; /** * Subscriptions */ export declare class _Subscriptions extends _GraphCollection { /** * Create a new Subscription. * * @param changeType Indicates the type of change in the subscribed resource that will raise a notification. The supported values are: created, updated, deleted. * @param notificationUrl The URL of the endpoint that will receive the notifications. This URL must make use of the HTTPS protocol. * @param resource Specifies the resource that will be monitored for changes. Do not include the base URL (https://graph.microsoft.com/v1.0/). * @param expirationDateTime Specifies the date and time when the webhook subscription expires. The time is in UTC. * @param props A plain object collection of additional properties you want to set on the new subscription * */ add(changeType: string, notificationUrl: string, resource: string, expirationDateTime: string, props?: ISubscriptionType): Promise; } export interface ISubscriptions extends _Subscriptions, IGetById { } export declare const Subscriptions: import("../graphqueryable.js").IGraphInvokableFactory; /** * ISubAddResult */ export interface ISubAddResult { data: ISubscriptionType; subscription: ISubscription; } //# sourceMappingURL=types.d.ts.map