export type DeleteResponse = { /** * The ID of the item that was deleted. */ id: string; /** * The type of the item that was deleted. */ object: TObject; /** * Whether the item was deleted successfully. */ deleted: boolean; }; export type DeleteResponseWithParent = DeleteResponse & { /** * The parent resource of the item that was deleted, if applicable. */ parent?: TParent; }; export type PaginatedResponse = { /** * The maximum number of items retrieved. */ limit: number; /** * The number of items to skip before retrieving the returned items. */ offset: number; /** * The total number of items. */ count: number; /** * The estimated count retrieved from the PostgreSQL query planner, which may be inaccurate. * * @featureFlag index_engine * @version 2.8.0 */ estimate_count?: number; } & T; export type BatchResponse = { /** * The items that were created. */ created: T[]; /** * The items that were updated. */ updated: T[]; /** * Details of the items that were deleted. */ deleted: { /** * The IDs of the items that were deleted. */ ids: string[]; /** * The type of the items that were deleted. * * @example * "product" */ object: string; /** * Whether the items were deleted successfully. */ deleted: boolean; }; }; //# sourceMappingURL=response.d.ts.map