mezon-js 2.13.71 → 2.13.73
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/api/api.ts +177 -24
- package/api.gen.ts +41 -83
- package/dist/api/api.d.ts +151 -7
- package/dist/api.gen.d.ts +11 -22
- package/dist/mezon-js.cjs.js +595 -73
- package/dist/mezon-js.esm.mjs +595 -73
- package/package.json +1 -1
package/dist/api.gen.d.ts
CHANGED
|
@@ -104,11 +104,20 @@ export interface MezonUpdateChannelDescBody {
|
|
|
104
104
|
topic?: string;
|
|
105
105
|
}
|
|
106
106
|
/** */
|
|
107
|
-
export interface
|
|
107
|
+
export interface ApiLogedDevice {
|
|
108
|
+
device_id?: string;
|
|
108
109
|
device_name?: string;
|
|
109
|
-
|
|
110
|
+
ip?: string;
|
|
111
|
+
last_active?: string;
|
|
112
|
+
login_at?: string;
|
|
110
113
|
platform?: string;
|
|
111
114
|
status?: number;
|
|
115
|
+
location?: string;
|
|
116
|
+
is_current?: boolean;
|
|
117
|
+
}
|
|
118
|
+
/** */
|
|
119
|
+
export interface ApiLogedDeviceList {
|
|
120
|
+
devices?: Array<ApiLogedDevice>;
|
|
112
121
|
}
|
|
113
122
|
/** */
|
|
114
123
|
export interface MezonUpdateClanDescBody {
|
|
@@ -1661,24 +1670,6 @@ export interface ApiVoiceChannelUserList {
|
|
|
1661
1670
|
voice_channel_users?: Array<ApiVoiceChannelUser>;
|
|
1662
1671
|
}
|
|
1663
1672
|
/** */
|
|
1664
|
-
export interface ApiStoreWalletKeyRequest {
|
|
1665
|
-
address?: string;
|
|
1666
|
-
enc_privkey?: string;
|
|
1667
|
-
}
|
|
1668
|
-
/** */
|
|
1669
|
-
export interface ApiWalletLedger {
|
|
1670
|
-
create_time?: string;
|
|
1671
|
-
id?: string;
|
|
1672
|
-
transaction_id?: string;
|
|
1673
|
-
user_id?: string;
|
|
1674
|
-
value?: number;
|
|
1675
|
-
}
|
|
1676
|
-
/** */
|
|
1677
|
-
export interface ApiWalletLedgerList {
|
|
1678
|
-
count?: number;
|
|
1679
|
-
wallet_ledger?: Array<ApiWalletLedger>;
|
|
1680
|
-
}
|
|
1681
|
-
/** */
|
|
1682
1673
|
export interface ApiWebhook {
|
|
1683
1674
|
active?: number;
|
|
1684
1675
|
avatar?: string;
|
|
@@ -2313,8 +2304,6 @@ export declare class MezonApi {
|
|
|
2313
2304
|
getUserStatus(bearerToken: string, options?: any): Promise<ApiUserStatus>;
|
|
2314
2305
|
/** Update user status */
|
|
2315
2306
|
updateUserStatus(bearerToken: string, body: ApiUserStatusUpdate, options?: any): Promise<any>;
|
|
2316
|
-
/** Store wallet key */
|
|
2317
|
-
storeWalletKey(bearerToken: string, body: ApiStoreWalletKeyRequest, options?: any): Promise<any>;
|
|
2318
2307
|
/** create webhook */
|
|
2319
2308
|
generateWebhook(bearerToken: string, body: ApiWebhookCreateRequest, options?: any): Promise<any>;
|
|
2320
2309
|
/** update webhook name by id */
|