mezon-js-protobuf 1.6.36 → 1.6.38
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 +110 -3
- package/dist/mezon-js/utils.d.ts +4 -0
- package/dist/mezon-js-protobuf/api/api.d.ts +45 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -184,7 +184,13 @@ export interface Account {
|
|
|
184
184
|
| Date
|
|
185
185
|
| undefined;
|
|
186
186
|
/** The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned. */
|
|
187
|
-
disable_time:
|
|
187
|
+
disable_time:
|
|
188
|
+
| Date
|
|
189
|
+
| undefined;
|
|
190
|
+
/** Logo url */
|
|
191
|
+
logo: string;
|
|
192
|
+
/** Splash screen url */
|
|
193
|
+
splash_screen: string;
|
|
188
194
|
}
|
|
189
195
|
|
|
190
196
|
/** Obtain a new authentication token using a refresh token. */
|
|
@@ -1383,6 +1389,10 @@ export interface UpdateAccountRequest {
|
|
|
1383
1389
|
about_me: string;
|
|
1384
1390
|
/** date of birth */
|
|
1385
1391
|
dob: Date | undefined;
|
|
1392
|
+
/** logo url */
|
|
1393
|
+
logo: string;
|
|
1394
|
+
/** splash screen */
|
|
1395
|
+
splash_screen: string;
|
|
1386
1396
|
}
|
|
1387
1397
|
|
|
1388
1398
|
/** Update fields in a given group. */
|
|
@@ -3740,6 +3750,8 @@ export interface WalletLedger {
|
|
|
3740
3750
|
| undefined;
|
|
3741
3751
|
/** value */
|
|
3742
3752
|
value: number;
|
|
3753
|
+
/** transaction id */
|
|
3754
|
+
transaction_id: string;
|
|
3743
3755
|
}
|
|
3744
3756
|
|
|
3745
3757
|
export interface WalletLedgerList {
|
|
@@ -3751,6 +3763,7 @@ export interface WalletLedgerList {
|
|
|
3751
3763
|
export interface WalletLedgerListReq {
|
|
3752
3764
|
limit: number | undefined;
|
|
3753
3765
|
cursor: string;
|
|
3766
|
+
transaction_id: string;
|
|
3754
3767
|
}
|
|
3755
3768
|
|
|
3756
3769
|
function createBaseAccount(): Account {
|
|
@@ -3762,6 +3775,8 @@ function createBaseAccount(): Account {
|
|
|
3762
3775
|
custom_id: "",
|
|
3763
3776
|
verify_time: undefined,
|
|
3764
3777
|
disable_time: undefined,
|
|
3778
|
+
logo: "",
|
|
3779
|
+
splash_screen: "",
|
|
3765
3780
|
};
|
|
3766
3781
|
}
|
|
3767
3782
|
|
|
@@ -3788,6 +3803,12 @@ export const Account = {
|
|
|
3788
3803
|
if (message.disable_time !== undefined) {
|
|
3789
3804
|
Timestamp.encode(toTimestamp(message.disable_time), writer.uint32(58).fork()).ldelim();
|
|
3790
3805
|
}
|
|
3806
|
+
if (message.logo !== "") {
|
|
3807
|
+
writer.uint32(66).string(message.logo);
|
|
3808
|
+
}
|
|
3809
|
+
if (message.splash_screen !== "") {
|
|
3810
|
+
writer.uint32(74).string(message.splash_screen);
|
|
3811
|
+
}
|
|
3791
3812
|
return writer;
|
|
3792
3813
|
},
|
|
3793
3814
|
|
|
@@ -3847,6 +3868,20 @@ export const Account = {
|
|
|
3847
3868
|
|
|
3848
3869
|
message.disable_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
3849
3870
|
continue;
|
|
3871
|
+
case 8:
|
|
3872
|
+
if (tag !== 66) {
|
|
3873
|
+
break;
|
|
3874
|
+
}
|
|
3875
|
+
|
|
3876
|
+
message.logo = reader.string();
|
|
3877
|
+
continue;
|
|
3878
|
+
case 9:
|
|
3879
|
+
if (tag !== 74) {
|
|
3880
|
+
break;
|
|
3881
|
+
}
|
|
3882
|
+
|
|
3883
|
+
message.splash_screen = reader.string();
|
|
3884
|
+
continue;
|
|
3850
3885
|
}
|
|
3851
3886
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3852
3887
|
break;
|
|
@@ -3867,6 +3902,8 @@ export const Account = {
|
|
|
3867
3902
|
custom_id: isSet(object.custom_id) ? globalThis.String(object.custom_id) : "",
|
|
3868
3903
|
verify_time: isSet(object.verify_time) ? fromJsonTimestamp(object.verify_time) : undefined,
|
|
3869
3904
|
disable_time: isSet(object.disable_time) ? fromJsonTimestamp(object.disable_time) : undefined,
|
|
3905
|
+
logo: isSet(object.logo) ? globalThis.String(object.logo) : "",
|
|
3906
|
+
splash_screen: isSet(object.splash_screen) ? globalThis.String(object.splash_screen) : "",
|
|
3870
3907
|
};
|
|
3871
3908
|
},
|
|
3872
3909
|
|
|
@@ -3893,6 +3930,12 @@ export const Account = {
|
|
|
3893
3930
|
if (message.disable_time !== undefined) {
|
|
3894
3931
|
obj.disable_time = message.disable_time.toISOString();
|
|
3895
3932
|
}
|
|
3933
|
+
if (message.logo !== "") {
|
|
3934
|
+
obj.logo = message.logo;
|
|
3935
|
+
}
|
|
3936
|
+
if (message.splash_screen !== "") {
|
|
3937
|
+
obj.splash_screen = message.splash_screen;
|
|
3938
|
+
}
|
|
3896
3939
|
return obj;
|
|
3897
3940
|
},
|
|
3898
3941
|
|
|
@@ -3908,6 +3951,8 @@ export const Account = {
|
|
|
3908
3951
|
message.custom_id = object.custom_id ?? "";
|
|
3909
3952
|
message.verify_time = object.verify_time ?? undefined;
|
|
3910
3953
|
message.disable_time = object.disable_time ?? undefined;
|
|
3954
|
+
message.logo = object.logo ?? "";
|
|
3955
|
+
message.splash_screen = object.splash_screen ?? "";
|
|
3911
3956
|
return message;
|
|
3912
3957
|
},
|
|
3913
3958
|
};
|
|
@@ -13085,6 +13130,8 @@ function createBaseUpdateAccountRequest(): UpdateAccountRequest {
|
|
|
13085
13130
|
timezone: undefined,
|
|
13086
13131
|
about_me: "",
|
|
13087
13132
|
dob: undefined,
|
|
13133
|
+
logo: "",
|
|
13134
|
+
splash_screen: "",
|
|
13088
13135
|
};
|
|
13089
13136
|
}
|
|
13090
13137
|
|
|
@@ -13114,6 +13161,12 @@ export const UpdateAccountRequest = {
|
|
|
13114
13161
|
if (message.dob !== undefined) {
|
|
13115
13162
|
Timestamp.encode(toTimestamp(message.dob), writer.uint32(66).fork()).ldelim();
|
|
13116
13163
|
}
|
|
13164
|
+
if (message.logo !== "") {
|
|
13165
|
+
writer.uint32(74).string(message.logo);
|
|
13166
|
+
}
|
|
13167
|
+
if (message.splash_screen !== "") {
|
|
13168
|
+
writer.uint32(82).string(message.splash_screen);
|
|
13169
|
+
}
|
|
13117
13170
|
return writer;
|
|
13118
13171
|
},
|
|
13119
13172
|
|
|
@@ -13180,6 +13233,20 @@ export const UpdateAccountRequest = {
|
|
|
13180
13233
|
|
|
13181
13234
|
message.dob = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
13182
13235
|
continue;
|
|
13236
|
+
case 9:
|
|
13237
|
+
if (tag !== 74) {
|
|
13238
|
+
break;
|
|
13239
|
+
}
|
|
13240
|
+
|
|
13241
|
+
message.logo = reader.string();
|
|
13242
|
+
continue;
|
|
13243
|
+
case 10:
|
|
13244
|
+
if (tag !== 82) {
|
|
13245
|
+
break;
|
|
13246
|
+
}
|
|
13247
|
+
|
|
13248
|
+
message.splash_screen = reader.string();
|
|
13249
|
+
continue;
|
|
13183
13250
|
}
|
|
13184
13251
|
if ((tag & 7) === 4 || tag === 0) {
|
|
13185
13252
|
break;
|
|
@@ -13199,6 +13266,8 @@ export const UpdateAccountRequest = {
|
|
|
13199
13266
|
timezone: isSet(object.timezone) ? String(object.timezone) : undefined,
|
|
13200
13267
|
about_me: isSet(object.about_me) ? globalThis.String(object.about_me) : "",
|
|
13201
13268
|
dob: isSet(object.dob) ? fromJsonTimestamp(object.dob) : undefined,
|
|
13269
|
+
logo: isSet(object.logo) ? globalThis.String(object.logo) : "",
|
|
13270
|
+
splash_screen: isSet(object.splash_screen) ? globalThis.String(object.splash_screen) : "",
|
|
13202
13271
|
};
|
|
13203
13272
|
},
|
|
13204
13273
|
|
|
@@ -13228,6 +13297,12 @@ export const UpdateAccountRequest = {
|
|
|
13228
13297
|
if (message.dob !== undefined) {
|
|
13229
13298
|
obj.dob = message.dob.toISOString();
|
|
13230
13299
|
}
|
|
13300
|
+
if (message.logo !== "") {
|
|
13301
|
+
obj.logo = message.logo;
|
|
13302
|
+
}
|
|
13303
|
+
if (message.splash_screen !== "") {
|
|
13304
|
+
obj.splash_screen = message.splash_screen;
|
|
13305
|
+
}
|
|
13231
13306
|
return obj;
|
|
13232
13307
|
},
|
|
13233
13308
|
|
|
@@ -13244,6 +13319,8 @@ export const UpdateAccountRequest = {
|
|
|
13244
13319
|
message.timezone = object.timezone ?? undefined;
|
|
13245
13320
|
message.about_me = object.about_me ?? "";
|
|
13246
13321
|
message.dob = object.dob ?? undefined;
|
|
13322
|
+
message.logo = object.logo ?? "";
|
|
13323
|
+
message.splash_screen = object.splash_screen ?? "";
|
|
13247
13324
|
return message;
|
|
13248
13325
|
},
|
|
13249
13326
|
};
|
|
@@ -36127,7 +36204,7 @@ export const CustomDisplay = {
|
|
|
36127
36204
|
};
|
|
36128
36205
|
|
|
36129
36206
|
function createBaseWalletLedger(): WalletLedger {
|
|
36130
|
-
return { id: "", user_id: "", create_time: undefined, value: 0 };
|
|
36207
|
+
return { id: "", user_id: "", create_time: undefined, value: 0, transaction_id: "" };
|
|
36131
36208
|
}
|
|
36132
36209
|
|
|
36133
36210
|
export const WalletLedger = {
|
|
@@ -36144,6 +36221,9 @@ export const WalletLedger = {
|
|
|
36144
36221
|
if (message.value !== 0) {
|
|
36145
36222
|
writer.uint32(32).int32(message.value);
|
|
36146
36223
|
}
|
|
36224
|
+
if (message.transaction_id !== "") {
|
|
36225
|
+
writer.uint32(42).string(message.transaction_id);
|
|
36226
|
+
}
|
|
36147
36227
|
return writer;
|
|
36148
36228
|
},
|
|
36149
36229
|
|
|
@@ -36182,6 +36262,13 @@ export const WalletLedger = {
|
|
|
36182
36262
|
|
|
36183
36263
|
message.value = reader.int32();
|
|
36184
36264
|
continue;
|
|
36265
|
+
case 5:
|
|
36266
|
+
if (tag !== 42) {
|
|
36267
|
+
break;
|
|
36268
|
+
}
|
|
36269
|
+
|
|
36270
|
+
message.transaction_id = reader.string();
|
|
36271
|
+
continue;
|
|
36185
36272
|
}
|
|
36186
36273
|
if ((tag & 7) === 4 || tag === 0) {
|
|
36187
36274
|
break;
|
|
@@ -36197,6 +36284,7 @@ export const WalletLedger = {
|
|
|
36197
36284
|
user_id: isSet(object.user_id) ? globalThis.String(object.user_id) : "",
|
|
36198
36285
|
create_time: isSet(object.create_time) ? fromJsonTimestamp(object.create_time) : undefined,
|
|
36199
36286
|
value: isSet(object.value) ? globalThis.Number(object.value) : 0,
|
|
36287
|
+
transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : "",
|
|
36200
36288
|
};
|
|
36201
36289
|
},
|
|
36202
36290
|
|
|
@@ -36214,6 +36302,9 @@ export const WalletLedger = {
|
|
|
36214
36302
|
if (message.value !== 0) {
|
|
36215
36303
|
obj.value = Math.round(message.value);
|
|
36216
36304
|
}
|
|
36305
|
+
if (message.transaction_id !== "") {
|
|
36306
|
+
obj.transaction_id = message.transaction_id;
|
|
36307
|
+
}
|
|
36217
36308
|
return obj;
|
|
36218
36309
|
},
|
|
36219
36310
|
|
|
@@ -36226,6 +36317,7 @@ export const WalletLedger = {
|
|
|
36226
36317
|
message.user_id = object.user_id ?? "";
|
|
36227
36318
|
message.create_time = object.create_time ?? undefined;
|
|
36228
36319
|
message.value = object.value ?? 0;
|
|
36320
|
+
message.transaction_id = object.transaction_id ?? "";
|
|
36229
36321
|
return message;
|
|
36230
36322
|
},
|
|
36231
36323
|
};
|
|
@@ -36322,7 +36414,7 @@ export const WalletLedgerList = {
|
|
|
36322
36414
|
};
|
|
36323
36415
|
|
|
36324
36416
|
function createBaseWalletLedgerListReq(): WalletLedgerListReq {
|
|
36325
|
-
return { limit: undefined, cursor: "" };
|
|
36417
|
+
return { limit: undefined, cursor: "", transaction_id: "" };
|
|
36326
36418
|
}
|
|
36327
36419
|
|
|
36328
36420
|
export const WalletLedgerListReq = {
|
|
@@ -36333,6 +36425,9 @@ export const WalletLedgerListReq = {
|
|
|
36333
36425
|
if (message.cursor !== "") {
|
|
36334
36426
|
writer.uint32(18).string(message.cursor);
|
|
36335
36427
|
}
|
|
36428
|
+
if (message.transaction_id !== "") {
|
|
36429
|
+
writer.uint32(26).string(message.transaction_id);
|
|
36430
|
+
}
|
|
36336
36431
|
return writer;
|
|
36337
36432
|
},
|
|
36338
36433
|
|
|
@@ -36357,6 +36452,13 @@ export const WalletLedgerListReq = {
|
|
|
36357
36452
|
|
|
36358
36453
|
message.cursor = reader.string();
|
|
36359
36454
|
continue;
|
|
36455
|
+
case 3:
|
|
36456
|
+
if (tag !== 26) {
|
|
36457
|
+
break;
|
|
36458
|
+
}
|
|
36459
|
+
|
|
36460
|
+
message.transaction_id = reader.string();
|
|
36461
|
+
continue;
|
|
36360
36462
|
}
|
|
36361
36463
|
if ((tag & 7) === 4 || tag === 0) {
|
|
36362
36464
|
break;
|
|
@@ -36370,6 +36472,7 @@ export const WalletLedgerListReq = {
|
|
|
36370
36472
|
return {
|
|
36371
36473
|
limit: isSet(object.limit) ? Number(object.limit) : undefined,
|
|
36372
36474
|
cursor: isSet(object.cursor) ? globalThis.String(object.cursor) : "",
|
|
36475
|
+
transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : "",
|
|
36373
36476
|
};
|
|
36374
36477
|
},
|
|
36375
36478
|
|
|
@@ -36381,6 +36484,9 @@ export const WalletLedgerListReq = {
|
|
|
36381
36484
|
if (message.cursor !== "") {
|
|
36382
36485
|
obj.cursor = message.cursor;
|
|
36383
36486
|
}
|
|
36487
|
+
if (message.transaction_id !== "") {
|
|
36488
|
+
obj.transaction_id = message.transaction_id;
|
|
36489
|
+
}
|
|
36384
36490
|
return obj;
|
|
36385
36491
|
},
|
|
36386
36492
|
|
|
@@ -36391,6 +36497,7 @@ export const WalletLedgerListReq = {
|
|
|
36391
36497
|
const message = createBaseWalletLedgerListReq();
|
|
36392
36498
|
message.limit = object.limit ?? undefined;
|
|
36393
36499
|
message.cursor = object.cursor ?? "";
|
|
36500
|
+
message.transaction_id = object.transaction_id ?? "";
|
|
36394
36501
|
return message;
|
|
36395
36502
|
},
|
|
36396
36503
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function buildFetchOptions(method: string, options: any, bodyJson: string): any;
|
|
2
|
+
export declare function b64EncodeUnicode(str: string): string;
|
|
3
|
+
export declare function b64DecodeUnicode(str: string): string;
|
|
4
|
+
export declare function safeJSONParse(jsonString: string): any;
|
|
@@ -59,6 +59,10 @@ export interface Account {
|
|
|
59
59
|
verify_time: Date | undefined;
|
|
60
60
|
/** The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned. */
|
|
61
61
|
disable_time: Date | undefined;
|
|
62
|
+
/** Logo url */
|
|
63
|
+
logo: string;
|
|
64
|
+
/** Splash screen url */
|
|
65
|
+
splash_screen: string;
|
|
62
66
|
}
|
|
63
67
|
/** Obtain a new authentication token using a refresh token. */
|
|
64
68
|
export interface AccountRefresh {
|
|
@@ -1008,6 +1012,10 @@ export interface UpdateAccountRequest {
|
|
|
1008
1012
|
about_me: string;
|
|
1009
1013
|
/** date of birth */
|
|
1010
1014
|
dob: Date | undefined;
|
|
1015
|
+
/** logo url */
|
|
1016
|
+
logo: string;
|
|
1017
|
+
/** splash screen */
|
|
1018
|
+
splash_screen: string;
|
|
1011
1019
|
}
|
|
1012
1020
|
/** Update fields in a given group. */
|
|
1013
1021
|
export interface UpdateGroupRequest {
|
|
@@ -3004,6 +3012,8 @@ export interface WalletLedger {
|
|
|
3004
3012
|
create_time: Date | undefined;
|
|
3005
3013
|
/** value */
|
|
3006
3014
|
value: number;
|
|
3015
|
+
/** transaction id */
|
|
3016
|
+
transaction_id: string;
|
|
3007
3017
|
}
|
|
3008
3018
|
export interface WalletLedgerList {
|
|
3009
3019
|
wallet_ledger: WalletLedger[];
|
|
@@ -3013,6 +3023,7 @@ export interface WalletLedgerList {
|
|
|
3013
3023
|
export interface WalletLedgerListReq {
|
|
3014
3024
|
limit: number | undefined;
|
|
3015
3025
|
cursor: string;
|
|
3026
|
+
transaction_id: string;
|
|
3016
3027
|
}
|
|
3017
3028
|
export declare const Account: {
|
|
3018
3029
|
encode(message: Account, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -3054,6 +3065,8 @@ export declare const Account: {
|
|
|
3054
3065
|
custom_id?: string | undefined;
|
|
3055
3066
|
verify_time?: Date | undefined;
|
|
3056
3067
|
disable_time?: Date | undefined;
|
|
3068
|
+
logo?: string | undefined;
|
|
3069
|
+
splash_screen?: string | undefined;
|
|
3057
3070
|
} & {
|
|
3058
3071
|
user?: ({
|
|
3059
3072
|
id?: string | undefined;
|
|
@@ -3128,6 +3141,8 @@ export declare const Account: {
|
|
|
3128
3141
|
custom_id?: string | undefined;
|
|
3129
3142
|
verify_time?: Date | undefined;
|
|
3130
3143
|
disable_time?: Date | undefined;
|
|
3144
|
+
logo?: string | undefined;
|
|
3145
|
+
splash_screen?: string | undefined;
|
|
3131
3146
|
} & { [K_4 in Exclude<keyof I, keyof Account>]: never; }>(base?: I | undefined): Account;
|
|
3132
3147
|
fromPartial<I_1 extends {
|
|
3133
3148
|
user?: {
|
|
@@ -3164,6 +3179,8 @@ export declare const Account: {
|
|
|
3164
3179
|
custom_id?: string | undefined;
|
|
3165
3180
|
verify_time?: Date | undefined;
|
|
3166
3181
|
disable_time?: Date | undefined;
|
|
3182
|
+
logo?: string | undefined;
|
|
3183
|
+
splash_screen?: string | undefined;
|
|
3167
3184
|
} & {
|
|
3168
3185
|
user?: ({
|
|
3169
3186
|
id?: string | undefined;
|
|
@@ -3238,6 +3255,8 @@ export declare const Account: {
|
|
|
3238
3255
|
custom_id?: string | undefined;
|
|
3239
3256
|
verify_time?: Date | undefined;
|
|
3240
3257
|
disable_time?: Date | undefined;
|
|
3258
|
+
logo?: string | undefined;
|
|
3259
|
+
splash_screen?: string | undefined;
|
|
3241
3260
|
} & { [K_9 in Exclude<keyof I_1, keyof Account>]: never; }>(object: I_1): Account;
|
|
3242
3261
|
};
|
|
3243
3262
|
export declare const AccountRefresh: {
|
|
@@ -8392,6 +8411,8 @@ export declare const UpdateAccountRequest: {
|
|
|
8392
8411
|
timezone?: string | undefined;
|
|
8393
8412
|
about_me?: string | undefined;
|
|
8394
8413
|
dob?: Date | undefined;
|
|
8414
|
+
logo?: string | undefined;
|
|
8415
|
+
splash_screen?: string | undefined;
|
|
8395
8416
|
} & {
|
|
8396
8417
|
username?: string | undefined;
|
|
8397
8418
|
display_name?: string | undefined;
|
|
@@ -8401,6 +8422,8 @@ export declare const UpdateAccountRequest: {
|
|
|
8401
8422
|
timezone?: string | undefined;
|
|
8402
8423
|
about_me?: string | undefined;
|
|
8403
8424
|
dob?: Date | undefined;
|
|
8425
|
+
logo?: string | undefined;
|
|
8426
|
+
splash_screen?: string | undefined;
|
|
8404
8427
|
} & { [K in Exclude<keyof I, keyof UpdateAccountRequest>]: never; }>(base?: I | undefined): UpdateAccountRequest;
|
|
8405
8428
|
fromPartial<I_1 extends {
|
|
8406
8429
|
username?: string | undefined;
|
|
@@ -8411,6 +8434,8 @@ export declare const UpdateAccountRequest: {
|
|
|
8411
8434
|
timezone?: string | undefined;
|
|
8412
8435
|
about_me?: string | undefined;
|
|
8413
8436
|
dob?: Date | undefined;
|
|
8437
|
+
logo?: string | undefined;
|
|
8438
|
+
splash_screen?: string | undefined;
|
|
8414
8439
|
} & {
|
|
8415
8440
|
username?: string | undefined;
|
|
8416
8441
|
display_name?: string | undefined;
|
|
@@ -8420,6 +8445,8 @@ export declare const UpdateAccountRequest: {
|
|
|
8420
8445
|
timezone?: string | undefined;
|
|
8421
8446
|
about_me?: string | undefined;
|
|
8422
8447
|
dob?: Date | undefined;
|
|
8448
|
+
logo?: string | undefined;
|
|
8449
|
+
splash_screen?: string | undefined;
|
|
8423
8450
|
} & { [K_1 in Exclude<keyof I_1, keyof UpdateAccountRequest>]: never; }>(object: I_1): UpdateAccountRequest;
|
|
8424
8451
|
};
|
|
8425
8452
|
export declare const UpdateGroupRequest: {
|
|
@@ -20804,22 +20831,26 @@ export declare const WalletLedger: {
|
|
|
20804
20831
|
user_id?: string | undefined;
|
|
20805
20832
|
create_time?: Date | undefined;
|
|
20806
20833
|
value?: number | undefined;
|
|
20834
|
+
transaction_id?: string | undefined;
|
|
20807
20835
|
} & {
|
|
20808
20836
|
id?: string | undefined;
|
|
20809
20837
|
user_id?: string | undefined;
|
|
20810
20838
|
create_time?: Date | undefined;
|
|
20811
20839
|
value?: number | undefined;
|
|
20840
|
+
transaction_id?: string | undefined;
|
|
20812
20841
|
} & { [K in Exclude<keyof I, keyof WalletLedger>]: never; }>(base?: I | undefined): WalletLedger;
|
|
20813
20842
|
fromPartial<I_1 extends {
|
|
20814
20843
|
id?: string | undefined;
|
|
20815
20844
|
user_id?: string | undefined;
|
|
20816
20845
|
create_time?: Date | undefined;
|
|
20817
20846
|
value?: number | undefined;
|
|
20847
|
+
transaction_id?: string | undefined;
|
|
20818
20848
|
} & {
|
|
20819
20849
|
id?: string | undefined;
|
|
20820
20850
|
user_id?: string | undefined;
|
|
20821
20851
|
create_time?: Date | undefined;
|
|
20822
20852
|
value?: number | undefined;
|
|
20853
|
+
transaction_id?: string | undefined;
|
|
20823
20854
|
} & { [K_1 in Exclude<keyof I_1, keyof WalletLedger>]: never; }>(object: I_1): WalletLedger;
|
|
20824
20855
|
};
|
|
20825
20856
|
export declare const WalletLedgerList: {
|
|
@@ -20833,6 +20864,7 @@ export declare const WalletLedgerList: {
|
|
|
20833
20864
|
user_id?: string | undefined;
|
|
20834
20865
|
create_time?: Date | undefined;
|
|
20835
20866
|
value?: number | undefined;
|
|
20867
|
+
transaction_id?: string | undefined;
|
|
20836
20868
|
}[] | undefined;
|
|
20837
20869
|
prev_cursor?: string | undefined;
|
|
20838
20870
|
next_cursor?: string | undefined;
|
|
@@ -20842,21 +20874,25 @@ export declare const WalletLedgerList: {
|
|
|
20842
20874
|
user_id?: string | undefined;
|
|
20843
20875
|
create_time?: Date | undefined;
|
|
20844
20876
|
value?: number | undefined;
|
|
20877
|
+
transaction_id?: string | undefined;
|
|
20845
20878
|
}[] & ({
|
|
20846
20879
|
id?: string | undefined;
|
|
20847
20880
|
user_id?: string | undefined;
|
|
20848
20881
|
create_time?: Date | undefined;
|
|
20849
20882
|
value?: number | undefined;
|
|
20883
|
+
transaction_id?: string | undefined;
|
|
20850
20884
|
} & {
|
|
20851
20885
|
id?: string | undefined;
|
|
20852
20886
|
user_id?: string | undefined;
|
|
20853
20887
|
create_time?: Date | undefined;
|
|
20854
20888
|
value?: number | undefined;
|
|
20889
|
+
transaction_id?: string | undefined;
|
|
20855
20890
|
} & { [K in Exclude<keyof I["wallet_ledger"][number], keyof WalletLedger>]: never; })[] & { [K_1 in Exclude<keyof I["wallet_ledger"], keyof {
|
|
20856
20891
|
id?: string | undefined;
|
|
20857
20892
|
user_id?: string | undefined;
|
|
20858
20893
|
create_time?: Date | undefined;
|
|
20859
20894
|
value?: number | undefined;
|
|
20895
|
+
transaction_id?: string | undefined;
|
|
20860
20896
|
}[]>]: never; }) | undefined;
|
|
20861
20897
|
prev_cursor?: string | undefined;
|
|
20862
20898
|
next_cursor?: string | undefined;
|
|
@@ -20867,6 +20903,7 @@ export declare const WalletLedgerList: {
|
|
|
20867
20903
|
user_id?: string | undefined;
|
|
20868
20904
|
create_time?: Date | undefined;
|
|
20869
20905
|
value?: number | undefined;
|
|
20906
|
+
transaction_id?: string | undefined;
|
|
20870
20907
|
}[] | undefined;
|
|
20871
20908
|
prev_cursor?: string | undefined;
|
|
20872
20909
|
next_cursor?: string | undefined;
|
|
@@ -20876,21 +20913,25 @@ export declare const WalletLedgerList: {
|
|
|
20876
20913
|
user_id?: string | undefined;
|
|
20877
20914
|
create_time?: Date | undefined;
|
|
20878
20915
|
value?: number | undefined;
|
|
20916
|
+
transaction_id?: string | undefined;
|
|
20879
20917
|
}[] & ({
|
|
20880
20918
|
id?: string | undefined;
|
|
20881
20919
|
user_id?: string | undefined;
|
|
20882
20920
|
create_time?: Date | undefined;
|
|
20883
20921
|
value?: number | undefined;
|
|
20922
|
+
transaction_id?: string | undefined;
|
|
20884
20923
|
} & {
|
|
20885
20924
|
id?: string | undefined;
|
|
20886
20925
|
user_id?: string | undefined;
|
|
20887
20926
|
create_time?: Date | undefined;
|
|
20888
20927
|
value?: number | undefined;
|
|
20928
|
+
transaction_id?: string | undefined;
|
|
20889
20929
|
} & { [K_3 in Exclude<keyof I_1["wallet_ledger"][number], keyof WalletLedger>]: never; })[] & { [K_4 in Exclude<keyof I_1["wallet_ledger"], keyof {
|
|
20890
20930
|
id?: string | undefined;
|
|
20891
20931
|
user_id?: string | undefined;
|
|
20892
20932
|
create_time?: Date | undefined;
|
|
20893
20933
|
value?: number | undefined;
|
|
20934
|
+
transaction_id?: string | undefined;
|
|
20894
20935
|
}[]>]: never; }) | undefined;
|
|
20895
20936
|
prev_cursor?: string | undefined;
|
|
20896
20937
|
next_cursor?: string | undefined;
|
|
@@ -20904,16 +20945,20 @@ export declare const WalletLedgerListReq: {
|
|
|
20904
20945
|
create<I extends {
|
|
20905
20946
|
limit?: number | undefined;
|
|
20906
20947
|
cursor?: string | undefined;
|
|
20948
|
+
transaction_id?: string | undefined;
|
|
20907
20949
|
} & {
|
|
20908
20950
|
limit?: number | undefined;
|
|
20909
20951
|
cursor?: string | undefined;
|
|
20952
|
+
transaction_id?: string | undefined;
|
|
20910
20953
|
} & { [K in Exclude<keyof I, keyof WalletLedgerListReq>]: never; }>(base?: I | undefined): WalletLedgerListReq;
|
|
20911
20954
|
fromPartial<I_1 extends {
|
|
20912
20955
|
limit?: number | undefined;
|
|
20913
20956
|
cursor?: string | undefined;
|
|
20957
|
+
transaction_id?: string | undefined;
|
|
20914
20958
|
} & {
|
|
20915
20959
|
limit?: number | undefined;
|
|
20916
20960
|
cursor?: string | undefined;
|
|
20961
|
+
transaction_id?: string | undefined;
|
|
20917
20962
|
} & { [K_1 in Exclude<keyof I_1, keyof WalletLedgerListReq>]: never; }>(object: I_1): WalletLedgerListReq;
|
|
20918
20963
|
};
|
|
20919
20964
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.38",
|
|
4
4
|
"description": "Websocket adapter adding protocol buffer support to the Mezon Javascript client.",
|
|
5
5
|
"main": "dist/mezon-js-protobuf.cjs.js",
|
|
6
6
|
"module": "dist/mezon-js-protobuf.esm.mjs",
|