From 15795cd7f5bba93efbd19a2b6cecc2b8536f785b Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Mon, 3 Jun 2024 11:14:42 +0000 Subject: [PATCH] feat: update generated APIs --- api/tem/v1alpha1/tem_sdk.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/tem/v1alpha1/tem_sdk.go b/api/tem/v1alpha1/tem_sdk.go index fbd5484d6..2de2ea2ed 100644 --- a/api/tem/v1alpha1/tem_sdk.go +++ b/api/tem/v1alpha1/tem_sdk.go @@ -1113,6 +1113,9 @@ type ListWebhooksRequest struct { // OrganizationID: (Optional) ID of the Organization for which to list the Webhooks. OrganizationID *string `json:"-"` + + // DomainID: (Optional) ID of the Domain for which to list the Webhooks. + DomainID *string `json:"-"` } // ListWebhooksResponse: list webhooks response. @@ -1627,6 +1630,7 @@ func (s *API) ListWebhooks(req *ListWebhooksRequest, opts ...scw.RequestOption) parameter.AddToQuery(query, "page_size", req.PageSize) parameter.AddToQuery(query, "project_id", req.ProjectID) parameter.AddToQuery(query, "organization_id", req.OrganizationID) + parameter.AddToQuery(query, "domain_id", req.DomainID) if fmt.Sprint(req.Region) == "" { return nil, errors.New("field Region cannot be empty in request")