diff --git a/CHANGELOG.md b/CHANGELOG.md index 7193f92d4..5de81cc2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# [6.28.0-rc.2](https://github.com/consolelabs/mochi-discord/compare/v6.28.0-rc.1...v6.28.0-rc.2) (2023-08-21) + +### Bug Fixes + +- temp - approve and reject transfer request ([#1461](https://github.com/consolelabs/mochi-discord/issues/1461)) ([d3c8d21](https://github.com/consolelabs/mochi-discord/commit/d3c8d213baf9f1c54d36de69fc745b0fd0dbdb00)) + # [6.28.0](https://github.com/consolelabs/mochi-discord/compare/v6.27.0...v6.28.0) (2023-08-21) ### Bug Fixes diff --git a/package.json b/package.json index 3a3f3ee2f..af00579c5 100644 --- a/package.json +++ b/package.json @@ -111,5 +111,5 @@ "node": "18.x" }, "name": "mochi-discord", - "version": "6.28.0" + "version": "6.28.0-rc.2" } diff --git a/src/types/api.ts b/src/types/api.ts index d703998cf..04fb657b6 100644 --- a/src/types/api.ts +++ b/src/types/api.ts @@ -328,6 +328,17 @@ export interface ModelOffchainTipBotToken { updated_at?: string; } +export interface ModelProductBotCommand { + code?: string; + created_at?: string; + description?: string; + discord_command?: string; + id?: number; + scope?: number; + telegram_command?: string; + updated_at?: string; +} + export interface ModelProductMetadataEmojis { code?: string; discord_id?: string; @@ -783,6 +794,7 @@ export interface RequestTransferV2Request { recipients?: string[]; sender?: string; token?: string; + transfer_type?: "transfer" | "airdrop"; } export interface RequestUnlinkBinance { @@ -1902,10 +1914,6 @@ export interface ResponseNftWatchlistSuggestResponse { export interface ResponseOffchainTipBotTransferToken { amount_each?: number; - /** - * SenderID string `json:"sender_id"` - * Recipients string `json:"recipient_id"` - */ id?: string; total_amount?: number; tx_id?: number; @@ -1931,6 +1939,10 @@ export interface ResponsePaginationResponse { total?: number; } +export interface ResponseProductBotCommand { + data?: ModelProductBotCommand[]; +} + export interface ResponseProfileAirdropCampaignResponse { data?: ModelProfileAirdropCampaign; } @@ -2102,10 +2114,7 @@ export interface ResponseTopUser { export interface ResponseTransferTokenV2Data { amount_each?: number; - /** - * SenderID string `json:"sender_id"` - * Recipients string `json:"recipient_id"` - */ + external_id?: string; id?: string; total_amount?: number; tx_id?: number;