@laplace.live/internal 1.2.12 → 1.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +51 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -300,6 +300,10 @@ export declare namespace LaplaceInternal {
|
|
|
300
300
|
*/
|
|
301
301
|
status: 0 | 404
|
|
302
302
|
uid: number
|
|
303
|
+
/** 真实房间号 */
|
|
304
|
+
roomId: number
|
|
305
|
+
/** 短房间号 */
|
|
306
|
+
shortRoomId: number
|
|
303
307
|
}
|
|
304
308
|
|
|
305
309
|
/**
|
|
@@ -618,6 +622,39 @@ export declare namespace LaplaceInternal {
|
|
|
618
622
|
error: string
|
|
619
623
|
guild: string
|
|
620
624
|
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Request body for guild info update
|
|
628
|
+
* @example POST /laplace/guild-update
|
|
629
|
+
*/
|
|
630
|
+
export interface UpdateGuildInfoRequest {
|
|
631
|
+
uid: number
|
|
632
|
+
guildName: string
|
|
633
|
+
updatedAt?: number
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* Successful response for guild info update
|
|
638
|
+
* @example POST /laplace/guild-update
|
|
639
|
+
*/
|
|
640
|
+
export interface UpdateGuildInfoResponse {
|
|
641
|
+
success: true
|
|
642
|
+
message: string
|
|
643
|
+
uid: number
|
|
644
|
+
guildName: string
|
|
645
|
+
updatedAt: number
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Error response for guild info update
|
|
650
|
+
* @example POST /laplace/guild-update
|
|
651
|
+
*/
|
|
652
|
+
export interface UpdateGuildInfoError {
|
|
653
|
+
success: false
|
|
654
|
+
error: string
|
|
655
|
+
uid?: number
|
|
656
|
+
details?: string
|
|
657
|
+
}
|
|
621
658
|
}
|
|
622
659
|
|
|
623
660
|
/** Migrated from experiments.sparanoid.net */
|
|
@@ -5954,7 +5991,11 @@ export declare namespace BilibiliInternal {
|
|
|
5954
5991
|
pay_info: {
|
|
5955
5992
|
/** 流水号,`'2412152205251792198695335'` */
|
|
5956
5993
|
payflow_id: string
|
|
5957
|
-
/**
|
|
5994
|
+
/**
|
|
5995
|
+
* 价格,金瓜子数量,真实货币需要 / 1000
|
|
5996
|
+
*
|
|
5997
|
+
* 这里给的直接就是单价 * 数量
|
|
5998
|
+
*/
|
|
5958
5999
|
price: number
|
|
5959
6000
|
/** 大航海数量 */
|
|
5960
6001
|
num: number
|
|
@@ -5975,6 +6016,7 @@ export declare namespace BilibiliInternal {
|
|
|
5975
6016
|
*
|
|
5976
6017
|
* @example 397
|
|
5977
6018
|
*
|
|
6019
|
+
* - 0: 无特效
|
|
5978
6020
|
* - 397: 舰长
|
|
5979
6021
|
* - 398: 提督
|
|
5980
6022
|
* - 399: 总督
|
|
@@ -6021,7 +6063,14 @@ export declare namespace BilibiliInternal {
|
|
|
6021
6063
|
is_group: number
|
|
6022
6064
|
/** 未知,通常为 0 */
|
|
6023
6065
|
is_show: number
|
|
6024
|
-
/**
|
|
6066
|
+
/**
|
|
6067
|
+
* 来源,通常为 0
|
|
6068
|
+
*
|
|
6069
|
+
* - 0: 通常为0
|
|
6070
|
+
* - 2: 特殊活动赠送额外大航海天数时为 2
|
|
6071
|
+
*
|
|
6072
|
+
* @example 0
|
|
6073
|
+
*/
|
|
6025
6074
|
source: number
|
|
6026
6075
|
/** 未知,通常为 0 */
|
|
6027
6076
|
svga_block: number
|