mezon-sdk 2.7.47 → 2.7.48
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/dist/cjs/api/api.d.ts +0 -10
- package/dist/cjs/api/api.js +7 -35
- package/dist/cjs/api/api.js.map +1 -1
- package/dist/cjs/rtapi/realtime.d.ts +1583 -428
- package/dist/cjs/rtapi/realtime.js +744 -223
- package/dist/cjs/rtapi/realtime.js.map +1 -1
- package/dist/esm/api/api.d.ts +0 -10
- package/dist/esm/api/api.js +4 -32
- package/dist/esm/api/api.js.map +1 -1
- package/dist/esm/rtapi/realtime.d.ts +1583 -428
- package/dist/esm/rtapi/realtime.js +736 -219
- package/dist/esm/rtapi/realtime.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/cjs/api/api.d.ts
CHANGED
|
@@ -1926,9 +1926,7 @@ export interface ClanEmojiDeleteRequest {
|
|
|
1926
1926
|
}
|
|
1927
1927
|
export interface ClanEmojiUpdateRequest {
|
|
1928
1928
|
id: string;
|
|
1929
|
-
source: string;
|
|
1930
1929
|
shortname: string;
|
|
1931
|
-
category: string;
|
|
1932
1930
|
clan_id: string;
|
|
1933
1931
|
}
|
|
1934
1932
|
export interface Webhook {
|
|
@@ -12857,28 +12855,20 @@ export declare const ClanEmojiUpdateRequest: {
|
|
|
12857
12855
|
toJSON(message: ClanEmojiUpdateRequest): unknown;
|
|
12858
12856
|
create<I extends {
|
|
12859
12857
|
id?: string | undefined;
|
|
12860
|
-
source?: string | undefined;
|
|
12861
12858
|
shortname?: string | undefined;
|
|
12862
|
-
category?: string | undefined;
|
|
12863
12859
|
clan_id?: string | undefined;
|
|
12864
12860
|
} & {
|
|
12865
12861
|
id?: string | undefined;
|
|
12866
|
-
source?: string | undefined;
|
|
12867
12862
|
shortname?: string | undefined;
|
|
12868
|
-
category?: string | undefined;
|
|
12869
12863
|
clan_id?: string | undefined;
|
|
12870
12864
|
} & { [K in Exclude<keyof I, keyof ClanEmojiUpdateRequest>]: never; }>(base?: I | undefined): ClanEmojiUpdateRequest;
|
|
12871
12865
|
fromPartial<I_1 extends {
|
|
12872
12866
|
id?: string | undefined;
|
|
12873
|
-
source?: string | undefined;
|
|
12874
12867
|
shortname?: string | undefined;
|
|
12875
|
-
category?: string | undefined;
|
|
12876
12868
|
clan_id?: string | undefined;
|
|
12877
12869
|
} & {
|
|
12878
12870
|
id?: string | undefined;
|
|
12879
|
-
source?: string | undefined;
|
|
12880
12871
|
shortname?: string | undefined;
|
|
12881
|
-
category?: string | undefined;
|
|
12882
12872
|
clan_id?: string | undefined;
|
|
12883
12873
|
} & { [K_1 in Exclude<keyof I_1, keyof ClanEmojiUpdateRequest>]: never; }>(object: I_1): ClanEmojiUpdateRequest;
|
|
12884
12874
|
};
|
package/dist/cjs/api/api.js
CHANGED
|
@@ -18109,24 +18109,18 @@ exports.ClanEmojiDeleteRequest = {
|
|
|
18109
18109
|
},
|
|
18110
18110
|
};
|
|
18111
18111
|
function createBaseClanEmojiUpdateRequest() {
|
|
18112
|
-
return { id: "",
|
|
18112
|
+
return { id: "", shortname: "", clan_id: "" };
|
|
18113
18113
|
}
|
|
18114
18114
|
exports.ClanEmojiUpdateRequest = {
|
|
18115
18115
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
18116
18116
|
if (message.id !== "") {
|
|
18117
18117
|
writer.uint32(10).string(message.id);
|
|
18118
18118
|
}
|
|
18119
|
-
if (message.source !== "") {
|
|
18120
|
-
writer.uint32(18).string(message.source);
|
|
18121
|
-
}
|
|
18122
18119
|
if (message.shortname !== "") {
|
|
18123
|
-
writer.uint32(
|
|
18124
|
-
}
|
|
18125
|
-
if (message.category !== "") {
|
|
18126
|
-
writer.uint32(34).string(message.category);
|
|
18120
|
+
writer.uint32(18).string(message.shortname);
|
|
18127
18121
|
}
|
|
18128
18122
|
if (message.clan_id !== "") {
|
|
18129
|
-
writer.uint32(
|
|
18123
|
+
writer.uint32(26).string(message.clan_id);
|
|
18130
18124
|
}
|
|
18131
18125
|
return writer;
|
|
18132
18126
|
},
|
|
@@ -18147,24 +18141,12 @@ exports.ClanEmojiUpdateRequest = {
|
|
|
18147
18141
|
if (tag !== 18) {
|
|
18148
18142
|
break;
|
|
18149
18143
|
}
|
|
18150
|
-
message.
|
|
18144
|
+
message.shortname = reader.string();
|
|
18151
18145
|
continue;
|
|
18152
18146
|
case 3:
|
|
18153
18147
|
if (tag !== 26) {
|
|
18154
18148
|
break;
|
|
18155
18149
|
}
|
|
18156
|
-
message.shortname = reader.string();
|
|
18157
|
-
continue;
|
|
18158
|
-
case 4:
|
|
18159
|
-
if (tag !== 34) {
|
|
18160
|
-
break;
|
|
18161
|
-
}
|
|
18162
|
-
message.category = reader.string();
|
|
18163
|
-
continue;
|
|
18164
|
-
case 5:
|
|
18165
|
-
if (tag !== 42) {
|
|
18166
|
-
break;
|
|
18167
|
-
}
|
|
18168
18150
|
message.clan_id = reader.string();
|
|
18169
18151
|
continue;
|
|
18170
18152
|
}
|
|
@@ -18178,9 +18160,7 @@ exports.ClanEmojiUpdateRequest = {
|
|
|
18178
18160
|
fromJSON(object) {
|
|
18179
18161
|
return {
|
|
18180
18162
|
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
18181
|
-
source: isSet(object.source) ? globalThis.String(object.source) : "",
|
|
18182
18163
|
shortname: isSet(object.shortname) ? globalThis.String(object.shortname) : "",
|
|
18183
|
-
category: isSet(object.category) ? globalThis.String(object.category) : "",
|
|
18184
18164
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
18185
18165
|
};
|
|
18186
18166
|
},
|
|
@@ -18189,15 +18169,9 @@ exports.ClanEmojiUpdateRequest = {
|
|
|
18189
18169
|
if (message.id !== "") {
|
|
18190
18170
|
obj.id = message.id;
|
|
18191
18171
|
}
|
|
18192
|
-
if (message.source !== "") {
|
|
18193
|
-
obj.source = message.source;
|
|
18194
|
-
}
|
|
18195
18172
|
if (message.shortname !== "") {
|
|
18196
18173
|
obj.shortname = message.shortname;
|
|
18197
18174
|
}
|
|
18198
|
-
if (message.category !== "") {
|
|
18199
|
-
obj.category = message.category;
|
|
18200
|
-
}
|
|
18201
18175
|
if (message.clan_id !== "") {
|
|
18202
18176
|
obj.clan_id = message.clan_id;
|
|
18203
18177
|
}
|
|
@@ -18207,13 +18181,11 @@ exports.ClanEmojiUpdateRequest = {
|
|
|
18207
18181
|
return exports.ClanEmojiUpdateRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
18208
18182
|
},
|
|
18209
18183
|
fromPartial(object) {
|
|
18210
|
-
var _a, _b, _c
|
|
18184
|
+
var _a, _b, _c;
|
|
18211
18185
|
const message = createBaseClanEmojiUpdateRequest();
|
|
18212
18186
|
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
18213
|
-
message.
|
|
18214
|
-
message.
|
|
18215
|
-
message.category = (_d = object.category) !== null && _d !== void 0 ? _d : "";
|
|
18216
|
-
message.clan_id = (_e = object.clan_id) !== null && _e !== void 0 ? _e : "";
|
|
18187
|
+
message.shortname = (_b = object.shortname) !== null && _b !== void 0 ? _b : "";
|
|
18188
|
+
message.clan_id = (_c = object.clan_id) !== null && _c !== void 0 ? _c : "";
|
|
18217
18189
|
return message;
|
|
18218
18190
|
},
|
|
18219
18191
|
};
|