diff --git a/packages/clients/src/api/domain/v2beta1/api.gen.ts b/packages/clients/src/api/domain/v2beta1/api.gen.ts index 773728587..347f261ba 100644 --- a/packages/clients/src/api/domain/v2beta1/api.gen.ts +++ b/packages/clients/src/api/domain/v2beta1/api.gen.ts @@ -171,7 +171,10 @@ export class API extends ParentAPI { method: 'GET', path: `/domain/v2beta1/dns-zones`, urlParams: urlParams( + ['created_after', request.createdAfter], + ['created_before', request.createdBefore], ['dns_zone', request.dnsZone], + ['dns_zones', request.dnsZones], ['domain', request.domain], ['order_by', request.orderBy ?? 'domain_asc'], ['organization_id', request.organizationId], @@ -181,6 +184,8 @@ export class API extends ParentAPI { request.pageSize ?? this.client.settings.defaultPageSize, ], ['project_id', request.projectId], + ['updated_after', request.updatedAfter], + ['updated_before', request.updatedBefore], ), }, unmarshalListDNSZonesResponse, diff --git a/packages/clients/src/api/domain/v2beta1/types.gen.ts b/packages/clients/src/api/domain/v2beta1/types.gen.ts index d78290394..9bd378a11 100644 --- a/packages/clients/src/api/domain/v2beta1/types.gen.ts +++ b/packages/clients/src/api/domain/v2beta1/types.gen.ts @@ -147,6 +147,10 @@ export type ListDNSZonesRequestOrderBy = | 'domain_desc' | 'subdomain_asc' | 'subdomain_desc' + | 'created_at_asc' + | 'created_at_desc' + | 'updated_at_asc' + | 'updated_at_desc' export type ListDomainsRequestOrderBy = 'domain_asc' | 'domain_desc' @@ -848,8 +852,18 @@ export type ListDNSZonesRequest = { pageSize?: number /** Domain on which to filter the returned DNS zones. */ domain: string - /** DNS zone on which to filter the returned DNS zones. */ - dnsZone: string + /** @deprecated DNS zone on which to filter the returned DNS zones. */ + dnsZone?: string + /** DNS zones on which to filter the returned DNS zones. */ + dnsZones?: string[] + /** Only list DNS zones created after this date. */ + createdAfter?: Date + /** Only list DNS zones created before this date. */ + createdBefore?: Date + /** Only list DNS zones updated after this date. */ + updatedAfter?: Date + /** Only list DNS zones updated before this date. */ + updatedBefore?: Date } export type CreateDNSZoneRequest = {