Skip to content

Commit 373dd6d

Browse files
committed
chore: build library from latest spec [skip ci]
1 parent 5b2bf1c commit 373dd6d

File tree

1 file changed

+50
-22
lines changed

1 file changed

+50
-22
lines changed

src/schema.ts

Lines changed: 50 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export interface paths {
7171
post: operations["send_friend_request_send_friend_request"];
7272
};
7373
"/bots/create": {
74-
/** Create a new Revolt bot. */
74+
/** Create a new Upryzing bot. */
7575
post: operations["create_create_bot"];
7676
};
7777
"/bots/{target}/invite": {
@@ -215,7 +215,7 @@ export interface paths {
215215
get: operations["webhook_fetch_all_fetch_webhooks"];
216216
};
217217
"/servers/create": {
218-
/** Create a new server. */
218+
/** Create a new space. */
219219
post: operations["server_create_create_server"];
220220
};
221221
"/servers/{target}": {
@@ -299,7 +299,7 @@ export interface paths {
299299
delete: operations["invite_delete_delete"];
300300
};
301301
"/custom/emoji/{id}": {
302-
/** Create an emoji by its Autumn upload id. */
302+
/** Create an emoji by its Pigeon upload id. */
303303
put: operations["emoji_create_create_emoji"];
304304
};
305305
"/custom/emoji/{emoji_id}": {
@@ -462,9 +462,9 @@ export interface components {
462462
/** @description Whether this server is invite only */
463463
invite_only: boolean;
464464
/** @description File server service configuration */
465-
autumn: components["schemas"]["Feature"];
465+
pigeon: components["schemas"]["Feature"];
466466
/** @description Proxy service configuration */
467-
january: components["schemas"]["Feature"];
467+
dove: components["schemas"]["Feature"];
468468
/** @description Voice server configuration */
469469
voso: components["schemas"]["VoiceFeature"];
470470
};
@@ -739,6 +739,10 @@ export interface components {
739739
/** @enum {string} */
740740
type: "InvalidSession";
741741
}
742+
| {
743+
/** @enum {string} */
744+
type: "NotAuthenticated";
745+
}
742746
| {
743747
/** @enum {string} */
744748
type: "DuplicateNonce";
@@ -760,6 +764,28 @@ export interface components {
760764
/** @enum {string} */
761765
type: "ProxyError";
762766
}
767+
| {
768+
/** @enum {string} */
769+
type: "FileTooSmall";
770+
}
771+
| {
772+
/** @enum {string} */
773+
type: "FileTooLarge";
774+
/** Format: uint */
775+
max: number;
776+
}
777+
| {
778+
/** @enum {string} */
779+
type: "FileTypeNotAllowed";
780+
}
781+
| {
782+
/** @enum {string} */
783+
type: "ImageProcessingFailed";
784+
}
785+
| {
786+
/** @enum {string} */
787+
type: "NoEmbedData";
788+
}
763789
| {
764790
/** @enum {string} */
765791
type: "VosoUnavailable";
@@ -786,7 +812,7 @@ export interface components {
786812
* Format: uint32
787813
* @description Bitfield of user badges
788814
*
789-
* https://docs.rs/revolt-models/latest/revolt_models/v0/enum.UserBadges.html
815+
* https://docs.rs/upryzing-models/latest/upryzing_models/v0/enum.UserBadges.html
790816
*/
791817
badges?: number;
792818
/** @description User's current status */
@@ -795,7 +821,7 @@ export interface components {
795821
* Format: uint32
796822
* @description Enum of user flags
797823
*
798-
* https://docs.rs/revolt-models/latest/revolt_models/v0/enum.UserFlags.html
824+
* https://docs.rs/upryzing-models/latest/upryzing_models/v0/enum.UserFlags.html
799825
*/
800826
flags?: number;
801827
/** @description Whether this user is privileged */
@@ -1219,7 +1245,7 @@ export interface components {
12191245
/**
12201246
* @description Icon
12211247
*
1222-
* Provide an Autumn attachment Id.
1248+
* Provide an Pigeon attachment Id.
12231249
*/
12241250
icon?: string | null;
12251251
/** @description Whether this channel is age-restricted */
@@ -1300,7 +1326,7 @@ export interface components {
13001326
* Format: uint32
13011327
* @description Bitfield of message flags
13021328
*
1303-
* https://docs.rs/revolt-models/latest/revolt_models/v0/enum.MessageFlags.html
1329+
* https://docs.rs/upryzing-models/latest/upryzing_models/v0/enum.MessageFlags.html
13041330
*/
13051331
flags?: number;
13061332
};
@@ -1442,12 +1468,12 @@ export interface components {
14421468
/** @description URL to the original image */
14431469
url: string;
14441470
/**
1445-
* Format: int
1471+
* Format: uint
14461472
* @description Width of the image
14471473
*/
14481474
width: number;
14491475
/**
1450-
* Format: int
1476+
* Format: uint
14511477
* @description Height of the image
14521478
*/
14531479
height: number;
@@ -1460,12 +1486,12 @@ export interface components {
14601486
/** @description URL to the original video */
14611487
url: string;
14621488
/**
1463-
* Format: int
1489+
* Format: uint
14641490
* @description Width of the video
14651491
*/
14661492
width: number;
14671493
/**
1468-
* Format: int
1494+
* Format: uint
14691495
* @description Height of the video
14701496
*/
14711497
height: number;
@@ -1481,7 +1507,7 @@ export interface components {
14811507
title?: string | null;
14821508
/** @description Description of text embed */
14831509
description?: string | null;
1484-
/** @description ID of uploaded autumn file */
1510+
/** @description ID of uploaded pigeon file */
14851511
media?: components["schemas"]["File"] | null;
14861512
/** @description CSS Colour */
14871513
colour?: string | null;
@@ -1565,12 +1591,12 @@ export interface components {
15651591
/** @description URL to the original image */
15661592
url: string;
15671593
/**
1568-
* Format: int
1594+
* Format: uint
15691595
* @description Width of the image
15701596
*/
15711597
width: number;
15721598
/**
1573-
* Format: int
1599+
* Format: uint
15741600
* @description Height of the image
15751601
*/
15761602
height: number;
@@ -1587,12 +1613,12 @@ export interface components {
15871613
/** @description URL to the original video */
15881614
url: string;
15891615
/**
1590-
* Format: int
1616+
* Format: uint
15911617
* @description Width of the video
15921618
*/
15931619
width: number;
15941620
/**
1595-
* Format: int
1621+
* Format: uint
15961622
* @description Height of the video
15971623
*/
15981624
height: number;
@@ -1649,7 +1675,7 @@ export interface components {
16491675
* Format: uint32
16501676
* @description Bitfield of message flags
16511677
*
1652-
* https://docs.rs/revolt-models/latest/revolt_models/v0/enum.MessageFlags.html
1678+
* https://docs.rs/upryzing-models/latest/upryzing_models/v0/enum.MessageFlags.html
16531679
*/
16541680
flags?: number | null;
16551681
};
@@ -1790,6 +1816,8 @@ export interface components {
17901816
name: string;
17911817
/** @description The avatar of the webhook */
17921818
avatar?: components["schemas"]["File"] | null;
1819+
/** @description User that created this webhook */
1820+
creator_id: string;
17931821
/** @description The channel this webhook belongs to */
17941822
channel_id: string;
17951823
/**
@@ -2924,7 +2952,7 @@ export interface operations {
29242952
};
29252953
};
29262954
};
2927-
/** Create a new Revolt bot. */
2955+
/** Create a new Upryzing bot. */
29282956
create_create_bot: {
29292957
responses: {
29302958
200: {
@@ -3699,7 +3727,7 @@ export interface operations {
36993727
};
37003728
};
37013729
};
3702-
/** Create a new server. */
3730+
/** Create a new space. */
37033731
server_create_create_server: {
37043732
responses: {
37053733
200: {
@@ -4250,7 +4278,7 @@ export interface operations {
42504278
};
42514279
};
42524280
};
4253-
/** Create an emoji by its Autumn upload id. */
4281+
/** Create an emoji by its Pigeon upload id. */
42544282
emoji_create_create_emoji: {
42554283
parameters: {
42564284
path: {

0 commit comments

Comments
 (0)