From 3650304d3cca08b03e1fba08861d91053fafa5d3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 10 Oct 2026 17:04:10 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...reateWByWIdAnalyticsConsumptionExport.g.cs | 32 +++++++++++++++++++ ...lyticsClient.GetWByWIdAnalyticsExport.g.cs | 32 +++++++++++++++++++ ...Client.GetWByWIdAnalyticsExportAsText.g.cs | 32 +++++++++++++++++++ src/libs/Dust/openapi.yaml | 6 ++++ 4 files changed, 102 insertions(+) diff --git a/src/libs/Dust/Generated/Dust.AnalyticsClient.CreateWByWIdAnalyticsConsumptionExport.g.cs b/src/libs/Dust/Generated/Dust.AnalyticsClient.CreateWByWIdAnalyticsConsumptionExport.g.cs index a86657a..508edcf 100644 --- a/src/libs/Dust/Generated/Dust.AnalyticsClient.CreateWByWIdAnalyticsConsumptionExport.g.cs +++ b/src/libs/Dust/Generated/Dust.AnalyticsClient.CreateWByWIdAnalyticsConsumptionExport.g.cs @@ -448,6 +448,38 @@ partial void ProcessCreateWByWIdAnalyticsConsumptionExportResponseContent( h => h.Value)); } // + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::Dust.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // if ((int)__response.StatusCode == 500) { string? __content_500 = null; diff --git a/src/libs/Dust/Generated/Dust.AnalyticsClient.GetWByWIdAnalyticsExport.g.cs b/src/libs/Dust/Generated/Dust.AnalyticsClient.GetWByWIdAnalyticsExport.g.cs index 877790f..4e2ad46 100644 --- a/src/libs/Dust/Generated/Dust.AnalyticsClient.GetWByWIdAnalyticsExport.g.cs +++ b/src/libs/Dust/Generated/Dust.AnalyticsClient.GetWByWIdAnalyticsExport.g.cs @@ -461,6 +461,38 @@ partial void ProcessGetWByWIdAnalyticsExportResponseContent( h => h.Key, h => h.Value)); } + // + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::Dust.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Dust/Generated/Dust.AnalyticsClient.GetWByWIdAnalyticsExportAsText.g.cs b/src/libs/Dust/Generated/Dust.AnalyticsClient.GetWByWIdAnalyticsExportAsText.g.cs index f8eabc6..316643a 100644 --- a/src/libs/Dust/Generated/Dust.AnalyticsClient.GetWByWIdAnalyticsExportAsText.g.cs +++ b/src/libs/Dust/Generated/Dust.AnalyticsClient.GetWByWIdAnalyticsExportAsText.g.cs @@ -461,6 +461,38 @@ partial void ProcessGetWByWIdAnalyticsExportAsTextResponseContent( h => h.Key, h => h.Value)); } + // + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::Dust.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Dust/openapi.yaml b/src/libs/Dust/openapi.yaml index a4820ac..f9f6eab 100644 --- a/src/libs/Dust/openapi.yaml +++ b/src/libs/Dust/openapi.yaml @@ -290,6 +290,9 @@ "403": { "description": "The workspace does not have access to the consumption export API, or the API key has no\nadmin scope and the export is not restricted to groups whose analytics it can read.\n" }, + "429": { + "description": "Rate limit exceeded (60 requests per minute per workspace)" + }, "500": { "description": "Internal Server Error" } @@ -406,6 +409,9 @@ }, "403": { "description": "Requires an API key with admin scope" + }, + "429": { + "description": "Rate limit exceeded (60 requests per minute per workspace)" } } }