Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 29 additions & 15 deletions README.md

Large diffs are not rendered by default.

3,408 changes: 1,955 additions & 1,453 deletions api.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* - **Copyright**: Copyright (c) 2025 Qntx
* - **Author**: ΣX <gitctrlx@gmail.com>
* - **Version**: 10
* - **Modified**: 2025-07-05T02:42:23.045889949Z[Etc/UTC]
* - **Modified**: 2025-09-06T05:32:15.196856876Z[Etc/UTC]
* - **Generator Version**: 7.14.0
*
* <details>
Expand Down
2 changes: 1 addition & 1 deletion common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* - **Copyright**: Copyright (c) 2025 Qntx
* - **Author**: ΣX <gitctrlx@gmail.com>
* - **Version**: 10
* - **Modified**: 2025-07-05T02:42:23.045889949Z[Etc/UTC]
* - **Modified**: 2025-09-06T05:32:15.196856876Z[Etc/UTC]
* - **Generator Version**: 7.14.0
*
* <details>
Expand Down
2 changes: 1 addition & 1 deletion configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* - **Copyright**: Copyright (c) 2025 Qntx
* - **Author**: ΣX <gitctrlx@gmail.com>
* - **Version**: 10
* - **Modified**: 2025-07-05T02:42:23.045889949Z[Etc/UTC]
* - **Modified**: 2025-09-06T05:32:15.196856876Z[Etc/UTC]
* - **Generator Version**: 7.14.0
*
* <details>
Expand Down
2 changes: 2 additions & 0 deletions docs/ActionRowComponentForMessageRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **number** | | [default to undefined]
**components** | [**Array&lt;ActionRowComponentForMessageRequestComponentsInner&gt;**](ActionRowComponentForMessageRequestComponentsInner.md) | | [default to undefined]
**id** | **number** | | [optional] [default to undefined]

## Example

Expand All @@ -16,6 +17,7 @@ import { ActionRowComponentForMessageRequest } from 'dc_rest';
const instance: ActionRowComponentForMessageRequest = {
type,
components,
id,
};
```

Expand Down
8 changes: 6 additions & 2 deletions docs/ActionRowComponentForMessageRequestComponentsInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ Name | Type | Description | Notes
**type** | **number** | | [default to undefined]
**custom_id** | **string** | | [default to undefined]
**style** | **number** | | [default to undefined]
**_options** | [**Array&lt;StringSelectOptionForMessageRequest&gt;**](StringSelectOptionForMessageRequest.md) | | [default to undefined]
**_options** | [**Array&lt;StringSelectOptionForRequest&gt;**](StringSelectOptionForRequest.md) | | [default to undefined]
**id** | **number** | | [optional] [default to undefined]
**label** | **string** | | [optional] [default to undefined]
**disabled** | **boolean** | | [optional] [default to undefined]
**url** | **string** | | [optional] [default to undefined]
**sku_id** | **string** | | [optional] [default to undefined]
**emoji** | [**ComponentEmojiForMessageRequest**](ComponentEmojiForMessageRequest.md) | | [optional] [default to undefined]
**emoji** | [**ComponentEmojiForRequest**](ComponentEmojiForRequest.md) | | [optional] [default to undefined]
**placeholder** | **string** | | [optional] [default to undefined]
**min_values** | **number** | | [optional] [default to undefined]
**max_values** | **number** | | [optional] [default to undefined]
**required** | **boolean** | | [optional] [default to undefined]
**default_values** | [**Array&lt;UserSelectDefaultValue&gt;**](UserSelectDefaultValue.md) | | [optional] [default to undefined]
**channel_types** | **Set&lt;number&gt;** | | [optional] [default to undefined]

Expand All @@ -30,6 +32,7 @@ const instance: ActionRowComponentForMessageRequestComponentsInner = {
custom_id,
style,
_options,
id,
label,
disabled,
url,
Expand All @@ -38,6 +41,7 @@ const instance: ActionRowComponentForMessageRequestComponentsInner = {
placeholder,
min_values,
max_values,
required,
default_values,
channel_types,
};
Expand Down
2 changes: 2 additions & 0 deletions docs/ActionRowComponentForModalRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **number** | | [default to undefined]
**components** | [**Array&lt;TextInputComponentForModalRequest&gt;**](TextInputComponentForModalRequest.md) | | [default to undefined]
**id** | **number** | | [optional] [default to undefined]

## Example

Expand All @@ -16,6 +17,7 @@ import { ActionRowComponentForModalRequest } from 'dc_rest';
const instance: ActionRowComponentForModalRequest = {
type,
components,
id,
};
```

Expand Down
2 changes: 1 addition & 1 deletion docs/ActionRowComponentResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **number** | | [default to undefined]
**id** | **number** | | [default to undefined]
**components** | [**Array&lt;ActionRowComponentResponseComponentsInner&gt;**](ActionRowComponentResponseComponentsInner.md) | | [optional] [default to undefined]
**components** | [**Array&lt;ActionRowComponentResponseComponentsInner&gt;**](ActionRowComponentResponseComponentsInner.md) | | [default to undefined]

## Example

Expand Down
4 changes: 2 additions & 2 deletions docs/AddGroupDmUser201Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ Name | Type | Description | Notes
**type** | **number** | | [default to undefined]
**flags** | **number** | | [default to undefined]
**recipients** | [**Array&lt;UserResponse&gt;**](UserResponse.md) | | [default to undefined]
**owner_id** | **string** | | [default to undefined]
**last_message_id** | **string** | | [optional] [default to undefined]
**last_pin_timestamp** | **string** | | [optional] [default to undefined]
**name** | **string** | | [optional] [default to undefined]
**icon** | **string** | | [optional] [default to undefined]
**owner_id** | **string** | | [optional] [default to undefined]
**managed** | **boolean** | | [optional] [default to undefined]
**application_id** | **string** | | [optional] [default to undefined]

Expand All @@ -27,11 +27,11 @@ const instance: AddGroupDmUser201Response = {
type,
flags,
recipients,
owner_id,
last_message_id,
last_pin_timestamp,
name,
icon,
owner_id,
managed,
application_id,
};
Expand Down
2 changes: 2 additions & 0 deletions docs/BaseCreateMessageCreateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Name | Type | Description | Notes
**flags** | **number** | | [optional] [default to undefined]
**attachments** | [**Array&lt;MessageAttachmentRequest&gt;**](MessageAttachmentRequest.md) | | [optional] [default to undefined]
**poll** | [**PollCreateRequest**](PollCreateRequest.md) | | [optional] [default to undefined]
**shared_client_theme** | [**CustomClientThemeShareRequest**](CustomClientThemeShareRequest.md) | | [optional] [default to undefined]
**confetti_potion** | **object** | | [optional] [default to undefined]

## Example
Expand All @@ -29,6 +30,7 @@ const instance: BaseCreateMessageCreateRequest = {
flags,
attachments,
poll,
shared_client_theme,
confetti_potion,
};
```
Expand Down
2 changes: 2 additions & 0 deletions docs/BaseCreateMessageCreateRequestComponentsInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**items** | [**Array&lt;MediaGalleryItemRequest&gt;**](MediaGalleryItemRequest.md) | | [default to undefined]
**accessory** | [**SectionComponentForMessageRequestAccessory**](SectionComponentForMessageRequestAccessory.md) | | [default to undefined]
**content** | **string** | | [default to undefined]
**id** | **number** | | [optional] [default to undefined]
**accent_color** | **number** | | [optional] [default to undefined]
**spoiler** | **boolean** | | [optional] [default to undefined]
**spacing** | **number** | | [optional] [default to undefined]
Expand All @@ -28,6 +29,7 @@ const instance: BaseCreateMessageCreateRequestComponentsInner = {
items,
accessory,
content,
id,
accent_color,
spoiler,
spacing,
Expand Down
40 changes: 40 additions & 0 deletions docs/BasicGuildMemberResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# BasicGuildMemberResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**flags** | **number** | | [default to undefined]
**joined_at** | **string** | | [default to undefined]
**pending** | **boolean** | | [default to undefined]
**roles** | **Set&lt;string&gt;** | | [default to undefined]
**avatar** | **string** | | [optional] [default to undefined]
**avatar_decoration_data** | [**UserAvatarDecorationResponse**](UserAvatarDecorationResponse.md) | | [optional] [default to undefined]
**banner** | **string** | | [optional] [default to undefined]
**communication_disabled_until** | **string** | | [optional] [default to undefined]
**nick** | **string** | | [optional] [default to undefined]
**premium_since** | **string** | | [optional] [default to undefined]
**collectibles** | [**UserCollectiblesResponse**](UserCollectiblesResponse.md) | | [optional] [default to undefined]

## Example

```typescript
import { BasicGuildMemberResponse } from 'dc_rest';

const instance: BasicGuildMemberResponse = {
flags,
joined_at,
pending,
roles,
avatar,
avatar_decoration_data,
banner,
communication_disabled_until,
nick,
premium_since,
collectibles,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
6 changes: 4 additions & 2 deletions docs/BasicMessageResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Name | Type | Description | Notes
**mention_everyone** | **boolean** | | [default to undefined]
**tts** | **boolean** | | [default to undefined]
**edited_timestamp** | **string** | | [optional] [default to undefined]
**resolved** | [**ResolvedObjectsResponse**](ResolvedObjectsResponse.md) | | [optional] [default to undefined]
**stickers** | [**Array&lt;GetSticker200Response&gt;**](GetSticker200Response.md) | | [optional] [default to undefined]
**sticker_items** | [**Array&lt;MessageStickerItemResponse&gt;**](MessageStickerItemResponse.md) | | [optional] [default to undefined]
**call** | [**MessageCallResponse**](MessageCallResponse.md) | | [optional] [default to undefined]
Expand All @@ -37,7 +36,9 @@ Name | Type | Description | Notes
**role_subscription_data** | [**MessageRoleSubscriptionDataResponse**](MessageRoleSubscriptionDataResponse.md) | | [optional] [default to undefined]
**purchase_notification** | [**PurchaseNotificationResponse**](PurchaseNotificationResponse.md) | | [optional] [default to undefined]
**position** | **number** | | [optional] [default to undefined]
**resolved** | [**ResolvedObjectsResponse**](ResolvedObjectsResponse.md) | | [optional] [default to undefined]
**poll** | [**PollResponse**](PollResponse.md) | | [optional] [default to undefined]
**shared_client_theme** | [**CustomClientThemeResponse**](CustomClientThemeResponse.md) | | [optional] [default to undefined]
**interaction_metadata** | [**BasicMessageResponseInteractionMetadata**](BasicMessageResponseInteractionMetadata.md) | | [optional] [default to undefined]
**message_snapshots** | [**Array&lt;MessageSnapshotResponse&gt;**](MessageSnapshotResponse.md) | | [optional] [default to undefined]

Expand All @@ -63,7 +64,6 @@ const instance: BasicMessageResponse = {
mention_everyone,
tts,
edited_timestamp,
resolved,
stickers,
sticker_items,
call,
Expand All @@ -79,7 +79,9 @@ const instance: BasicMessageResponse = {
role_subscription_data,
purchase_notification,
position,
resolved,
poll,
shared_client_theme,
interaction_metadata,
message_snapshots,
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AddGuildMemberRequest
# BotAddGuildMemberRequest


## Properties
Expand All @@ -7,17 +7,17 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**access_token** | **string** | | [default to undefined]
**nick** | **string** | | [optional] [default to undefined]
**roles** | **Set&lt;string | null&gt;** | | [optional] [default to undefined]
**roles** | **Set&lt;string&gt;** | | [optional] [default to undefined]
**mute** | **boolean** | | [optional] [default to undefined]
**deaf** | **boolean** | | [optional] [default to undefined]
**flags** | **number** | | [optional] [default to undefined]

## Example

```typescript
import { AddGuildMemberRequest } from 'dc_rest';
import { BotAddGuildMemberRequest } from 'dc_rest';

const instance: AddGuildMemberRequest = {
const instance: BotAddGuildMemberRequest = {
access_token,
nick,
roles,
Expand Down
22 changes: 22 additions & 0 deletions docs/BotPartnerSdkTokenRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# BotPartnerSdkTokenRequest


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**external_user_id** | **string** | | [default to undefined]
**preferred_global_name** | **string** | | [optional] [default to undefined]

## Example

```typescript
import { BotPartnerSdkTokenRequest } from 'dc_rest';

const instance: BotPartnerSdkTokenRequest = {
external_user_id,
preferred_global_name,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BulkBanUsersFromGuildRequest
# BulkBanUsersRequest


## Properties
Expand All @@ -11,9 +11,9 @@ Name | Type | Description | Notes
## Example

```typescript
import { BulkBanUsersFromGuildRequest } from 'dc_rest';
import { BulkBanUsersRequest } from 'dc_rest';

const instance: BulkBanUsersFromGuildRequest = {
const instance: BulkBanUsersRequest = {
user_ids,
delete_message_seconds,
};
Expand Down
4 changes: 3 additions & 1 deletion docs/ButtonComponentForMessageRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **number** | | [default to undefined]
**style** | **number** | | [default to undefined]
**id** | **number** | | [optional] [default to undefined]
**custom_id** | **string** | | [optional] [default to undefined]
**label** | **string** | | [optional] [default to undefined]
**disabled** | **boolean** | | [optional] [default to undefined]
**url** | **string** | | [optional] [default to undefined]
**sku_id** | **string** | | [optional] [default to undefined]
**emoji** | [**ComponentEmojiForMessageRequest**](ComponentEmojiForMessageRequest.md) | | [optional] [default to undefined]
**emoji** | [**ComponentEmojiForRequest**](ComponentEmojiForRequest.md) | | [optional] [default to undefined]

## Example

Expand All @@ -22,6 +23,7 @@ import { ButtonComponentForMessageRequest } from 'dc_rest';
const instance: ButtonComponentForMessageRequest = {
type,
style,
id,
custom_id,
label,
disabled,
Expand Down
4 changes: 4 additions & 0 deletions docs/ChannelSelectComponentForMessageRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **number** | | [default to undefined]
**custom_id** | **string** | | [default to undefined]
**id** | **number** | | [optional] [default to undefined]
**placeholder** | **string** | | [optional] [default to undefined]
**min_values** | **number** | | [optional] [default to undefined]
**max_values** | **number** | | [optional] [default to undefined]
**disabled** | **boolean** | | [optional] [default to undefined]
**required** | **boolean** | | [optional] [default to undefined]
**default_values** | [**Array&lt;ChannelSelectDefaultValue&gt;**](ChannelSelectDefaultValue.md) | | [optional] [default to undefined]
**channel_types** | **Set&lt;number&gt;** | | [optional] [default to undefined]

Expand All @@ -22,10 +24,12 @@ import { ChannelSelectComponentForMessageRequest } from 'dc_rest';
const instance: ChannelSelectComponentForMessageRequest = {
type,
custom_id,
id,
placeholder,
min_values,
max_values,
disabled,
required,
default_values,
channel_types,
};
Expand Down
38 changes: 38 additions & 0 deletions docs/ChannelSelectComponentForModalRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# ChannelSelectComponentForModalRequest


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **number** | | [default to undefined]
**custom_id** | **string** | | [default to undefined]
**id** | **number** | | [optional] [default to undefined]
**placeholder** | **string** | | [optional] [default to undefined]
**min_values** | **number** | | [optional] [default to undefined]
**max_values** | **number** | | [optional] [default to undefined]
**disabled** | **boolean** | | [optional] [default to undefined]
**required** | **boolean** | | [optional] [default to undefined]
**default_values** | [**Array&lt;ChannelSelectDefaultValue&gt;**](ChannelSelectDefaultValue.md) | | [optional] [default to undefined]
**channel_types** | **Set&lt;number&gt;** | | [optional] [default to undefined]

## Example

```typescript
import { ChannelSelectComponentForModalRequest } from 'dc_rest';

const instance: ChannelSelectComponentForModalRequest = {
type,
custom_id,
id,
placeholder,
min_values,
max_values,
disabled,
required,
default_values,
channel_types,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Loading