import type * as Square from "../index"; /** * Defines the fields that are included in the response body of * a request to the [CreateWebhookSubscription](api-endpoint:WebhookSubscriptions-CreateWebhookSubscription) endpoint. * * Note: if there are errors processing the request, the [Subscription](entity:WebhookSubscription) will not be * present. */ export interface CreateWebhookSubscriptionResponse { /** Information on errors encountered during the request. */ errors?: Square.Error_[]; /** The new [Subscription](entity:WebhookSubscription). */ subscription?: Square.WebhookSubscription; }