diff --git a/packages/clients/src/api/mongodb/v1alpha1/api.gen.ts b/packages/clients/src/api/mongodb/v1alpha1/api.gen.ts index 686eaed7c..c8ea6f183 100644 --- a/packages/clients/src/api/mongodb/v1alpha1/api.gen.ts +++ b/packages/clients/src/api/mongodb/v1alpha1/api.gen.ts @@ -138,20 +138,13 @@ export class API extends ParentAPI { urlParams: urlParams( ['name', request.name], ['order_by', request.orderBy], - [ - 'organization_id', - request.organizationId ?? - this.client.settings.defaultOrganizationId, - ], + ['organization_id', request.organizationId], ['page', request.page], [ 'page_size', request.pageSize ?? this.client.settings.defaultPageSize, ], - [ - 'project_id', - request.projectId ?? this.client.settings.defaultProjectId, - ], + ['project_id', request.projectId], ['tags', request.tags], ), }, @@ -417,20 +410,13 @@ export class API extends ParentAPI { ['instance_id', request.instanceId], ['name', request.name], ['order_by', request.orderBy], - [ - 'organization_id', - request.organizationId ?? - this.client.settings.defaultOrganizationId, - ], + ['organization_id', request.organizationId], ['page', request.page], [ 'page_size', request.pageSize ?? this.client.settings.defaultPageSize, ], - [ - 'project_id', - request.projectId ?? this.client.settings.defaultProjectId, - ], + ['project_id', request.projectId], ), }, unmarshalListSnapshotsResponse, diff --git a/packages/clients/src/api/webhosting/v1/api.gen.ts b/packages/clients/src/api/webhosting/v1/api.gen.ts index cf0dc1d3f..2aef2a554 100644 --- a/packages/clients/src/api/webhosting/v1/api.gen.ts +++ b/packages/clients/src/api/webhosting/v1/api.gen.ts @@ -458,20 +458,13 @@ export class HostingAPI extends ParentAPI { ['control_panels', request.controlPanels], ['domain', request.domain], ['order_by', request.orderBy], - [ - 'organization_id', - request.organizationId ?? - this.client.settings.defaultOrganizationId, - ], + ['organization_id', request.organizationId], ['page', request.page], [ 'page_size', request.pageSize ?? this.client.settings.defaultPageSize, ], - [ - 'project_id', - request.projectId ?? this.client.settings.defaultProjectId, - ], + ['project_id', request.projectId], ['statuses', request.statuses], ['tags', request.tags], ),