diff --git a/src/libs/Dust/Generated/Dust.DatasourcesClient.CreateWByWIdSpacesBySpaceIdDataSourcesByDsIdTablesByTIdRows.g.cs b/src/libs/Dust/Generated/Dust.DatasourcesClient.CreateWByWIdSpacesBySpaceIdDataSourcesByDsIdTablesByTIdRows.g.cs index af6f325..762c1be 100644 --- a/src/libs/Dust/Generated/Dust.DatasourcesClient.CreateWByWIdSpacesBySpaceIdDataSourcesByDsIdTablesByTIdRows.g.cs +++ b/src/libs/Dust/Generated/Dust.DatasourcesClient.CreateWByWIdSpacesBySpaceIdDataSourcesByDsIdTablesByTIdRows.g.cs @@ -485,6 +485,38 @@ partial void ProcessCreateWByWIdSpacesBySpaceIdDataSourcesByDsIdTablesByTIdRowsR 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.DatasourcesClient.DeleteWByWIdSpacesBySpaceIdDataSourcesByDsIdTablesByTIdRowsByRId.g.cs b/src/libs/Dust/Generated/Dust.DatasourcesClient.DeleteWByWIdSpacesBySpaceIdDataSourcesByDsIdTablesByTIdRowsByRId.g.cs index e7f0866..58d68e2 100644 --- a/src/libs/Dust/Generated/Dust.DatasourcesClient.DeleteWByWIdSpacesBySpaceIdDataSourcesByDsIdTablesByTIdRowsByRId.g.cs +++ b/src/libs/Dust/Generated/Dust.DatasourcesClient.DeleteWByWIdSpacesBySpaceIdDataSourcesByDsIdTablesByTIdRowsByRId.g.cs @@ -402,6 +402,38 @@ await DeleteWByWIdSpacesBySpaceIdDataSourcesByDsIdTablesByTIdRowsByRIdAsResponse 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 4f741bb..96034fc 100644 --- a/src/libs/Dust/openapi.yaml +++ b/src/libs/Dust/openapi.yaml @@ -5389,6 +5389,9 @@ }, "404": { "description": "The row was not found" + }, + "429": { + "description": "Too many pending table updates are queued for this table. Retry later." } } } @@ -5614,6 +5617,9 @@ "404": { "description": "Data source or workspace not found." }, + "429": { + "description": "Too many pending table updates are queued for this table. Retry later." + }, "500": { "description": "Internal Server Error." }