import type * as Square from "../index"; /** * Defines the fields that are included in the response body of * a request to the [ListWebhookSubscriptions](api-endpoint:WebhookSubscriptions-ListWebhookSubscriptions) endpoint. * * Note: if there are errors processing the request, the subscriptions field will not be * present. */ export interface ListWebhookSubscriptionsResponse { /** Information on errors encountered during the request. */ errors?: Square.Error_[]; /** The requested list of [Subscription](entity:WebhookSubscription)s. */ subscriptions?: Square.WebhookSubscription[]; /** * The pagination cursor to be used in a subsequent request. If empty, * this is the final response. * * For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). */ cursor?: string; }