mezon-js-protobuf 1.6.34 → 1.6.36
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 +375 -1
- package/dist/mezon-js-protobuf/api/api.d.ts +167 -0
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +305 -107
- package/dist/mezon-js-protobuf.cjs.js +281 -5
- package/dist/mezon-js-protobuf.esm.mjs +281 -5
- package/package.json +1 -1
- package/rtapi/realtime.ts +347 -3
package/api/api.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
3
|
// protoc-gen-ts_proto v1.181.2
|
|
4
|
-
// protoc
|
|
4
|
+
// protoc v3.21.12
|
|
5
5
|
// source: api/api.proto
|
|
6
6
|
|
|
7
7
|
/* eslint-disable */
|
|
@@ -3722,6 +3722,37 @@ export interface UpdateOnboardingStepRequest {
|
|
|
3722
3722
|
onboarding_step: number | undefined;
|
|
3723
3723
|
}
|
|
3724
3724
|
|
|
3725
|
+
export interface CustomDisplay {
|
|
3726
|
+
/** logo link */
|
|
3727
|
+
logo: string;
|
|
3728
|
+
/** splash_screen link */
|
|
3729
|
+
splash_screen: string;
|
|
3730
|
+
}
|
|
3731
|
+
|
|
3732
|
+
export interface WalletLedger {
|
|
3733
|
+
/** change set id */
|
|
3734
|
+
id: string;
|
|
3735
|
+
/** user id */
|
|
3736
|
+
user_id: string;
|
|
3737
|
+
/** create time */
|
|
3738
|
+
create_time:
|
|
3739
|
+
| Date
|
|
3740
|
+
| undefined;
|
|
3741
|
+
/** value */
|
|
3742
|
+
value: number;
|
|
3743
|
+
}
|
|
3744
|
+
|
|
3745
|
+
export interface WalletLedgerList {
|
|
3746
|
+
wallet_ledger: WalletLedger[];
|
|
3747
|
+
prev_cursor: string;
|
|
3748
|
+
next_cursor: string;
|
|
3749
|
+
}
|
|
3750
|
+
|
|
3751
|
+
export interface WalletLedgerListReq {
|
|
3752
|
+
limit: number | undefined;
|
|
3753
|
+
cursor: string;
|
|
3754
|
+
}
|
|
3755
|
+
|
|
3725
3756
|
function createBaseAccount(): Account {
|
|
3726
3757
|
return {
|
|
3727
3758
|
user: undefined,
|
|
@@ -36021,6 +36052,349 @@ export const UpdateOnboardingStepRequest = {
|
|
|
36021
36052
|
},
|
|
36022
36053
|
};
|
|
36023
36054
|
|
|
36055
|
+
function createBaseCustomDisplay(): CustomDisplay {
|
|
36056
|
+
return { logo: "", splash_screen: "" };
|
|
36057
|
+
}
|
|
36058
|
+
|
|
36059
|
+
export const CustomDisplay = {
|
|
36060
|
+
encode(message: CustomDisplay, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
36061
|
+
if (message.logo !== "") {
|
|
36062
|
+
writer.uint32(10).string(message.logo);
|
|
36063
|
+
}
|
|
36064
|
+
if (message.splash_screen !== "") {
|
|
36065
|
+
writer.uint32(18).string(message.splash_screen);
|
|
36066
|
+
}
|
|
36067
|
+
return writer;
|
|
36068
|
+
},
|
|
36069
|
+
|
|
36070
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CustomDisplay {
|
|
36071
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
36072
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
36073
|
+
const message = createBaseCustomDisplay();
|
|
36074
|
+
while (reader.pos < end) {
|
|
36075
|
+
const tag = reader.uint32();
|
|
36076
|
+
switch (tag >>> 3) {
|
|
36077
|
+
case 1:
|
|
36078
|
+
if (tag !== 10) {
|
|
36079
|
+
break;
|
|
36080
|
+
}
|
|
36081
|
+
|
|
36082
|
+
message.logo = reader.string();
|
|
36083
|
+
continue;
|
|
36084
|
+
case 2:
|
|
36085
|
+
if (tag !== 18) {
|
|
36086
|
+
break;
|
|
36087
|
+
}
|
|
36088
|
+
|
|
36089
|
+
message.splash_screen = reader.string();
|
|
36090
|
+
continue;
|
|
36091
|
+
}
|
|
36092
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
36093
|
+
break;
|
|
36094
|
+
}
|
|
36095
|
+
reader.skipType(tag & 7);
|
|
36096
|
+
}
|
|
36097
|
+
return message;
|
|
36098
|
+
},
|
|
36099
|
+
|
|
36100
|
+
fromJSON(object: any): CustomDisplay {
|
|
36101
|
+
return {
|
|
36102
|
+
logo: isSet(object.logo) ? globalThis.String(object.logo) : "",
|
|
36103
|
+
splash_screen: isSet(object.splash_screen) ? globalThis.String(object.splash_screen) : "",
|
|
36104
|
+
};
|
|
36105
|
+
},
|
|
36106
|
+
|
|
36107
|
+
toJSON(message: CustomDisplay): unknown {
|
|
36108
|
+
const obj: any = {};
|
|
36109
|
+
if (message.logo !== "") {
|
|
36110
|
+
obj.logo = message.logo;
|
|
36111
|
+
}
|
|
36112
|
+
if (message.splash_screen !== "") {
|
|
36113
|
+
obj.splash_screen = message.splash_screen;
|
|
36114
|
+
}
|
|
36115
|
+
return obj;
|
|
36116
|
+
},
|
|
36117
|
+
|
|
36118
|
+
create<I extends Exact<DeepPartial<CustomDisplay>, I>>(base?: I): CustomDisplay {
|
|
36119
|
+
return CustomDisplay.fromPartial(base ?? ({} as any));
|
|
36120
|
+
},
|
|
36121
|
+
fromPartial<I extends Exact<DeepPartial<CustomDisplay>, I>>(object: I): CustomDisplay {
|
|
36122
|
+
const message = createBaseCustomDisplay();
|
|
36123
|
+
message.logo = object.logo ?? "";
|
|
36124
|
+
message.splash_screen = object.splash_screen ?? "";
|
|
36125
|
+
return message;
|
|
36126
|
+
},
|
|
36127
|
+
};
|
|
36128
|
+
|
|
36129
|
+
function createBaseWalletLedger(): WalletLedger {
|
|
36130
|
+
return { id: "", user_id: "", create_time: undefined, value: 0 };
|
|
36131
|
+
}
|
|
36132
|
+
|
|
36133
|
+
export const WalletLedger = {
|
|
36134
|
+
encode(message: WalletLedger, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
36135
|
+
if (message.id !== "") {
|
|
36136
|
+
writer.uint32(10).string(message.id);
|
|
36137
|
+
}
|
|
36138
|
+
if (message.user_id !== "") {
|
|
36139
|
+
writer.uint32(18).string(message.user_id);
|
|
36140
|
+
}
|
|
36141
|
+
if (message.create_time !== undefined) {
|
|
36142
|
+
Timestamp.encode(toTimestamp(message.create_time), writer.uint32(26).fork()).ldelim();
|
|
36143
|
+
}
|
|
36144
|
+
if (message.value !== 0) {
|
|
36145
|
+
writer.uint32(32).int32(message.value);
|
|
36146
|
+
}
|
|
36147
|
+
return writer;
|
|
36148
|
+
},
|
|
36149
|
+
|
|
36150
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WalletLedger {
|
|
36151
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
36152
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
36153
|
+
const message = createBaseWalletLedger();
|
|
36154
|
+
while (reader.pos < end) {
|
|
36155
|
+
const tag = reader.uint32();
|
|
36156
|
+
switch (tag >>> 3) {
|
|
36157
|
+
case 1:
|
|
36158
|
+
if (tag !== 10) {
|
|
36159
|
+
break;
|
|
36160
|
+
}
|
|
36161
|
+
|
|
36162
|
+
message.id = reader.string();
|
|
36163
|
+
continue;
|
|
36164
|
+
case 2:
|
|
36165
|
+
if (tag !== 18) {
|
|
36166
|
+
break;
|
|
36167
|
+
}
|
|
36168
|
+
|
|
36169
|
+
message.user_id = reader.string();
|
|
36170
|
+
continue;
|
|
36171
|
+
case 3:
|
|
36172
|
+
if (tag !== 26) {
|
|
36173
|
+
break;
|
|
36174
|
+
}
|
|
36175
|
+
|
|
36176
|
+
message.create_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
36177
|
+
continue;
|
|
36178
|
+
case 4:
|
|
36179
|
+
if (tag !== 32) {
|
|
36180
|
+
break;
|
|
36181
|
+
}
|
|
36182
|
+
|
|
36183
|
+
message.value = reader.int32();
|
|
36184
|
+
continue;
|
|
36185
|
+
}
|
|
36186
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
36187
|
+
break;
|
|
36188
|
+
}
|
|
36189
|
+
reader.skipType(tag & 7);
|
|
36190
|
+
}
|
|
36191
|
+
return message;
|
|
36192
|
+
},
|
|
36193
|
+
|
|
36194
|
+
fromJSON(object: any): WalletLedger {
|
|
36195
|
+
return {
|
|
36196
|
+
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
36197
|
+
user_id: isSet(object.user_id) ? globalThis.String(object.user_id) : "",
|
|
36198
|
+
create_time: isSet(object.create_time) ? fromJsonTimestamp(object.create_time) : undefined,
|
|
36199
|
+
value: isSet(object.value) ? globalThis.Number(object.value) : 0,
|
|
36200
|
+
};
|
|
36201
|
+
},
|
|
36202
|
+
|
|
36203
|
+
toJSON(message: WalletLedger): unknown {
|
|
36204
|
+
const obj: any = {};
|
|
36205
|
+
if (message.id !== "") {
|
|
36206
|
+
obj.id = message.id;
|
|
36207
|
+
}
|
|
36208
|
+
if (message.user_id !== "") {
|
|
36209
|
+
obj.user_id = message.user_id;
|
|
36210
|
+
}
|
|
36211
|
+
if (message.create_time !== undefined) {
|
|
36212
|
+
obj.create_time = message.create_time.toISOString();
|
|
36213
|
+
}
|
|
36214
|
+
if (message.value !== 0) {
|
|
36215
|
+
obj.value = Math.round(message.value);
|
|
36216
|
+
}
|
|
36217
|
+
return obj;
|
|
36218
|
+
},
|
|
36219
|
+
|
|
36220
|
+
create<I extends Exact<DeepPartial<WalletLedger>, I>>(base?: I): WalletLedger {
|
|
36221
|
+
return WalletLedger.fromPartial(base ?? ({} as any));
|
|
36222
|
+
},
|
|
36223
|
+
fromPartial<I extends Exact<DeepPartial<WalletLedger>, I>>(object: I): WalletLedger {
|
|
36224
|
+
const message = createBaseWalletLedger();
|
|
36225
|
+
message.id = object.id ?? "";
|
|
36226
|
+
message.user_id = object.user_id ?? "";
|
|
36227
|
+
message.create_time = object.create_time ?? undefined;
|
|
36228
|
+
message.value = object.value ?? 0;
|
|
36229
|
+
return message;
|
|
36230
|
+
},
|
|
36231
|
+
};
|
|
36232
|
+
|
|
36233
|
+
function createBaseWalletLedgerList(): WalletLedgerList {
|
|
36234
|
+
return { wallet_ledger: [], prev_cursor: "", next_cursor: "" };
|
|
36235
|
+
}
|
|
36236
|
+
|
|
36237
|
+
export const WalletLedgerList = {
|
|
36238
|
+
encode(message: WalletLedgerList, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
36239
|
+
for (const v of message.wallet_ledger) {
|
|
36240
|
+
WalletLedger.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
36241
|
+
}
|
|
36242
|
+
if (message.prev_cursor !== "") {
|
|
36243
|
+
writer.uint32(18).string(message.prev_cursor);
|
|
36244
|
+
}
|
|
36245
|
+
if (message.next_cursor !== "") {
|
|
36246
|
+
writer.uint32(26).string(message.next_cursor);
|
|
36247
|
+
}
|
|
36248
|
+
return writer;
|
|
36249
|
+
},
|
|
36250
|
+
|
|
36251
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WalletLedgerList {
|
|
36252
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
36253
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
36254
|
+
const message = createBaseWalletLedgerList();
|
|
36255
|
+
while (reader.pos < end) {
|
|
36256
|
+
const tag = reader.uint32();
|
|
36257
|
+
switch (tag >>> 3) {
|
|
36258
|
+
case 1:
|
|
36259
|
+
if (tag !== 10) {
|
|
36260
|
+
break;
|
|
36261
|
+
}
|
|
36262
|
+
|
|
36263
|
+
message.wallet_ledger.push(WalletLedger.decode(reader, reader.uint32()));
|
|
36264
|
+
continue;
|
|
36265
|
+
case 2:
|
|
36266
|
+
if (tag !== 18) {
|
|
36267
|
+
break;
|
|
36268
|
+
}
|
|
36269
|
+
|
|
36270
|
+
message.prev_cursor = reader.string();
|
|
36271
|
+
continue;
|
|
36272
|
+
case 3:
|
|
36273
|
+
if (tag !== 26) {
|
|
36274
|
+
break;
|
|
36275
|
+
}
|
|
36276
|
+
|
|
36277
|
+
message.next_cursor = reader.string();
|
|
36278
|
+
continue;
|
|
36279
|
+
}
|
|
36280
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
36281
|
+
break;
|
|
36282
|
+
}
|
|
36283
|
+
reader.skipType(tag & 7);
|
|
36284
|
+
}
|
|
36285
|
+
return message;
|
|
36286
|
+
},
|
|
36287
|
+
|
|
36288
|
+
fromJSON(object: any): WalletLedgerList {
|
|
36289
|
+
return {
|
|
36290
|
+
wallet_ledger: globalThis.Array.isArray(object?.wallet_ledger)
|
|
36291
|
+
? object.wallet_ledger.map((e: any) => WalletLedger.fromJSON(e))
|
|
36292
|
+
: [],
|
|
36293
|
+
prev_cursor: isSet(object.prev_cursor) ? globalThis.String(object.prev_cursor) : "",
|
|
36294
|
+
next_cursor: isSet(object.next_cursor) ? globalThis.String(object.next_cursor) : "",
|
|
36295
|
+
};
|
|
36296
|
+
},
|
|
36297
|
+
|
|
36298
|
+
toJSON(message: WalletLedgerList): unknown {
|
|
36299
|
+
const obj: any = {};
|
|
36300
|
+
if (message.wallet_ledger?.length) {
|
|
36301
|
+
obj.wallet_ledger = message.wallet_ledger.map((e) => WalletLedger.toJSON(e));
|
|
36302
|
+
}
|
|
36303
|
+
if (message.prev_cursor !== "") {
|
|
36304
|
+
obj.prev_cursor = message.prev_cursor;
|
|
36305
|
+
}
|
|
36306
|
+
if (message.next_cursor !== "") {
|
|
36307
|
+
obj.next_cursor = message.next_cursor;
|
|
36308
|
+
}
|
|
36309
|
+
return obj;
|
|
36310
|
+
},
|
|
36311
|
+
|
|
36312
|
+
create<I extends Exact<DeepPartial<WalletLedgerList>, I>>(base?: I): WalletLedgerList {
|
|
36313
|
+
return WalletLedgerList.fromPartial(base ?? ({} as any));
|
|
36314
|
+
},
|
|
36315
|
+
fromPartial<I extends Exact<DeepPartial<WalletLedgerList>, I>>(object: I): WalletLedgerList {
|
|
36316
|
+
const message = createBaseWalletLedgerList();
|
|
36317
|
+
message.wallet_ledger = object.wallet_ledger?.map((e) => WalletLedger.fromPartial(e)) || [];
|
|
36318
|
+
message.prev_cursor = object.prev_cursor ?? "";
|
|
36319
|
+
message.next_cursor = object.next_cursor ?? "";
|
|
36320
|
+
return message;
|
|
36321
|
+
},
|
|
36322
|
+
};
|
|
36323
|
+
|
|
36324
|
+
function createBaseWalletLedgerListReq(): WalletLedgerListReq {
|
|
36325
|
+
return { limit: undefined, cursor: "" };
|
|
36326
|
+
}
|
|
36327
|
+
|
|
36328
|
+
export const WalletLedgerListReq = {
|
|
36329
|
+
encode(message: WalletLedgerListReq, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
36330
|
+
if (message.limit !== undefined) {
|
|
36331
|
+
Int32Value.encode({ value: message.limit! }, writer.uint32(10).fork()).ldelim();
|
|
36332
|
+
}
|
|
36333
|
+
if (message.cursor !== "") {
|
|
36334
|
+
writer.uint32(18).string(message.cursor);
|
|
36335
|
+
}
|
|
36336
|
+
return writer;
|
|
36337
|
+
},
|
|
36338
|
+
|
|
36339
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WalletLedgerListReq {
|
|
36340
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
36341
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
36342
|
+
const message = createBaseWalletLedgerListReq();
|
|
36343
|
+
while (reader.pos < end) {
|
|
36344
|
+
const tag = reader.uint32();
|
|
36345
|
+
switch (tag >>> 3) {
|
|
36346
|
+
case 1:
|
|
36347
|
+
if (tag !== 10) {
|
|
36348
|
+
break;
|
|
36349
|
+
}
|
|
36350
|
+
|
|
36351
|
+
message.limit = Int32Value.decode(reader, reader.uint32()).value;
|
|
36352
|
+
continue;
|
|
36353
|
+
case 2:
|
|
36354
|
+
if (tag !== 18) {
|
|
36355
|
+
break;
|
|
36356
|
+
}
|
|
36357
|
+
|
|
36358
|
+
message.cursor = reader.string();
|
|
36359
|
+
continue;
|
|
36360
|
+
}
|
|
36361
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
36362
|
+
break;
|
|
36363
|
+
}
|
|
36364
|
+
reader.skipType(tag & 7);
|
|
36365
|
+
}
|
|
36366
|
+
return message;
|
|
36367
|
+
},
|
|
36368
|
+
|
|
36369
|
+
fromJSON(object: any): WalletLedgerListReq {
|
|
36370
|
+
return {
|
|
36371
|
+
limit: isSet(object.limit) ? Number(object.limit) : undefined,
|
|
36372
|
+
cursor: isSet(object.cursor) ? globalThis.String(object.cursor) : "",
|
|
36373
|
+
};
|
|
36374
|
+
},
|
|
36375
|
+
|
|
36376
|
+
toJSON(message: WalletLedgerListReq): unknown {
|
|
36377
|
+
const obj: any = {};
|
|
36378
|
+
if (message.limit !== undefined) {
|
|
36379
|
+
obj.limit = message.limit;
|
|
36380
|
+
}
|
|
36381
|
+
if (message.cursor !== "") {
|
|
36382
|
+
obj.cursor = message.cursor;
|
|
36383
|
+
}
|
|
36384
|
+
return obj;
|
|
36385
|
+
},
|
|
36386
|
+
|
|
36387
|
+
create<I extends Exact<DeepPartial<WalletLedgerListReq>, I>>(base?: I): WalletLedgerListReq {
|
|
36388
|
+
return WalletLedgerListReq.fromPartial(base ?? ({} as any));
|
|
36389
|
+
},
|
|
36390
|
+
fromPartial<I extends Exact<DeepPartial<WalletLedgerListReq>, I>>(object: I): WalletLedgerListReq {
|
|
36391
|
+
const message = createBaseWalletLedgerListReq();
|
|
36392
|
+
message.limit = object.limit ?? undefined;
|
|
36393
|
+
message.cursor = object.cursor ?? "";
|
|
36394
|
+
return message;
|
|
36395
|
+
},
|
|
36396
|
+
};
|
|
36397
|
+
|
|
36024
36398
|
function bytesFromBase64(b64: string): Uint8Array {
|
|
36025
36399
|
if ((globalThis as any).Buffer) {
|
|
36026
36400
|
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
|
@@ -2989,6 +2989,31 @@ export interface UpdateOnboardingStepRequest {
|
|
|
2989
2989
|
/** onboarding step. */
|
|
2990
2990
|
onboarding_step: number | undefined;
|
|
2991
2991
|
}
|
|
2992
|
+
export interface CustomDisplay {
|
|
2993
|
+
/** logo link */
|
|
2994
|
+
logo: string;
|
|
2995
|
+
/** splash_screen link */
|
|
2996
|
+
splash_screen: string;
|
|
2997
|
+
}
|
|
2998
|
+
export interface WalletLedger {
|
|
2999
|
+
/** change set id */
|
|
3000
|
+
id: string;
|
|
3001
|
+
/** user id */
|
|
3002
|
+
user_id: string;
|
|
3003
|
+
/** create time */
|
|
3004
|
+
create_time: Date | undefined;
|
|
3005
|
+
/** value */
|
|
3006
|
+
value: number;
|
|
3007
|
+
}
|
|
3008
|
+
export interface WalletLedgerList {
|
|
3009
|
+
wallet_ledger: WalletLedger[];
|
|
3010
|
+
prev_cursor: string;
|
|
3011
|
+
next_cursor: string;
|
|
3012
|
+
}
|
|
3013
|
+
export interface WalletLedgerListReq {
|
|
3014
|
+
limit: number | undefined;
|
|
3015
|
+
cursor: string;
|
|
3016
|
+
}
|
|
2992
3017
|
export declare const Account: {
|
|
2993
3018
|
encode(message: Account, writer?: _m0.Writer): _m0.Writer;
|
|
2994
3019
|
decode(input: _m0.Reader | Uint8Array, length?: number): Account;
|
|
@@ -20749,6 +20774,148 @@ export declare const UpdateOnboardingStepRequest: {
|
|
|
20749
20774
|
onboarding_step?: number | undefined;
|
|
20750
20775
|
} & { [K_1 in Exclude<keyof I_1, keyof UpdateOnboardingStepRequest>]: never; }>(object: I_1): UpdateOnboardingStepRequest;
|
|
20751
20776
|
};
|
|
20777
|
+
export declare const CustomDisplay: {
|
|
20778
|
+
encode(message: CustomDisplay, writer?: _m0.Writer): _m0.Writer;
|
|
20779
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CustomDisplay;
|
|
20780
|
+
fromJSON(object: any): CustomDisplay;
|
|
20781
|
+
toJSON(message: CustomDisplay): unknown;
|
|
20782
|
+
create<I extends {
|
|
20783
|
+
logo?: string | undefined;
|
|
20784
|
+
splash_screen?: string | undefined;
|
|
20785
|
+
} & {
|
|
20786
|
+
logo?: string | undefined;
|
|
20787
|
+
splash_screen?: string | undefined;
|
|
20788
|
+
} & { [K in Exclude<keyof I, keyof CustomDisplay>]: never; }>(base?: I | undefined): CustomDisplay;
|
|
20789
|
+
fromPartial<I_1 extends {
|
|
20790
|
+
logo?: string | undefined;
|
|
20791
|
+
splash_screen?: string | undefined;
|
|
20792
|
+
} & {
|
|
20793
|
+
logo?: string | undefined;
|
|
20794
|
+
splash_screen?: string | undefined;
|
|
20795
|
+
} & { [K_1 in Exclude<keyof I_1, keyof CustomDisplay>]: never; }>(object: I_1): CustomDisplay;
|
|
20796
|
+
};
|
|
20797
|
+
export declare const WalletLedger: {
|
|
20798
|
+
encode(message: WalletLedger, writer?: _m0.Writer): _m0.Writer;
|
|
20799
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WalletLedger;
|
|
20800
|
+
fromJSON(object: any): WalletLedger;
|
|
20801
|
+
toJSON(message: WalletLedger): unknown;
|
|
20802
|
+
create<I extends {
|
|
20803
|
+
id?: string | undefined;
|
|
20804
|
+
user_id?: string | undefined;
|
|
20805
|
+
create_time?: Date | undefined;
|
|
20806
|
+
value?: number | undefined;
|
|
20807
|
+
} & {
|
|
20808
|
+
id?: string | undefined;
|
|
20809
|
+
user_id?: string | undefined;
|
|
20810
|
+
create_time?: Date | undefined;
|
|
20811
|
+
value?: number | undefined;
|
|
20812
|
+
} & { [K in Exclude<keyof I, keyof WalletLedger>]: never; }>(base?: I | undefined): WalletLedger;
|
|
20813
|
+
fromPartial<I_1 extends {
|
|
20814
|
+
id?: string | undefined;
|
|
20815
|
+
user_id?: string | undefined;
|
|
20816
|
+
create_time?: Date | undefined;
|
|
20817
|
+
value?: number | undefined;
|
|
20818
|
+
} & {
|
|
20819
|
+
id?: string | undefined;
|
|
20820
|
+
user_id?: string | undefined;
|
|
20821
|
+
create_time?: Date | undefined;
|
|
20822
|
+
value?: number | undefined;
|
|
20823
|
+
} & { [K_1 in Exclude<keyof I_1, keyof WalletLedger>]: never; }>(object: I_1): WalletLedger;
|
|
20824
|
+
};
|
|
20825
|
+
export declare const WalletLedgerList: {
|
|
20826
|
+
encode(message: WalletLedgerList, writer?: _m0.Writer): _m0.Writer;
|
|
20827
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WalletLedgerList;
|
|
20828
|
+
fromJSON(object: any): WalletLedgerList;
|
|
20829
|
+
toJSON(message: WalletLedgerList): unknown;
|
|
20830
|
+
create<I extends {
|
|
20831
|
+
wallet_ledger?: {
|
|
20832
|
+
id?: string | undefined;
|
|
20833
|
+
user_id?: string | undefined;
|
|
20834
|
+
create_time?: Date | undefined;
|
|
20835
|
+
value?: number | undefined;
|
|
20836
|
+
}[] | undefined;
|
|
20837
|
+
prev_cursor?: string | undefined;
|
|
20838
|
+
next_cursor?: string | undefined;
|
|
20839
|
+
} & {
|
|
20840
|
+
wallet_ledger?: ({
|
|
20841
|
+
id?: string | undefined;
|
|
20842
|
+
user_id?: string | undefined;
|
|
20843
|
+
create_time?: Date | undefined;
|
|
20844
|
+
value?: number | undefined;
|
|
20845
|
+
}[] & ({
|
|
20846
|
+
id?: string | undefined;
|
|
20847
|
+
user_id?: string | undefined;
|
|
20848
|
+
create_time?: Date | undefined;
|
|
20849
|
+
value?: number | undefined;
|
|
20850
|
+
} & {
|
|
20851
|
+
id?: string | undefined;
|
|
20852
|
+
user_id?: string | undefined;
|
|
20853
|
+
create_time?: Date | undefined;
|
|
20854
|
+
value?: number | undefined;
|
|
20855
|
+
} & { [K in Exclude<keyof I["wallet_ledger"][number], keyof WalletLedger>]: never; })[] & { [K_1 in Exclude<keyof I["wallet_ledger"], keyof {
|
|
20856
|
+
id?: string | undefined;
|
|
20857
|
+
user_id?: string | undefined;
|
|
20858
|
+
create_time?: Date | undefined;
|
|
20859
|
+
value?: number | undefined;
|
|
20860
|
+
}[]>]: never; }) | undefined;
|
|
20861
|
+
prev_cursor?: string | undefined;
|
|
20862
|
+
next_cursor?: string | undefined;
|
|
20863
|
+
} & { [K_2 in Exclude<keyof I, keyof WalletLedgerList>]: never; }>(base?: I | undefined): WalletLedgerList;
|
|
20864
|
+
fromPartial<I_1 extends {
|
|
20865
|
+
wallet_ledger?: {
|
|
20866
|
+
id?: string | undefined;
|
|
20867
|
+
user_id?: string | undefined;
|
|
20868
|
+
create_time?: Date | undefined;
|
|
20869
|
+
value?: number | undefined;
|
|
20870
|
+
}[] | undefined;
|
|
20871
|
+
prev_cursor?: string | undefined;
|
|
20872
|
+
next_cursor?: string | undefined;
|
|
20873
|
+
} & {
|
|
20874
|
+
wallet_ledger?: ({
|
|
20875
|
+
id?: string | undefined;
|
|
20876
|
+
user_id?: string | undefined;
|
|
20877
|
+
create_time?: Date | undefined;
|
|
20878
|
+
value?: number | undefined;
|
|
20879
|
+
}[] & ({
|
|
20880
|
+
id?: string | undefined;
|
|
20881
|
+
user_id?: string | undefined;
|
|
20882
|
+
create_time?: Date | undefined;
|
|
20883
|
+
value?: number | undefined;
|
|
20884
|
+
} & {
|
|
20885
|
+
id?: string | undefined;
|
|
20886
|
+
user_id?: string | undefined;
|
|
20887
|
+
create_time?: Date | undefined;
|
|
20888
|
+
value?: number | undefined;
|
|
20889
|
+
} & { [K_3 in Exclude<keyof I_1["wallet_ledger"][number], keyof WalletLedger>]: never; })[] & { [K_4 in Exclude<keyof I_1["wallet_ledger"], keyof {
|
|
20890
|
+
id?: string | undefined;
|
|
20891
|
+
user_id?: string | undefined;
|
|
20892
|
+
create_time?: Date | undefined;
|
|
20893
|
+
value?: number | undefined;
|
|
20894
|
+
}[]>]: never; }) | undefined;
|
|
20895
|
+
prev_cursor?: string | undefined;
|
|
20896
|
+
next_cursor?: string | undefined;
|
|
20897
|
+
} & { [K_5 in Exclude<keyof I_1, keyof WalletLedgerList>]: never; }>(object: I_1): WalletLedgerList;
|
|
20898
|
+
};
|
|
20899
|
+
export declare const WalletLedgerListReq: {
|
|
20900
|
+
encode(message: WalletLedgerListReq, writer?: _m0.Writer): _m0.Writer;
|
|
20901
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WalletLedgerListReq;
|
|
20902
|
+
fromJSON(object: any): WalletLedgerListReq;
|
|
20903
|
+
toJSON(message: WalletLedgerListReq): unknown;
|
|
20904
|
+
create<I extends {
|
|
20905
|
+
limit?: number | undefined;
|
|
20906
|
+
cursor?: string | undefined;
|
|
20907
|
+
} & {
|
|
20908
|
+
limit?: number | undefined;
|
|
20909
|
+
cursor?: string | undefined;
|
|
20910
|
+
} & { [K in Exclude<keyof I, keyof WalletLedgerListReq>]: never; }>(base?: I | undefined): WalletLedgerListReq;
|
|
20911
|
+
fromPartial<I_1 extends {
|
|
20912
|
+
limit?: number | undefined;
|
|
20913
|
+
cursor?: string | undefined;
|
|
20914
|
+
} & {
|
|
20915
|
+
limit?: number | undefined;
|
|
20916
|
+
cursor?: string | undefined;
|
|
20917
|
+
} & { [K_1 in Exclude<keyof I_1, keyof WalletLedgerListReq>]: never; }>(object: I_1): WalletLedgerListReq;
|
|
20918
|
+
};
|
|
20752
20919
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
20753
20920
|
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
20754
20921
|
[K in keyof T]?: DeepPartial<T[K]>;
|