From 3b817fd356ae6d3b650913fddb93f1747ee75de3 Mon Sep 17 00:00:00 2001 From: gitctrlx <76150709+gitctrlx@users.noreply.github.com> Date: Sat, 5 Jul 2025 02:42:26 +0000 Subject: [PATCH] chore(dc_rest): Regen client v"10" on 2025-07-05 --- README.md | 1 + api.ts | 39 ++++++++++++++++++++++++++++++++- base.ts | 2 +- common.ts | 2 +- configuration.ts | 2 +- docs/GuildRoleColorsResponse.md | 24 ++++++++++++++++++++ docs/GuildRoleResponse.md | 4 ++++ index.ts | 2 +- 8 files changed, 71 insertions(+), 5 deletions(-) create mode 100644 docs/GuildRoleColorsResponse.md diff --git a/README.md b/README.md index 91aef77..f1a1006 100644 --- a/README.md +++ b/README.md @@ -483,6 +483,7 @@ Class | Method | HTTP request | Description - [GuildProductPurchaseResponse](docs/GuildProductPurchaseResponse.md) - [GuildPruneResponse](docs/GuildPruneResponse.md) - [GuildResponse](docs/GuildResponse.md) + - [GuildRoleColorsResponse](docs/GuildRoleColorsResponse.md) - [GuildRoleResponse](docs/GuildRoleResponse.md) - [GuildRoleTagsResponse](docs/GuildRoleTagsResponse.md) - [GuildStickerResponse](docs/GuildStickerResponse.md) diff --git a/api.ts b/api.ts index ea94367..d4d67a5 100644 --- a/api.ts +++ b/api.ts @@ -9,7 +9,7 @@ * - **Copyright**: Copyright (c) 2025 Qntx * - **Author**: ΣX * - **Version**: 10 - * - **Modified**: 2025-07-01T10:17:23.784586823Z[Etc/UTC] + * - **Modified**: 2025-07-05T02:42:23.045889949Z[Etc/UTC] * - **Generator Version**: 7.14.0 * *
@@ -8369,6 +8369,31 @@ export interface GuildResponse { */ 'public_updates_channel_id'?: string; } +/** + * + * @export + * @interface GuildRoleColorsResponse + */ +export interface GuildRoleColorsResponse { + /** + * + * @type {number} + * @memberof GuildRoleColorsResponse + */ + 'primary_color'?: number | null; + /** + * + * @type {number} + * @memberof GuildRoleColorsResponse + */ + 'secondary_color'?: number | null; + /** + * + * @type {number} + * @memberof GuildRoleColorsResponse + */ + 'tertiary_color'?: number | null; +} /** * * @export @@ -8423,12 +8448,24 @@ export interface GuildRoleResponse { * @memberof GuildRoleResponse */ 'mentionable': boolean; + /** + * + * @type {number} + * @memberof GuildRoleResponse + */ + 'flags': number; /** * * @type {string} * @memberof GuildRoleResponse */ 'description'?: string | null; + /** + * + * @type {GuildRoleColorsResponse} + * @memberof GuildRoleResponse + */ + 'colors'?: GuildRoleColorsResponse | null; /** * * @type {string} diff --git a/base.ts b/base.ts index 7639be6..b039289 100644 --- a/base.ts +++ b/base.ts @@ -9,7 +9,7 @@ * - **Copyright**: Copyright (c) 2025 Qntx * - **Author**: ΣX * - **Version**: 10 - * - **Modified**: 2025-07-01T10:17:23.784586823Z[Etc/UTC] + * - **Modified**: 2025-07-05T02:42:23.045889949Z[Etc/UTC] * - **Generator Version**: 7.14.0 * *
diff --git a/common.ts b/common.ts index 18c1bab..5d18a29 100644 --- a/common.ts +++ b/common.ts @@ -9,7 +9,7 @@ * - **Copyright**: Copyright (c) 2025 Qntx * - **Author**: ΣX * - **Version**: 10 - * - **Modified**: 2025-07-01T10:17:23.784586823Z[Etc/UTC] + * - **Modified**: 2025-07-05T02:42:23.045889949Z[Etc/UTC] * - **Generator Version**: 7.14.0 * *
diff --git a/configuration.ts b/configuration.ts index d077cca..23d0a3a 100644 --- a/configuration.ts +++ b/configuration.ts @@ -9,7 +9,7 @@ * - **Copyright**: Copyright (c) 2025 Qntx * - **Author**: ΣX * - **Version**: 10 - * - **Modified**: 2025-07-01T10:17:23.784586823Z[Etc/UTC] + * - **Modified**: 2025-07-05T02:42:23.045889949Z[Etc/UTC] * - **Generator Version**: 7.14.0 * *
diff --git a/docs/GuildRoleColorsResponse.md b/docs/GuildRoleColorsResponse.md new file mode 100644 index 0000000..91cb392 --- /dev/null +++ b/docs/GuildRoleColorsResponse.md @@ -0,0 +1,24 @@ +# GuildRoleColorsResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**primary_color** | **number** | | [optional] [default to undefined] +**secondary_color** | **number** | | [optional] [default to undefined] +**tertiary_color** | **number** | | [optional] [default to undefined] + +## Example + +```typescript +import { GuildRoleColorsResponse } from 'dc_rest'; + +const instance: GuildRoleColorsResponse = { + primary_color, + secondary_color, + tertiary_color, +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GuildRoleResponse.md b/docs/GuildRoleResponse.md index d968ee8..124f186 100644 --- a/docs/GuildRoleResponse.md +++ b/docs/GuildRoleResponse.md @@ -13,7 +13,9 @@ Name | Type | Description | Notes **hoist** | **boolean** | | [default to undefined] **managed** | **boolean** | | [default to undefined] **mentionable** | **boolean** | | [default to undefined] +**flags** | **number** | | [default to undefined] **description** | **string** | | [optional] [default to undefined] +**colors** | [**GuildRoleColorsResponse**](GuildRoleColorsResponse.md) | | [optional] [default to undefined] **icon** | **string** | | [optional] [default to undefined] **unicode_emoji** | **string** | | [optional] [default to undefined] **tags** | [**GuildRoleTagsResponse**](GuildRoleTagsResponse.md) | | [optional] [default to undefined] @@ -32,7 +34,9 @@ const instance: GuildRoleResponse = { hoist, managed, mentionable, + flags, description, + colors, icon, unicode_emoji, tags, diff --git a/index.ts b/index.ts index 9dd87c9..515009c 100644 --- a/index.ts +++ b/index.ts @@ -9,7 +9,7 @@ * - **Copyright**: Copyright (c) 2025 Qntx * - **Author**: ΣX * - **Version**: 10 - * - **Modified**: 2025-07-01T10:17:23.784586823Z[Etc/UTC] + * - **Modified**: 2025-07-05T02:42:23.045889949Z[Etc/UTC] * - **Generator Version**: 7.14.0 * *